@fgv/ts-json 5.0.0-25 → 5.0.0-26

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.
@@ -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
+ ];
@@ -88,7 +88,6 @@ class CompositeJsonMap {
88
88
  * if no such object exists, or failure with detail `'error'` if the object was found but
89
89
  * could not be formatted.
90
90
  */
91
- // eslint-disable-next-line no-use-before-define
92
91
  getJsonValue(key, context) {
93
92
  for (const map of this._maps) {
94
93
  if (map.keyIsInRange(key)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fgv/ts-json",
3
- "version": "5.0.0-25",
3
+ "version": "5.0.0-26",
4
4
  "description": "Typescript utilities for working with JSON",
5
5
  "main": "lib/index.js",
6
6
  "types": "dist/ts-json.d.ts",
@@ -19,20 +19,20 @@
19
19
  "@types/jest": "^29.5.14",
20
20
  "@types/mustache": "^4.2.5",
21
21
  "@types/node": "^20.14.9",
22
- "@typescript-eslint/eslint-plugin": "^7.14.1",
23
- "@typescript-eslint/parser": "^7.14.1",
24
- "eslint": "^8.57.0",
22
+ "@typescript-eslint/eslint-plugin": "^8.42.0",
23
+ "@typescript-eslint/parser": "^8.42.0",
24
+ "eslint": "^9.35.0",
25
25
  "eslint-plugin-import": "^2.32.0",
26
26
  "eslint-plugin-node": "^11.1.0",
27
- "eslint-plugin-promise": "^6.2.0",
27
+ "eslint-plugin-promise": "^7.2.1",
28
28
  "jest": "^29.7.0",
29
29
  "jest-extended": "^4.0.2",
30
30
  "mustache": "^4.2.0",
31
- "rimraf": "^5.0.7",
31
+ "rimraf": "^6.0.1",
32
32
  "ts-jest": "^29.4.1",
33
33
  "ts-node": "^10.9.2",
34
34
  "typescript": "5.8.3",
35
- "eslint-plugin-n": "^16.6.2",
35
+ "eslint-plugin-n": "^17.21.3",
36
36
  "@rushstack/heft-node-rig": "2.9.4",
37
37
  "@rushstack/heft": "0.74.3",
38
38
  "heft-jest": "~1.0.2",
@@ -41,14 +41,14 @@
41
41
  "@rushstack/eslint-config": "4.4.0",
42
42
  "eslint-plugin-tsdoc": "~0.4.0",
43
43
  "@rushstack/heft-jest-plugin": "0.16.12",
44
- "@fgv/ts-utils": "5.0.0-25",
45
- "@fgv/ts-utils-jest": "5.0.0-25",
46
- "@fgv/ts-json-base": "5.0.0-25"
44
+ "@fgv/ts-utils": "5.0.0-26",
45
+ "@fgv/ts-utils-jest": "5.0.0-26",
46
+ "@fgv/ts-json-base": "5.0.0-26"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "mustache": "^4.2.0",
50
- "@fgv/ts-utils": "5.0.0-25",
51
- "@fgv/ts-json-base": "5.0.0-25"
50
+ "@fgv/ts-utils": "5.0.0-26",
51
+ "@fgv/ts-json-base": "5.0.0-26"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "heft build --clean",