@swagger-api/apidom-parser-adapter-json 1.6.0 → 1.8.0
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/CHANGELOG.md +10 -0
- package/package.json +10 -8
- package/wasm/tree-sitter-json.wasm +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.8.0](https://github.com/swagger-api/apidom/compare/v1.7.0...v1.8.0) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json
|
|
9
|
+
|
|
10
|
+
# [1.7.0](https://github.com/swagger-api/apidom/compare/v1.6.0...v1.7.0) (2026-03-17)
|
|
11
|
+
|
|
12
|
+
### Reverts
|
|
13
|
+
|
|
14
|
+
- Revert "chore(release): cut the v1.7.0 release [skip ci]" ([1d0010f](https://github.com/swagger-api/apidom/commit/1d0010f034f88e3d72096ed2689accffdd0a490b))
|
|
15
|
+
|
|
6
16
|
# [1.6.0](https://github.com/swagger-api/apidom/compare/v1.5.1...v1.6.0) (2026-02-27)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-parser-adapter-json",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Parser adapter for parsing JSON documents into base namespace.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -27,9 +27,10 @@
|
|
|
27
27
|
},
|
|
28
28
|
"types": "./types/apidom-parser-adapter-json.d.ts",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"
|
|
31
|
-
"build
|
|
32
|
-
"build:
|
|
30
|
+
"prebuild": "npm run clean && npm run build:wasm && npm run build:wasm:copy",
|
|
31
|
+
"build": "run-p --max-parallel ${CPU_CORES:-6} typescript:declaration build:es build:cjs build:umd:browser",
|
|
32
|
+
"build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
|
|
33
|
+
"build:cjs": "BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
|
|
33
34
|
"build:umd:browser": "vite build",
|
|
34
35
|
"build:wasm": "node ../../scripts/file-exists.js ../../node_modules/tree-sitter-json/tree-sitter-json.wasm && exit 0 || cd ../../node_modules/tree-sitter-json && tree-sitter generate ./grammar.js && tree-sitter build --wasm && node-gyp rebuild",
|
|
35
36
|
"build:wasm:copy": "copyfiles -u 4 ../../node_modules/tree-sitter-json/tree-sitter-json.wasm wasm",
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types",
|
|
39
40
|
"typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
|
|
40
41
|
"typescript:declaration": "tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json",
|
|
42
|
+
"pretest": "npm run build:wasm && npm run build:wasm:copy",
|
|
41
43
|
"test": "npm run build:es && cross-env BABEL_ENV=es babel test --out-dir test --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward' && cross-env NODE_ENV=test NODE_NO_WARNINGS=1 mocha",
|
|
42
44
|
"perf": "cross-env BABEL_ENV=es babel ./test/perf/index.ts --out-file ./test/perf/index.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/index.mjs",
|
|
43
45
|
"perf:lexical-analysis": "cross-env BABEL_ENV=es babel ./test/perf/lexical-analysis.ts --out-file ./test/perf/lexical-analysis.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/lexical-analysis.mjs",
|
|
@@ -54,9 +56,9 @@
|
|
|
54
56
|
"license": "Apache-2.0",
|
|
55
57
|
"dependencies": {
|
|
56
58
|
"@babel/runtime-corejs3": "^7.26.10",
|
|
57
|
-
"@swagger-api/apidom-ast": "^1.
|
|
58
|
-
"@swagger-api/apidom-core": "^1.
|
|
59
|
-
"@swagger-api/apidom-error": "^1.
|
|
59
|
+
"@swagger-api/apidom-ast": "^1.8.0",
|
|
60
|
+
"@swagger-api/apidom-core": "^1.8.0",
|
|
61
|
+
"@swagger-api/apidom-error": "^1.8.0",
|
|
60
62
|
"@types/ramda": "~0.30.0",
|
|
61
63
|
"ramda": "~0.30.0",
|
|
62
64
|
"ramda-adjunct": "^5.0.0",
|
|
@@ -78,5 +80,5 @@
|
|
|
78
80
|
"README.md",
|
|
79
81
|
"CHANGELOG.md"
|
|
80
82
|
],
|
|
81
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "1dd54ab78366b9936cdd0422949093b93e958ab7"
|
|
82
84
|
}
|
|
File without changes
|