Skip to content

Commit 44272f8

Browse files
authored
Juan/dependency upgrades april (#1114)
* chore(deps) vulns. chore(cleanup) lint + general. * chore(deps): docusaurus deps. * chore(cleanup): tsconfig fixes and version bump
1 parent bbfd18e commit 44272f8

File tree

11 files changed

+2580
-2423
lines changed

11 files changed

+2580
-2423
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2011-2019 C2FO
3+
Copyright (c) 2011-2025 C2FO
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ MIT <https://github.com/C2FO/fast-csv/raw/main/LICENSE>
3737
## Meta
3838
* Code: `git clone git://github.com/C2FO/fast-csv.git`
3939
* Website: <http://c2fo.com>
40-
* X: [http://x.com/c2fo](http://twitter.com/c2fo) - 877.465.4045
40+
* X: [http://x.com/c2fo](http://x.com/c2fo) - 877.465.4045
4141

4242

4343

documentation/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fast-csv/docs",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"private": true,
55
"scripts": {
66
"start": "docusaurus start --port=3001",
@@ -9,8 +9,8 @@
99
"deploy": "docusaurus deploy"
1010
},
1111
"dependencies": {
12-
"@docusaurus/core": "3.6.2",
13-
"@docusaurus/preset-classic": "3.6.2",
12+
"@docusaurus/core": "3.7.0",
13+
"@docusaurus/preset-classic": "3.7.0",
1414
"classnames": "2.5.1",
1515
"react": "18.3.1",
1616
"react-dom": "18.3.1"

examples/benchmark/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
|Type|Row Count|No. Runs|Avg|
44
|-|-|-|-|
5-
|nonquoted|1000|5|6.2ms|
6-
|nonquoted|10000|5|26.8ms|
7-
|nonquoted|20000|5|47.4ms|
8-
|nonquoted|50000|5|116.2ms|
9-
|nonquoted|100000|5|226ms|
10-
|quoted|1000|5|5ms|
11-
|quoted|10000|5|34.4ms|
12-
|quoted|20000|5|69.2ms|
13-
|quoted|50000|5|172.8ms|
14-
|quoted|100000|5|334.4ms|
5+
|nonquoted|1000|5|5.6ms|
6+
|nonquoted|10000|5|23ms|
7+
|nonquoted|20000|5|42.2ms|
8+
|nonquoted|50000|5|95.8ms|
9+
|nonquoted|100000|5|209.2ms|
10+
|quoted|1000|5|4ms|
11+
|quoted|10000|5|28ms|
12+
|quoted|20000|5|51.4ms|
13+
|quoted|50000|5|122.2ms|
14+
|quoted|100000|5|243.2ms|

package-lock.json

Lines changed: 2551 additions & 2402 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"eslint-plugin-tsdoc": "0.4.0",
4141
"husky": "9.1.7",
4242
"jest": "29.7.0",
43-
"lerna": "8.2.1",
43+
"lerna": "8.2.2",
4444
"prettier": "3.5.3",
4545
"ts-jest": "29.2.6",
4646
"typescript": "5.6.3"

packages/fast-csv/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../tsconfig.build.json",
33
"compilerOptions": {
44
"outDir": "./build",
5-
"rootDir": "."
5+
"rootDir": ".",
6+
"composite": true
67
},
78
"include": [
89
"./src",

packages/format/src/formatter/RowFormatter.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,12 @@ export class RowFormatter<I extends Row, O extends Row> {
144144
return { shouldFormatColumns: true, headers: null };
145145
}
146146
// if the row is equal to headers dont format
147-
if (Array.isArray(row) && headers.every((header, i): boolean => header === row[i])) {
147+
if (
148+
Array.isArray(row) &&
149+
headers.every((header, i): boolean => {
150+
return header === row[i];
151+
})
152+
) {
148153
return { shouldFormatColumns: false, headers };
149154
}
150155
return { shouldFormatColumns: true, headers };
@@ -175,6 +180,7 @@ export class RowFormatter<I extends Row, O extends Row> {
175180
return row;
176181
}
177182
return this.headers.map((header, i): string => {
183+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
178184
return row[i];
179185
});
180186
}

packages/format/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"compilerOptions": {
44
"skipLibCheck": true,
55
"outDir": "./build",
6-
"rootDir": "."
6+
"rootDir": ".",
7+
"composite": true
78
},
89
"include": [
910
"./src",

packages/parse/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../tsconfig.build.json",
33
"compilerOptions": {
44
"outDir": "./build",
5-
"rootDir": "."
5+
"rootDir": ".",
6+
"composite": true
67
},
78
"include": [
89
"./src",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@
1212
{"path": "./packages/fast-csv"},
1313
{"path": "./packages/format"},
1414
{"path": "./packages/parse"}
15-
1615
]
1716
}

0 commit comments

Comments
 (0)