json-p3 2.2.2 → 2.3.1
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/README.md +0 -1
- package/dist/json-p3.browser.js +5235 -0
- package/dist/json-p3.browser.min.js +2 -0
- package/dist/json-p3.browser.min.js.map +1 -0
- package/dist/json-p3.cjs.js +177 -272
- package/dist/json-p3.esm.js +177 -272
- package/dist/json-p3.iife.min.js +1 -1
- package/dist/json-p3.iife.min.js.map +1 -1
- package/dist/path/selectors.d.ts +1 -0
- package/package.json +13 -26
- package/dist/json-p3.iife.js +0 -5366
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/path/selectors.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export declare class SliceSelector extends JSONPathSelector {
|
|
|
65
65
|
private checkRange;
|
|
66
66
|
private slice;
|
|
67
67
|
private lazySlice;
|
|
68
|
+
private normalizeIndex;
|
|
68
69
|
}
|
|
69
70
|
export declare class WildcardSelector extends JSONPathSelector {
|
|
70
71
|
readonly environment: JSONPathEnvironment;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-p3",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"author": "James Prior",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "JSONPath, JSON Pointer and JSON Patch",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"test": "jest",
|
|
17
|
-
"build:types": "tsc --emitDeclarationOnly",
|
|
17
|
+
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
18
18
|
"build:js": "rollup -c",
|
|
19
19
|
"build": "npm run build:types && npm run build:js",
|
|
20
|
-
"type-check": "tsc --noEmit",
|
|
20
|
+
"type-check": "tsc -p tsconfig.build.json --noEmit",
|
|
21
21
|
"coverage": "jest --collectCoverage",
|
|
22
22
|
"clean": "rm -rf ./lib ./dist ./coverage ./docs/docs/api",
|
|
23
23
|
"lint": "eslint src tests --ext .js,.jsx,.ts,.tsx"
|
|
@@ -29,9 +29,10 @@
|
|
|
29
29
|
],
|
|
30
30
|
"main": "dist/json-p3.cjs.js",
|
|
31
31
|
"module": "dist/json-p3.esm.js",
|
|
32
|
-
"browser": "dist/json-p3.
|
|
33
|
-
"browser-min": "dist/json-p3.
|
|
32
|
+
"browser": "dist/json-p3.browser.js",
|
|
33
|
+
"browser-min": "dist/json-p3.browser.min.js",
|
|
34
34
|
"jsdelivr": "dist/json-p3.iife.min.js",
|
|
35
|
+
"unpkg": "dist/json-p3.iife.min.js",
|
|
35
36
|
"types": "dist/index.d.ts",
|
|
36
37
|
"files": [
|
|
37
38
|
"dist/**/*"
|
|
@@ -41,39 +42,25 @@
|
|
|
41
42
|
"@babel/core": "^7.26.0",
|
|
42
43
|
"@babel/preset-env": "^7.26.0",
|
|
43
44
|
"@babel/preset-typescript": "^7.26.0",
|
|
45
|
+
"@eslint/js": "^10.0.1",
|
|
44
46
|
"@jest/globals": "^29.7.0",
|
|
45
47
|
"@rollup/plugin-babel": "^6.0.4",
|
|
46
48
|
"@rollup/plugin-commonjs": "^25.0.8",
|
|
47
49
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
48
50
|
"@rollup/plugin-replace": "^5.0.7",
|
|
49
|
-
"@rollup/plugin-terser": "^0.
|
|
51
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
50
52
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
51
53
|
"@types/jest": "^29.5.14",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"eslint": "^8.57.1",
|
|
55
|
-
"eslint-config-prettier": "^9.1.0",
|
|
56
|
-
"eslint-plugin-escompat": "^3.11.4",
|
|
57
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
58
|
-
"eslint-plugin-filenames": "^1.3.2",
|
|
59
|
-
"eslint-plugin-github": "^4.10.2",
|
|
60
|
-
"eslint-plugin-i18n-text": "^1.0.1",
|
|
61
|
-
"eslint-plugin-import": "^2.31.0",
|
|
62
|
-
"eslint-plugin-jsdoc": "^47.0.2",
|
|
63
|
-
"eslint-plugin-n": "^16.6.2",
|
|
64
|
-
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
65
|
-
"eslint-plugin-node": "^11.1.0",
|
|
66
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
67
|
-
"eslint-plugin-promise": "^6.6.0",
|
|
68
|
-
"eslint-plugin-sonarjs": "^0.23.0",
|
|
69
|
-
"eslint-plugin-tsdoc": "^0.2.17",
|
|
54
|
+
"eslint": "^10.9.1",
|
|
55
|
+
"eslint-plugin-sonarjs": "^4.2.0",
|
|
70
56
|
"iregexp-check": "^0.1.2",
|
|
71
57
|
"jest": "^29.7.0",
|
|
72
|
-
"prettier": "^3.
|
|
58
|
+
"prettier": "^3.9.6",
|
|
73
59
|
"rollup": "^4.28.0",
|
|
74
60
|
"ts-jest": "^29.2.5",
|
|
75
61
|
"tslib": "^2.8.1",
|
|
76
|
-
"typescript": "^5.
|
|
62
|
+
"typescript": "^5.9.3",
|
|
63
|
+
"typescript-eslint": "^8.69.0"
|
|
77
64
|
},
|
|
78
65
|
"keywords": [
|
|
79
66
|
"JSON",
|