@feathersjs/client 4.5.9 → 4.5.13
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 +38 -0
- package/dist/authentication.js +343 -576
- package/dist/authentication.js.map +1 -1
- package/dist/authentication.min.js +1 -1
- package/dist/core.js +1593 -1812
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/feathers.js +5020 -3936
- package/dist/feathers.js.map +1 -1
- package/dist/feathers.min.js +1 -1
- package/dist/primus.js +281 -513
- package/dist/primus.js.map +1 -1
- package/dist/primus.min.js +1 -1
- package/dist/rest.js +3412 -2343
- package/dist/rest.js.map +1 -1
- package/dist/rest.min.js +1 -1
- package/dist/socketio.js +287 -513
- package/dist/socketio.js.map +1 -1
- package/dist/socketio.min.js +1 -1
- package/package.json +24 -24
package/dist/authentication.js
CHANGED
|
@@ -8,102 +8,16 @@
|
|
|
8
8
|
else
|
|
9
9
|
root["feathers"] = factory();
|
|
10
10
|
})(this, function() {
|
|
11
|
-
return /******/ (function(
|
|
12
|
-
/******/
|
|
13
|
-
/******/ var installedModules = {};
|
|
14
|
-
/******/
|
|
15
|
-
/******/ // The require function
|
|
16
|
-
/******/ function __webpack_require__(moduleId) {
|
|
17
|
-
/******/
|
|
18
|
-
/******/ // Check if module is in cache
|
|
19
|
-
/******/ if(installedModules[moduleId]) {
|
|
20
|
-
/******/ return installedModules[moduleId].exports;
|
|
21
|
-
/******/ }
|
|
22
|
-
/******/ // Create a new module (and put it into the cache)
|
|
23
|
-
/******/ var module = installedModules[moduleId] = {
|
|
24
|
-
/******/ i: moduleId,
|
|
25
|
-
/******/ l: false,
|
|
26
|
-
/******/ exports: {}
|
|
27
|
-
/******/ };
|
|
28
|
-
/******/
|
|
29
|
-
/******/ // Execute the module function
|
|
30
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
31
|
-
/******/
|
|
32
|
-
/******/ // Flag the module as loaded
|
|
33
|
-
/******/ module.l = true;
|
|
34
|
-
/******/
|
|
35
|
-
/******/ // Return the exports of the module
|
|
36
|
-
/******/ return module.exports;
|
|
37
|
-
/******/ }
|
|
38
|
-
/******/
|
|
39
|
-
/******/
|
|
40
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
41
|
-
/******/ __webpack_require__.m = modules;
|
|
42
|
-
/******/
|
|
43
|
-
/******/ // expose the module cache
|
|
44
|
-
/******/ __webpack_require__.c = installedModules;
|
|
45
|
-
/******/
|
|
46
|
-
/******/ // define getter function for harmony exports
|
|
47
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
48
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
49
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
50
|
-
/******/ }
|
|
51
|
-
/******/ };
|
|
52
|
-
/******/
|
|
53
|
-
/******/ // define __esModule on exports
|
|
54
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
55
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
56
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
57
|
-
/******/ }
|
|
58
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
59
|
-
/******/ };
|
|
60
|
-
/******/
|
|
61
|
-
/******/ // create a fake namespace object
|
|
62
|
-
/******/ // mode & 1: value is a module id, require it
|
|
63
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
64
|
-
/******/ // mode & 4: return value when already ns object
|
|
65
|
-
/******/ // mode & 8|1: behave like require
|
|
66
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
67
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
68
|
-
/******/ if(mode & 8) return value;
|
|
69
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
70
|
-
/******/ var ns = Object.create(null);
|
|
71
|
-
/******/ __webpack_require__.r(ns);
|
|
72
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
73
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
74
|
-
/******/ return ns;
|
|
75
|
-
/******/ };
|
|
76
|
-
/******/
|
|
77
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
78
|
-
/******/ __webpack_require__.n = function(module) {
|
|
79
|
-
/******/ var getter = module && module.__esModule ?
|
|
80
|
-
/******/ function getDefault() { return module['default']; } :
|
|
81
|
-
/******/ function getModuleExports() { return module; };
|
|
82
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
83
|
-
/******/ return getter;
|
|
84
|
-
/******/ };
|
|
85
|
-
/******/
|
|
86
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
87
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
|
-
/******/
|
|
89
|
-
/******/ // __webpack_public_path__
|
|
90
|
-
/******/ __webpack_require__.p = "";
|
|
91
|
-
/******/
|
|
92
|
-
/******/
|
|
93
|
-
/******/ // Load entry module and return exports
|
|
94
|
-
/******/ return __webpack_require__(__webpack_require__.s = "./src/authentication.js");
|
|
95
|
-
/******/ })
|
|
96
|
-
/************************************************************************/
|
|
97
|
-
/******/ ({
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
|
+
/******/ var __webpack_modules__ = ({
|
|
98
13
|
|
|
99
14
|
/***/ "../../node_modules/debug/src/browser.js":
|
|
100
|
-
|
|
101
|
-
!***
|
|
102
|
-
|
|
103
|
-
/*! no static exports found */
|
|
15
|
+
/*!***********************************************!*\
|
|
16
|
+
!*** ../../node_modules/debug/src/browser.js ***!
|
|
17
|
+
\***********************************************/
|
|
104
18
|
/***/ (function(module, exports, __webpack_require__) {
|
|
105
19
|
|
|
106
|
-
/*
|
|
20
|
+
/* eslint-env browser */
|
|
107
21
|
|
|
108
22
|
/**
|
|
109
23
|
* This is the web browser implementation of `debug()`.
|
|
@@ -113,10 +27,21 @@ exports.save = save;
|
|
|
113
27
|
exports.load = load;
|
|
114
28
|
exports.useColors = useColors;
|
|
115
29
|
exports.storage = localstorage();
|
|
30
|
+
|
|
31
|
+
exports.destroy = function () {
|
|
32
|
+
var warned = false;
|
|
33
|
+
return function () {
|
|
34
|
+
if (!warned) {
|
|
35
|
+
warned = true;
|
|
36
|
+
console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}();
|
|
116
40
|
/**
|
|
117
41
|
* Colors.
|
|
118
42
|
*/
|
|
119
43
|
|
|
44
|
+
|
|
120
45
|
exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33'];
|
|
121
46
|
/**
|
|
122
47
|
* Currently only WebKit-based Web Inspectors, Firefox >= v31,
|
|
@@ -273,16 +198,14 @@ formatters.j = function (v) {
|
|
|
273
198
|
return '[UnexpectedJSONParseError]: ' + error.message;
|
|
274
199
|
}
|
|
275
200
|
};
|
|
276
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ "../../node_modules/process/browser.js")))
|
|
277
201
|
|
|
278
202
|
/***/ }),
|
|
279
203
|
|
|
280
204
|
/***/ "../../node_modules/debug/src/common.js":
|
|
281
|
-
|
|
282
|
-
!***
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
205
|
+
/*!**********************************************!*\
|
|
206
|
+
!*** ../../node_modules/debug/src/common.js ***!
|
|
207
|
+
\**********************************************/
|
|
208
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
286
209
|
|
|
287
210
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
288
211
|
|
|
@@ -290,7 +213,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
|
|
|
290
213
|
|
|
291
214
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
292
215
|
|
|
293
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator
|
|
216
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
294
217
|
|
|
295
218
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
296
219
|
|
|
@@ -308,15 +231,11 @@ function setup(env) {
|
|
|
308
231
|
createDebug.enable = enable;
|
|
309
232
|
createDebug.enabled = enabled;
|
|
310
233
|
createDebug.humanize = __webpack_require__(/*! ms */ "../../node_modules/ms/index.js");
|
|
234
|
+
createDebug.destroy = destroy;
|
|
311
235
|
Object.keys(env).forEach(function (key) {
|
|
312
236
|
createDebug[key] = env[key];
|
|
313
237
|
});
|
|
314
238
|
/**
|
|
315
|
-
* Active `debug` instances.
|
|
316
|
-
*/
|
|
317
|
-
|
|
318
|
-
createDebug.instances = [];
|
|
319
|
-
/**
|
|
320
239
|
* The currently active debug mode names, and names to skip.
|
|
321
240
|
*/
|
|
322
241
|
|
|
@@ -331,7 +250,7 @@ function setup(env) {
|
|
|
331
250
|
createDebug.formatters = {};
|
|
332
251
|
/**
|
|
333
252
|
* Selects a color for a debug namespace
|
|
334
|
-
* @param {String} namespace The namespace string for the
|
|
253
|
+
* @param {String} namespace The namespace string for the debug instance to be colored
|
|
335
254
|
* @return {Number|String} An ANSI color code for the given namespace
|
|
336
255
|
* @api private
|
|
337
256
|
*/
|
|
@@ -358,6 +277,9 @@ function setup(env) {
|
|
|
358
277
|
|
|
359
278
|
function createDebug(namespace) {
|
|
360
279
|
var prevTime;
|
|
280
|
+
var enableOverride = null;
|
|
281
|
+
var namespacesCache;
|
|
282
|
+
var enabledCache;
|
|
361
283
|
|
|
362
284
|
function debug() {
|
|
363
285
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -389,7 +311,7 @@ function setup(env) {
|
|
|
389
311
|
args[0] = args[0].replace(/%([a-zA-Z%])/g, function (match, format) {
|
|
390
312
|
// If we encounter an escaped % then don't increase the array index
|
|
391
313
|
if (match === '%%') {
|
|
392
|
-
return
|
|
314
|
+
return '%';
|
|
393
315
|
}
|
|
394
316
|
|
|
395
317
|
index++;
|
|
@@ -412,31 +334,38 @@ function setup(env) {
|
|
|
412
334
|
}
|
|
413
335
|
|
|
414
336
|
debug.namespace = namespace;
|
|
415
|
-
debug.enabled = createDebug.enabled(namespace);
|
|
416
337
|
debug.useColors = createDebug.useColors();
|
|
417
338
|
debug.color = createDebug.selectColor(namespace);
|
|
418
|
-
debug.
|
|
419
|
-
debug.
|
|
339
|
+
debug.extend = extend;
|
|
340
|
+
debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.
|
|
341
|
+
|
|
342
|
+
Object.defineProperty(debug, 'enabled', {
|
|
343
|
+
enumerable: true,
|
|
344
|
+
configurable: false,
|
|
345
|
+
get: function get() {
|
|
346
|
+
if (enableOverride !== null) {
|
|
347
|
+
return enableOverride;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
351
|
+
namespacesCache = createDebug.namespaces;
|
|
352
|
+
enabledCache = createDebug.enabled(namespace);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
return enabledCache;
|
|
356
|
+
},
|
|
357
|
+
set: function set(v) {
|
|
358
|
+
enableOverride = v;
|
|
359
|
+
}
|
|
360
|
+
}); // Env-specific initialization logic for debug instances
|
|
420
361
|
|
|
421
362
|
if (typeof createDebug.init === 'function') {
|
|
422
363
|
createDebug.init(debug);
|
|
423
364
|
}
|
|
424
365
|
|
|
425
|
-
createDebug.instances.push(debug);
|
|
426
366
|
return debug;
|
|
427
367
|
}
|
|
428
368
|
|
|
429
|
-
function destroy() {
|
|
430
|
-
var index = createDebug.instances.indexOf(this);
|
|
431
|
-
|
|
432
|
-
if (index !== -1) {
|
|
433
|
-
createDebug.instances.splice(index, 1);
|
|
434
|
-
return true;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
return false;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
369
|
function extend(namespace, delimiter) {
|
|
441
370
|
var newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);
|
|
442
371
|
newDebug.log = this.log;
|
|
@@ -453,6 +382,7 @@ function setup(env) {
|
|
|
453
382
|
|
|
454
383
|
function enable(namespaces) {
|
|
455
384
|
createDebug.save(namespaces);
|
|
385
|
+
createDebug.namespaces = namespaces;
|
|
456
386
|
createDebug.names = [];
|
|
457
387
|
createDebug.skips = [];
|
|
458
388
|
var i;
|
|
@@ -473,11 +403,6 @@ function setup(env) {
|
|
|
473
403
|
createDebug.names.push(new RegExp('^' + namespaces + '$'));
|
|
474
404
|
}
|
|
475
405
|
}
|
|
476
|
-
|
|
477
|
-
for (i = 0; i < createDebug.instances.length; i++) {
|
|
478
|
-
var instance = createDebug.instances[i];
|
|
479
|
-
instance.enabled = createDebug.enabled(instance.namespace);
|
|
480
|
-
}
|
|
481
406
|
}
|
|
482
407
|
/**
|
|
483
408
|
* Disable debug output.
|
|
@@ -553,380 +478,21 @@ function setup(env) {
|
|
|
553
478
|
|
|
554
479
|
return val;
|
|
555
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* XXX DO NOT USE. This is a temporary stub function.
|
|
483
|
+
* XXX It WILL be removed in the next major release.
|
|
484
|
+
*/
|
|
556
485
|
|
|
557
|
-
createDebug.enable(createDebug.load());
|
|
558
|
-
return createDebug;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
module.exports = setup;
|
|
562
|
-
|
|
563
|
-
/***/ }),
|
|
564
|
-
|
|
565
|
-
/***/ "../../node_modules/ms/index.js":
|
|
566
|
-
/*!*****************************************************************************!*\
|
|
567
|
-
!*** /Users/daffl/Development/feathersjs/feathers/node_modules/ms/index.js ***!
|
|
568
|
-
\*****************************************************************************/
|
|
569
|
-
/*! no static exports found */
|
|
570
|
-
/***/ (function(module, exports) {
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Helpers.
|
|
574
|
-
*/
|
|
575
|
-
|
|
576
|
-
var s = 1000;
|
|
577
|
-
var m = s * 60;
|
|
578
|
-
var h = m * 60;
|
|
579
|
-
var d = h * 24;
|
|
580
|
-
var w = d * 7;
|
|
581
|
-
var y = d * 365.25;
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* Parse or format the given `val`.
|
|
585
|
-
*
|
|
586
|
-
* Options:
|
|
587
|
-
*
|
|
588
|
-
* - `long` verbose formatting [false]
|
|
589
|
-
*
|
|
590
|
-
* @param {String|Number} val
|
|
591
|
-
* @param {Object} [options]
|
|
592
|
-
* @throws {Error} throw an error if val is not a non-empty string or a number
|
|
593
|
-
* @return {String|Number}
|
|
594
|
-
* @api public
|
|
595
|
-
*/
|
|
596
|
-
|
|
597
|
-
module.exports = function(val, options) {
|
|
598
|
-
options = options || {};
|
|
599
|
-
var type = typeof val;
|
|
600
|
-
if (type === 'string' && val.length > 0) {
|
|
601
|
-
return parse(val);
|
|
602
|
-
} else if (type === 'number' && isFinite(val)) {
|
|
603
|
-
return options.long ? fmtLong(val) : fmtShort(val);
|
|
604
|
-
}
|
|
605
|
-
throw new Error(
|
|
606
|
-
'val is not a non-empty string or a valid number. val=' +
|
|
607
|
-
JSON.stringify(val)
|
|
608
|
-
);
|
|
609
|
-
};
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Parse the given `str` and return milliseconds.
|
|
613
|
-
*
|
|
614
|
-
* @param {String} str
|
|
615
|
-
* @return {Number}
|
|
616
|
-
* @api private
|
|
617
|
-
*/
|
|
618
|
-
|
|
619
|
-
function parse(str) {
|
|
620
|
-
str = String(str);
|
|
621
|
-
if (str.length > 100) {
|
|
622
|
-
return;
|
|
623
|
-
}
|
|
624
|
-
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
625
|
-
str
|
|
626
|
-
);
|
|
627
|
-
if (!match) {
|
|
628
|
-
return;
|
|
629
|
-
}
|
|
630
|
-
var n = parseFloat(match[1]);
|
|
631
|
-
var type = (match[2] || 'ms').toLowerCase();
|
|
632
|
-
switch (type) {
|
|
633
|
-
case 'years':
|
|
634
|
-
case 'year':
|
|
635
|
-
case 'yrs':
|
|
636
|
-
case 'yr':
|
|
637
|
-
case 'y':
|
|
638
|
-
return n * y;
|
|
639
|
-
case 'weeks':
|
|
640
|
-
case 'week':
|
|
641
|
-
case 'w':
|
|
642
|
-
return n * w;
|
|
643
|
-
case 'days':
|
|
644
|
-
case 'day':
|
|
645
|
-
case 'd':
|
|
646
|
-
return n * d;
|
|
647
|
-
case 'hours':
|
|
648
|
-
case 'hour':
|
|
649
|
-
case 'hrs':
|
|
650
|
-
case 'hr':
|
|
651
|
-
case 'h':
|
|
652
|
-
return n * h;
|
|
653
|
-
case 'minutes':
|
|
654
|
-
case 'minute':
|
|
655
|
-
case 'mins':
|
|
656
|
-
case 'min':
|
|
657
|
-
case 'm':
|
|
658
|
-
return n * m;
|
|
659
|
-
case 'seconds':
|
|
660
|
-
case 'second':
|
|
661
|
-
case 'secs':
|
|
662
|
-
case 'sec':
|
|
663
|
-
case 's':
|
|
664
|
-
return n * s;
|
|
665
|
-
case 'milliseconds':
|
|
666
|
-
case 'millisecond':
|
|
667
|
-
case 'msecs':
|
|
668
|
-
case 'msec':
|
|
669
|
-
case 'ms':
|
|
670
|
-
return n;
|
|
671
|
-
default:
|
|
672
|
-
return undefined;
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* Short format for `ms`.
|
|
678
|
-
*
|
|
679
|
-
* @param {Number} ms
|
|
680
|
-
* @return {String}
|
|
681
|
-
* @api private
|
|
682
|
-
*/
|
|
683
|
-
|
|
684
|
-
function fmtShort(ms) {
|
|
685
|
-
var msAbs = Math.abs(ms);
|
|
686
|
-
if (msAbs >= d) {
|
|
687
|
-
return Math.round(ms / d) + 'd';
|
|
688
|
-
}
|
|
689
|
-
if (msAbs >= h) {
|
|
690
|
-
return Math.round(ms / h) + 'h';
|
|
691
|
-
}
|
|
692
|
-
if (msAbs >= m) {
|
|
693
|
-
return Math.round(ms / m) + 'm';
|
|
694
|
-
}
|
|
695
|
-
if (msAbs >= s) {
|
|
696
|
-
return Math.round(ms / s) + 's';
|
|
697
|
-
}
|
|
698
|
-
return ms + 'ms';
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* Long format for `ms`.
|
|
703
|
-
*
|
|
704
|
-
* @param {Number} ms
|
|
705
|
-
* @return {String}
|
|
706
|
-
* @api private
|
|
707
|
-
*/
|
|
708
486
|
|
|
709
|
-
function
|
|
710
|
-
|
|
711
|
-
if (msAbs >= d) {
|
|
712
|
-
return plural(ms, msAbs, d, 'day');
|
|
713
|
-
}
|
|
714
|
-
if (msAbs >= h) {
|
|
715
|
-
return plural(ms, msAbs, h, 'hour');
|
|
716
|
-
}
|
|
717
|
-
if (msAbs >= m) {
|
|
718
|
-
return plural(ms, msAbs, m, 'minute');
|
|
719
|
-
}
|
|
720
|
-
if (msAbs >= s) {
|
|
721
|
-
return plural(ms, msAbs, s, 'second');
|
|
487
|
+
function destroy() {
|
|
488
|
+
console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
|
|
722
489
|
}
|
|
723
|
-
return ms + ' ms';
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* Pluralization helper.
|
|
728
|
-
*/
|
|
729
|
-
|
|
730
|
-
function plural(ms, msAbs, n, name) {
|
|
731
|
-
var isPlural = msAbs >= n * 1.5;
|
|
732
|
-
return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
/***/ }),
|
|
737
|
-
|
|
738
|
-
/***/ "../../node_modules/process/browser.js":
|
|
739
|
-
/*!************************************************************************************!*\
|
|
740
|
-
!*** /Users/daffl/Development/feathersjs/feathers/node_modules/process/browser.js ***!
|
|
741
|
-
\************************************************************************************/
|
|
742
|
-
/*! no static exports found */
|
|
743
|
-
/***/ (function(module, exports) {
|
|
744
|
-
|
|
745
|
-
// shim for using process in browser
|
|
746
|
-
var process = module.exports = {};
|
|
747
|
-
|
|
748
|
-
// cached from whatever global is present so that test runners that stub it
|
|
749
|
-
// don't break things. But we need to wrap it in a try catch in case it is
|
|
750
|
-
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
|
751
|
-
// function because try/catches deoptimize in certain engines.
|
|
752
|
-
|
|
753
|
-
var cachedSetTimeout;
|
|
754
|
-
var cachedClearTimeout;
|
|
755
|
-
|
|
756
|
-
function defaultSetTimout() {
|
|
757
|
-
throw new Error('setTimeout has not been defined');
|
|
758
|
-
}
|
|
759
|
-
function defaultClearTimeout () {
|
|
760
|
-
throw new Error('clearTimeout has not been defined');
|
|
761
|
-
}
|
|
762
|
-
(function () {
|
|
763
|
-
try {
|
|
764
|
-
if (typeof setTimeout === 'function') {
|
|
765
|
-
cachedSetTimeout = setTimeout;
|
|
766
|
-
} else {
|
|
767
|
-
cachedSetTimeout = defaultSetTimout;
|
|
768
|
-
}
|
|
769
|
-
} catch (e) {
|
|
770
|
-
cachedSetTimeout = defaultSetTimout;
|
|
771
|
-
}
|
|
772
|
-
try {
|
|
773
|
-
if (typeof clearTimeout === 'function') {
|
|
774
|
-
cachedClearTimeout = clearTimeout;
|
|
775
|
-
} else {
|
|
776
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
777
|
-
}
|
|
778
|
-
} catch (e) {
|
|
779
|
-
cachedClearTimeout = defaultClearTimeout;
|
|
780
|
-
}
|
|
781
|
-
} ())
|
|
782
|
-
function runTimeout(fun) {
|
|
783
|
-
if (cachedSetTimeout === setTimeout) {
|
|
784
|
-
//normal enviroments in sane situations
|
|
785
|
-
return setTimeout(fun, 0);
|
|
786
|
-
}
|
|
787
|
-
// if setTimeout wasn't available but was latter defined
|
|
788
|
-
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
789
|
-
cachedSetTimeout = setTimeout;
|
|
790
|
-
return setTimeout(fun, 0);
|
|
791
|
-
}
|
|
792
|
-
try {
|
|
793
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
794
|
-
return cachedSetTimeout(fun, 0);
|
|
795
|
-
} catch(e){
|
|
796
|
-
try {
|
|
797
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
798
|
-
return cachedSetTimeout.call(null, fun, 0);
|
|
799
|
-
} catch(e){
|
|
800
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
801
|
-
return cachedSetTimeout.call(this, fun, 0);
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
}
|
|
807
|
-
function runClearTimeout(marker) {
|
|
808
|
-
if (cachedClearTimeout === clearTimeout) {
|
|
809
|
-
//normal enviroments in sane situations
|
|
810
|
-
return clearTimeout(marker);
|
|
811
|
-
}
|
|
812
|
-
// if clearTimeout wasn't available but was latter defined
|
|
813
|
-
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
814
|
-
cachedClearTimeout = clearTimeout;
|
|
815
|
-
return clearTimeout(marker);
|
|
816
|
-
}
|
|
817
|
-
try {
|
|
818
|
-
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
819
|
-
return cachedClearTimeout(marker);
|
|
820
|
-
} catch (e){
|
|
821
|
-
try {
|
|
822
|
-
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
823
|
-
return cachedClearTimeout.call(null, marker);
|
|
824
|
-
} catch (e){
|
|
825
|
-
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
826
|
-
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
827
|
-
return cachedClearTimeout.call(this, marker);
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
}
|
|
834
|
-
var queue = [];
|
|
835
|
-
var draining = false;
|
|
836
|
-
var currentQueue;
|
|
837
|
-
var queueIndex = -1;
|
|
838
|
-
|
|
839
|
-
function cleanUpNextTick() {
|
|
840
|
-
if (!draining || !currentQueue) {
|
|
841
|
-
return;
|
|
842
|
-
}
|
|
843
|
-
draining = false;
|
|
844
|
-
if (currentQueue.length) {
|
|
845
|
-
queue = currentQueue.concat(queue);
|
|
846
|
-
} else {
|
|
847
|
-
queueIndex = -1;
|
|
848
|
-
}
|
|
849
|
-
if (queue.length) {
|
|
850
|
-
drainQueue();
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
function drainQueue() {
|
|
855
|
-
if (draining) {
|
|
856
|
-
return;
|
|
857
|
-
}
|
|
858
|
-
var timeout = runTimeout(cleanUpNextTick);
|
|
859
|
-
draining = true;
|
|
860
|
-
|
|
861
|
-
var len = queue.length;
|
|
862
|
-
while(len) {
|
|
863
|
-
currentQueue = queue;
|
|
864
|
-
queue = [];
|
|
865
|
-
while (++queueIndex < len) {
|
|
866
|
-
if (currentQueue) {
|
|
867
|
-
currentQueue[queueIndex].run();
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
queueIndex = -1;
|
|
871
|
-
len = queue.length;
|
|
872
|
-
}
|
|
873
|
-
currentQueue = null;
|
|
874
|
-
draining = false;
|
|
875
|
-
runClearTimeout(timeout);
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
process.nextTick = function (fun) {
|
|
879
|
-
var args = new Array(arguments.length - 1);
|
|
880
|
-
if (arguments.length > 1) {
|
|
881
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
882
|
-
args[i - 1] = arguments[i];
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
queue.push(new Item(fun, args));
|
|
886
|
-
if (queue.length === 1 && !draining) {
|
|
887
|
-
runTimeout(drainQueue);
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
490
|
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
this.fun = fun;
|
|
894
|
-
this.array = array;
|
|
491
|
+
createDebug.enable(createDebug.load());
|
|
492
|
+
return createDebug;
|
|
895
493
|
}
|
|
896
|
-
Item.prototype.run = function () {
|
|
897
|
-
this.fun.apply(null, this.array);
|
|
898
|
-
};
|
|
899
|
-
process.title = 'browser';
|
|
900
|
-
process.browser = true;
|
|
901
|
-
process.env = {};
|
|
902
|
-
process.argv = [];
|
|
903
|
-
process.version = ''; // empty string to avoid regexp issues
|
|
904
|
-
process.versions = {};
|
|
905
|
-
|
|
906
|
-
function noop() {}
|
|
907
|
-
|
|
908
|
-
process.on = noop;
|
|
909
|
-
process.addListener = noop;
|
|
910
|
-
process.once = noop;
|
|
911
|
-
process.off = noop;
|
|
912
|
-
process.removeListener = noop;
|
|
913
|
-
process.removeAllListeners = noop;
|
|
914
|
-
process.emit = noop;
|
|
915
|
-
process.prependListener = noop;
|
|
916
|
-
process.prependOnceListener = noop;
|
|
917
|
-
|
|
918
|
-
process.listeners = function (name) { return [] }
|
|
919
|
-
|
|
920
|
-
process.binding = function (name) {
|
|
921
|
-
throw new Error('process.binding is not supported');
|
|
922
|
-
};
|
|
923
|
-
|
|
924
|
-
process.cwd = function () { return '/' };
|
|
925
|
-
process.chdir = function (dir) {
|
|
926
|
-
throw new Error('process.chdir is not supported');
|
|
927
|
-
};
|
|
928
|
-
process.umask = function() { return 0; };
|
|
929
494
|
|
|
495
|
+
module.exports = setup;
|
|
930
496
|
|
|
931
497
|
/***/ }),
|
|
932
498
|
|
|
@@ -934,8 +500,7 @@ process.umask = function() { return 0; };
|
|
|
934
500
|
/*!********************************************!*\
|
|
935
501
|
!*** ../authentication-client/lib/core.js ***!
|
|
936
502
|
\********************************************/
|
|
937
|
-
|
|
938
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
503
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
939
504
|
|
|
940
505
|
"use strict";
|
|
941
506
|
|
|
@@ -944,7 +509,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
944
509
|
|
|
945
510
|
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); } }
|
|
946
511
|
|
|
947
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
512
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
948
513
|
|
|
949
514
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
950
515
|
|
|
@@ -954,13 +519,13 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
954
519
|
|
|
955
520
|
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; }
|
|
956
521
|
|
|
957
|
-
function _iterableToArrayLimit(arr, i) {
|
|
522
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
958
523
|
|
|
959
524
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
960
525
|
|
|
961
|
-
Object.defineProperty(exports, "__esModule", {
|
|
526
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
962
527
|
value: true
|
|
963
|
-
});
|
|
528
|
+
}));
|
|
964
529
|
exports.AuthenticationClient = void 0;
|
|
965
530
|
|
|
966
531
|
var errors_1 = __webpack_require__(/*! @feathersjs/errors */ "../errors/lib/index.js");
|
|
@@ -998,6 +563,16 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
998
563
|
}
|
|
999
564
|
|
|
1000
565
|
_createClass(AuthenticationClient, [{
|
|
566
|
+
key: "service",
|
|
567
|
+
get: function get() {
|
|
568
|
+
return this.app.service(this.options.path);
|
|
569
|
+
}
|
|
570
|
+
}, {
|
|
571
|
+
key: "storage",
|
|
572
|
+
get: function get() {
|
|
573
|
+
return this.app.get('storage');
|
|
574
|
+
}
|
|
575
|
+
}, {
|
|
1001
576
|
key: "handleSocket",
|
|
1002
577
|
value: function handleSocket(socket) {
|
|
1003
578
|
var _this = this;
|
|
@@ -1007,8 +582,8 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
1007
582
|
var disconnected = this.app.io ? 'disconnect' : 'disconnection';
|
|
1008
583
|
socket.on(disconnected, function () {
|
|
1009
584
|
var authPromise = new Promise(function (resolve) {
|
|
1010
|
-
return socket.once(connected, function () {
|
|
1011
|
-
return resolve();
|
|
585
|
+
return socket.once(connected, function (data) {
|
|
586
|
+
return resolve(data);
|
|
1012
587
|
});
|
|
1013
588
|
}) // Only reconnect when `reAuthenticate()` or `authenticate()`
|
|
1014
589
|
// has been called explicitly first
|
|
@@ -1097,6 +672,7 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
1097
672
|
var _this4 = this;
|
|
1098
673
|
|
|
1099
674
|
var force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
675
|
+
var strategy = arguments.length > 1 ? arguments[1] : undefined;
|
|
1100
676
|
// Either returns the authentication state or
|
|
1101
677
|
// tries to re-authenticate with the stored JWT and strategy
|
|
1102
678
|
var authPromise = this.app.get('authentication');
|
|
@@ -1108,7 +684,7 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
1108
684
|
}
|
|
1109
685
|
|
|
1110
686
|
return _this4.authenticate({
|
|
1111
|
-
strategy: _this4.options.jwtStrategy,
|
|
687
|
+
strategy: strategy || _this4.options.jwtStrategy,
|
|
1112
688
|
accessToken: accessToken
|
|
1113
689
|
});
|
|
1114
690
|
});
|
|
@@ -1161,16 +737,6 @@ var AuthenticationClient = /*#__PURE__*/function () {
|
|
|
1161
737
|
return _this6.handleError(error, 'logout');
|
|
1162
738
|
});
|
|
1163
739
|
}
|
|
1164
|
-
}, {
|
|
1165
|
-
key: "service",
|
|
1166
|
-
get: function get() {
|
|
1167
|
-
return this.app.service(this.options.path);
|
|
1168
|
-
}
|
|
1169
|
-
}, {
|
|
1170
|
-
key: "storage",
|
|
1171
|
-
get: function get() {
|
|
1172
|
-
return this.app.get('storage');
|
|
1173
|
-
}
|
|
1174
740
|
}]);
|
|
1175
741
|
|
|
1176
742
|
return AuthenticationClient;
|
|
@@ -1184,20 +750,19 @@ exports.AuthenticationClient = AuthenticationClient;
|
|
|
1184
750
|
/*!************************************************************!*\
|
|
1185
751
|
!*** ../authentication-client/lib/hooks/authentication.js ***!
|
|
1186
752
|
\************************************************************/
|
|
1187
|
-
|
|
1188
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
753
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1189
754
|
|
|
1190
755
|
"use strict";
|
|
1191
756
|
|
|
1192
757
|
|
|
1193
|
-
Object.defineProperty(exports, "__esModule", {
|
|
758
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1194
759
|
value: true
|
|
1195
|
-
});
|
|
760
|
+
}));
|
|
1196
761
|
exports.authentication = void 0;
|
|
1197
762
|
|
|
1198
763
|
var commons_1 = __webpack_require__(/*! @feathersjs/commons */ "../commons/lib/index.js");
|
|
1199
764
|
|
|
1200
|
-
|
|
765
|
+
var authentication = function authentication() {
|
|
1201
766
|
return function (context) {
|
|
1202
767
|
var app = context.app,
|
|
1203
768
|
params = context.params,
|
|
@@ -1205,7 +770,7 @@ exports.authentication = function () {
|
|
|
1205
770
|
method = context.method,
|
|
1206
771
|
service = context.app.authentication;
|
|
1207
772
|
|
|
1208
|
-
if (commons_1.stripSlashes(service.options.path) === path && method === 'create') {
|
|
773
|
+
if ((0, commons_1.stripSlashes)(service.options.path) === path && method === 'create') {
|
|
1209
774
|
return context;
|
|
1210
775
|
}
|
|
1211
776
|
|
|
@@ -1219,40 +784,41 @@ exports.authentication = function () {
|
|
|
1219
784
|
};
|
|
1220
785
|
};
|
|
1221
786
|
|
|
787
|
+
exports.authentication = authentication;
|
|
788
|
+
|
|
1222
789
|
/***/ }),
|
|
1223
790
|
|
|
1224
791
|
/***/ "../authentication-client/lib/hooks/index.js":
|
|
1225
792
|
/*!***************************************************!*\
|
|
1226
793
|
!*** ../authentication-client/lib/hooks/index.js ***!
|
|
1227
794
|
\***************************************************/
|
|
1228
|
-
|
|
1229
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
795
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1230
796
|
|
|
1231
797
|
"use strict";
|
|
1232
798
|
|
|
1233
799
|
|
|
1234
|
-
Object.defineProperty(exports, "__esModule", {
|
|
800
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1235
801
|
value: true
|
|
1236
|
-
});
|
|
802
|
+
}));
|
|
1237
803
|
exports.populateHeader = exports.authentication = void 0;
|
|
1238
804
|
|
|
1239
805
|
var authentication_1 = __webpack_require__(/*! ./authentication */ "../authentication-client/lib/hooks/authentication.js");
|
|
1240
806
|
|
|
1241
|
-
Object.defineProperty(exports, "authentication", {
|
|
807
|
+
Object.defineProperty(exports, "authentication", ({
|
|
1242
808
|
enumerable: true,
|
|
1243
809
|
get: function get() {
|
|
1244
810
|
return authentication_1.authentication;
|
|
1245
811
|
}
|
|
1246
|
-
});
|
|
812
|
+
}));
|
|
1247
813
|
|
|
1248
814
|
var populate_header_1 = __webpack_require__(/*! ./populate-header */ "../authentication-client/lib/hooks/populate-header.js");
|
|
1249
815
|
|
|
1250
|
-
Object.defineProperty(exports, "populateHeader", {
|
|
816
|
+
Object.defineProperty(exports, "populateHeader", ({
|
|
1251
817
|
enumerable: true,
|
|
1252
818
|
get: function get() {
|
|
1253
819
|
return populate_header_1.populateHeader;
|
|
1254
820
|
}
|
|
1255
|
-
});
|
|
821
|
+
}));
|
|
1256
822
|
|
|
1257
823
|
/***/ }),
|
|
1258
824
|
|
|
@@ -1260,20 +826,19 @@ Object.defineProperty(exports, "populateHeader", {
|
|
|
1260
826
|
/*!*************************************************************!*\
|
|
1261
827
|
!*** ../authentication-client/lib/hooks/populate-header.js ***!
|
|
1262
828
|
\*************************************************************/
|
|
1263
|
-
|
|
1264
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
829
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1265
830
|
|
|
1266
831
|
"use strict";
|
|
1267
832
|
|
|
1268
833
|
|
|
1269
834
|
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; }
|
|
1270
835
|
|
|
1271
|
-
Object.defineProperty(exports, "__esModule", {
|
|
836
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1272
837
|
value: true
|
|
1273
|
-
});
|
|
838
|
+
}));
|
|
1274
839
|
exports.populateHeader = void 0;
|
|
1275
840
|
|
|
1276
|
-
|
|
841
|
+
var populateHeader = function populateHeader() {
|
|
1277
842
|
return function (context) {
|
|
1278
843
|
var app = context.app,
|
|
1279
844
|
accessToken = context.params.accessToken;
|
|
@@ -1291,13 +856,14 @@ exports.populateHeader = function () {
|
|
|
1291
856
|
};
|
|
1292
857
|
};
|
|
1293
858
|
|
|
859
|
+
exports.populateHeader = populateHeader;
|
|
860
|
+
|
|
1294
861
|
/***/ }),
|
|
1295
862
|
|
|
1296
863
|
/***/ "../authentication-client/lib/index.js":
|
|
1297
864
|
/*!*********************************************!*\
|
|
1298
865
|
!*** ../authentication-client/lib/index.js ***!
|
|
1299
866
|
\*********************************************/
|
|
1300
|
-
/*! no static exports found */
|
|
1301
867
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1302
868
|
|
|
1303
869
|
"use strict";
|
|
@@ -1337,19 +903,19 @@ var __importStar = this && this.__importStar || function (mod) {
|
|
|
1337
903
|
return result;
|
|
1338
904
|
};
|
|
1339
905
|
|
|
1340
|
-
Object.defineProperty(exports, "__esModule", {
|
|
906
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1341
907
|
value: true
|
|
1342
|
-
});
|
|
908
|
+
}));
|
|
1343
909
|
exports.defaults = exports.defaultStorage = exports.hooks = exports.MemoryStorage = exports.AuthenticationClient = exports.getDefaultStorage = void 0;
|
|
1344
910
|
|
|
1345
911
|
var core_1 = __webpack_require__(/*! ./core */ "../authentication-client/lib/core.js");
|
|
1346
912
|
|
|
1347
|
-
Object.defineProperty(exports, "AuthenticationClient", {
|
|
913
|
+
Object.defineProperty(exports, "AuthenticationClient", ({
|
|
1348
914
|
enumerable: true,
|
|
1349
915
|
get: function get() {
|
|
1350
916
|
return core_1.AuthenticationClient;
|
|
1351
917
|
}
|
|
1352
|
-
});
|
|
918
|
+
}));
|
|
1353
919
|
|
|
1354
920
|
var hooks = __importStar(__webpack_require__(/*! ./hooks */ "../authentication-client/lib/hooks/index.js"));
|
|
1355
921
|
|
|
@@ -1357,14 +923,14 @@ exports.hooks = hooks;
|
|
|
1357
923
|
|
|
1358
924
|
var storage_1 = __webpack_require__(/*! ./storage */ "../authentication-client/lib/storage.js");
|
|
1359
925
|
|
|
1360
|
-
Object.defineProperty(exports, "MemoryStorage", {
|
|
926
|
+
Object.defineProperty(exports, "MemoryStorage", ({
|
|
1361
927
|
enumerable: true,
|
|
1362
928
|
get: function get() {
|
|
1363
929
|
return storage_1.MemoryStorage;
|
|
1364
930
|
}
|
|
1365
|
-
});
|
|
931
|
+
}));
|
|
1366
932
|
|
|
1367
|
-
|
|
933
|
+
var getDefaultStorage = function getDefaultStorage() {
|
|
1368
934
|
try {
|
|
1369
935
|
return new storage_1.StorageWrapper(window.localStorage);
|
|
1370
936
|
} catch (error) {}
|
|
@@ -1372,7 +938,8 @@ exports.getDefaultStorage = function () {
|
|
|
1372
938
|
return new storage_1.MemoryStorage();
|
|
1373
939
|
};
|
|
1374
940
|
|
|
1375
|
-
exports.
|
|
941
|
+
exports.getDefaultStorage = getDefaultStorage;
|
|
942
|
+
exports.defaultStorage = (0, exports.getDefaultStorage)();
|
|
1376
943
|
exports.defaults = {
|
|
1377
944
|
header: 'Authorization',
|
|
1378
945
|
scheme: 'Bearer',
|
|
@@ -1404,7 +971,7 @@ var init = function init() {
|
|
|
1404
971
|
};
|
|
1405
972
|
};
|
|
1406
973
|
|
|
1407
|
-
exports
|
|
974
|
+
exports["default"] = init;
|
|
1408
975
|
|
|
1409
976
|
if (true) {
|
|
1410
977
|
module.exports = Object.assign(init, module.exports);
|
|
@@ -1416,8 +983,7 @@ if (true) {
|
|
|
1416
983
|
/*!***********************************************!*\
|
|
1417
984
|
!*** ../authentication-client/lib/storage.js ***!
|
|
1418
985
|
\***********************************************/
|
|
1419
|
-
|
|
1420
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
986
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1421
987
|
|
|
1422
988
|
"use strict";
|
|
1423
989
|
|
|
@@ -1426,11 +992,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1426
992
|
|
|
1427
993
|
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); } }
|
|
1428
994
|
|
|
1429
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
995
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1430
996
|
|
|
1431
|
-
Object.defineProperty(exports, "__esModule", {
|
|
997
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1432
998
|
value: true
|
|
1433
|
-
});
|
|
999
|
+
}));
|
|
1434
1000
|
exports.StorageWrapper = exports.MemoryStorage = void 0;
|
|
1435
1001
|
|
|
1436
1002
|
var MemoryStorage = /*#__PURE__*/function () {
|
|
@@ -1495,21 +1061,30 @@ exports.StorageWrapper = StorageWrapper;
|
|
|
1495
1061
|
|
|
1496
1062
|
/***/ }),
|
|
1497
1063
|
|
|
1064
|
+
/***/ "./src/authentication.js":
|
|
1065
|
+
/*!*******************************!*\
|
|
1066
|
+
!*** ./src/authentication.js ***!
|
|
1067
|
+
\*******************************/
|
|
1068
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1069
|
+
|
|
1070
|
+
module.exports = __webpack_require__(/*! @feathersjs/authentication-client */ "../authentication-client/lib/index.js");
|
|
1071
|
+
|
|
1072
|
+
/***/ }),
|
|
1073
|
+
|
|
1498
1074
|
/***/ "../commons/lib/hooks.js":
|
|
1499
1075
|
/*!*******************************!*\
|
|
1500
1076
|
!*** ../commons/lib/hooks.js ***!
|
|
1501
1077
|
\*******************************/
|
|
1502
|
-
|
|
1503
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1078
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1504
1079
|
|
|
1505
1080
|
"use strict";
|
|
1506
1081
|
|
|
1507
1082
|
|
|
1508
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1083
|
+
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); }
|
|
1509
1084
|
|
|
1510
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1085
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1511
1086
|
value: true
|
|
1512
|
-
});
|
|
1087
|
+
}));
|
|
1513
1088
|
exports.enableHooks = exports.processHooks = exports.getHooks = exports.isHookObject = exports.convertHookData = exports.makeArguments = exports.defaultMakeArguments = exports.createHookObject = exports.ACTIVATE_HOOKS = void 0;
|
|
1514
1089
|
|
|
1515
1090
|
var utils_1 = __webpack_require__(/*! ./utils */ "../commons/lib/utils.js");
|
|
@@ -1517,7 +1092,7 @@ var utils_1 = __webpack_require__(/*! ./utils */ "../commons/lib/utils.js");
|
|
|
1517
1092
|
var _utils_1$_ = utils_1._,
|
|
1518
1093
|
each = _utils_1$_.each,
|
|
1519
1094
|
pick = _utils_1$_.pick;
|
|
1520
|
-
exports.ACTIVATE_HOOKS = utils_1.createSymbol('__feathersActivateHooks');
|
|
1095
|
+
exports.ACTIVATE_HOOKS = (0, utils_1.createSymbol)('__feathersActivateHooks');
|
|
1521
1096
|
|
|
1522
1097
|
function createHookObject(method) {
|
|
1523
1098
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -1733,8 +1308,7 @@ exports.enableHooks = enableHooks;
|
|
|
1733
1308
|
/*!*******************************!*\
|
|
1734
1309
|
!*** ../commons/lib/index.js ***!
|
|
1735
1310
|
\*******************************/
|
|
1736
|
-
|
|
1737
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1311
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1738
1312
|
|
|
1739
1313
|
"use strict";
|
|
1740
1314
|
|
|
@@ -1779,9 +1353,9 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
|
1779
1353
|
}
|
|
1780
1354
|
};
|
|
1781
1355
|
|
|
1782
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1356
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1783
1357
|
value: true
|
|
1784
|
-
});
|
|
1358
|
+
}));
|
|
1785
1359
|
exports.hooks = void 0;
|
|
1786
1360
|
|
|
1787
1361
|
var hookUtils = __importStar(__webpack_require__(/*! ./hooks */ "../commons/lib/hooks.js"));
|
|
@@ -1796,15 +1370,14 @@ exports.hooks = hookUtils;
|
|
|
1796
1370
|
/*!*******************************!*\
|
|
1797
1371
|
!*** ../commons/lib/utils.js ***!
|
|
1798
1372
|
\*******************************/
|
|
1799
|
-
|
|
1800
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1373
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
1801
1374
|
|
|
1802
1375
|
"use strict";
|
|
1803
|
-
|
|
1376
|
+
|
|
1804
1377
|
|
|
1805
1378
|
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; }
|
|
1806
1379
|
|
|
1807
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1380
|
+
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); }
|
|
1808
1381
|
|
|
1809
1382
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
1810
1383
|
|
|
@@ -1814,13 +1387,13 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
1814
1387
|
|
|
1815
1388
|
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; }
|
|
1816
1389
|
|
|
1817
|
-
function _iterableToArrayLimit(arr, i) {
|
|
1390
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
1818
1391
|
|
|
1819
1392
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
1820
1393
|
|
|
1821
|
-
Object.defineProperty(exports, "__esModule", {
|
|
1394
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
1822
1395
|
value: true
|
|
1823
|
-
});
|
|
1396
|
+
}));
|
|
1824
1397
|
exports.createSymbol = exports.makeUrl = exports.isPromise = exports._ = exports.stripSlashes = void 0; // Removes all leading and trailing slashes from a path
|
|
1825
1398
|
|
|
1826
1399
|
function stripSlashes(name) {
|
|
@@ -1960,7 +1533,6 @@ function createSymbol(name) {
|
|
|
1960
1533
|
}
|
|
1961
1534
|
|
|
1962
1535
|
exports.createSymbol = createSymbol;
|
|
1963
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/process/browser.js */ "../../node_modules/process/browser.js")))
|
|
1964
1536
|
|
|
1965
1537
|
/***/ }),
|
|
1966
1538
|
|
|
@@ -1968,10 +1540,9 @@ exports.createSymbol = createSymbol;
|
|
|
1968
1540
|
/*!******************************!*\
|
|
1969
1541
|
!*** ../errors/lib/index.js ***!
|
|
1970
1542
|
\******************************/
|
|
1971
|
-
|
|
1972
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1543
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1973
1544
|
|
|
1974
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1545
|
+
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); }
|
|
1975
1546
|
|
|
1976
1547
|
var debug = __webpack_require__(/*! debug */ "../../node_modules/debug/src/browser.js")('@feathersjs/errors');
|
|
1977
1548
|
|
|
@@ -2214,17 +1785,213 @@ module.exports = Object.assign({
|
|
|
2214
1785
|
|
|
2215
1786
|
/***/ }),
|
|
2216
1787
|
|
|
2217
|
-
/***/ "
|
|
2218
|
-
|
|
2219
|
-
!***
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
1788
|
+
/***/ "../../node_modules/ms/index.js":
|
|
1789
|
+
/*!**************************************!*\
|
|
1790
|
+
!*** ../../node_modules/ms/index.js ***!
|
|
1791
|
+
\**************************************/
|
|
1792
|
+
/***/ (function(module) {
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* Helpers.
|
|
1796
|
+
*/
|
|
1797
|
+
|
|
1798
|
+
var s = 1000;
|
|
1799
|
+
var m = s * 60;
|
|
1800
|
+
var h = m * 60;
|
|
1801
|
+
var d = h * 24;
|
|
1802
|
+
var w = d * 7;
|
|
1803
|
+
var y = d * 365.25;
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* Parse or format the given `val`.
|
|
1807
|
+
*
|
|
1808
|
+
* Options:
|
|
1809
|
+
*
|
|
1810
|
+
* - `long` verbose formatting [false]
|
|
1811
|
+
*
|
|
1812
|
+
* @param {String|Number} val
|
|
1813
|
+
* @param {Object} [options]
|
|
1814
|
+
* @throws {Error} throw an error if val is not a non-empty string or a number
|
|
1815
|
+
* @return {String|Number}
|
|
1816
|
+
* @api public
|
|
1817
|
+
*/
|
|
1818
|
+
|
|
1819
|
+
module.exports = function(val, options) {
|
|
1820
|
+
options = options || {};
|
|
1821
|
+
var type = typeof val;
|
|
1822
|
+
if (type === 'string' && val.length > 0) {
|
|
1823
|
+
return parse(val);
|
|
1824
|
+
} else if (type === 'number' && isFinite(val)) {
|
|
1825
|
+
return options.long ? fmtLong(val) : fmtShort(val);
|
|
1826
|
+
}
|
|
1827
|
+
throw new Error(
|
|
1828
|
+
'val is not a non-empty string or a valid number. val=' +
|
|
1829
|
+
JSON.stringify(val)
|
|
1830
|
+
);
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Parse the given `str` and return milliseconds.
|
|
1835
|
+
*
|
|
1836
|
+
* @param {String} str
|
|
1837
|
+
* @return {Number}
|
|
1838
|
+
* @api private
|
|
1839
|
+
*/
|
|
1840
|
+
|
|
1841
|
+
function parse(str) {
|
|
1842
|
+
str = String(str);
|
|
1843
|
+
if (str.length > 100) {
|
|
1844
|
+
return;
|
|
1845
|
+
}
|
|
1846
|
+
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
|
|
1847
|
+
str
|
|
1848
|
+
);
|
|
1849
|
+
if (!match) {
|
|
1850
|
+
return;
|
|
1851
|
+
}
|
|
1852
|
+
var n = parseFloat(match[1]);
|
|
1853
|
+
var type = (match[2] || 'ms').toLowerCase();
|
|
1854
|
+
switch (type) {
|
|
1855
|
+
case 'years':
|
|
1856
|
+
case 'year':
|
|
1857
|
+
case 'yrs':
|
|
1858
|
+
case 'yr':
|
|
1859
|
+
case 'y':
|
|
1860
|
+
return n * y;
|
|
1861
|
+
case 'weeks':
|
|
1862
|
+
case 'week':
|
|
1863
|
+
case 'w':
|
|
1864
|
+
return n * w;
|
|
1865
|
+
case 'days':
|
|
1866
|
+
case 'day':
|
|
1867
|
+
case 'd':
|
|
1868
|
+
return n * d;
|
|
1869
|
+
case 'hours':
|
|
1870
|
+
case 'hour':
|
|
1871
|
+
case 'hrs':
|
|
1872
|
+
case 'hr':
|
|
1873
|
+
case 'h':
|
|
1874
|
+
return n * h;
|
|
1875
|
+
case 'minutes':
|
|
1876
|
+
case 'minute':
|
|
1877
|
+
case 'mins':
|
|
1878
|
+
case 'min':
|
|
1879
|
+
case 'm':
|
|
1880
|
+
return n * m;
|
|
1881
|
+
case 'seconds':
|
|
1882
|
+
case 'second':
|
|
1883
|
+
case 'secs':
|
|
1884
|
+
case 'sec':
|
|
1885
|
+
case 's':
|
|
1886
|
+
return n * s;
|
|
1887
|
+
case 'milliseconds':
|
|
1888
|
+
case 'millisecond':
|
|
1889
|
+
case 'msecs':
|
|
1890
|
+
case 'msec':
|
|
1891
|
+
case 'ms':
|
|
1892
|
+
return n;
|
|
1893
|
+
default:
|
|
1894
|
+
return undefined;
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* Short format for `ms`.
|
|
1900
|
+
*
|
|
1901
|
+
* @param {Number} ms
|
|
1902
|
+
* @return {String}
|
|
1903
|
+
* @api private
|
|
1904
|
+
*/
|
|
1905
|
+
|
|
1906
|
+
function fmtShort(ms) {
|
|
1907
|
+
var msAbs = Math.abs(ms);
|
|
1908
|
+
if (msAbs >= d) {
|
|
1909
|
+
return Math.round(ms / d) + 'd';
|
|
1910
|
+
}
|
|
1911
|
+
if (msAbs >= h) {
|
|
1912
|
+
return Math.round(ms / h) + 'h';
|
|
1913
|
+
}
|
|
1914
|
+
if (msAbs >= m) {
|
|
1915
|
+
return Math.round(ms / m) + 'm';
|
|
1916
|
+
}
|
|
1917
|
+
if (msAbs >= s) {
|
|
1918
|
+
return Math.round(ms / s) + 's';
|
|
1919
|
+
}
|
|
1920
|
+
return ms + 'ms';
|
|
1921
|
+
}
|
|
1922
|
+
|
|
1923
|
+
/**
|
|
1924
|
+
* Long format for `ms`.
|
|
1925
|
+
*
|
|
1926
|
+
* @param {Number} ms
|
|
1927
|
+
* @return {String}
|
|
1928
|
+
* @api private
|
|
1929
|
+
*/
|
|
1930
|
+
|
|
1931
|
+
function fmtLong(ms) {
|
|
1932
|
+
var msAbs = Math.abs(ms);
|
|
1933
|
+
if (msAbs >= d) {
|
|
1934
|
+
return plural(ms, msAbs, d, 'day');
|
|
1935
|
+
}
|
|
1936
|
+
if (msAbs >= h) {
|
|
1937
|
+
return plural(ms, msAbs, h, 'hour');
|
|
1938
|
+
}
|
|
1939
|
+
if (msAbs >= m) {
|
|
1940
|
+
return plural(ms, msAbs, m, 'minute');
|
|
1941
|
+
}
|
|
1942
|
+
if (msAbs >= s) {
|
|
1943
|
+
return plural(ms, msAbs, s, 'second');
|
|
1944
|
+
}
|
|
1945
|
+
return ms + ' ms';
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Pluralization helper.
|
|
1950
|
+
*/
|
|
1951
|
+
|
|
1952
|
+
function plural(ms, msAbs, n, name) {
|
|
1953
|
+
var isPlural = msAbs >= n * 1.5;
|
|
1954
|
+
return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
|
|
1955
|
+
}
|
|
2223
1956
|
|
|
2224
|
-
module.exports = __webpack_require__(/*! @feathersjs/authentication-client */ "../authentication-client/lib/index.js");
|
|
2225
1957
|
|
|
2226
1958
|
/***/ })
|
|
2227
1959
|
|
|
2228
|
-
/******/
|
|
1960
|
+
/******/ });
|
|
1961
|
+
/************************************************************************/
|
|
1962
|
+
/******/ // The module cache
|
|
1963
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1964
|
+
/******/
|
|
1965
|
+
/******/ // The require function
|
|
1966
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1967
|
+
/******/ // Check if module is in cache
|
|
1968
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1969
|
+
/******/ if (cachedModule !== undefined) {
|
|
1970
|
+
/******/ return cachedModule.exports;
|
|
1971
|
+
/******/ }
|
|
1972
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1973
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1974
|
+
/******/ // no module.id needed
|
|
1975
|
+
/******/ // no module.loaded needed
|
|
1976
|
+
/******/ exports: {}
|
|
1977
|
+
/******/ };
|
|
1978
|
+
/******/
|
|
1979
|
+
/******/ // Execute the module function
|
|
1980
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1981
|
+
/******/
|
|
1982
|
+
/******/ // Return the exports of the module
|
|
1983
|
+
/******/ return module.exports;
|
|
1984
|
+
/******/ }
|
|
1985
|
+
/******/
|
|
1986
|
+
/************************************************************************/
|
|
1987
|
+
/******/
|
|
1988
|
+
/******/ // startup
|
|
1989
|
+
/******/ // Load entry module and return exports
|
|
1990
|
+
/******/ // This entry module used 'module' so it can't be inlined
|
|
1991
|
+
/******/ var __webpack_exports__ = __webpack_require__("./src/authentication.js");
|
|
1992
|
+
/******/
|
|
1993
|
+
/******/ return __webpack_exports__;
|
|
1994
|
+
/******/ })()
|
|
1995
|
+
;
|
|
2229
1996
|
});
|
|
2230
1997
|
//# sourceMappingURL=authentication.js.map
|