Skip to content

Commit 2f92afc

Browse files
committed
chore: update devDeps.
1 parent 2291192 commit 2f92afc

11 files changed

+1519
-1830
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 7.0.0 (UNRELEASED)
44

55
- Breaking change: Bump `engines` to 12
6+
- chore: update devDeps.
67

78
## 6.0.1 (2021-07-07)
89

dist/index-browser-esm.js

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
function _typeof(obj) {
22
"@babel/helpers - typeof";
33

4-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
5-
_typeof = function (obj) {
6-
return typeof obj;
7-
};
8-
} else {
9-
_typeof = function (obj) {
10-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
11-
};
12-
}
13-
14-
return _typeof(obj);
4+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
5+
return typeof obj;
6+
} : function (obj) {
7+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
8+
}, _typeof(obj);
159
}
1610

1711
function _classCallCheck(instance, Constructor) {
@@ -20,6 +14,25 @@ function _classCallCheck(instance, Constructor) {
2014
}
2115
}
2216

17+
function _defineProperties(target, props) {
18+
for (var i = 0; i < props.length; i++) {
19+
var descriptor = props[i];
20+
descriptor.enumerable = descriptor.enumerable || false;
21+
descriptor.configurable = true;
22+
if ("value" in descriptor) descriptor.writable = true;
23+
Object.defineProperty(target, descriptor.key, descriptor);
24+
}
25+
}
26+
27+
function _createClass(Constructor, protoProps, staticProps) {
28+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29+
if (staticProps) _defineProperties(Constructor, staticProps);
30+
Object.defineProperty(Constructor, "prototype", {
31+
writable: false
32+
});
33+
return Constructor;
34+
}
35+
2336
function _inherits(subClass, superClass) {
2437
if (typeof superClass !== "function" && superClass !== null) {
2538
throw new TypeError("Super expression must either be null or a function");
@@ -32,6 +45,9 @@ function _inherits(subClass, superClass) {
3245
configurable: true
3346
}
3447
});
48+
Object.defineProperty(subClass, "prototype", {
49+
writable: false
50+
});
3551
if (superClass) _setPrototypeOf(subClass, superClass);
3652
}
3753

