@swagger-api/apidom-json-path 1.0.0-alpha.1 → 1.0.0-alpha.10

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,38 @@
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
+ # [1.0.0-alpha.10](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2024-10-21)
7
+
8
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
9
+
10
+ # [1.0.0-alpha.9](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2024-08-14)
11
+
12
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
13
+
14
+ # [1.0.0-alpha.8](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2024-08-08)
15
+
16
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
17
+
18
+ # [1.0.0-alpha.7](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2024-08-05)
19
+
20
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
21
+
22
+ # [1.0.0-alpha.6](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2024-07-09)
23
+
24
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
25
+
26
+ # [1.0.0-alpha.5](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2024-05-29)
27
+
28
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
29
+
30
+ # [1.0.0-alpha.3](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2024-05-21)
31
+
32
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
33
+
34
+ # [1.0.0-alpha.2](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2024-05-20)
35
+
36
+ **Note:** Version bump only for package @swagger-api/apidom-json-path
37
+
6
38
  # [1.0.0-alpha.1](https://github.com/swagger-api/apidom/compare/v1.0.0-alpha.0...v1.0.0-alpha.1) (2024-05-15)
7
39
 
8
40
  **Note:** Version bump only for package @swagger-api/apidom-json-path
package/cjs/index.cjs CHANGED
@@ -3,6 +3,7 @@
3
3
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
4
4
  exports.__esModule = true;
5
5
  exports.evaluateMulti = exports.evaluate = exports.MultiEvaluationJsonPathError = exports.EvaluationJsonPathError = void 0;
6
+ require("./polyfills.cjs");
6
7
  var _EvaluationJsonPathError = _interopRequireDefault(require("./errors/EvaluationJsonPathError.cjs"));
7
8
  exports.EvaluationJsonPathError = _EvaluationJsonPathError.default;
8
9
  var _MultiEvaluationJsonPathError = _interopRequireDefault(require("./errors/MultiEvaluationJsonPathError.cjs"));
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
4
+ var _replaceAll = _interopRequireDefault(require("@babel/runtime-corejs3/core-js/instance/replace-all"));
5
+ var _hasOwn = _interopRequireDefault(require("core-js-pure/actual/object/has-own.js"));
6
+ var _replaceAll2 = _interopRequireDefault(require("core-js-pure/actual/string/replace-all.js"));
7
+ /* eslint-disable import/extensions */
8
+
9
+ // @ts-ignore
10
+
11
+ // @ts-ignore
12
+
13
+ /**
14
+ * These polyfills do maintain compatibility with Node.js >= 12.20.0
15
+ */
16
+
17
+ if (!Object.hasOwn) {
18
+ Object.hasOwn = _hasOwn.default;
19
+ }
20
+ if (!(0, _replaceAll.default)(String.prototype)) {
21
+ // eslint-disable-next-line no-extend-native
22
+ String.prototype.replaceAll = function replaceAll(search, replacement) {
23
+ return (0, _replaceAll2.default)(this, search, replacement);
24
+ };
25
+ }