@feathersjs/client 5.0.0-pre.15 → 5.0.0-pre.16
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 +11 -0
- package/dist/core.js +20 -20
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/feathers.js +164 -93
- package/dist/feathers.js.map +1 -1
- package/dist/feathers.min.js +1 -1
- package/package.json +16 -16
package/dist/feathers.js
CHANGED
|
@@ -20,9 +20,9 @@ return /******/ (function() { // webpackBootstrap
|
|
|
20
20
|
"use strict";
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
23
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
24
24
|
|
|
25
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
26
26
|
|
|
27
27
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
28
28
|
|
|
@@ -38,7 +38,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
38
38
|
|
|
39
39
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
40
40
|
|
|
41
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
41
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
42
42
|
|
|
43
43
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@ exports.HOOKS = Symbol('@feathersjs/hooks');
|
|
|
54
54
|
* The base hook context.
|
|
55
55
|
*/
|
|
56
56
|
|
|
57
|
-
var BaseHookContext = function BaseHookContext() {
|
|
57
|
+
var BaseHookContext = /*#__PURE__*/_createClass(function BaseHookContext() {
|
|
58
58
|
var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
59
59
|
|
|
60
60
|
_classCallCheck(this, BaseHookContext);
|
|
@@ -66,7 +66,7 @@ var BaseHookContext = function BaseHookContext() {
|
|
|
66
66
|
value: void 0
|
|
67
67
|
});
|
|
68
68
|
Object.assign(this, data);
|
|
69
|
-
};
|
|
69
|
+
});
|
|
70
70
|
|
|
71
71
|
exports.BaseHookContext = BaseHookContext;
|
|
72
72
|
|
|
@@ -229,7 +229,7 @@ var HookManager = /*#__PURE__*/function () {
|
|
|
229
229
|
return _this;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
return ContextClass;
|
|
232
|
+
return _createClass(ContextClass);
|
|
233
233
|
}(Base);
|
|
234
234
|
|
|
235
235
|
var params = this.getParams();
|
|
@@ -771,11 +771,7 @@ exports.copyFnProperties = copyFnProperties;
|
|
|
771
771
|
"use strict";
|
|
772
772
|
|
|
773
773
|
|
|
774
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
775
|
-
|
|
776
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
777
|
-
|
|
778
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
774
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
779
775
|
|
|
780
776
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
781
777
|
|
|
@@ -789,9 +785,13 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
789
785
|
|
|
790
786
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
791
787
|
|
|
788
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
789
|
+
|
|
790
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
791
|
+
|
|
792
792
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
793
793
|
|
|
794
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
794
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
795
795
|
|
|
796
796
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
797
797
|
|
|
@@ -825,7 +825,7 @@ var OauthError = /*#__PURE__*/function (_errors_1$FeathersErr) {
|
|
|
825
825
|
return _super.call(this, message, 'OauthError', 401, 'oauth-error', data);
|
|
826
826
|
}
|
|
827
827
|
|
|
828
|
-
return OauthError;
|
|
828
|
+
return _createClass(OauthError);
|
|
829
829
|
}(errors_1.FeathersError);
|
|
830
830
|
|
|
831
831
|
var getMatch = function getMatch(location, key) {
|
|
@@ -1282,7 +1282,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1282
1282
|
|
|
1283
1283
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
1284
1284
|
|
|
1285
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1285
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1286
1286
|
|
|
1287
1287
|
Object.defineProperty(exports, "__esModule", ({
|
|
1288
1288
|
value: true
|
|
@@ -1407,7 +1407,7 @@ exports.createDebug = createDebug;
|
|
|
1407
1407
|
|
|
1408
1408
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1409
1409
|
|
|
1410
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1410
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1411
1411
|
|
|
1412
1412
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
1413
1413
|
|
|
@@ -1588,15 +1588,15 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
1588
1588
|
|
|
1589
1589
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
1590
1590
|
|
|
1591
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1591
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1592
1592
|
|
|
1593
1593
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1594
1594
|
|
|
1595
1595
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
1596
1596
|
|
|
1597
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1597
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1598
1598
|
|
|
1599
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1599
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1600
1600
|
|
|
1601
1601
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1602
1602
|
|
|
@@ -1695,7 +1695,7 @@ var BadRequest = /*#__PURE__*/function (_FeathersError) {
|
|
|
1695
1695
|
return _super2.call(this, message, 'BadRequest', 400, 'bad-request', data);
|
|
1696
1696
|
}
|
|
1697
1697
|
|
|
1698
|
-
return BadRequest;
|
|
1698
|
+
return _createClass(BadRequest);
|
|
1699
1699
|
}(FeathersError);
|
|
1700
1700
|
|
|
1701
1701
|
exports.BadRequest = BadRequest; // 401 - Not Authenticated
|
|
@@ -1711,7 +1711,7 @@ var NotAuthenticated = /*#__PURE__*/function (_FeathersError2) {
|
|
|
1711
1711
|
return _super3.call(this, message, 'NotAuthenticated', 401, 'not-authenticated', data);
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
|
-
return NotAuthenticated;
|
|
1714
|
+
return _createClass(NotAuthenticated);
|
|
1715
1715
|
}(FeathersError);
|
|
1716
1716
|
|
|
1717
1717
|
exports.NotAuthenticated = NotAuthenticated; // 402 - Payment Error
|
|
@@ -1727,7 +1727,7 @@ var PaymentError = /*#__PURE__*/function (_FeathersError3) {
|
|
|
1727
1727
|
return _super4.call(this, message, 'PaymentError', 402, 'payment-error', data);
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
|
-
return PaymentError;
|
|
1730
|
+
return _createClass(PaymentError);
|
|
1731
1731
|
}(FeathersError);
|
|
1732
1732
|
|
|
1733
1733
|
exports.PaymentError = PaymentError; // 403 - Forbidden
|
|
@@ -1743,7 +1743,7 @@ var Forbidden = /*#__PURE__*/function (_FeathersError4) {
|
|
|
1743
1743
|
return _super5.call(this, message, 'Forbidden', 403, 'forbidden', data);
|
|
1744
1744
|
}
|
|
1745
1745
|
|
|
1746
|
-
return Forbidden;
|
|
1746
|
+
return _createClass(Forbidden);
|
|
1747
1747
|
}(FeathersError);
|
|
1748
1748
|
|
|
1749
1749
|
exports.Forbidden = Forbidden; // 404 - Not Found
|
|
@@ -1759,7 +1759,7 @@ var NotFound = /*#__PURE__*/function (_FeathersError5) {
|
|
|
1759
1759
|
return _super6.call(this, message, 'NotFound', 404, 'not-found', data);
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
return NotFound;
|
|
1762
|
+
return _createClass(NotFound);
|
|
1763
1763
|
}(FeathersError);
|
|
1764
1764
|
|
|
1765
1765
|
exports.NotFound = NotFound; // 405 - Method Not Allowed
|
|
@@ -1775,7 +1775,7 @@ var MethodNotAllowed = /*#__PURE__*/function (_FeathersError6) {
|
|
|
1775
1775
|
return _super7.call(this, message, 'MethodNotAllowed', 405, 'method-not-allowed', data);
|
|
1776
1776
|
}
|
|
1777
1777
|
|
|
1778
|
-
return MethodNotAllowed;
|
|
1778
|
+
return _createClass(MethodNotAllowed);
|
|
1779
1779
|
}(FeathersError);
|
|
1780
1780
|
|
|
1781
1781
|
exports.MethodNotAllowed = MethodNotAllowed; // 406 - Not Acceptable
|
|
@@ -1791,7 +1791,7 @@ var NotAcceptable = /*#__PURE__*/function (_FeathersError7) {
|
|
|
1791
1791
|
return _super8.call(this, message, 'NotAcceptable', 406, 'not-acceptable', data);
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
|
-
return NotAcceptable;
|
|
1794
|
+
return _createClass(NotAcceptable);
|
|
1795
1795
|
}(FeathersError);
|
|
1796
1796
|
|
|
1797
1797
|
exports.NotAcceptable = NotAcceptable; // 408 - Timeout
|
|
@@ -1807,7 +1807,7 @@ var Timeout = /*#__PURE__*/function (_FeathersError8) {
|
|
|
1807
1807
|
return _super9.call(this, message, 'Timeout', 408, 'timeout', data);
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
|
-
return Timeout;
|
|
1810
|
+
return _createClass(Timeout);
|
|
1811
1811
|
}(FeathersError);
|
|
1812
1812
|
|
|
1813
1813
|
exports.Timeout = Timeout; // 409 - Conflict
|
|
@@ -1823,7 +1823,7 @@ var Conflict = /*#__PURE__*/function (_FeathersError9) {
|
|
|
1823
1823
|
return _super10.call(this, message, 'Conflict', 409, 'conflict', data);
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
-
return Conflict;
|
|
1826
|
+
return _createClass(Conflict);
|
|
1827
1827
|
}(FeathersError);
|
|
1828
1828
|
|
|
1829
1829
|
exports.Conflict = Conflict; // 410 - Gone
|
|
@@ -1839,7 +1839,7 @@ var Gone = /*#__PURE__*/function (_FeathersError10) {
|
|
|
1839
1839
|
return _super11.call(this, message, 'Gone', 410, 'gone', data);
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
|
-
return Gone;
|
|
1842
|
+
return _createClass(Gone);
|
|
1843
1843
|
}(FeathersError);
|
|
1844
1844
|
|
|
1845
1845
|
exports.Gone = Gone; // 411 - Length Required
|
|
@@ -1855,7 +1855,7 @@ var LengthRequired = /*#__PURE__*/function (_FeathersError11) {
|
|
|
1855
1855
|
return _super12.call(this, message, 'LengthRequired', 411, 'length-required', data);
|
|
1856
1856
|
}
|
|
1857
1857
|
|
|
1858
|
-
return LengthRequired;
|
|
1858
|
+
return _createClass(LengthRequired);
|
|
1859
1859
|
}(FeathersError);
|
|
1860
1860
|
|
|
1861
1861
|
exports.LengthRequired = LengthRequired; // 422 Unprocessable
|
|
@@ -1871,7 +1871,7 @@ var Unprocessable = /*#__PURE__*/function (_FeathersError12) {
|
|
|
1871
1871
|
return _super13.call(this, message, 'Unprocessable', 422, 'unprocessable', data);
|
|
1872
1872
|
}
|
|
1873
1873
|
|
|
1874
|
-
return Unprocessable;
|
|
1874
|
+
return _createClass(Unprocessable);
|
|
1875
1875
|
}(FeathersError);
|
|
1876
1876
|
|
|
1877
1877
|
exports.Unprocessable = Unprocessable; // 429 Too Many Requests
|
|
@@ -1887,7 +1887,7 @@ var TooManyRequests = /*#__PURE__*/function (_FeathersError13) {
|
|
|
1887
1887
|
return _super14.call(this, message, 'TooManyRequests', 429, 'too-many-requests', data);
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
1890
|
-
return TooManyRequests;
|
|
1890
|
+
return _createClass(TooManyRequests);
|
|
1891
1891
|
}(FeathersError);
|
|
1892
1892
|
|
|
1893
1893
|
exports.TooManyRequests = TooManyRequests; // 500 - General Error
|
|
@@ -1903,7 +1903,7 @@ var GeneralError = /*#__PURE__*/function (_FeathersError14) {
|
|
|
1903
1903
|
return _super15.call(this, message, 'GeneralError', 500, 'general-error', data);
|
|
1904
1904
|
}
|
|
1905
1905
|
|
|
1906
|
-
return GeneralError;
|
|
1906
|
+
return _createClass(GeneralError);
|
|
1907
1907
|
}(FeathersError);
|
|
1908
1908
|
|
|
1909
1909
|
exports.GeneralError = GeneralError; // 501 - Not Implemented
|
|
@@ -1919,7 +1919,7 @@ var NotImplemented = /*#__PURE__*/function (_FeathersError15) {
|
|
|
1919
1919
|
return _super16.call(this, message, 'NotImplemented', 501, 'not-implemented', data);
|
|
1920
1920
|
}
|
|
1921
1921
|
|
|
1922
|
-
return NotImplemented;
|
|
1922
|
+
return _createClass(NotImplemented);
|
|
1923
1923
|
}(FeathersError);
|
|
1924
1924
|
|
|
1925
1925
|
exports.NotImplemented = NotImplemented; // 502 - Bad Gateway
|
|
@@ -1935,7 +1935,7 @@ var BadGateway = /*#__PURE__*/function (_FeathersError16) {
|
|
|
1935
1935
|
return _super17.call(this, message, 'BadGateway', 502, 'bad-gateway', data);
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
1938
|
-
return BadGateway;
|
|
1938
|
+
return _createClass(BadGateway);
|
|
1939
1939
|
}(FeathersError);
|
|
1940
1940
|
|
|
1941
1941
|
exports.BadGateway = BadGateway; // 503 - Unavailable
|
|
@@ -1951,7 +1951,7 @@ var Unavailable = /*#__PURE__*/function (_FeathersError17) {
|
|
|
1951
1951
|
return _super18.call(this, message, 'Unavailable', 503, 'unavailable', data);
|
|
1952
1952
|
}
|
|
1953
1953
|
|
|
1954
|
-
return Unavailable;
|
|
1954
|
+
return _createClass(Unavailable);
|
|
1955
1955
|
}(FeathersError);
|
|
1956
1956
|
|
|
1957
1957
|
exports.Unavailable = Unavailable;
|
|
@@ -2020,7 +2020,7 @@ exports.convert = convert;
|
|
|
2020
2020
|
"use strict";
|
|
2021
2021
|
|
|
2022
2022
|
|
|
2023
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
2023
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2024
2024
|
|
|
2025
2025
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2026
2026
|
|
|
@@ -2042,9 +2042,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
2042
2042
|
|
|
2043
2043
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
2044
2044
|
|
|
2045
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
2045
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2046
2046
|
|
|
2047
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
2047
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
2048
2048
|
|
|
2049
2049
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2050
2050
|
|
|
@@ -2160,7 +2160,7 @@ var Feathers = /*#__PURE__*/function (_dependencies_1$Event) {
|
|
|
2160
2160
|
}
|
|
2161
2161
|
|
|
2162
2162
|
var protoService = (0, service_1.wrapService)(location, service, options);
|
|
2163
|
-
var serviceOptions = (0, service_1.getServiceOptions)(
|
|
2163
|
+
var serviceOptions = (0, service_1.getServiceOptions)(protoService);
|
|
2164
2164
|
|
|
2165
2165
|
var _iterator = _createForOfIteratorHelper(service_1.protectedMethods),
|
|
2166
2166
|
_step;
|
|
@@ -2379,7 +2379,7 @@ exports.eventMixin = eventMixin;
|
|
|
2379
2379
|
"use strict";
|
|
2380
2380
|
|
|
2381
2381
|
|
|
2382
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
2382
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2383
2383
|
|
|
2384
2384
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2385
2385
|
|
|
@@ -2397,13 +2397,13 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
2397
2397
|
|
|
2398
2398
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
2399
2399
|
|
|
2400
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
2400
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
2401
2401
|
|
|
2402
|
-
function _get(
|
|
2402
|
+
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
2403
2403
|
|
|
2404
2404
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
2405
2405
|
|
|
2406
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
2406
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
2407
2407
|
|
|
2408
2408
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
2409
2409
|
|
|
@@ -2621,11 +2621,11 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
2621
2621
|
|
|
2622
2622
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
2623
2623
|
|
|
2624
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
2624
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2625
2625
|
|
|
2626
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
2626
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2627
2627
|
|
|
2628
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
2628
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2629
2629
|
|
|
2630
2630
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2631
2631
|
|
|
@@ -2941,9 +2941,9 @@ if (true) {
|
|
|
2941
2941
|
"use strict";
|
|
2942
2942
|
|
|
2943
2943
|
|
|
2944
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
2944
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
2945
2945
|
|
|
2946
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
2946
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2947
2947
|
|
|
2948
2948
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2949
2949
|
|
|
@@ -3054,15 +3054,15 @@ exports["default"] = 'development';
|
|
|
3054
3054
|
"use strict";
|
|
3055
3055
|
|
|
3056
3056
|
|
|
3057
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3057
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3058
3058
|
|
|
3059
3059
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3060
3060
|
|
|
3061
3061
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
3062
3062
|
|
|
3063
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
3063
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3064
3064
|
|
|
3065
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
3065
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
3066
3066
|
|
|
3067
3067
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
3068
3068
|
|
|
@@ -3134,7 +3134,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
3134
3134
|
|
|
3135
3135
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
3136
3136
|
|
|
3137
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
3137
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3138
3138
|
|
|
3139
3139
|
var __importDefault = this && this.__importDefault || function (mod) {
|
|
3140
3140
|
return mod && mod.__esModule ? mod : {
|
|
@@ -3325,15 +3325,15 @@ exports.Base = Base;
|
|
|
3325
3325
|
"use strict";
|
|
3326
3326
|
|
|
3327
3327
|
|
|
3328
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3328
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3329
3329
|
|
|
3330
3330
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3331
3331
|
|
|
3332
3332
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
3333
3333
|
|
|
3334
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
3334
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3335
3335
|
|
|
3336
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
3336
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
3337
3337
|
|
|
3338
3338
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
3339
3339
|
|
|
@@ -3521,15 +3521,15 @@ if (true) {
|
|
|
3521
3521
|
"use strict";
|
|
3522
3522
|
|
|
3523
3523
|
|
|
3524
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3524
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3525
3525
|
|
|
3526
3526
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
3527
3527
|
|
|
3528
3528
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
3529
3529
|
|
|
3530
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
3530
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3531
3531
|
|
|
3532
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
3532
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
3533
3533
|
|
|
3534
3534
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
3535
3535
|
|
|
@@ -3674,7 +3674,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
3674
3674
|
|
|
3675
3675
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
3676
3676
|
|
|
3677
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
3677
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
3678
3678
|
|
|
3679
3679
|
Object.defineProperty(exports, "__esModule", ({
|
|
3680
3680
|
value: true
|
|
@@ -4970,11 +4970,24 @@ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
|
4970
4970
|
var booleanValueOf = Boolean.prototype.valueOf;
|
|
4971
4971
|
var objectToString = Object.prototype.toString;
|
|
4972
4972
|
var functionToString = Function.prototype.toString;
|
|
4973
|
-
var match = String.prototype.match;
|
|
4973
|
+
var $match = String.prototype.match;
|
|
4974
|
+
var $slice = String.prototype.slice;
|
|
4975
|
+
var $replace = String.prototype.replace;
|
|
4976
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
4977
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
4978
|
+
var $test = RegExp.prototype.test;
|
|
4979
|
+
var $concat = Array.prototype.concat;
|
|
4980
|
+
var $join = Array.prototype.join;
|
|
4981
|
+
var $arrSlice = Array.prototype.slice;
|
|
4982
|
+
var $floor = Math.floor;
|
|
4974
4983
|
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
|
|
4975
4984
|
var gOPS = Object.getOwnPropertySymbols;
|
|
4976
4985
|
var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
|
|
4977
4986
|
var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
|
|
4987
|
+
// ie, `has-tostringtag/shams
|
|
4988
|
+
var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
|
|
4989
|
+
? Symbol.toStringTag
|
|
4990
|
+
: null;
|
|
4978
4991
|
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
4979
4992
|
|
|
4980
4993
|
var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
|
|
@@ -4985,9 +4998,30 @@ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPr
|
|
|
4985
4998
|
: null
|
|
4986
4999
|
);
|
|
4987
5000
|
|
|
5001
|
+
function addNumericSeparator(num, str) {
|
|
5002
|
+
if (
|
|
5003
|
+
num === Infinity
|
|
5004
|
+
|| num === -Infinity
|
|
5005
|
+
|| num !== num
|
|
5006
|
+
|| (num && num > -1000 && num < 1000)
|
|
5007
|
+
|| $test.call(/e/, str)
|
|
5008
|
+
) {
|
|
5009
|
+
return str;
|
|
5010
|
+
}
|
|
5011
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
5012
|
+
if (typeof num === 'number') {
|
|
5013
|
+
var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
|
|
5014
|
+
if (int !== num) {
|
|
5015
|
+
var intStr = String(int);
|
|
5016
|
+
var dec = $slice.call(str, intStr.length + 1);
|
|
5017
|
+
return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
|
|
5018
|
+
}
|
|
5019
|
+
}
|
|
5020
|
+
return $replace.call(str, sepRegex, '$&_');
|
|
5021
|
+
}
|
|
5022
|
+
|
|
4988
5023
|
var inspectCustom = (__webpack_require__(/*! ./util.inspect */ "?c95a").custom);
|
|
4989
5024
|
var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
|
|
4990
|
-
var toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;
|
|
4991
5025
|
|
|
4992
5026
|
module.exports = function inspect_(obj, options, depth, seen) {
|
|
4993
5027
|
var opts = options || {};
|
|
@@ -5014,8 +5048,12 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5014
5048
|
&& opts.indent !== '\t'
|
|
5015
5049
|
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
|
|
5016
5050
|
) {
|
|
5017
|
-
throw new TypeError('
|
|
5051
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
5018
5052
|
}
|
|
5053
|
+
if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
|
|
5054
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
5055
|
+
}
|
|
5056
|
+
var numericSeparator = opts.numericSeparator;
|
|
5019
5057
|
|
|
5020
5058
|
if (typeof obj === 'undefined') {
|
|
5021
5059
|
return 'undefined';
|
|
@@ -5034,10 +5072,12 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5034
5072
|
if (obj === 0) {
|
|
5035
5073
|
return Infinity / obj > 0 ? '0' : '-0';
|
|
5036
5074
|
}
|
|
5037
|
-
|
|
5075
|
+
var str = String(obj);
|
|
5076
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
5038
5077
|
}
|
|
5039
5078
|
if (typeof obj === 'bigint') {
|
|
5040
|
-
|
|
5079
|
+
var bigIntStr = String(obj) + 'n';
|
|
5080
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
5041
5081
|
}
|
|
5042
5082
|
|
|
5043
5083
|
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
|
|
@@ -5056,7 +5096,7 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5056
5096
|
|
|
5057
5097
|
function inspect(value, from, noIndent) {
|
|
5058
5098
|
if (from) {
|
|
5059
|
-
seen =
|
|
5099
|
+
seen = $arrSlice.call(seen);
|
|
5060
5100
|
seen.push(from);
|
|
5061
5101
|
}
|
|
5062
5102
|
if (noIndent) {
|
|
@@ -5074,21 +5114,21 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5074
5114
|
if (typeof obj === 'function') {
|
|
5075
5115
|
var name = nameOf(obj);
|
|
5076
5116
|
var keys = arrObjKeys(obj, inspect);
|
|
5077
|
-
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' +
|
|
5117
|
+
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
|
|
5078
5118
|
}
|
|
5079
5119
|
if (isSymbol(obj)) {
|
|
5080
|
-
var symString = hasShammedSymbols ? String(obj)
|
|
5120
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
|
|
5081
5121
|
return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
5082
5122
|
}
|
|
5083
5123
|
if (isElement(obj)) {
|
|
5084
|
-
var s = '<' + String(obj.nodeName)
|
|
5124
|
+
var s = '<' + $toLowerCase.call(String(obj.nodeName));
|
|
5085
5125
|
var attrs = obj.attributes || [];
|
|
5086
5126
|
for (var i = 0; i < attrs.length; i++) {
|
|
5087
5127
|
s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
|
|
5088
5128
|
}
|
|
5089
5129
|
s += '>';
|
|
5090
5130
|
if (obj.childNodes && obj.childNodes.length) { s += '...'; }
|
|
5091
|
-
s += '</' + String(obj.nodeName)
|
|
5131
|
+
s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
|
|
5092
5132
|
return s;
|
|
5093
5133
|
}
|
|
5094
5134
|
if (isArray(obj)) {
|
|
@@ -5097,12 +5137,15 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5097
5137
|
if (indent && !singleLineValues(xs)) {
|
|
5098
5138
|
return '[' + indentedJoin(xs, indent) + ']';
|
|
5099
5139
|
}
|
|
5100
|
-
return '[ ' +
|
|
5140
|
+
return '[ ' + $join.call(xs, ', ') + ' ]';
|
|
5101
5141
|
}
|
|
5102
5142
|
if (isError(obj)) {
|
|
5103
5143
|
var parts = arrObjKeys(obj, inspect);
|
|
5144
|
+
if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
|
|
5145
|
+
return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
|
|
5146
|
+
}
|
|
5104
5147
|
if (parts.length === 0) { return '[' + String(obj) + ']'; }
|
|
5105
|
-
return '{ [' + String(obj) + '] ' +
|
|
5148
|
+
return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
|
|
5106
5149
|
}
|
|
5107
5150
|
if (typeof obj === 'object' && customInspect) {
|
|
5108
5151
|
if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
|
|
@@ -5150,14 +5193,14 @@ module.exports = function inspect_(obj, options, depth, seen) {
|
|
|
5150
5193
|
var ys = arrObjKeys(obj, inspect);
|
|
5151
5194
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
5152
5195
|
var protoTag = obj instanceof Object ? '' : 'null prototype';
|
|
5153
|
-
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj)
|
|
5196
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
|
|
5154
5197
|
var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
|
|
5155
|
-
var tag = constructorTag + (stringTag || protoTag ? '[' +
|
|
5198
|
+
var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
|
|
5156
5199
|
if (ys.length === 0) { return tag + '{}'; }
|
|
5157
5200
|
if (indent) {
|
|
5158
5201
|
return tag + '{' + indentedJoin(ys, indent) + '}';
|
|
5159
5202
|
}
|
|
5160
|
-
return tag + '{ ' +
|
|
5203
|
+
return tag + '{ ' + $join.call(ys, ', ') + ' }';
|
|
5161
5204
|
}
|
|
5162
5205
|
return String(obj);
|
|
5163
5206
|
};
|
|
@@ -5168,7 +5211,7 @@ function wrapQuotes(s, defaultStyle, opts) {
|
|
|
5168
5211
|
}
|
|
5169
5212
|
|
|
5170
5213
|
function quote(s) {
|
|
5171
|
-
return String(s)
|
|
5214
|
+
return $replace.call(String(s), /"/g, '"');
|
|
5172
5215
|
}
|
|
5173
5216
|
|
|
5174
5217
|
function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
@@ -5219,7 +5262,7 @@ function toStr(obj) {
|
|
|
5219
5262
|
|
|
5220
5263
|
function nameOf(f) {
|
|
5221
5264
|
if (f.name) { return f.name; }
|
|
5222
|
-
var m = match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
5265
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
5223
5266
|
if (m) { return m[1]; }
|
|
5224
5267
|
return null;
|
|
5225
5268
|
}
|
|
@@ -5319,10 +5362,10 @@ function inspectString(str, opts) {
|
|
|
5319
5362
|
if (str.length > opts.maxStringLength) {
|
|
5320
5363
|
var remaining = str.length - opts.maxStringLength;
|
|
5321
5364
|
var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
|
|
5322
|
-
return inspectString(
|
|
5365
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
5323
5366
|
}
|
|
5324
5367
|
// eslint-disable-next-line no-control-regex
|
|
5325
|
-
var s =
|
|
5368
|
+
var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
|
|
5326
5369
|
return wrapQuotes(s, 'single', opts);
|
|
5327
5370
|
}
|
|
5328
5371
|
|
|
@@ -5336,7 +5379,7 @@ function lowbyte(c) {
|
|
|
5336
5379
|
13: 'r'
|
|
5337
5380
|
}[n];
|
|
5338
5381
|
if (x) { return '\\' + x; }
|
|
5339
|
-
return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16)
|
|
5382
|
+
return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
|
|
5340
5383
|
}
|
|
5341
5384
|
|
|
5342
5385
|
function markBoxed(str) {
|
|
@@ -5348,7 +5391,7 @@ function weakCollectionOf(type) {
|
|
|
5348
5391
|
}
|
|
5349
5392
|
|
|
5350
5393
|
function collectionOf(type, size, entries, indent) {
|
|
5351
|
-
var joinedEntries = indent ? indentedJoin(entries, indent) :
|
|
5394
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
|
|
5352
5395
|
return type + ' (' + size + ') {' + joinedEntries + '}';
|
|
5353
5396
|
}
|
|
5354
5397
|
|
|
@@ -5366,20 +5409,20 @@ function getIndent(opts, depth) {
|
|
|
5366
5409
|
if (opts.indent === '\t') {
|
|
5367
5410
|
baseIndent = '\t';
|
|
5368
5411
|
} else if (typeof opts.indent === 'number' && opts.indent > 0) {
|
|
5369
|
-
baseIndent = Array(opts.indent + 1)
|
|
5412
|
+
baseIndent = $join.call(Array(opts.indent + 1), ' ');
|
|
5370
5413
|
} else {
|
|
5371
5414
|
return null;
|
|
5372
5415
|
}
|
|
5373
5416
|
return {
|
|
5374
5417
|
base: baseIndent,
|
|
5375
|
-
prev: Array(depth + 1)
|
|
5418
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
5376
5419
|
};
|
|
5377
5420
|
}
|
|
5378
5421
|
|
|
5379
5422
|
function indentedJoin(xs, indent) {
|
|
5380
5423
|
if (xs.length === 0) { return ''; }
|
|
5381
5424
|
var lineJoiner = '\n' + indent.prev + indent.base;
|
|
5382
|
-
return lineJoiner +
|
|
5425
|
+
return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
|
|
5383
5426
|
}
|
|
5384
5427
|
|
|
5385
5428
|
function arrObjKeys(obj, inspect) {
|
|
@@ -5406,7 +5449,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
5406
5449
|
if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
|
|
5407
5450
|
// this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
|
|
5408
5451
|
continue; // eslint-disable-line no-restricted-syntax, no-continue
|
|
5409
|
-
} else if ((/[^\w$]
|
|
5452
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
|
5410
5453
|
xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
|
|
5411
5454
|
} else {
|
|
5412
5455
|
xs.push(key + ': ' + inspect(obj[key], obj));
|
|
@@ -5626,7 +5669,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
5626
5669
|
) {
|
|
5627
5670
|
obj = [];
|
|
5628
5671
|
obj[index] = leaf;
|
|
5629
|
-
} else {
|
|
5672
|
+
} else if (cleanRoot !== '__proto__') {
|
|
5630
5673
|
obj[cleanRoot] = leaf;
|
|
5631
5674
|
}
|
|
5632
5675
|
}
|
|
@@ -5783,6 +5826,7 @@ var arrayPrefixGenerators = {
|
|
|
5783
5826
|
};
|
|
5784
5827
|
|
|
5785
5828
|
var isArray = Array.isArray;
|
|
5829
|
+
var split = String.prototype.split;
|
|
5786
5830
|
var push = Array.prototype.push;
|
|
5787
5831
|
var pushToArray = function (arr, valueOrArray) {
|
|
5788
5832
|
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
@@ -5819,6 +5863,8 @@ var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
|
|
|
5819
5863
|
|| typeof v === 'bigint';
|
|
5820
5864
|
};
|
|
5821
5865
|
|
|
5866
|
+
var sentinel = {};
|
|
5867
|
+
|
|
5822
5868
|
var stringify = function stringify(
|
|
5823
5869
|
object,
|
|
5824
5870
|
prefix,
|
|
@@ -5838,8 +5884,23 @@ var stringify = function stringify(
|
|
|
5838
5884
|
) {
|
|
5839
5885
|
var obj = object;
|
|
5840
5886
|
|
|
5841
|
-
|
|
5842
|
-
|
|
5887
|
+
var tmpSc = sideChannel;
|
|
5888
|
+
var step = 0;
|
|
5889
|
+
var findFlag = false;
|
|
5890
|
+
while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
|
|
5891
|
+
// Where object last appeared in the ref tree
|
|
5892
|
+
var pos = tmpSc.get(object);
|
|
5893
|
+
step += 1;
|
|
5894
|
+
if (typeof pos !== 'undefined') {
|
|
5895
|
+
if (pos === step) {
|
|
5896
|
+
throw new RangeError('Cyclic object value');
|
|
5897
|
+
} else {
|
|
5898
|
+
findFlag = true; // Break while
|
|
5899
|
+
}
|
|
5900
|
+
}
|
|
5901
|
+
if (typeof tmpSc.get(sentinel) === 'undefined') {
|
|
5902
|
+
step = 0;
|
|
5903
|
+
}
|
|
5843
5904
|
}
|
|
5844
5905
|
|
|
5845
5906
|
if (typeof filter === 'function') {
|
|
@@ -5866,6 +5927,14 @@ var stringify = function stringify(
|
|
|
5866
5927
|
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
5867
5928
|
if (encoder) {
|
|
5868
5929
|
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
|
|
5930
|
+
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
|
|
5931
|
+
var valuesArray = split.call(String(obj), ',');
|
|
5932
|
+
var valuesJoined = '';
|
|
5933
|
+
for (var i = 0; i < valuesArray.length; ++i) {
|
|
5934
|
+
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
|
|
5935
|
+
}
|
|
5936
|
+
return [formatter(keyValue) + '=' + valuesJoined];
|
|
5937
|
+
}
|
|
5869
5938
|
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
|
|
5870
5939
|
}
|
|
5871
5940
|
return [formatter(prefix) + '=' + formatter(String(obj))];
|
|
@@ -5880,7 +5949,7 @@ var stringify = function stringify(
|
|
|
5880
5949
|
var objKeys;
|
|
5881
5950
|
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
|
5882
5951
|
// we need to join elements in
|
|
5883
|
-
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];
|
|
5952
|
+
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
|
|
5884
5953
|
} else if (isArray(filter)) {
|
|
5885
5954
|
objKeys = filter;
|
|
5886
5955
|
} else {
|
|
@@ -5888,9 +5957,9 @@ var stringify = function stringify(
|
|
|
5888
5957
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
5889
5958
|
}
|
|
5890
5959
|
|
|
5891
|
-
for (var
|
|
5892
|
-
var key = objKeys[
|
|
5893
|
-
var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];
|
|
5960
|
+
for (var j = 0; j < objKeys.length; ++j) {
|
|
5961
|
+
var key = objKeys[j];
|
|
5962
|
+
var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
|
|
5894
5963
|
|
|
5895
5964
|
if (skipNulls && value === null) {
|
|
5896
5965
|
continue;
|
|
@@ -5900,8 +5969,9 @@ var stringify = function stringify(
|
|
|
5900
5969
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
|
|
5901
5970
|
: prefix + (allowDots ? '.' + key : '[' + key + ']');
|
|
5902
5971
|
|
|
5903
|
-
sideChannel.set(object,
|
|
5972
|
+
sideChannel.set(object, step);
|
|
5904
5973
|
var valueSideChannel = getSideChannel();
|
|
5974
|
+
valueSideChannel.set(sentinel, sideChannel);
|
|
5905
5975
|
pushToArray(values, stringify(
|
|
5906
5976
|
value,
|
|
5907
5977
|
keyPrefix,
|
|
@@ -5929,7 +5999,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
5929
5999
|
return defaults;
|
|
5930
6000
|
}
|
|
5931
6001
|
|
|
5932
|
-
if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') {
|
|
6002
|
+
if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
|
|
5933
6003
|
throw new TypeError('Encoder has to be a function.');
|
|
5934
6004
|
}
|
|
5935
6005
|
|
|
@@ -6242,6 +6312,7 @@ var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
|
|
6242
6312
|
|
|
6243
6313
|
i += 1;
|
|
6244
6314
|
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
|
6315
|
+
/* eslint operator-linebreak: [2, "before"] */
|
|
6245
6316
|
out += hexTable[0xF0 | (c >> 18)]
|
|
6246
6317
|
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
|
6247
6318
|
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|