@@ -130,6 +146,8 @@ function _assertThisInitialized(self) {
130146
function _possibleConstructorReturn(self, call) {
131147
if (call && (typeof call === "object" || typeof call === "function")) {
132148
return call;
149+
} else if (call !== void 0) {
150+
throw new TypeError("Derived constructors may only return object or undefined");
133151
}
134152

135153
return _assertThisInitialized(self);
@@ -300,7 +318,7 @@ var NewError = /*#__PURE__*/function (_Error) {
300318
return _this;
301319
}
302320

303-
return NewError;
321+
return _createClass(NewError);
304322
}( /*#__PURE__*/_wrapNativeSuper(Error));
305323
/**
306324
* @typedef {PlainObject} ReturnObject

dist/index-browser-esm.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index-browser-esm.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index-browser-umd.cjs

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,16 @@
22
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
33
typeof define === 'function' && define.amd ? define(['exports'], factory) :
44
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.JSONPath = {}));
5-
}(this, (function (exports) { 'use strict';
5+
})(this, (function (exports) { 'use strict';
66

77
function _typeof(obj) {
88
"@babel/helpers - typeof";
99

10-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
11-
_typeof = function (obj) {
12-
return typeof obj;
13-
};
14-
} else {
15-
_typeof = function (obj) {
16-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17-
};
18-
}
19-
20-
return _typeof(obj);
10+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
11+
return typeof obj;
12+
} : function (obj) {
13+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
14+
}, _typeof(obj);
2115
}
2216

2317
function _classCallCheck(instance, Constructor) {
@@ -26,6 +20,25 @@
2620
}
2721
}
2822

23+
function _defineProperties(target, props) {
24+
for (var i = 0; i < props.length; i++) {
25+
var descriptor = props[i];
26+
descriptor.enumerable = descriptor.enumerable || false;
27+
descriptor.configurable = true;
28+
if ("value" in descriptor) descriptor.writable = true;
29+
Object.defineProperty(target, descriptor.key, descriptor);
30+
}
31+
}
32+
33+
function _createClass(Constructor, protoProps, staticProps) {
34+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
35+
if (staticProps) _defineProperties(Constructor, staticProps);
36+
Object.defineProperty(Constructor, "prototype", {
37+
writable: false
38+
});
39+
return Constructor;
40+
}
41+
2942
function _inherits(subClass, superClass) {
3043
if (typeof superClass !== "function" && superClass !== null) {
3144
throw new TypeError("Super expression must either be null or a function");
@@ -38,6 +51,9 @@
3851
configurable: true
3952
}
4053
});
54+
Object.defineProperty(subClass, "prototype", {
55+
writable: false
56+
});
4157
if (superClass) _setPrototypeOf(subClass, superClass);
4258
}
4359

@@ -136,6 +152,8 @@
136152
function _possibleConstructorReturn(self, call) {
137153
if (call && (typeof call === "object" || typeof call === "function")) {
138154
return call;
155+
} else if (call !== void 0) {
156+
throw new TypeError("Derived constructors may only return object or undefined");
139157
}
140158

141159
return _assertThisInitialized(self);
@@ -306,7 +324,7 @@
306324
return _this;
307325
}
308326

309-
return NewError;
327+
return _createClass(NewError);
310328
}( /*#__PURE__*/_wrapNativeSuper(Error));
311329
/**
312330
* @typedef {PlainObject} ReturnObject
@@ -1063,4 +1081,4 @@
10631081

10641082
Object.defineProperty(exports, '__esModule', { value: true });
10651083

1066-
})));
1084+
}));

dist/index-browser-umd.min.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/index-browser-umd.min.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index-node-cjs.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,6 @@ JSONPath.toPathArray = function (expr) {
730730
return cache[expr].concat();
731731
};
732732

733-
JSONPath.prototype.vm = vm__default['default'];
733+
JSONPath.prototype.vm = vm__default["default"];
734734

735735
exports.JSONPath = JSONPath;

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,43 +58,43 @@
5858
"vm": false
5959
},
6060
"devDependencies": {
61-
"@babel/core": "^7.14.8",
62-
"@babel/preset-env": "^7.14.8",
63-
"@brettz9/eslint-plugin": "^1.0.3",
64-
"@rollup/plugin-babel": "^5.3.0",
65-
"c8": "^7.8.0",
66-
"chai": "^4.3.4",
67-
"core-js-bundle": "^3.15.2",
61+
"@babel/core": "^7.17.8",
62+
"@babel/preset-env": "^7.16.11",
63+
"@brettz9/eslint-plugin": "^1.0.4",
64+
"@rollup/plugin-babel": "^5.3.1",
65+
"c8": "^7.11.0",
66+
"chai": "^4.3.6",
67+
"core-js-bundle": "^3.21.1",
6868
"coveradge": "^0.7.0",
69-
"eslint": "^7.31.0",
70-
"eslint-config-ash-nazg": "^31.1.1",
69+
"eslint": "^8.11.0",
70+
"eslint-config-ash-nazg": "^32.7.1",
7171
"eslint-config-standard": "^16.0.3",
7272
"eslint-plugin-array-func": "^3.1.7",
73-
"eslint-plugin-chai-expect": "^2.2.0",
74-
"eslint-plugin-chai-friendly": "^0.7.1",
75-
"eslint-plugin-compat": "^3.11.1",
73+
"eslint-plugin-chai-expect": "^3.0.0",
74+
"eslint-plugin-chai-friendly": "^0.7.2",
75+
"eslint-plugin-compat": "^4.0.2",
7676
"eslint-plugin-eslint-comments": "^3.2.0",
77-
"eslint-plugin-html": "^6.1.2",
78-
"eslint-plugin-import": "^2.23.4",
79-
"eslint-plugin-jsdoc": "^36.0.6",
80-
"eslint-plugin-markdown": "^2.2.0",
81-
"eslint-plugin-no-unsanitized": "^3.1.5",
77+
"eslint-plugin-html": "^6.2.0",
78+
"eslint-plugin-import": "^2.25.4",
79+
"eslint-plugin-jsdoc": "^38.0.6",
80+
"eslint-plugin-markdown": "^2.2.1",
81+
"eslint-plugin-no-unsanitized": "^4.0.1",
8282
"eslint-plugin-no-use-extend-native": "^0.5.0",
8383
"eslint-plugin-node": "^11.1.0",
84-
"eslint-plugin-promise": "^5.1.0",
85-
"eslint-plugin-sonarjs": "^0.9.1",
84+
"eslint-plugin-promise": "^6.0.0",
85+
"eslint-plugin-sonarjs": "^0.12.0",
8686
"eslint-plugin-standard": "^4.1.0",
87-
"eslint-plugin-unicorn": "^34.0.1",
87+
"eslint-plugin-unicorn": "^41.0.1",
8888
"http-server": "^0.12.3",
8989
"license-badger": "^0.19.0",
90-
"mocha": "^9.0.3",
90+
"mocha": "^9.2.2",
9191
"mocha-badge-generator": "^0.9.0",
9292
"mocha-multi-reporters": "^1.5.1",
93-
"open-cli": "^7.0.0",
94-
"rollup": "2.55.0",
93+
"open-cli": "^7.0.1",
94+
"rollup": "2.70.1",
9595
"rollup-plugin-terser": "^7.0.2",
96-
"typedoc": "^0.21.4",
97-
"typescript": "^4.3.5"
96+
"typedoc": "^0.21.10",
97+
"typescript": "^4.6.2"
9898
},
9999
"keywords": [
100100
"json",

0 commit comments

Comments
 (0)