@feathersjs/client 4.5.17 → 4.5.19
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 +19 -0
- package/dist/authentication.js +147 -96
- package/dist/authentication.js.map +1 -1
- package/dist/authentication.min.js +1 -1
- package/dist/core.js +292 -237
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/feathers.js +1828 -826
- package/dist/feathers.js.map +1 -1
- package/dist/feathers.min.js +1 -1
- package/dist/primus.js +120 -67
- package/dist/primus.js.map +1 -1
- package/dist/primus.min.js +1 -1
- package/dist/rest.js +1809 -804
- package/dist/rest.js.map +1 -1
- package/dist/rest.min.js +1 -1
- package/dist/socketio.js +120 -67
- package/dist/socketio.js.map +1 -1
- package/dist/socketio.min.js +1 -1
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
## [4.5.19](https://github.com/feathersjs/feathers/compare/v4.5.18...v4.5.19) (2026-02-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **crow:** Crow update minor dependencies ([#3655](https://github.com/feathersjs/feathers/issues/3655)) ([5b31e33](https://github.com/feathersjs/feathers/commit/5b31e3310b133b7915904cbc6f14c0c5309f3370))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [4.5.18](https://github.com/feathersjs/feathers/compare/v4.5.17...v4.5.18) (2023-07-19)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @feathersjs/client
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [4.5.17](https://github.com/feathersjs/feathers/compare/v4.5.16...v4.5.17) (2023-07-17)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @feathersjs/client
|
package/dist/authentication.js
CHANGED
|
@@ -65,15 +65,17 @@ function useColors() {
|
|
|
65
65
|
if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
66
66
|
return false;
|
|
67
67
|
}
|
|
68
|
+
var m;
|
|
68
69
|
|
|
69
70
|
// Is webkit? http://stackoverflow.com/a/16459606/376773
|
|
70
71
|
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
|
|
72
|
+
// eslint-disable-next-line no-return-assign
|
|
71
73
|
return typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance ||
|
|
72
74
|
// Is firebug? http://stackoverflow.com/a/398120/376773
|
|
73
75
|
typeof window !== 'undefined' && window.console && (window.console.firebug || window.console.exception && window.console.table) ||
|
|
74
76
|
// Is firefox >= v31?
|
|
75
77
|
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
76
|
-
typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(
|
|
78
|
+
typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 ||
|
|
77
79
|
// Double check webkit in userAgent just in case we are in a worker
|
|
78
80
|
typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
79
81
|
}
|
|
@@ -149,7 +151,7 @@ function save(namespaces) {
|
|
|
149
151
|
function load() {
|
|
150
152
|
var r;
|
|
151
153
|
try {
|
|
152
|
-
r = exports.storage.getItem('debug');
|
|
154
|
+
r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG');
|
|
153
155
|
} catch (error) {
|
|
154
156
|
// Swallow
|
|
155
157
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -206,12 +208,13 @@ formatters.j = function (v) {
|
|
|
206
208
|
\**********************************************/
|
|
207
209
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
208
210
|
|
|
209
|
-
function _toConsumableArray(
|
|
211
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
210
212
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
211
|
-
function
|
|
212
|
-
function
|
|
213
|
-
function
|
|
214
|
-
function
|
|
213
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
214
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
215
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
216
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
217
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
215
218
|
/**
|
|
216
219
|
* This is the common logic for both the Node.js and web browser
|
|
217
220
|
* implementations of `debug()`.
|
|
@@ -224,7 +227,7 @@ function setup(env) {
|
|
|
224
227
|
createDebug.disable = disable;
|
|
225
228
|
createDebug.enable = enable;
|
|
226
229
|
createDebug.enabled = enabled;
|
|
227
|
-
createDebug.humanize = __webpack_require__(/*! ms */ "../../node_modules/ms/index.js");
|
|
230
|
+
createDebug.humanize = __webpack_require__(/*! ms */ "../../node_modules/debug/node_modules/ms/index.js");
|
|
228
231
|
createDebug.destroy = destroy;
|
|
229
232
|
Object.keys(env).forEach(function (key) {
|
|
230
233
|
createDebug[key] = env[key];
|
|
@@ -256,7 +259,6 @@ function setup(env) {
|
|
|
256
259
|
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
257
260
|
hash |= 0; // Convert to 32bit integer
|
|
258
261
|
}
|
|
259
|
-
|
|
260
262
|
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
261
263
|
}
|
|
262
264
|
createDebug.selectColor = selectColor;
|
|
@@ -369,21 +371,65 @@ function setup(env) {
|
|
|
369
371
|
createDebug.namespaces = namespaces;
|
|
370
372
|
createDebug.names = [];
|
|
371
373
|
createDebug.skips = [];
|
|
372
|
-
var
|
|
373
|
-
var
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
374
|
+
var split = (typeof namespaces === 'string' ? namespaces : '').trim().replace(/\s+/g, ',').split(',').filter(Boolean);
|
|
375
|
+
var _iterator = _createForOfIteratorHelper(split),
|
|
376
|
+
_step;
|
|
377
|
+
try {
|
|
378
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
379
|
+
var ns = _step.value;
|
|
380
|
+
if (ns[0] === '-') {
|
|
381
|
+
createDebug.skips.push(ns.slice(1));
|
|
382
|
+
} else {
|
|
383
|
+
createDebug.names.push(ns);
|
|
384
|
+
}
|
|
379
385
|
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
386
|
+
} catch (err) {
|
|
387
|
+
_iterator.e(err);
|
|
388
|
+
} finally {
|
|
389
|
+
_iterator.f();
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Checks if the given string matches a namespace template, honoring
|
|
395
|
+
* asterisks as wildcards.
|
|
396
|
+
*
|
|
397
|
+
* @param {String} search
|
|
398
|
+
* @param {String} template
|
|
399
|
+
* @return {Boolean}
|
|
400
|
+
*/
|
|
401
|
+
function matchesTemplate(search, template) {
|
|
402
|
+
var searchIndex = 0;
|
|
403
|
+
var templateIndex = 0;
|
|
404
|
+
var starIndex = -1;
|
|
405
|
+
var matchIndex = 0;
|
|
406
|
+
while (searchIndex < search.length) {
|
|
407
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
|
|
408
|
+
// Match character or proceed with wildcard
|
|
409
|
+
if (template[templateIndex] === '*') {
|
|
410
|
+
starIndex = templateIndex;
|
|
411
|
+
matchIndex = searchIndex;
|
|
412
|
+
templateIndex++; // Skip the '*'
|
|
413
|
+
} else {
|
|
414
|
+
searchIndex++;
|
|
415
|
+
templateIndex++;
|
|
416
|
+
}
|
|
417
|
+
} else if (starIndex !== -1) {
|
|
418
|
+
// eslint-disable-line no-negated-condition
|
|
419
|
+
// Backtrack to the last '*' and try to match more characters
|
|
420
|
+
templateIndex = starIndex + 1;
|
|
421
|
+
matchIndex++;
|
|
422
|
+
searchIndex = matchIndex;
|
|
383
423
|
} else {
|
|
384
|
-
|
|
424
|
+
return false; // No match
|
|
385
425
|
}
|
|
386
426
|
}
|
|
427
|
+
|
|
428
|
+
// Handle trailing '*' in template
|
|
429
|
+
while (templateIndex < template.length && template[templateIndex] === '*') {
|
|
430
|
+
templateIndex++;
|
|
431
|
+
}
|
|
432
|
+
return templateIndex === template.length;
|
|
387
433
|
}
|
|
388
434
|
|
|
389
435
|
/**
|
|
@@ -393,7 +439,7 @@ function setup(env) {
|
|
|
393
439
|
* @api public
|
|
394
440
|
*/
|
|
395
441
|
function disable() {
|
|
396
|
-
var namespaces = [].concat(_toConsumableArray(createDebug.names
|
|
442
|
+
var namespaces = [].concat(_toConsumableArray(createDebug.names), _toConsumableArray(createDebug.skips.map(function (namespace) {
|
|
397
443
|
return '-' + namespace;
|
|
398
444
|
}))).join(',');
|
|
399
445
|
createDebug.enable('');
|
|
@@ -408,35 +454,37 @@ function setup(env) {
|
|
|
408
454
|
* @api public
|
|
409
455
|
*/
|
|
410
456
|
function enabled(name) {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
457
|
+
var _iterator2 = _createForOfIteratorHelper(createDebug.skips),
|
|
458
|
+
_step2;
|
|
459
|
+
try {
|
|
460
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
461
|
+
var skip = _step2.value;
|
|
462
|
+
if (matchesTemplate(name, skip)) {
|
|
463
|
+
return false;
|
|
464
|
+
}
|
|
419
465
|
}
|
|
466
|
+
} catch (err) {
|
|
467
|
+
_iterator2.e(err);
|
|
468
|
+
} finally {
|
|
469
|
+
_iterator2.f();
|
|
420
470
|
}
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
471
|
+
var _iterator3 = _createForOfIteratorHelper(createDebug.names),
|
|
472
|
+
_step3;
|
|
473
|
+
try {
|
|
474
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
475
|
+
var ns = _step3.value;
|
|
476
|
+
if (matchesTemplate(name, ns)) {
|
|
477
|
+
return true;
|
|
478
|
+
}
|
|
424
479
|
}
|
|
480
|
+
} catch (err) {
|
|
481
|
+
_iterator3.e(err);
|
|
482
|
+
} finally {
|
|
483
|
+
_iterator3.f();
|
|
425
484
|
}
|
|
426
485
|
return false;
|
|
427
486
|
}
|
|
428
487
|
|
|
429
|
-
/**
|
|
430
|
-
* Convert regexp to namespace
|
|
431
|
-
*
|
|
432
|
-
* @param {RegExp} regxep
|
|
433
|
-
* @return {String} namespace
|
|
434
|
-
* @api private
|
|
435
|
-
*/
|
|
436
|
-
function toNamespace(regexp) {
|
|
437
|
-
return regexp.toString().substring(2, regexp.toString().length - 2).replace(/\.\*\?$/, '*');
|
|
438
|
-
}
|
|
439
|
-
|
|
440
488
|
/**
|
|
441
489
|
* Coerce `val`.
|
|
442
490
|
*
|
|
@@ -474,18 +522,18 @@ module.exports = setup;
|
|
|
474
522
|
"use strict";
|
|
475
523
|
|
|
476
524
|
|
|
477
|
-
function _typeof(
|
|
478
|
-
function _classCallCheck(
|
|
479
|
-
function _defineProperties(
|
|
480
|
-
function _createClass(
|
|
481
|
-
function _toPropertyKey(
|
|
482
|
-
function _toPrimitive(
|
|
483
|
-
function _slicedToArray(
|
|
525
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
526
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
527
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
528
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
529
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
530
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
531
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
484
532
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
485
|
-
function _unsupportedIterableToArray(
|
|
486
|
-
function _arrayLikeToArray(
|
|
487
|
-
function _iterableToArrayLimit(
|
|
488
|
-
function _arrayWithHoles(
|
|
533
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
534
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
535
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
536
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
489
537
|
Object.defineProperty(exports, "__esModule", ({
|
|
490
538
|
value: true
|
|
491
539
|
}));
|
|
@@ -515,7 +563,7 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
515
563
|
this.handleSocket(socket);
|
|
516
564
|
}
|
|
517
565
|
}
|
|
518
|
-
_createClass(AuthenticationClient, [{
|
|
566
|
+
return _createClass(AuthenticationClient, [{
|
|
519
567
|
key: "service",
|
|
520
568
|
get: function get() {
|
|
521
569
|
return this.app.service(this.options.path);
|
|
@@ -671,7 +719,6 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
671
719
|
});
|
|
672
720
|
}
|
|
673
721
|
}]);
|
|
674
|
-
return AuthenticationClient;
|
|
675
722
|
}();
|
|
676
723
|
exports.AuthenticationClient = AuthenticationClient;
|
|
677
724
|
|
|
@@ -752,10 +799,10 @@ Object.defineProperty(exports, "populateHeader", ({
|
|
|
752
799
|
"use strict";
|
|
753
800
|
|
|
754
801
|
|
|
755
|
-
function _typeof(
|
|
756
|
-
function _defineProperty(
|
|
757
|
-
function _toPropertyKey(
|
|
758
|
-
function _toPrimitive(
|
|
802
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
803
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
804
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
805
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
759
806
|
Object.defineProperty(exports, "__esModule", ({
|
|
760
807
|
value: true
|
|
761
808
|
}));
|
|
@@ -892,12 +939,12 @@ if (true) {
|
|
|
892
939
|
"use strict";
|
|
893
940
|
|
|
894
941
|
|
|
895
|
-
function _typeof(
|
|
896
|
-
function _classCallCheck(
|
|
897
|
-
function _defineProperties(
|
|
898
|
-
function _createClass(
|
|
899
|
-
function _toPropertyKey(
|
|
900
|
-
function _toPrimitive(
|
|
942
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
943
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
944
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
945
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
946
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
947
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
901
948
|
Object.defineProperty(exports, "__esModule", ({
|
|
902
949
|
value: true
|
|
903
950
|
}));
|
|
@@ -907,7 +954,7 @@ var MemoryStorage = /*#__PURE__*/function () {
|
|
|
907
954
|
_classCallCheck(this, MemoryStorage);
|
|
908
955
|
this.store = {};
|
|
909
956
|
}
|
|
910
|
-
_createClass(MemoryStorage, [{
|
|
957
|
+
return _createClass(MemoryStorage, [{
|
|
911
958
|
key: "getItem",
|
|
912
959
|
value: function getItem(key) {
|
|
913
960
|
return Promise.resolve(this.store[key]);
|
|
@@ -925,7 +972,6 @@ var MemoryStorage = /*#__PURE__*/function () {
|
|
|
925
972
|
return Promise.resolve(value);
|
|
926
973
|
}
|
|
927
974
|
}]);
|
|
928
|
-
return MemoryStorage;
|
|
929
975
|
}();
|
|
930
976
|
exports.MemoryStorage = MemoryStorage;
|
|
931
977
|
var StorageWrapper = /*#__PURE__*/function () {
|
|
@@ -933,7 +979,7 @@ var StorageWrapper = /*#__PURE__*/function () {
|
|
|
933
979
|
_classCallCheck(this, StorageWrapper);
|
|
934
980
|
this.storage = storage;
|
|
935
981
|
}
|
|
936
|
-
_createClass(StorageWrapper, [{
|
|
982
|
+
return _createClass(StorageWrapper, [{
|
|
937
983
|
key: "getItem",
|
|
938
984
|
value: function getItem(key) {
|
|
939
985
|
return Promise.resolve(this.storage.getItem(key));
|
|
@@ -949,22 +995,11 @@ var StorageWrapper = /*#__PURE__*/function () {
|
|
|
949
995
|
return Promise.resolve(this.storage.removeItem(key));
|
|
950
996
|
}
|
|
951
997
|
}]);
|
|
952
|
-
return StorageWrapper;
|
|
953
998
|
}();
|
|
954
999
|
exports.StorageWrapper = StorageWrapper;
|
|
955
1000
|
|
|
956
1001
|
/***/ }),
|
|
957
1002
|
|
|
958
|
-
/***/ "./src/authentication.js":
|
|
959
|
-
/*!*******************************!*\
|
|
960
|
-
!*** ./src/authentication.js ***!
|
|
961
|
-
\*******************************/
|
|
962
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
963
|
-
|
|
964
|
-
module.exports = __webpack_require__(/*! @feathersjs/authentication-client */ "../authentication-client/lib/index.js");
|
|
965
|
-
|
|
966
|
-
/***/ }),
|
|
967
|
-
|
|
968
1003
|
/***/ "../commons/lib/hooks.js":
|
|
969
1004
|
/*!*******************************!*\
|
|
970
1005
|
!*** ../commons/lib/hooks.js ***!
|
|
@@ -974,7 +1009,7 @@ module.exports = __webpack_require__(/*! @feathersjs/authentication-client */ ".
|
|
|
974
1009
|
"use strict";
|
|
975
1010
|
|
|
976
1011
|
|
|
977
|
-
function _typeof(
|
|
1012
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
978
1013
|
Object.defineProperty(exports, "__esModule", ({
|
|
979
1014
|
value: true
|
|
980
1015
|
}));
|
|
@@ -1222,16 +1257,16 @@ exports.hooks = hookUtils;
|
|
|
1222
1257
|
"use strict";
|
|
1223
1258
|
|
|
1224
1259
|
|
|
1225
|
-
function _defineProperty(
|
|
1226
|
-
function _toPropertyKey(
|
|
1227
|
-
function _toPrimitive(
|
|
1228
|
-
function _typeof(
|
|
1229
|
-
function _slicedToArray(
|
|
1260
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
1261
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
1262
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1263
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1264
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
1230
1265
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1231
|
-
function _unsupportedIterableToArray(
|
|
1232
|
-
function _arrayLikeToArray(
|
|
1233
|
-
function _iterableToArrayLimit(
|
|
1234
|
-
function _arrayWithHoles(
|
|
1266
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
1267
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1268
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
1269
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
1235
1270
|
Object.defineProperty(exports, "__esModule", ({
|
|
1236
1271
|
value: true
|
|
1237
1272
|
}));
|
|
@@ -1368,7 +1403,7 @@ exports.createSymbol = createSymbol;
|
|
|
1368
1403
|
\******************************/
|
|
1369
1404
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1370
1405
|
|
|
1371
|
-
function _typeof(
|
|
1406
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1372
1407
|
var debug = __webpack_require__(/*! debug */ "../../node_modules/debug/src/browser.js")('@feathersjs/errors');
|
|
1373
1408
|
function FeathersError(msg, name, code, className, data) {
|
|
1374
1409
|
msg = msg || 'Error';
|
|
@@ -1600,10 +1635,20 @@ module.exports = Object.assign({
|
|
|
1600
1635
|
|
|
1601
1636
|
/***/ }),
|
|
1602
1637
|
|
|
1603
|
-
/***/ "
|
|
1604
|
-
|
|
1605
|
-
!***
|
|
1606
|
-
|
|
1638
|
+
/***/ "./src/authentication.js":
|
|
1639
|
+
/*!*******************************!*\
|
|
1640
|
+
!*** ./src/authentication.js ***!
|
|
1641
|
+
\*******************************/
|
|
1642
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1643
|
+
|
|
1644
|
+
module.exports = __webpack_require__(/*! @feathersjs/authentication-client */ "../authentication-client/lib/index.js");
|
|
1645
|
+
|
|
1646
|
+
/***/ }),
|
|
1647
|
+
|
|
1648
|
+
/***/ "../../node_modules/debug/node_modules/ms/index.js":
|
|
1649
|
+
/*!*********************************************************!*\
|
|
1650
|
+
!*** ../../node_modules/debug/node_modules/ms/index.js ***!
|
|
1651
|
+
\*********************************************************/
|
|
1607
1652
|
/***/ (function(module) {
|
|
1608
1653
|
|
|
1609
1654
|
/**
|
|
@@ -1631,7 +1676,7 @@ var y = d * 365.25;
|
|
|
1631
1676
|
* @api public
|
|
1632
1677
|
*/
|
|
1633
1678
|
|
|
1634
|
-
module.exports = function(val, options) {
|
|
1679
|
+
module.exports = function (val, options) {
|
|
1635
1680
|
options = options || {};
|
|
1636
1681
|
var type = typeof val;
|
|
1637
1682
|
if (type === 'string' && val.length > 0) {
|
|
@@ -1784,6 +1829,12 @@ function plural(ms, msAbs, n, name) {
|
|
|
1784
1829
|
/******/ if (cachedModule !== undefined) {
|
|
1785
1830
|
/******/ return cachedModule.exports;
|
|
1786
1831
|
/******/ }
|
|
1832
|
+
/******/ // Check if module exists (development only)
|
|
1833
|
+
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
1834
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
1835
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
1836
|
+
/******/ throw e;
|
|
1837
|
+
/******/ }
|
|
1787
1838
|
/******/ // Create a new module (and put it into the cache)
|
|
1788
1839
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1789
1840
|
/******/ // no module.id needed
|