@fgv/ts-extras 5.0.0-25 → 5.0.0-27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/tsdoc-metadata.json
CHANGED
package/eslint.config.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// ESLint 9 flat config
|
|
2
|
+
const nodeProfile = require('@rushstack/eslint-config/flat/profile/node');
|
|
3
|
+
const packletsPlugin = require('@rushstack/eslint-config/flat/mixins/packlets');
|
|
4
|
+
const tsdocPlugin = require('@rushstack/eslint-config/flat/mixins/tsdoc');
|
|
5
|
+
|
|
6
|
+
module.exports = [
|
|
7
|
+
...nodeProfile,
|
|
8
|
+
packletsPlugin,
|
|
9
|
+
...tsdocPlugin,
|
|
10
|
+
{
|
|
11
|
+
// Override specific rules if needed
|
|
12
|
+
rules: {
|
|
13
|
+
'@rushstack/packlets/mechanics': 'warn'
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
];
|
|
@@ -71,7 +71,6 @@ function readCsvFileSync(srcPath, options) {
|
|
|
71
71
|
const fullPath = path.resolve(srcPath);
|
|
72
72
|
const body = fs.readFileSync(fullPath, 'utf8').toString();
|
|
73
73
|
options = options !== null && options !== void 0 ? options : {};
|
|
74
|
-
// eslint-disable-next-line
|
|
75
74
|
return (0, papaparse_1.parse)(body, Object.assign({ transform: (s) => s.trim(), header: false, dynamicTyping: false, skipEmptyLines: 'greedy' }, options)).data.slice(1);
|
|
76
75
|
});
|
|
77
76
|
}
|
|
@@ -60,7 +60,6 @@ const fs = __importStar(require("fs"));
|
|
|
60
60
|
const path = __importStar(require("path"));
|
|
61
61
|
const ts_utils_1 = require("@fgv/ts-utils");
|
|
62
62
|
class RecordParser {
|
|
63
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
64
63
|
constructor(options) {
|
|
65
64
|
this.records = [];
|
|
66
65
|
this._fields = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgv/ts-extras",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-27",
|
|
4
4
|
"description": "Assorted Typescript Utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "dist/ts-extras.d.ts",
|
|
@@ -24,38 +24,38 @@
|
|
|
24
24
|
"@types/mustache": "^4.2.5",
|
|
25
25
|
"@types/node": "^20.14.9",
|
|
26
26
|
"@types/papaparse": "^5.3.14",
|
|
27
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
28
|
-
"@typescript-eslint/parser": "^
|
|
29
|
-
"eslint": "^
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
28
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
29
|
+
"eslint": "^9.35.0",
|
|
30
30
|
"eslint-plugin-import": "^2.32.0",
|
|
31
31
|
"eslint-plugin-node": "^11.1.0",
|
|
32
|
-
"eslint-plugin-promise": "^
|
|
32
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
33
33
|
"jest": "^29.7.0",
|
|
34
34
|
"jest-extended": "^4.0.2",
|
|
35
35
|
"jest-matcher-utils": "^29.7.0",
|
|
36
|
-
"rimraf": "^
|
|
36
|
+
"rimraf": "^6.0.1",
|
|
37
37
|
"ts-jest": "^29.4.1",
|
|
38
38
|
"ts-node": "^10.9.2",
|
|
39
39
|
"typescript": "5.8.3",
|
|
40
|
-
"eslint-plugin-n": "^
|
|
40
|
+
"eslint-plugin-n": "^17.21.3",
|
|
41
41
|
"jest-snapshot": "~29.7.0",
|
|
42
|
-
"@rushstack/heft": "0.74.
|
|
43
|
-
"@rushstack/heft-node-rig": "2.9.
|
|
42
|
+
"@rushstack/heft": "0.74.4",
|
|
43
|
+
"@rushstack/heft-node-rig": "2.9.5",
|
|
44
44
|
"@rushstack/eslint-config": "4.4.0",
|
|
45
45
|
"@types/heft-jest": "1.0.6",
|
|
46
|
-
"@rushstack/heft-jest-plugin": "0.16.
|
|
46
|
+
"@rushstack/heft-jest-plugin": "0.16.13",
|
|
47
47
|
"eslint-plugin-tsdoc": "~0.4.0",
|
|
48
|
-
"@fgv/ts-utils": "5.0.0-
|
|
49
|
-
"@fgv/ts-utils
|
|
48
|
+
"@fgv/ts-utils-jest": "5.0.0-27",
|
|
49
|
+
"@fgv/ts-utils": "5.0.0-27"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"luxon": "^3.7.
|
|
52
|
+
"luxon": "^3.7.2",
|
|
53
53
|
"mustache": "^4.2.0",
|
|
54
54
|
"papaparse": "^5.4.1",
|
|
55
55
|
"fflate": "~0.8.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@fgv/ts-utils": "5.0.0-
|
|
58
|
+
"@fgv/ts-utils": "5.0.0-27"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "heft test --clean",
|