@feathersjs/client 5.0.0-pre.0 → 5.0.0-pre.15

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +229 -0
  2. package/README.md +2 -2
  3. package/dist/core.d.ts +1 -0
  4. package/dist/core.js +1861 -3627
  5. package/dist/core.js.map +1 -1
  6. package/dist/core.min.js +1 -1
  7. package/dist/feathers.d.ts +8 -0
  8. package/dist/feathers.js +5106 -5755
  9. package/dist/feathers.js.map +1 -1
  10. package/dist/feathers.min.js +1 -1
  11. package/package.json +44 -38
  12. package/src/core.ts +1 -0
  13. package/src/feathers.ts +13 -0
  14. package/.babelrc +0 -8
  15. package/.cache/lasso/default/6a3076a5/dependencyFingerprints/cache +0 -0
  16. package/.cache/lasso/default/6a3076a5/key +0 -1
  17. package/.cache/lasso/default/6a3076a5/lasso-require/inspect-/5d47a286cdceb98f64bf9128488dd355fde40e81/cache +0 -0
  18. package/.cache/lasso/default/7be4a25c/dependencyFingerprints/cache +0 -0
  19. package/.cache/lasso/default/7be4a25c/key +0 -1
  20. package/.cache/lasso/default/7be4a25c/lasso-require/inspect/cache +0 -0
  21. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.0/lib/filter-query.js +0 -1998
  22. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.0/lib/index.js +0 -694
  23. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.0/lib/service.js +0 -1636
  24. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.0/lib/sort.js +0 -2259
  25. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.1/lib/filter-query.js +0 -98
  26. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.1/lib/index.js +0 -37
  27. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.1/lib/service.js +0 -94
  28. package/.mocha-puppeteer/test-page/@feathersjs/adapter-commons$4.5.1/lib/sort.js +0 -112
  29. package/.mocha-puppeteer/test-page/@feathersjs/client$4.5.0/browser/test-run.js +0 -1
  30. package/.mocha-puppeteer/test-page/@feathersjs/client$4.5.0/browser/test.js +0 -1037
  31. package/.mocha-puppeteer/test-page/@feathersjs/client$4.5.0/dist/feathers.js +0 -78377
  32. package/.mocha-puppeteer/test-page/@feathersjs/client$4.5.1/browser/test-run.js +0 -1
  33. package/.mocha-puppeteer/test-page/@feathersjs/client$4.5.1/browser/test.js +0 -102
  34. package/.mocha-puppeteer/test-page/@feathersjs/client$4.5.1/dist/feathers.js +0 -5231
  35. package/.mocha-puppeteer/test-page/@feathersjs/commons$4.5.0/lib/hooks.js +0 -2626
  36. package/.mocha-puppeteer/test-page/@feathersjs/commons$4.5.0/lib/index.js +0 -540
  37. package/.mocha-puppeteer/test-page/@feathersjs/commons$4.5.0/lib/utils.js +0 -1991
  38. package/.mocha-puppeteer/test-page/@feathersjs/commons$4.5.1/lib/hooks.js +0 -170
  39. package/.mocha-puppeteer/test-page/@feathersjs/commons$4.5.1/lib/index.js +0 -17
  40. package/.mocha-puppeteer/test-page/@feathersjs/commons$4.5.1/lib/utils.js +0 -102
  41. package/.mocha-puppeteer/test-page/@feathersjs/errors$4.5.0/lib/index.js +0 -2262
  42. package/.mocha-puppeteer/test-page/@feathersjs/errors$4.5.1/lib/index.js +0 -251
  43. package/.mocha-puppeteer/test-page/@feathersjs/tests$4.5.0/lib/client.js +0 -1506
  44. package/.mocha-puppeteer/test-page/@feathersjs/tests$4.5.1/lib/client.js +0 -83
  45. package/.mocha-puppeteer/test-page/assert$1.5.0/assert.js +0 -508
  46. package/.mocha-puppeteer/test-page/debug$4.1.1/src/browser.js +0 -266
  47. package/.mocha-puppeteer/test-page/debug$4.1.1/src/common.js +0 -268
  48. package/.mocha-puppeteer/test-page/feathers-memory$4.1.0/lib/index.js +0 -143
  49. package/.mocha-puppeteer/test-page/inherits$2.0.1/inherits_browser.js +0 -25
  50. package/.mocha-puppeteer/test-page/lasso-modules-client$2.0.5/src/index.js +0 -592
  51. package/.mocha-puppeteer/test-page/lasso-modules-meta.js +0 -28
  52. package/.mocha-puppeteer/test-page/marko$4.18.35/src/runtime/components/boot-run.js +0 -1
  53. package/.mocha-puppeteer/test-page/marko$4.18.35/src/runtime/components/boot.js +0 -95
  54. package/.mocha-puppeteer/test-page/marko$4.18.42/src/runtime/components/boot-run.js +0 -1
  55. package/.mocha-puppeteer/test-page/marko$4.18.42/src/runtime/components/boot.js +0 -95
  56. package/.mocha-puppeteer/test-page/marko$4.19.0/src/runtime/components/boot-run.js +0 -1
  57. package/.mocha-puppeteer/test-page/marko$4.19.0/src/runtime/components/boot.js +0 -3
  58. package/.mocha-puppeteer/test-page/mocha$3.5.3/mocha.css +0 -326
  59. package/.mocha-puppeteer/test-page/mocha$3.5.3/mocha.js +0 -16590
  60. package/.mocha-puppeteer/test-page/mocha-puppeteer$0.14.0/lib/pages/test-page/run-tests-run.js +0 -1
  61. package/.mocha-puppeteer/test-page/mocha-puppeteer$0.14.0/lib/pages/test-page/run-tests.js +0 -53
  62. package/.mocha-puppeteer/test-page/mocha-puppeteer$0.14.0/lib/pages/test-page/setup-run.js +0 -1
  63. package/.mocha-puppeteer/test-page/mocha-puppeteer$0.14.0/lib/pages/test-page/setup.js +0 -10
  64. package/.mocha-puppeteer/test-page/ms$2.1.2/index.js +0 -164
  65. package/.mocha-puppeteer/test-page/object-assign$4.1.1/index.js +0 -92
  66. package/.mocha-puppeteer/test-page/process$0.11.10/browser.js +0 -186
  67. package/.mocha-puppeteer/test-page/sift$8.5.1/lib/index.js +0 -738
  68. package/.mocha-puppeteer/test-page/superagent$3.8.3/superagent.js +0 -2035
  69. package/.mocha-puppeteer/test-page/util$0.10.3/support/isBufferBrowser.js +0 -7
  70. package/.mocha-puppeteer/test-page/util$0.10.3/util.js +0 -588
  71. package/.nyc_output/coverage.json +0 -1
  72. package/authentication.js +0 -1
  73. package/dist/authentication.js +0 -2242
  74. package/dist/authentication.js.map +0 -1
  75. package/dist/authentication.min.js +0 -1
  76. package/dist/rest.js +0 -3287
  77. package/dist/rest.js.map +0 -1
  78. package/dist/rest.min.js +0 -1
  79. package/dist/socketio.js +0 -2384
  80. package/dist/socketio.js.map +0 -1
  81. package/dist/socketio.min.js +0 -1
  82. package/index.d.ts +0 -23
  83. package/index.js +0 -1
  84. package/rest.js +0 -1
  85. package/socketio.js +0 -1
  86. package/webpack.config.js +0 -69
