@scout9/app 1.0.0-alpha.0.8.9 → 1.0.0-alpha.0.9.1

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.
@@ -1,5 +1,23 @@
1
1
  'use strict';
2
2
 
3
+ function _callSuper(t, o, e) {
4
+ return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
5
+ }
6
+ function _construct(t, e, r) {
7
+ if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
8
+ var o = [null];
9
+ o.push.apply(o, e);
10
+ var p = new (t.bind.apply(t, o))();
11
+ return r && _setPrototypeOf(p, r.prototype), p;
12
+ }
13
+ function _isNativeReflectConstruct() {
14
+ try {
15
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
16
+ } catch (t) {}
17
+ return (_isNativeReflectConstruct = function () {
18
+ return !!t;
19
+ })();
20
+ }
3
21
  function _iterableToArrayLimit(r, l) {
4
22
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
5
23
  if (null != t) {
@@ -438,6 +456,68 @@ function _defineProperty(obj, key, value) {
438
456
  }
439
457
  return obj;
440
458
  }
459
+ function _inherits(subClass, superClass) {
460
+ if (typeof superClass !== "function" && superClass !== null) {
461
+ throw new TypeError("Super expression must either be null or a function");
462
+ }
463
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
464
+ constructor: {
465
+ value: subClass,
466
+ writable: true,
467
+ configurable: true
468
+ }
469
+ });
470
+ Object.defineProperty(subClass, "prototype", {
471
+ writable: false
472
+ });
473
+ if (superClass) _setPrototypeOf(subClass, superClass);
474
+ }
475
+ function _getPrototypeOf(o) {
476
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
477
+ return o.__proto__ || Object.getPrototypeOf(o);
478
+ };
479
+ return _getPrototypeOf(o);
480
+ }
481
+ function _setPrototypeOf(o, p) {
482
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
483
+ o.__proto__ = p;
484
+ return o;
485
+ };
486
+ return _setPrototypeOf(o, p);
487
+ }
488
+ function _isNativeFunction(fn) {
489
+ try {
490
+ return Function.toString.call(fn).indexOf("[native code]") !== -1;
491
+ } catch (e) {
492
+ return typeof fn === "function";
493
+ }
494
+ }
495
+ function _wrapNativeSuper(Class) {
496
+ var _cache = typeof Map === "function" ? new Map() : undefined;
497
+ _wrapNativeSuper = function _wrapNativeSuper(Class) {
498
+ if (Class === null || !_isNativeFunction(Class)) return Class;
499
+ if (typeof Class !== "function") {
500
+ throw new TypeError("Super expression must either be null or a function");
501
+ }
502
+ if (typeof _cache !== "undefined") {
503
+ if (_cache.has(Class)) return _cache.get(Class);
504
+ _cache.set(Class, Wrapper);
505
+ }
506
+ function Wrapper() {
507
+ return _construct(Class, arguments, _getPrototypeOf(this).constructor);
508
+ }
509
+ Wrapper.prototype = Object.create(Class.prototype, {
510
+ constructor: {
511
+ value: Wrapper,
512
+ enumerable: false,
513
+ writable: true,
514
+ configurable: true
515
+ }
516
+ });
517
+ return _setPrototypeOf(Wrapper, Class);
518
+ };
519
+ return _wrapNativeSuper(Class);
520
+ }
441
521
  function _objectWithoutPropertiesLoose(source, excluded) {
442
522
  if (source == null) return {};
443
523
  var target = {};
@@ -465,6 +545,20 @@ function _objectWithoutProperties(source, excluded) {
465
545
  }
466
546
  return target;
467
547
  }
548
+ function _assertThisInitialized(self) {
549
+ if (self === void 0) {
550
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
551
+ }
552
+ return self;
553
+ }
554
+ function _possibleConstructorReturn(self, call) {
555
+ if (call && (typeof call === "object" || typeof call === "function")) {
556
+ return call;
557
+ } else if (call !== void 0) {
558
+ throw new TypeError("Derived constructors may only return object or undefined");
559
+ }
560
+ return _assertThisInitialized(self);
561
+ }
468
562
  function _slicedToArray(arr, i) {
469
563
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
470
564
  }
