@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.
@@ -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.0",
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.0",
46
- "@swagger-api/apidom-error": "^0.76.0",
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": "^4.4.4",
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": "ce497d1083df34162b9cf2047d6cbd8843af3314"
65
+ "gitHead": "33290820a04e212ffb88da36abaa8cc1fb06892f"
66
66
  }