@swagger-api/apidom-core 0.76.0 → 0.76.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/CHANGELOG.md +4 -0
- package/cjs/deepmerge.cjs +3 -3
- package/cjs/predicates/helpers.cjs +5 -8
- package/cjs/predicates/index.cjs +2 -2
- package/cjs/refractor/plugins/element-identity.cjs +1 -3
- package/cjs/refractor/plugins/semantic-element-identity.cjs +1 -3
- package/cjs/serializers/value/visitor.cjs +1 -1
- package/cjs/transcluder/Transcluder.cjs +1 -1
- package/dist/apidom-core.browser.js +988 -84
- package/dist/apidom-core.browser.min.js +1 -1
- package/es/refractor/plugins/element-identity.js +1 -2
- package/es/refractor/plugins/semantic-element-identity.js +1 -2
- package/package.json +5 -5
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
1
|
import ShortUniqueId from 'short-unique-id';
|
|
3
2
|
import { StringElement } from 'minim';
|
|
4
3
|
|
|
@@ -19,7 +18,7 @@ const plugin = ({
|
|
|
19
18
|
visitor: {
|
|
20
19
|
enter(element) {
|
|
21
20
|
// eslint-disable-next-line no-param-reassign
|
|
22
|
-
element.id = new StringElement(uuid());
|
|
21
|
+
element.id = new StringElement(uuid.randomUUID());
|
|
23
22
|
}
|
|
24
23
|
},
|
|
25
24
|
post() {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
1
|
import ShortUniqueId from 'short-unique-id';
|
|
3
2
|
import { StringElement } from 'minim';
|
|
4
3
|
|
|
@@ -22,7 +21,7 @@ const plugin = ({
|
|
|
22
21
|
enter(element) {
|
|
23
22
|
if (!predicates.isPrimitiveElement(element)) {
|
|
24
23
|
// eslint-disable-next-line no-param-reassign
|
|
25
|
-
element.id = new StringElement(uuid());
|
|
24
|
+
element.id = new StringElement(uuid.randomUUID());
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-core",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.1",
|
|
4
4
|
"description": "Tools for manipulating ApiDOM structures.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"license": "Apache-2.0",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
45
|
-
"@swagger-api/apidom-ast": "^0.76.
|
|
46
|
-
"@swagger-api/apidom-error": "^0.76.
|
|
45
|
+
"@swagger-api/apidom-ast": "^0.76.1",
|
|
46
|
+
"@swagger-api/apidom-error": "^0.76.1",
|
|
47
47
|
"@types/ramda": "~0.29.3",
|
|
48
48
|
"minim": "~0.23.8",
|
|
49
49
|
"ramda": "~0.29.0",
|
|
50
50
|
"ramda-adjunct": "^4.1.1",
|
|
51
|
-
"short-unique-id": "^
|
|
51
|
+
"short-unique-id": "^5.0.2",
|
|
52
52
|
"stampit": "^4.3.2"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"README.md",
|
|
63
63
|
"CHANGELOG.md"
|
|
64
64
|
],
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "33290820a04e212ffb88da36abaa8cc1fb06892f"
|
|
66
66
|
}
|