Skip to content

Commit cdef546

Browse files
authored
chore(csv-stringify): fix typos (#471)
1 parent 13e1576 commit cdef546

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/csv-stringify/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
249249
## Version 5.6.1
250250

251251
- fix: memory leak in sync
252-
- refactor: remove unsused values
252+
- refactor: remove unused values
253253
- fix: add browserify dev dep
254254

255255
## Version 5.6.0
@@ -486,7 +486,7 @@ Cleanup
486486

487487
## Version 2.0.3
488488

489-
- package: es5 backward compatiblity
489+
- package: es5 backward compatibility
490490
- package: ignore yarn lock file
491491

492492
## Version 2.0.2

packages/csv-stringify/lib/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface OptionsNormalized extends stream.TransformOptions {
6464
/**
6565
* List of fields, applied when `transform` returns an object
6666
* order matters
67-
* read the transformer documentation for additionnal information
67+
* read the transformer documentation for additional information
6868
* columns are auto discovered in the first record when the user write objects
6969
* can refer to nested properties of the input JSON
7070
* see the "header" option on how to print columns names on the first line
@@ -114,7 +114,7 @@ export interface OptionsNormalized extends stream.TransformOptions {
114114
*/
115115
record_delimiter: RecordDelimiter;
116116
/**
117-
* Boolean, default to false, if true, fields that begin with `=`, `+`, `-`, `@`, `\t`, or `\r` will be prepended with a `'` to protected agains csv injection attacks
117+
* Boolean, default to false, if true, fields that begin with `=`, `+`, `-`, `@`, `\t`, or `\r` will be prepended with a `'` to protect against csv injection attacks
118118
*/
119119
escape_formulas: boolean;
120120
}
@@ -141,7 +141,7 @@ export interface Options extends stream.TransformOptions {
141141
/**
142142
* List of fields, applied when `transform` returns an object
143143
* order matters
144-
* read the transformer documentation for additionnal information
144+
* read the transformer documentation for additional information
145145
* columns are auto discovered in the first record when the user write objects
146146
* can refer to nested properties of the input JSON
147147
* see the "header" option on how to print columns names on the first line
@@ -191,7 +191,7 @@ export interface Options extends stream.TransformOptions {
191191
*/
192192
record_delimiter?: RecordDelimiter;
193193
/**
194-
* Boolean, default to false, if true, fields that begin with `=`, `+`, `-`, `@`, `\t`, or `\r` will be prepended with a `'` to protected agains csv injection attacks
194+
* Boolean, default to false, if true, fields that begin with `=`, `+`, `-`, `@`, `\t`, or `\r` will be prepended with a `'` to protect against csv injection attacks
195195
*/
196196
escape_formulas?: boolean;
197197
}

packages/csv-stringify/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const stringify = function () {
105105
}
106106
stringifier.end();
107107
};
108-
// Support Deno, Rollup doesnt provide a shim for setImmediate
108+
// Support Deno, Rollup doesn't provide a shim for setImmediate
109109
if (typeof setImmediate === "function") {
110110
setImmediate(writer);
111111
} else {

0 commit comments

Comments
 (0)