@@ -616,7 +710,9 @@ function _classPrivateMethodInitSpec(obj, privateSet) {
616
710
  privateSet.add(obj);
617
711
  }
618
712
 
713
+ exports._assertThisInitialized = _assertThisInitialized;
619
714
  exports._asyncToGenerator = _asyncToGenerator;
715
+ exports._callSuper = _callSuper;
620
716
  exports._classCallCheck = _classCallCheck;
621
717
  exports._classPrivateFieldGet = _classPrivateFieldGet;
622
718
  exports._classPrivateFieldInitSpec = _classPrivateFieldInitSpec;
@@ -627,9 +723,11 @@ exports._classStaticPrivateFieldSpecGet = _classStaticPrivateFieldSpecGet;
627
723
  exports._createClass = _createClass;
628
724
  exports._createForOfIteratorHelper = _createForOfIteratorHelper;
629
725
  exports._defineProperty = _defineProperty;
726
+ exports._inherits = _inherits;
630
727
  exports._objectSpread2 = _objectSpread2;
631
728
  exports._objectWithoutProperties = _objectWithoutProperties;
632
729
  exports._regeneratorRuntime = _regeneratorRuntime;
633
730
  exports._slicedToArray = _slicedToArray;
634
731
  exports._toConsumableArray = _toConsumableArray;
635
732
  exports._typeof = _typeof;
733
+ exports._wrapNativeSuper = _wrapNativeSuper;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _rollupPluginBabelHelpers = require("./_rollupPluginBabelHelpers-606d8129.cjs");
3
+ var _rollupPluginBabelHelpers = require("./_rollupPluginBabelHelpers-9c73c95c.cjs");
4
4
  var require$$0$4 = require('util');
5
5
  var require$$0$3 = require('stream');
6
6
  var require$$1 = require('path');
@@ -21,7 +21,7 @@ var node_url = require('node:url');
21
21
  var node_events = require('node:events');
22
22
  var Stream = require('node:stream');
23
23
  var node_string_decoder = require('node:string_decoder');
24
- var macros = require("./macros-9ad79144.cjs");
24
+ var macros = require("./macros-77983cef.cjs");
25
25
  var readline = require('node:readline');
26
26
  var process$2 = require('node:process');
27
27
  var node_os = require('node:os');
@@ -35338,7 +35338,7 @@ function _loadUserPackageJson() {
35338
35338
  targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
35339
35339
  _context2.t0 = JSON;
35340
35340
  _context2.next = 10;
35341
- return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('dev-c58715b1.js', document.baseURI).href))), 'utf-8');
35341
+ return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('dev-9a3ac888.js', document.baseURI).href))), 'utf-8');
35342
35342
  case 10:
35343
35343
  _context2.t1 = _context2.sent;
35344
35344
  pkg = _context2.t0.parse.call(_context2.t0, _context2.t1);
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var _rollupPluginBabelHelpers = require("./_rollupPluginBabelHelpers-606d8129.cjs");
4
- var dev = require("./dev-c58715b1.cjs");
5
- var macros = require("./macros-9ad79144.cjs");
3
+ var _rollupPluginBabelHelpers = require("./_rollupPluginBabelHelpers-9c73c95c.cjs");
4
+ var dev = require("./dev-9a3ac888.cjs");
5
+ var macros = require("./macros-77983cef.cjs");
6
6
  var require$$0 = require('fs');
7
7
  var require$$2$1 = require('events');
8
8
  var require$$1 = require('path');
@@ -29483,7 +29483,7 @@ class Body {
29483
29483
  }
29484
29484
  const {
29485
29485
  toFormData
29486
- } = await Promise.resolve().then(function () { return require("./multipart-parser-ec335b80.cjs"); });
29486
+ } = await Promise.resolve().then(function () { return require("./multipart-parser-8936e98f.cjs"); });
29487
29487
  return toFormData(this.body, ct);