@@ -1,592 +0,0 @@
1
- /*
2
- GOAL: This module should mirror the NodeJS module system according the documented behavior.
3
- The module transport will send down code that registers module definitions by an assigned path. In addition,
4
- the module transport will send down code that registers additional metadata to allow the module resolver to
5
- resolve modules in the browser. Additional metadata includes the following:
6
-
7
- - "mains": The mapping of module directory paths to a fully resolved module path
8
- - "remaps": The remapping of one fully resolved module path to another fully resolved module path (used for browser overrides)
9
- - "run": A list of entry point modules that should be executed when ready
10
-
11
- Inspired by:
12
- https://github.com/joyent/node/blob/master/lib/module.js
13
- */
14
- (function() {
15
- var win;
16
-
17
- if (typeof window !== 'undefined') {
18
- win = window;
19
-
20
- // This lasso modules client has already been loaded on the page. Do nothing;
21
- if (win.$_mod) {
22
- return;
23
- }
24
-
25
- win.global = win;
26
- }
27
-
28
- /** the module runtime */
29
- var $_mod;
30
-
31
- // this object stores the module factories with the keys being module paths and
32
- // values being a factory function or object (e.g. "/baz$3.0.0/lib/index" --> Function)
33
- var definitions = {};
34
-
35
- // Search path that will be checked when looking for modules
36
- var searchPaths = [];
37
-
38
- // The _ready flag is used to determine if "run" modules can
39
- // be executed or if they should be deferred until all dependencies
40
- // have been loaded
41
- var _ready = false;
42
-
43
- // If $_mod.run() is called when the page is not ready then
44
- // we queue up the run modules to be executed later
45
- var runQueue = [];
46
-
47
- // this object stores the Module instance cache with the keys being paths of modules (e.g., "/foo$1.0.0/bar" --> Module)
48
- var instanceCache = {};
49
-
50
- // This object maps installed dependencies to specific versions
51
- //
52
- // For example:
53
- // {
54
- // // The package "foo" with version 1.0.0 has an installed package named "bar" (foo/node_modules/bar") and
55
- // // the version of "bar" is 3.0.0
56
- // "/foo$1.0.0/bar": "3.0.0"
57
- // }
58
- var installed = {};
59
-
60
- // Maps builtin modules such as "path", "buffer" to their fully resolved paths
61
- var builtins = {};
62
-
63
- // this object maps a directory to the fully resolved module path
64
- //
65
- // For example:
66
- //
67
- var mains = {};
68
-
69
- // used to remap a one fully resolved module path to another fully resolved module path
70
- var remapped = {};
71
-
72
- var cacheByDirname = {};
73
-
74
- // When a module is mapped to a global varialble we add a reference
75
- // that maps the path of the module to the loaded global instance.
76
- // We use this mapping to ensure that global modules are only loaded
77
- // once if they map to the same path.
78
- //
79
- // See issue #5 - Ensure modules mapped to globals only load once
80
- // https://github.com/raptorjs/raptor-modules/issues/5
81
- var loadedGlobalsByRealPath = {};
82
-
83
- function moduleNotFoundError(target, from) {
84
- var err = new Error('Cannot find module "' + target + '"' + (from ? ' from "' + from + '"' : ''));
85
-
86
- err.code = 'MODULE_NOT_FOUND';
87
- return err;
88
- }
89
-
90
- function Module(filename) {
91
- /*
92
- A Node module has these properties:
93
- - filename: The path of the module
94
- - id: The path of the module (same as filename)
95
- - exports: The exports provided during load
96
- - loaded: Has module been fully loaded (set to false until factory function returns)
97
-
98
- NOT SUPPORTED:
99
- - parent: parent Module
100
- - paths: The search path used by this module (NOTE: not documented in Node.js module system so we don't need support)
101
- - children: The modules that were required by this module
102
- */
103
- this.id = this.filename = filename;
104
- this.loaded = false;
105
- this.exports = undefined;
106
- }
107
-
108
- Module.cache = instanceCache;
109
-
110
- // temporary variable for referencing the Module prototype
111
- var Module_prototype = Module.prototype;
112
-
113
- Module_prototype.load = function(factoryOrObject) {
114
- var filename = this.id;
115
-
116
- if (factoryOrObject && factoryOrObject.constructor === Function) {
117
- // factoryOrObject is definitely a function
118
- var lastSlashPos = filename.lastIndexOf('/');
119
-
120
- // find the value for the __dirname parameter to factory
121
- var dirname = filename.substring(0, lastSlashPos);
122
-
123
- // local cache for requires initiated from this module/dirname
124
- var localCache = cacheByDirname[dirname] || (cacheByDirname[dirname] = {});
125
-
126
- // this is the require used by the module
127
- var instanceRequire = function(target) {
128
- // Only store the `module` in the local cache since `module.exports` may not be accurate
129
- // if there was a circular dependency
130
- var module = localCache[target] || (localCache[target] = requireModule(target, dirname));
131
- return module.exports;
132
- };
133
-
134
- // The require method should have a resolve method that will return the resolved
135
- // path but not actually instantiate the module.
136
- // This resolve function will make sure a definition exists for the corresponding
137
- // path of the target but it will not instantiate a new instance of the target.
138
- instanceRequire.resolve = function(target) {
139
- if (!target) {
140
- throw moduleNotFoundError('');
141
- }
142
-
143
- var resolved = resolve(target, dirname);
144
-
145
- if (!resolved) {
146
- throw moduleNotFoundError(target, dirname);
147
- }
148
-
149
- // NOTE: resolved[0] is the path and resolved[1] is the module factory
150
- return resolved[0];
151
- };
152
-
153
- // NodeJS provides access to the cache as a property of the "require" function
154
- instanceRequire.cache = instanceCache;
155
-
156
- // Expose the module system runtime via the `runtime` property
157
- // TODO: We should deprecate this in favor of `Module.prototype.__runtime`
158
- // @deprecated
159
- instanceRequire.runtime = $_mod;
160
-
161
- // $_mod.def("/foo$1.0.0/lib/index", function(require, exports, module, __filename, __dirname) {
162
- this.exports = {};
163
-
164
- // call the factory function
165
- factoryOrObject.call(this, instanceRequire, this.exports, this, filename, dirname);
166
- } else {
167
- // factoryOrObject is not a function so have exports reference factoryOrObject
168
- this.exports = factoryOrObject;
169
- }
170
-
171
- this.loaded = true;
172
- };
173
-
174
- /**
175
- * Defines a packages whose metadata is used by raptor-loader to load the package.
176
- */
177
- function define(path, factoryOrObject, options) {
178
- /*
179
- $_mod.def('/baz$3.0.0/lib/index', function(require, exports, module, __filename, __dirname) {
180
- // module source code goes here
181
- });
182
- */
183
-
184
- var globals = options && options.globals;
185
-
186
- definitions[path] = factoryOrObject;
187
-
188
- if (globals) {
189
- var target = win || global;
190
- for (var i=0;i<globals.length; i++) {
191
- var globalVarName = globals[i];
192
- var globalModule = loadedGlobalsByRealPath[path] = requireModule(path);
193
- target[globalVarName] = globalModule.exports;
194
- }
195
- }
196
- }
197
-
198
- function registerMain(path, relativePath) {
199
- mains[path] = relativePath;
200
- }
201
-
202
- function remap(fromPath, toPath) {
203
- remapped[fromPath] = toPath;
204
- }
205
-
206
- function builtin(name, target) {
207
- builtins[name] = target;
208
- }
209
-
210
- function registerInstalledDependency(parentPath, packageName, packageVersion) {
211
- // Example:
212
- // dependencies['/my-package$1.0.0/$/my-installed-package'] = '2.0.0'
213
- installed[parentPath + '/' + packageName] = packageVersion;
214
- }
215
-
216
- /**
217
- * This function will take an array of path parts and normalize them by handling handle ".." and "."
218
- * and then joining the resultant string.
219
- *
220
- * @param {Array} parts an array of parts that presumedly was split on the "/" character.
221
- */
222
- function normalizePathParts(parts) {
223
-
224
- // IMPORTANT: It is assumed that parts[0] === "" because this method is used to
225
- // join an absolute path to a relative path
226
- var i;
227
- var len = 0;
228
-
229
- var numParts = parts.length;
230
-
231
- for (i = 0; i < numParts; i++) {
232
- var part = parts[i];
233
-
234
- if (part === '.') {
235
- // ignore parts with just "."
236
- /*
237
- // if the "." is at end of parts (e.g. ["a", "b", "."]) then trim it off
238
- if (i === numParts - 1) {
239
- //len--;
240
- }
241
- */
242
- } else if (part === '..') {
243
- // overwrite the previous item by decrementing length
244
- len--;
245
- } else {
246
- // add this part to result and increment length
247
- parts[len] = part;
248
- len++;
249
- }
250
- }
251
-
252
- if (len === 1) {
253
- // if we end up with just one part that is empty string
254
- // (which can happen if input is ["", "."]) then return
255
- // string with just the leading slash
256
- return '/';
257
- } else if (len > 2) {
258
- // parts i s
259
- // ["", "a", ""]
260
- // ["", "a", "b", ""]
261
- if (parts[len - 1].length === 0) {
262
- // last part is an empty string which would result in trailing slash
263
- len--;
264
- }
265
- }
266
-
267
- // truncate parts to remove unused
268
- parts.length = len;
269
- return parts.join('/');
270
- }
271
-
272
- function join(from, target) {
273
- var targetParts = target.split('/');
274
- var fromParts = from == '/' ? [''] : from.split('/');
275
- return normalizePathParts(fromParts.concat(targetParts));
276
- }
277
-
278
- function withoutExtension(path) {
279
- var lastDotPos = path.lastIndexOf('.');
280
- var lastSlashPos;
281
-
282
- /* jshint laxbreak:true */
283
- return ((lastDotPos === -1) || ((lastSlashPos = path.lastIndexOf('/')) !== -1) && (lastSlashPos > lastDotPos))
284
- ? null // use null to indicate that returned path is same as given path
285
- : path.substring(0, lastDotPos);
286
- }
287
-
288
- function splitPackageIdAndSubpath(path) {
289
- path = path.substring(1); /* Skip past the first slash */
290
- // Examples:
291
- // '/my-package$1.0.0/foo/bar' --> ['my-package$1.0.0', '/foo/bar']
292
- // '/my-package$1.0.0' --> ['my-package$1.0.0', '']
293
- // '/my-package$1.0.0/' --> ['my-package$1.0.0', '/']
294
- // '/@my-scoped-package/foo/$1.0.0/' --> ['@my-scoped-package/foo$1.0.0', '/']
295
- var slashPos = path.indexOf('/');
296
-
297
- if (path.charAt(1) === '@') {
298
- // path is something like "/@my-user-name/my-scoped-package/subpath"
299
- // For scoped packages, the package name is two parts. We need to skip
300
- // past the second slash to get the full package name
301
- slashPos = path.indexOf('/', slashPos+1);
302
- }
303
-
304
- var packageIdEnd = slashPos === -1 ? path.length : slashPos;
305
-
306
- return [
307
- path.substring(0, packageIdEnd), // Everything up to the slash
308
- path.substring(packageIdEnd) // Everything after the package ID
309
- ];
310
- }
311
-
312
- function resolveInstalledModule(target, from) {
313
- // Examples:
314
- // target='foo', from='/my-package$1.0.0/hello/world'
315
-
316
- if (target.charAt(target.length-1) === '/') {
317
- // This is a hack because I found require('util/') in the wild and
318
- // it did not work because of the trailing slash
319
- target = target.slice(0, -1);
320
- }
321
-
322
- // Check to see if the target module is a builtin module.
323
- // For example:
324
- // builtins['path'] = '/path-browserify$0.0.0/index'
325
- var builtinPath = builtins[target];
326
- if (builtinPath) {
327
- return builtinPath;
328
- }
329
-
330
- var fromParts = splitPackageIdAndSubpath(from);
331
- var fromPackageId = fromParts[0];
332
-
333
-
334
- var targetSlashPos = target.indexOf('/');
335
- var targetPackageName;
336
- var targetSubpath;
337
-
338
- if (targetSlashPos < 0) {
339
- targetPackageName = target;
340
- targetSubpath = '';
341
- } else {
342
-
343
- if (target.charAt(0) === '@') {
344
- // target is something like "@my-user-name/my-scoped-package/subpath"
345
- // For scoped packages, the package name is two parts. We need to skip
346
- // past the first slash to get the full package name
347
- targetSlashPos = target.indexOf('/', targetSlashPos + 1);
348
- }
349
-
350
- targetPackageName = target.substring(0, targetSlashPos);
351
- targetSubpath = target.substring(targetSlashPos);
352
- }
353
-
354
- var targetPackageVersion = installed[fromPackageId + '/' + targetPackageName];
355
- if (targetPackageVersion) {
356
- var resolvedPath = '/' + targetPackageName + '$' + targetPackageVersion;
357
- if (targetSubpath) {
358
- resolvedPath += targetSubpath;
359
- }
360
- return resolvedPath;
361
- }
362
- }
363
-
364
- function resolve(target, from) {
365
- var resolvedPath;
366
-
367
- if (target.charAt(0) === '.') {
368
- // turn relative path into absolute path
369
- resolvedPath = join(from, target);
370
- } else if (target.charAt(0) === '/') {
371
- // handle targets such as "/my/file" or "/$/foo/$/baz"
372
- resolvedPath = normalizePathParts(target.split('/'));
373
- } else {
374
- var len = searchPaths.length;
375
- for (var i = 0; i < len; i++) {
376
- // search path entries always end in "/";
377
- var candidate = searchPaths[i] + target;
378
- var resolved = resolve(candidate, from);
379
- if (resolved) {
380
- return resolved;
381
- }
382
- }
383
-
384
- resolvedPath = resolveInstalledModule(target, from);
385
- }
386
-
387
- if (!resolvedPath) {
388
- return undefined;
389
- }
390
-
391
- // target is something like "/foo/baz"
392
- // There is no installed module in the path
393
- var relativePath;
394
-
395
- // check to see if "target" is a "directory" which has a registered main file
396
- if ((relativePath = mains[resolvedPath]) !== undefined) {
397
- if (!relativePath) {
398
- relativePath = 'index';
399
- }
400
-
401
- // there is a main file corresponding to the given target so add the relative path
402
- resolvedPath = join(resolvedPath, relativePath);
403
- }
404
-
405
- var remappedPath = remapped[resolvedPath];
406
- if (remappedPath) {
407
- resolvedPath = remappedPath;
408
- }
409
-
410
- var factoryOrObject = definitions[resolvedPath];
411
- if (factoryOrObject === undefined) {
412
- // check for definition for given path but without extension
413
- var resolvedPathWithoutExtension;
414
- if (((resolvedPathWithoutExtension = withoutExtension(resolvedPath)) === null) ||
415
- ((factoryOrObject = definitions[resolvedPathWithoutExtension]) === undefined)) {
416
- return undefined;
417
- }
418
-
419
- // we found the definition based on the path without extension so
420
- // update the path
421
- resolvedPath = resolvedPathWithoutExtension;
422
- }
423
-
424
- return [resolvedPath, factoryOrObject];
425
- }
426
-
427
- function requireModule(target, from) {
428
- if (!target) {
429
- throw moduleNotFoundError('');
430
- }
431
-
432
- var resolved = resolve(target, from);
433
- if (!resolved) {
434
- throw moduleNotFoundError(target, from);
435
- }
436
-
437
- var resolvedPath = resolved[0];
438
-
439
- var module = instanceCache[resolvedPath];
440
-
441
- if (module !== undefined) {
442
- // found cached entry based on the path
443
- return module;
444
- }
445
-
446
- // Fixes issue #5 - Ensure modules mapped to globals only load once
447
- // https://github.com/raptorjs/raptor-modules/issues/5
448
- //
449
- // If a module is mapped to a global variable then we want to always
450
- // return that global instance of the module when it is being required
451
- // to avoid duplicate modules being loaded. For modules that are mapped
452
- // to global variables we also add an entry that maps the path
453
- // of the module to the global instance of the loaded module.
454
-
455
- if (loadedGlobalsByRealPath.hasOwnProperty(resolvedPath)) {
456
- return loadedGlobalsByRealPath[resolvedPath];
457
- }
458
-
459
- var factoryOrObject = resolved[1];
460
-
461
- module = new Module(resolvedPath);
462
-
463
- // cache the instance before loading (allows support for circular dependency with partial loading)
464
- instanceCache[resolvedPath] = module;
465
-
466
- module.load(factoryOrObject);
467
-
468
- return module;
469
- }
470
-
471
- function require(target, from) {
472
- var module = requireModule(target, from);
473
- return module.exports;
474
- }
475
-
476
- /*
477
- $_mod.run('/$/installed-module', '/src/foo');
478
- */
479
- function run(path, options) {
480
- var wait = !options || (options.wait !== false);
481
- if (wait && !_ready) {
482
- return runQueue.push([path, options]);
483
- }
484
-
485
- require(path, '/');
486
- }
487
-
488
- /*
489
- * Mark the page as being ready and execute any of the
490
- * run modules that were deferred
491
- */
492
- function ready() {
493
- _ready = true;
494
-
495
- var len;
496
- while((len = runQueue.length)) {
497
- // store a reference to the queue before we reset it
498
- var queue = runQueue;
499
-
500
- // clear out the queue
501
- runQueue = [];
502
-
503
- // run all of the current jobs
504
- for (var i = 0; i < len; i++) {
505
- var args = queue[i];
506
- run(args[0], args[1]);
507
- }
508
-
509
- // stop running jobs in the queue if we change to not ready
510
- if (!_ready) {
511
- break;
512
- }
513
- }
514
- }
515
-
516
- function addSearchPath(prefix) {
517
- searchPaths.push(prefix);
518
- }
519
-
520
- var pendingCount = 0;
521
- var onPendingComplete = function() {
522
- pendingCount--;
523
- if (!pendingCount) {
524
- // Trigger any "require-run" modules in the queue to run
525
- ready();
526
- }
527
- };
528
-
529
- /*
530
- * $_mod is the short-hand version that that the transport layer expects
531
- * to be in the browser window object
532
- */
533
- Module_prototype.__runtime = $_mod = {
534
- /**
535
- * Used to register a module factory/object (*internal*)
536
- */
537
- def: define,
538
-
539
- /**
540
- * Used to register an installed dependency (e.g. "/$/foo" depends on "baz") (*internal*)
541
- */
542
- installed: registerInstalledDependency,
543
- run: run,
544
- main: registerMain,
545
- remap: remap,
546
- builtin: builtin,
547
- require: require,
548
- resolve: resolve,
549
- join: join,
550
- ready: ready,
551
-
552
- /**
553
- * Add a search path entry (internal)
554
- */
555
- searchPath: addSearchPath,
556
-
557
- /**
558
- * Sets the loader metadata for this build.
559
- *
560
- * @param asyncPackageName {String} name of asynchronous package
561
- * @param contentType {String} content type ("js" or "css")
562
- * @param bundleUrl {String} URL of bundle that belongs to package
563
- */
564
- loaderMetadata: function(data) {
565
- // We store loader metadata in the prototype of Module
566
- // so that `lasso-loader` can read it from
567
- // `module.__loaderMetadata`.
568
- Module_prototype.__loaderMetadata = data;
569
- },
570
-
571
- /**
572
- * Asynchronous bundle loaders should call `pending()` to instantiate
573
- * a new job. The object we return here has a `done` method that
574
- * should be called when the job completes. When the number of
575
- * pending jobs drops to 0, we invoke any of the require-run modules
576
- * that have been declared.
577
- */
578
- pending: function() {
579
- _ready = false;
580
- pendingCount++;
581
- return {
582
- done: onPendingComplete
583
- };
584
- }
585
- };
586
-
587
- if (win) {
588
- win.$_mod = $_mod;
589
- } else {
590
- module.exports = $_mod;
591
- }
592
- })();
@@ -1,28 +0,0 @@
1
- $_mod.builtin("assert", "/assert$1.5.0/assert");
2
- $_mod.installed("assert$1.5.0", "object-assign", "4.1.1");
3
- $_mod.main("/object-assign$4.1.1", "");
4
- $_mod.installed("assert$1.5.0", "util", "0.10.3");
5
- $_mod.main("/util$0.10.3", "util");
6
- $_mod.builtin("process", "/process$0.11.10/browser");
7
- $_mod.remap("/util$0.10.3/support/isBuffer", "/util$0.10.3/support/isBufferBrowser");
8
- $_mod.installed("util$0.10.3", "inherits", "2.0.1");
9
- $_mod.main("/inherits$2.0.1", "inherits");
10
- $_mod.remap("/inherits$2.0.1/inherits", "/inherits$2.0.1/inherits_browser");
11
- $_mod.installed("@feathersjs/client$4.5.1", "@feathersjs/tests", "4.5.1");
12
- $_mod.installed("@feathersjs/client$4.5.1", "feathers-memory", "4.1.0");
13
- $_mod.main("/feathers-memory$4.1.0", "lib/index");
14
- $_mod.installed("feathers-memory$4.1.0", "@feathersjs/errors", "4.5.1");
15
- $_mod.main("/@feathersjs/errors$4.5.1", "lib/index");
16
- $_mod.installed("@feathersjs/errors$4.5.1", "debug", "4.1.1");
17
- $_mod.main("/debug$4.1.1", "src/index");
18
- $_mod.remap("/debug$4.1.1/src/index", "/debug$4.1.1/src/browser");
19
- $_mod.installed("debug$4.1.1", "ms", "2.1.2");
20
- $_mod.main("/ms$2.1.2", "");
21
- $_mod.installed("feathers-memory$4.1.0", "@feathersjs/commons", "4.5.1");
22
- $_mod.main("/@feathersjs/commons$4.5.1", "lib/index");
23
- $_mod.installed("feathers-memory$4.1.0", "@feathersjs/adapter-commons", "4.5.1");
24
- $_mod.main("/@feathersjs/adapter-commons$4.5.1", "lib/index");
25
- $_mod.installed("@feathersjs/adapter-commons$4.5.1", "@feathersjs/commons", "4.5.1");
26
- $_mod.installed("@feathersjs/adapter-commons$4.5.1", "@feathersjs/errors", "4.5.1");
27
- $_mod.installed("feathers-memory$4.1.0", "sift", "8.5.1");
28
- $_mod.main("/sift$8.5.1", "lib/index");
@@ -1 +0,0 @@
1
- $_mod.run("/marko$4.18.35/src/runtime/components/boot");