@swagger-api/apidom-parser-adapter-openapi-json-3-0 1.0.0-beta.5 → 1.0.0-beta.50
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 +186 -0
- package/LICENSES/AFL-3.0.txt +182 -0
- package/LICENSES/BSD-3-Clause.txt +26 -0
- package/NOTICE +26 -0
- package/README.md +6 -4
- package/dist/apidom-parser-adapter-openapi-json-3-0.browser.js +25244 -25169
- package/dist/apidom-parser-adapter-openapi-json-3-0.browser.min.js +1 -1
- package/package.json +8 -8
- package/src/adapter.cjs +1 -1
- package/src/adapter.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-parser-adapter-openapi-json-3-0",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.50",
|
|
4
4
|
"description": "Parser adapter for parsing JSON documents into OpenAPI 3.0.x namespace.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -23,10 +23,10 @@
|
|
|
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 --glob 'src/**/*.mjs' 'src/**/*.cjs'
|
|
26
|
+
"clean": "rimraf --glob 'src/**/*.mjs' 'src/**/*.cjs' ./dist ./types",
|
|
27
27
|
"typescript:check-types": "tsc --noEmit && tsc -p ./test/tsconfig.json --noEmit",
|
|
28
28
|
"typescript:declaration": "tsc -p tsconfig.declaration.json && api-extractor run -l -c ./config/api-extractor/api-extractor.json",
|
|
29
|
-
"test": "
|
|
29
|
+
"test": "NODE_ENV=test ts-mocha --exit",
|
|
30
30
|
"prepack": "copyfiles -u 3 ../../LICENSES/* LICENSES && copyfiles -u 2 ../../NOTICE .",
|
|
31
31
|
"postpack": "rimraf NOTICE LICENSES"
|
|
32
32
|
},
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"author": "Vladimir Gorej",
|
|
38
38
|
"license": "Apache-2.0",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/runtime-corejs3": "^7.
|
|
41
|
-
"@swagger-api/apidom-core": "^1.0.0-beta.
|
|
42
|
-
"@swagger-api/apidom-ns-openapi-3-0": "^1.0.0-beta.
|
|
43
|
-
"@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.
|
|
40
|
+
"@babel/runtime-corejs3": "^7.26.10",
|
|
41
|
+
"@swagger-api/apidom-core": "^1.0.0-beta.50",
|
|
42
|
+
"@swagger-api/apidom-ns-openapi-3-0": "^1.0.0-beta.50",
|
|
43
|
+
"@swagger-api/apidom-parser-adapter-json": "^1.0.0-beta.50",
|
|
44
44
|
"@types/ramda": "~0.30.0",
|
|
45
45
|
"ramda": "~0.30.0",
|
|
46
46
|
"ramda-adjunct": "^5.0.0"
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"README.md",
|
|
56
56
|
"CHANGELOG.md"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "fc33809ee41ef8f7385e96d7062ef6161a0eb6c9"
|
|
59
59
|
}
|
package/src/adapter.cjs
CHANGED
|
@@ -14,7 +14,7 @@ exports.mediaTypes = _mediaTypes.default;
|
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
const detectionRegExp = exports.detectionRegExp = /"openapi"\s*:\s*"(?<version_json>3\.0\.([
|
|
17
|
+
const detectionRegExp = exports.detectionRegExp = /"openapi"\s*:\s*"(?<version_json>3\.0\.(?:[1-9]\d*|0))"/;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @public
|
package/src/adapter.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export { default as mediaTypes } from "./media-types.mjs";
|
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export const detectionRegExp = /"openapi"\s*:\s*"(?<version_json>3\.0\.([
|
|
10
|
+
export const detectionRegExp = /"openapi"\s*:\s*"(?<version_json>3\.0\.(?:[1-9]\d*|0))"/;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @public
|