@swagger-api/apidom-parser-adapter-asyncapi-json-2 1.0.0-alpha.8 → 1.0.0-beta.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 +12 -0
- package/dist/20cf92ce276cf3be872fb26fd7985dd3.wasm +0 -0
- package/dist/8b9a42208b2f0cb650aa7e5c4e293a15.wasm +0 -0
- package/dist/apidom-parser-adapter-asyncapi-json-2.browser.js +5798 -2022
- package/dist/apidom-parser-adapter-asyncapi-json-2.browser.min.js +1 -1
- package/package.json +21 -21
- package/dist/23aac571c96605dc25219087ad291441.wasm +0 -0
- package/dist/64a30dfa8a51b6a090ebd363beeaad5d.wasm +0 -0
- /package/{cjs → src}/adapter.cjs +0 -0
- /package/{es → src}/adapter.mjs +0 -0
- /package/{cjs → src}/media-types.cjs +0 -0
- /package/{es → src}/media-types.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-parser-adapter-asyncapi-json-2",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.0",
|
|
4
4
|
"description": "Parser adapter for parsing JSON documents into AsyncAPI 2.x.y namespace.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -9,29 +9,29 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"unpkg": "./dist/apidom-parser-apdater-asyncapi-json-2.browser.min.js",
|
|
12
|
-
"main": "./
|
|
12
|
+
"main": "./src/adapter.cjs",
|
|
13
13
|
"exports": {
|
|
14
14
|
"types": "./types/dist.d.ts",
|
|
15
|
-
"import": "./
|
|
16
|
-
"require": "./
|
|
15
|
+
"import": "./src/adapter.mjs",
|
|
16
|
+
"require": "./src/adapter.cjs"
|
|
17
17
|
},
|
|
18
18
|
"types": "./types/dist.d.ts",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "npm run clean && run-p --max-parallel ${CPU_CORES:-2} typescript:declaration build:es build:cjs build:umd:browser",
|
|
21
|
-
"build:es": "cross-env BABEL_ENV=es babel src --out-dir
|
|
22
|
-
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir
|
|
21
|
+
"build:es": "cross-env BABEL_ENV=es babel src --out-dir src --extensions '.ts' --out-file-extension '.mjs' --root-mode 'upward'",
|
|
22
|
+
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir src --extensions '.ts' --out-file-extension '.cjs' --root-mode 'upward'",
|
|
23
23
|
"build:umd:browser": "cross-env BABEL_ENV=browser webpack --config config/webpack/browser.config.js --progress",
|
|
24
24
|
"lint": "eslint ./",
|
|
25
25
|
"lint:fix": "eslint ./ --fix",
|
|
26
|
-
"clean": "rimraf
|
|
27
|
-
"typescript:check-types": "tsc --noEmit",
|
|
28
|
-
"typescript:declaration": "tsc -p declaration.
|
|
29
|
-
"test": "cross-env
|
|
30
|
-
"perf": "cross-env
|
|
31
|
-
"perf:lexical-analysis": "cross-env
|
|
32
|
-
"perf:syntactic-analysis": "cross-env
|
|
33
|
-
"perf:refract": "cross-env
|
|
34
|
-
"perf:parse": "cross-env
|
|
26
|
+
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' 'test/**/*.mjs' ./dist ./types",
|
|
27
|
+
"typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
|
|
28
|
+
"typescript:declaration": "tsc -p tsconfig.declaration.json && rollup -c config/rollup/types.dist.js",
|
|
29
|
+
"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 mocha",
|
|
30
|
+
"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",
|
|
31
|
+
"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",
|
|
32
|
+
"perf:syntactic-analysis": "cross-env BABEL_ENV=es babel ./test/perf/syntactic-analysis.ts --out-file ./test/perf/syntactic-analysis.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/syntactic-analysis.mjs",
|
|
33
|
+
"perf:refract": "cross-env BABEL_ENV=es babel ./test/perf/refract.ts --out-file ./test/perf/refract.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/refract.mjs",
|
|
34
|
+
"perf:parse": "cross-env BABEL_ENV=es babel ./test/perf/parse.ts --out-file ./test/perf/parse.mjs --root-mode 'upward' && cross-env NODE_ENV=test node ./test/perf/parse.mjs",
|
|
35
35
|
"prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
|
|
36
36
|
"postpack": "rimraf NOTICE LICENSES"
|
|
37
37
|
},
|
|
@@ -43,22 +43,22 @@
|
|
|
43
43
|
"license": "Apache-2.0",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
46
|
-
"@swagger-api/apidom-core": "^1.0.0-
|
|
47
|
-
"@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-
|
|
48
|
-
"@swagger-api/apidom-parser-adapter-json": "^1.0.0-
|
|
46
|
+
"@swagger-api/apidom-core": "^1.0.0-beta.0",
|
|
47
|
+
"@swagger-api/apidom-ns-asyncapi-2": "^1.0.0-beta.0",
|
|
48
|
+
"@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.0",
|
|
49
49
|
"@types/ramda": "~0.30.0",
|
|
50
50
|
"ramda": "~0.30.0",
|
|
51
51
|
"ramda-adjunct": "^5.0.0"
|
|
52
52
|
},
|
|
53
53
|
"files": [
|
|
54
|
-
"
|
|
54
|
+
"src/**/*.mjs",
|
|
55
|
+
"src/**/*.cjs",
|
|
55
56
|
"dist/",
|
|
56
|
-
"es/",
|
|
57
57
|
"types/dist.d.ts",
|
|
58
58
|
"LICENSES",
|
|
59
59
|
"NOTICE",
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "ed1426743ba9d9d581146e617ec1762df670320c"
|
|
64
64
|
}
|
|
Binary file
|
|
Binary file
|
/package/{cjs → src}/adapter.cjs
RENAMED
|
File without changes
|
/package/{es → src}/adapter.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|