@swagger-api/apidom-core 0.84.0 → 0.86.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 CHANGED
@@ -3,6 +3,14 @@
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
+ # [0.86.0](https://github.com/swagger-api/apidom/compare/v0.85.0...v0.86.0) (2023-12-05)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-core
9
+
10
+ # [0.85.0](https://github.com/swagger-api/apidom/compare/v0.84.0...v0.85.0) (2023-11-30)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-core
13
+
6
14
  # [0.84.0](https://github.com/swagger-api/apidom/compare/v0.83.0...v0.84.0) (2023-11-24)
7
15
 
8
16
  ### Features
@@ -23,7 +23,6 @@ const plugin = ({
23
23
  element.id = new _minim.StringElement(identityManager.generateId()); // eslint-disable-line no-param-reassign
24
24
  }
25
25
  },
26
-
27
26
  post() {
28
27
  identityManager = null;
29
28
  }
@@ -27,7 +27,6 @@ const plugin = ({
27
27
  }
28
28
  }
29
29
  },
30
-
31
30
  post() {
32
31
  identityManager = null;
33
32
  }
@@ -29,7 +29,6 @@ const Visitor = (0, _stampit.default)({
29
29
  if (!(0, _index.hasElementSourceMap)(element)) {
30
30
  return undefined; // dive in
31
31
  }
32
-
33
32
  const sourceMapElement = element.getMetaProperty('sourceMap');
34
33
  const charStart = (0, _index2.default)(sourceMapElement.positionStart.get(2));
35
34
  const charEnd = (0, _index2.default)(sourceMapElement.positionEnd.get(2));
@@ -38,12 +37,10 @@ const Visitor = (0, _stampit.default)({
38
37
  this.result.push(element);
39
38
  return undefined; // push to stack and dive in
40
39
  }
41
-
42
40
  return false; // skip entire sub-tree
43
41
  }
44
42
  }
45
43
  });
46
-
47
44
  // Finds the most inner node at the given offset.
48
45
  // If includeRightBound is set, also finds nodes that end at the given offset.
49
46
  // findAtOffset :: Number -> Element -> Element | Undefined
@@ -866,7 +866,6 @@ const plugin = ({
866
866
  element.id = new minim__WEBPACK_IMPORTED_MODULE_0__.StringElement(identityManager.generateId()); // eslint-disable-line no-param-reassign
867
867
  }
868
868
  },
869
-
870
869
  post() {
871
870
  identityManager = null;
872
871
  }
@@ -912,7 +911,6 @@ const plugin = ({
912
911
  }
913
912
  }
914
913
  },
915
-
916
914
  post() {
917
915
  identityManager = null;
918
916
  }
@@ -1681,7 +1679,6 @@ const Visitor = stampit__WEBPACK_IMPORTED_MODULE_0___default()({
1681
1679
  if (!(0,_predicates__WEBPACK_IMPORTED_MODULE_1__.hasElementSourceMap)(element)) {
1682
1680
  return undefined; // dive in
1683
1681
  }
1684
-
1685
1682
  const sourceMapElement = element.getMetaProperty('sourceMap');
1686
1683
  const charStart = (0,_transformers_serializers_value__WEBPACK_IMPORTED_MODULE_2__["default"])(sourceMapElement.positionStart.get(2));
1687
1684
  const charEnd = (0,_transformers_serializers_value__WEBPACK_IMPORTED_MODULE_2__["default"])(sourceMapElement.positionEnd.get(2));
@@ -1690,12 +1687,10 @@ const Visitor = stampit__WEBPACK_IMPORTED_MODULE_0___default()({
1690
1687
  this.result.push(element);
1691
1688
  return undefined; // push to stack and dive in
1692
1689
  }
1693
-
1694
1690
  return false; // skip entire sub-tree
1695
1691
  }
1696
1692
  }
1697
1693
  });
1698
-
1699
1694
  // Finds the most inner node at the given offset.
1700
1695
  // If includeRightBound is set, also finds nodes that end at the given offset.
1701
1696
  // findAtOffset :: Number -> Element -> Element | Undefined
@@ -17015,7 +17010,6 @@ visitor, {
17015
17010
  if (edits.length !== 0) {
17016
17011
  return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
17017
17012
  }
17018
-
17019
17013
  return root;
17020
17014
  };
17021
17015
 
@@ -17121,7 +17115,6 @@ visitor, {
17121
17115
  // retrieve result
17122
17116
  result = await visitFn.call(visitor, node, key, parent, path, ancestors); // eslint-disable-line no-await-in-loop
17123
17117
  }
17124
-
17125
17118
  if (result === breakSymbol) {
17126
17119
  break;
17127
17120
  }
@@ -17168,7 +17161,6 @@ visitor, {
17168
17161
  if (edits.length !== 0) {
17169
17162
  return edits[edits.length - 1][1]; // @TODO(vladimir.gorej@gmail.com): can be replaced by Array.prototype.at in future
17170
17163
  }
17171
-
17172
17164
  return root;
17173
17165
  };
17174
17166
 
@@ -18,7 +18,6 @@ const plugin = ({
18
18
  element.id = new StringElement(identityManager.generateId()); // eslint-disable-line no-param-reassign
19
19
  }
20
20
  },
21
-
22
21
  post() {
23
22
  identityManager = null;
24
23
  }
@@ -22,7 +22,6 @@ const plugin = ({
22
22
  }
23
23
  }
24
24
  },
25
-
26
25
  post() {
27
26
  identityManager = null;
28
27
  }
@@ -24,7 +24,6 @@ const Visitor = stampit({
24
24
  if (!hasElementSourceMap(element)) {
25
25
  return undefined; // dive in
26
26
  }
27
-
28
27
  const sourceMapElement = element.getMetaProperty('sourceMap');
29
28
  const charStart = toValue(sourceMapElement.positionStart.get(2));
30
29
  const charEnd = toValue(sourceMapElement.positionEnd.get(2));
@@ -33,12 +32,10 @@ const Visitor = stampit({
33
32
  this.result.push(element);
34
33
  return undefined; // push to stack and dive in
35
34
  }
36
-
37
35
  return false; // skip entire sub-tree
38
36
  }
39
37
  }
40
38
  });
41
-
42
39
  // Finds the most inner node at the given offset.
43
40
  // If includeRightBound is set, also finds nodes that end at the given offset.
44
41
  // findAtOffset :: Number -> Element -> Element | Undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-core",
3
- "version": "0.84.0",
3
+ "version": "0.86.0",
4
4
  "description": "Tools for manipulating ApiDOM structures.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -42,8 +42,8 @@
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
44
  "@babel/runtime-corejs3": "^7.20.7",
45
- "@swagger-api/apidom-ast": "^0.84.0",
46
- "@swagger-api/apidom-error": "^0.84.0",
45
+ "@swagger-api/apidom-ast": "^0.86.0",
46
+ "@swagger-api/apidom-error": "^0.86.0",
47
47
  "@types/ramda": "~0.29.6",
48
48
  "minim": "~0.23.8",
49
49
  "ramda": "~0.29.1",
@@ -62,5 +62,5 @@
62
62
  "README.md",
63
63
  "CHANGELOG.md"
64
64
  ],
65
- "gitHead": "6dbd9983371b63b56cab3983e478ef29e9e1525f"
65
+ "gitHead": "13eb0bd9d45950dfa21a65bc4bc8ac608e0802d0"
66
66
  }