29488
29488
  }
29489
29489
 
@@ -41884,7 +41884,7 @@ function _loadUserPackageJson() {
41884
41884
  targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
41885
41885
  _context.t0 = JSON;
41886
41886
  _context.next = 10;
41887
- return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-9c237a7b.js', document.baseURI).href))), 'utf-8');
41887
+ return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-426210e7.js', document.baseURI).href))), 'utf-8');
41888
41888
  case 10:
41889
41889
  _context.t1 = _context.sent;
41890
41890
  pkg = _context.t0.parse.call(_context.t0, _context.t1);
@@ -43176,7 +43176,7 @@ var ProjectFiles = /*#__PURE__*/function () {
43176
43176
  return ProjectFiles;
43177
43177
  }();
43178
43178
 
43179
- var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-9c237a7b.js', document.baseURI).href)));
43179
+ var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-426210e7.js', document.baseURI).href)));
43180
43180
  var __dirname$1 = path__default["default"].dirname(__filename$1);
43181
43181
  function zipDirectory(source, out) {
43182
43182
  var archive = archiver$1('tar', {
@@ -43391,7 +43391,7 @@ function _buildApp() {
43391
43391
  case 11:
43392
43392
  _context4.t0 = JSON;
43393
43393
  _context4.next = 14;
43394
- return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-9c237a7b.js', document.baseURI).href))), 'utf-8');
43394
+ return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-426210e7.js', document.baseURI).href))), 'utf-8');
43395
43395
  case 14:
43396
43396
  _context4.t1 = _context4.sent;
43397
43397
  packageTemplate = _context4.t0.parse.call(_context4.t0, _context4.t1);
package/dist/index.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require("./index-9c237a7b.cjs");
6
- var dev = require("./dev-c58715b1.cjs");
7
- require("./_rollupPluginBabelHelpers-606d8129.cjs");
8
- require("./macros-9ad79144.cjs");
5
+ var index = require("./index-426210e7.cjs");
6
+ var dev = require("./dev-9a3ac888.cjs");
7
+ require("./_rollupPluginBabelHelpers-9c73c95c.cjs");
8
+ require("./macros-77983cef.cjs");
9
9
  require('fs');
10
10
  require('events');
11
11
  require('path');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _rollupPluginBabelHelpers = require("./_rollupPluginBabelHelpers-606d8129.cjs");
3
+ var _rollupPluginBabelHelpers = require("./_rollupPluginBabelHelpers-9c73c95c.cjs");
4
4
 
5
5
  var util;
6
6
  (function (util) {
@@ -2,9 +2,9 @@
2
2
 
3
3
  require('node:fs');
4
4
  require('node:path');
5
- var index = require("./index-9c237a7b.cjs");
6
- require("./_rollupPluginBabelHelpers-606d8129.cjs");
7
- require("./dev-c58715b1.cjs");
5
+ var index = require("./index-426210e7.cjs");
6
+ require("./_rollupPluginBabelHelpers-9c73c95c.cjs");
7
+ require("./dev-9a3ac888.cjs");
8
8
  require('util');
9
9
  require('stream');
10
10
  require('path');
@@ -23,7 +23,7 @@ require('node:url');
23
23
  require('node:events');
24
24
  require('node:stream');
25
25
  require('node:string_decoder');
26
- require("./macros-9ad79144.cjs");
26
+ require("./macros-77983cef.cjs");
27
27
  require('node:readline');
28
28
  require('node:process');
29
29
  require('node:os');
package/dist/schemas.cjs CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var macros = require("./macros-9ad79144.cjs");
6
- require("./_rollupPluginBabelHelpers-606d8129.cjs");
5
+ var macros = require("./macros-77983cef.cjs");
6
+ require("./_rollupPluginBabelHelpers-9c73c95c.cjs");
7
7
 
8
8
 
9
9