Kaynağa Gözat

更换接口日常优化

master
dong 1 yıl önce
ebeveyn
işleme
488fa3b88d
100 değiştirilmiş dosya ile 5097 ekleme ve 27 silme
  1. 37
    18
      api/index.js
  2. 4
    5
      ec-canvas/wx-canvas.js
  3. 48
    0
      miniprogram_npm/call-bind/index.js
  4. 1
    0
      miniprogram_npm/call-bind/index.js.map
  5. 2
    2
      miniprogram_npm/dayjs/index.js
  6. 69
    0
      miniprogram_npm/define-data-property/index.js
  7. 1
    0
      miniprogram_npm/define-data-property/index.js.map
  8. 29
    0
      miniprogram_npm/es-define-property/index.js
  9. 1
    0
      miniprogram_npm/es-define-property/index.js.map
  10. 17
    0
      miniprogram_npm/es-errors/index.js
  11. 1
    0
      miniprogram_npm/es-errors/index.js.map
  12. 105
    0
      miniprogram_npm/function-bind/index.js
  13. 1
    0
      miniprogram_npm/function-bind/index.js.map
  14. 372
    0
      miniprogram_npm/get-intrinsic/index.js
  15. 1
    0
      miniprogram_npm/get-intrinsic/index.js.map
  16. 29
    0
      miniprogram_npm/gopd/index.js
  17. 1
    0
      miniprogram_npm/gopd/index.js.map
  18. 35
    0
      miniprogram_npm/has-property-descriptors/index.js
  19. 1
    0
      miniprogram_npm/has-property-descriptors/index.js.map
  20. 28
    0
      miniprogram_npm/has-proto/index.js
  21. 1
    0
      miniprogram_npm/has-proto/index.js.map
  22. 71
    0
      miniprogram_npm/has-symbols/index.js
  23. 1
    0
      miniprogram_npm/has-symbols/index.js.map
  24. 21
    0
      miniprogram_npm/hasown/index.js
  25. 1
    0
      miniprogram_npm/hasown/index.js.map
  26. 2
    2
      miniprogram_npm/moment/index.js
  27. 544
    0
      miniprogram_npm/object-inspect/index.js
  28. 1
    0
      miniprogram_npm/object-inspect/index.js.map
  29. 964
    0
      miniprogram_npm/qs/index.js
  30. 1
    0
      miniprogram_npm/qs/index.js.map
  31. 55
    0
      miniprogram_npm/set-function-length/index.js
  32. 1
    0
      miniprogram_npm/set-function-length/index.js.map
  33. 142
    0
      miniprogram_npm/side-channel/index.js
  34. 1
    0
      miniprogram_npm/side-channel/index.js.map
  35. 192
    0
      node_modules/.package-lock.json
  36. 1
    0
      node_modules/call-bind/.eslintignore
  37. 16
    0
      node_modules/call-bind/.eslintrc
  38. 12
    0
      node_modules/call-bind/.github/FUNDING.yml
  39. 9
    0
      node_modules/call-bind/.nycrc
  40. 93
    0
      node_modules/call-bind/CHANGELOG.md
  41. 21
    0
      node_modules/call-bind/LICENSE
  42. 64
    0
      node_modules/call-bind/README.md
  43. 15
    0
      node_modules/call-bind/callBound.js
  44. 35
    0
      node_modules/call-bind/index.js
  45. 95
    0
      node_modules/call-bind/package.json
  46. 54
    0
      node_modules/call-bind/test/callBound.js
  47. 80
    0
      node_modules/call-bind/test/index.js
  48. 24
    0
      node_modules/define-data-property/.eslintrc
  49. 12
    0
      node_modules/define-data-property/.github/FUNDING.yml
  50. 13
    0
      node_modules/define-data-property/.nycrc
  51. 70
    0
      node_modules/define-data-property/CHANGELOG.md
  52. 21
    0
      node_modules/define-data-property/LICENSE
  53. 67
    0
      node_modules/define-data-property/README.md
  54. 12
    0
      node_modules/define-data-property/index.d.ts
  55. 56
    0
      node_modules/define-data-property/index.js
  56. 106
    0
      node_modules/define-data-property/package.json
  57. 392
    0
      node_modules/define-data-property/test/index.js
  58. 59
    0
      node_modules/define-data-property/tsconfig.json
  59. 13
    0
      node_modules/es-define-property/.eslintrc
  60. 12
    0
      node_modules/es-define-property/.github/FUNDING.yml
  61. 9
    0
      node_modules/es-define-property/.nycrc
  62. 15
    0
      node_modules/es-define-property/CHANGELOG.md
  63. 21
    0
      node_modules/es-define-property/LICENSE
  64. 49
    0
      node_modules/es-define-property/README.md
  65. 3
    0
      node_modules/es-define-property/index.d.ts
  66. 16
    0
      node_modules/es-define-property/index.js
  67. 81
    0
      node_modules/es-define-property/package.json
  68. 55
    0
      node_modules/es-define-property/test/index.js
  69. 50
    0
      node_modules/es-define-property/tsconfig.json
  70. 5
    0
      node_modules/es-errors/.eslintrc
  71. 12
    0
      node_modules/es-errors/.github/FUNDING.yml
  72. 40
    0
      node_modules/es-errors/CHANGELOG.md
  73. 21
    0
      node_modules/es-errors/LICENSE
  74. 55
    0
      node_modules/es-errors/README.md
  75. 3
    0
      node_modules/es-errors/eval.d.ts
  76. 4
    0
      node_modules/es-errors/eval.js
  77. 3
    0
      node_modules/es-errors/index.d.ts
  78. 4
    0
      node_modules/es-errors/index.js
  79. 80
    0
      node_modules/es-errors/package.json
  80. 3
    0
      node_modules/es-errors/range.d.ts
  81. 4
    0
      node_modules/es-errors/range.js
  82. 3
    0
      node_modules/es-errors/ref.d.ts
  83. 4
    0
      node_modules/es-errors/ref.js
  84. 3
    0
      node_modules/es-errors/syntax.d.ts
  85. 4
    0
      node_modules/es-errors/syntax.js
  86. 19
    0
      node_modules/es-errors/test/index.js
  87. 49
    0
      node_modules/es-errors/tsconfig.json
  88. 3
    0
      node_modules/es-errors/type.d.ts
  89. 4
    0
      node_modules/es-errors/type.js
  90. 3
    0
      node_modules/es-errors/uri.d.ts
  91. 4
    0
      node_modules/es-errors/uri.js
  92. 21
    0
      node_modules/function-bind/.eslintrc
  93. 12
    0
      node_modules/function-bind/.github/FUNDING.yml
  94. 3
    0
      node_modules/function-bind/.github/SECURITY.md
  95. 13
    0
      node_modules/function-bind/.nycrc
  96. 136
    0
      node_modules/function-bind/CHANGELOG.md
  97. 20
    0
      node_modules/function-bind/LICENSE
  98. 46
    0
      node_modules/function-bind/README.md
  99. 84
    0
      node_modules/function-bind/implementation.js
  100. 0
    0
      node_modules/function-bind/index.js

+ 37
- 18
api/index.js Dosyayı Görüntüle

@@ -1,27 +1,36 @@
1 1
 // api.jshttp://zlink.bjdexn.cn
2
-// const baseUrl = 'http://192.168.8.198:8888';  // 替换为您的接口基础 URL
3
-const baseUrl = 'https://www.bjdexn.cn:8443';  // 替换为您的接口基础 URL
4
-// const baseUrl = 'https://esos-iot.bjdexn.cn';  // 替换为您的接口基础 URL
5
-
6
-// 封装网络请求方法
2
+// const baseUrl = 'https://www.bjdexn.cn:8443';  // 替换为您的接口基础 URL
3
+const baseUrl = 'https://esos-iot.bjdexn.cn';  // 线上
4
+// const baseUrl = 'http://192.168.8.105:8888';  // 替换为您的接口基础 URL
5
+// 
6
+// 封装网络请求方法 
7 7
 function request(url, method, data) {
8 8
   return new Promise((resolve, reject) => {
9
-   if (url!='/auth/login') {
9
+   if (url!='/platform/login') {
10 10
     wx.request({
11 11
       url: baseUrl + url,
12 12
       header: {
13
-        "Authorization":`Bearer ${wx.getStorageSync('cookies')}`,
14
-        'Content-Type': 'json'},
13
+        "Cookie":`${wx.getStorageSync('cookies')}`,
14
+        'Content-Type': 'application/x-www-form-urlencoded'},
15 15
       method: method,
16 16
       data:data,
17 17
       success:function(res) {
18
+        console.log(res.cookies.length==0);
18 19
         // 请求成功处理
19
-        if (res.statusCode === 200 && res.data.status=='ok') {
20
+        if (res.statusCode === 200 && res.data.code==0) {
20 21
           resolve(res.data);
21
-        } else if(res.statusCode === 403||res.statusCode === 401) {
22
-           wx.navigateTo({
23
-          url: '/pages/login/index', // 登录页面的路径,注意路径前面加上 '/' 表示从根目录开始
24
-        });
22
+        } else if(res.statusCode === 320||res.statusCode === 403||res.statusCode === 401||res.statusCode === 400||res.cookies.length==0) {
23
+          wx.clearStorage({
24
+            success: function() {
25
+              // wx.showToast({
26
+              //   title: '缓存清除成功',
27
+              //   icon: 'success'
28
+              // });
29
+              wx.navigateTo({
30
+                url: '/pages/login/index', // 登录页面的路径,注意路径前面加上 '/' 表示从根目录开始
31
+              });
32
+            }
33
+          });
25 34
         }else{
26 35
           reject(res.data);
27 36
           // wx.navigateTo({
@@ -30,8 +39,17 @@ function request(url, method, data) {
30 39
         }
31 40
       },
32 41
       fail:function(err) {
33
-        wx.navigateTo({
34
-          url: '/pages/login/index', // 登录页面的路径,注意路径前面加上 '/' 表示从根目录开始
42
+        console.log(err);
43
+        wx.clearStorage({
44
+          success: function() {
45
+            // wx.showToast({
46
+            //   title: '缓存清除成功',
47
+            //   icon: 'success'
48
+            // });
49
+            wx.navigateTo({
50
+              url: '/pages/login/index', // 登录页面的路径,注意路径前面加上 '/' 表示从根目录开始
51
+            });
52
+          }
35 53
         });
36 54
       }
37 55
     });
@@ -39,12 +57,12 @@ function request(url, method, data) {
39 57
     wx.request({
40 58
       url: baseUrl + url,
41 59
       header: {
42
-        'Content-Type': 'json'},
60
+        'Content-Type': 'application/x-www-form-urlencoded'},
43 61
       method: method,
44 62
       data:data,
45 63
       success:function(res) {
46 64
         // 请求成功处理
47
-        if (res.statusCode === 200&&res.data.status=='ok') {
65
+        if (res.statusCode === 200) {
48 66
           resolve(res.data);
49 67
         } else {
50 68
           reject(res.data);
@@ -88,4 +106,5 @@ module.exports = {
88 106
 //   .catch((err) => {
89 107
 //     console.error('请求失败:', err);
90 108
 //     // 在这里处理请求失败的情况
91
-//   });
109
+//  });
110
+// 

+ 4
- 5
ec-canvas/wx-canvas.js Dosyayı Görüntüle

@@ -76,13 +76,12 @@ export default class WxCanvas {
76 76
 
77 77
   _initEvent() {
78 78
     this.event = {};
79
-    const eventNames = [{
79
+    const eventNames = [
80
+      {
80 81
       wxName: 'touchStart',
81 82
       ecName: 'mousedown'
82
-    }, {
83
-      wxName: 'touchMove',
84
-      ecName: 'mousemove'
85
-    }, {
83
+    },
84
+     {
86 85
       wxName: 'touchEnd',
87 86
       ecName: 'mouseup'
88 87
     }, {

+ 48
- 0
miniprogram_npm/call-bind/index.js Dosyayı Görüntüle

@@ -0,0 +1,48 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221101, function(require, module, exports) {
8
+
9
+
10
+var bind = require('function-bind');
11
+var GetIntrinsic = require('get-intrinsic');
12
+var setFunctionLength = require('set-function-length');
13
+
14
+var $TypeError = require('es-errors/type');
15
+var $apply = GetIntrinsic('%Function.prototype.apply%');
16
+var $call = GetIntrinsic('%Function.prototype.call%');
17
+var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
18
+
19
+var $defineProperty = require('es-define-property');
20
+var $max = GetIntrinsic('%Math.max%');
21
+
22
+module.exports = function callBind(originalFunction) {
23
+	if (typeof originalFunction !== 'function') {
24
+		throw new $TypeError('a function is required');
25
+	}
26
+	var func = $reflectApply(bind, $call, arguments);
27
+	return setFunctionLength(
28
+		func,
29
+		1 + $max(0, originalFunction.length - (arguments.length - 1)),
30
+		true
31
+	);
32
+};
33
+
34
+var applyBind = function applyBind() {
35
+	return $reflectApply(bind, $apply, arguments);
36
+};
37
+
38
+if ($defineProperty) {
39
+	$defineProperty(module.exports, 'apply', { value: applyBind });
40
+} else {
41
+	module.exports.apply = applyBind;
42
+}
43
+
44
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
45
+return __REQUIRE__(1729044221101);
46
+})()
47
+//miniprogram-npm-outsideDeps=["function-bind","get-intrinsic","set-function-length","es-errors/type","es-define-property"]
48
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/call-bind/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\nvar setFunctionLength = require('set-function-length');\n\nvar $TypeError = require('es-errors/type');\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $defineProperty = require('es-define-property');\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function callBind(originalFunction) {\n\tif (typeof originalFunction !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\tvar func = $reflectApply(bind, $call, arguments);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + $max(0, originalFunction.length - (arguments.length - 1)),\n\t\ttrue\n\t);\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n"]}

+ 2
- 2
miniprogram_npm/dayjs/index.js
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 69
- 0
miniprogram_npm/define-data-property/index.js Dosyayı Görüntüle

@@ -0,0 +1,69 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221103, function(require, module, exports) {
8
+
9
+
10
+var $defineProperty = require('es-define-property');
11
+
12
+var $SyntaxError = require('es-errors/syntax');
13
+var $TypeError = require('es-errors/type');
14
+
15
+var gopd = require('gopd');
16
+
17
+/** @type {import('.')} */
18
+module.exports = function defineDataProperty(
19
+	obj,
20
+	property,
21
+	value
22
+) {
23
+	if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
24
+		throw new $TypeError('`obj` must be an object or a function`');
25
+	}
26
+	if (typeof property !== 'string' && typeof property !== 'symbol') {
27
+		throw new $TypeError('`property` must be a string or a symbol`');
28
+	}
29
+	if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
30
+		throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
31
+	}
32
+	if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
33
+		throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
34
+	}
35
+	if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
36
+		throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
37
+	}
38
+	if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
39
+		throw new $TypeError('`loose`, if provided, must be a boolean');
40
+	}
41
+
42
+	var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
43
+	var nonWritable = arguments.length > 4 ? arguments[4] : null;
44
+	var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
45
+	var loose = arguments.length > 6 ? arguments[6] : false;
46
+
47
+	/* @type {false | TypedPropertyDescriptor<unknown>} */
48
+	var desc = !!gopd && gopd(obj, property);
49
+
50
+	if ($defineProperty) {
51
+		$defineProperty(obj, property, {
52
+			configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
53
+			enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
54
+			value: value,
55
+			writable: nonWritable === null && desc ? desc.writable : !nonWritable
56
+		});
57
+	} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
58
+		// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
59
+		obj[property] = value; // eslint-disable-line no-param-reassign
60
+	} else {
61
+		throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
62
+	}
63
+};
64
+
65
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
66
+return __REQUIRE__(1729044221103);
67
+})()
68
+//miniprogram-npm-outsideDeps=["es-define-property","es-errors/syntax","es-errors/type","gopd"]
69
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/define-data-property/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n"]}

+ 29
- 0
miniprogram_npm/es-define-property/index.js Dosyayı Görüntüle

@@ -0,0 +1,29 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221104, function(require, module, exports) {
8
+
9
+
10
+var GetIntrinsic = require('get-intrinsic');
11
+
12
+/** @type {import('.')} */
13
+var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
14
+if ($defineProperty) {
15
+	try {
16
+		$defineProperty({}, 'a', { value: 1 });
17
+	} catch (e) {
18
+		// IE 8 has a broken defineProperty
19
+		$defineProperty = false;
20
+	}
21
+}
22
+
23
+module.exports = $defineProperty;
24
+
25
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
26
+return __REQUIRE__(1729044221104);
27
+})()
28
+//miniprogram-npm-outsideDeps=["get-intrinsic"]
29
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/es-define-property/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar GetIntrinsic = require('get-intrinsic');\n\n/** @type {import('.')} */\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n"]}

+ 17
- 0
miniprogram_npm/es-errors/index.js Dosyayı Görüntüle

@@ -0,0 +1,17 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221105, function(require, module, exports) {
8
+
9
+
10
+/** @type {import('.')} */
11
+module.exports = Error;
12
+
13
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
14
+return __REQUIRE__(1729044221105);
15
+})()
16
+//miniprogram-npm-outsideDeps=[]
17
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/es-errors/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\n/** @type {import('.')} */\nmodule.exports = Error;\n"]}

+ 105
- 0
miniprogram_npm/function-bind/index.js Dosyayı Görüntüle

@@ -0,0 +1,105 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221106, function(require, module, exports) {
8
+
9
+
10
+var implementation = require('./implementation');
11
+
12
+module.exports = Function.prototype.bind || implementation;
13
+
14
+}, function(modId) {var map = {"./implementation":1729044221107}; return __REQUIRE__(map[modId], modId); })
15
+__DEFINE__(1729044221107, function(require, module, exports) {
16
+
17
+
18
+/* eslint no-invalid-this: 1 */
19
+
20
+var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
21
+var toStr = Object.prototype.toString;
22
+var max = Math.max;
23
+var funcType = '[object Function]';
24
+
25
+var concatty = function concatty(a, b) {
26
+    var arr = [];
27
+
28
+    for (var i = 0; i < a.length; i += 1) {
29
+        arr[i] = a[i];
30
+    }
31
+    for (var j = 0; j < b.length; j += 1) {
32
+        arr[j + a.length] = b[j];
33
+    }
34
+
35
+    return arr;
36
+};
37
+
38
+var slicy = function slicy(arrLike, offset) {
39
+    var arr = [];
40
+    for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
41
+        arr[j] = arrLike[i];
42
+    }
43
+    return arr;
44
+};
45
+
46
+var joiny = function (arr, joiner) {
47
+    var str = '';
48
+    for (var i = 0; i < arr.length; i += 1) {
49
+        str += arr[i];
50
+        if (i + 1 < arr.length) {
51
+            str += joiner;
52
+        }
53
+    }
54
+    return str;
55
+};
56
+
57
+module.exports = function bind(that) {
58
+    var target = this;
59
+    if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
60
+        throw new TypeError(ERROR_MESSAGE + target);
61
+    }
62
+    var args = slicy(arguments, 1);
63
+
64
+    var bound;
65
+    var binder = function () {
66
+        if (this instanceof bound) {
67
+            var result = target.apply(
68
+                this,
69
+                concatty(args, arguments)
70
+            );
71
+            if (Object(result) === result) {
72
+                return result;
73
+            }
74
+            return this;
75
+        }
76
+        return target.apply(
77
+            that,
78
+            concatty(args, arguments)
79
+        );
80
+
81
+    };
82
+
83
+    var boundLength = max(0, target.length - args.length);
84
+    var boundArgs = [];
85
+    for (var i = 0; i < boundLength; i++) {
86
+        boundArgs[i] = '$' + i;
87
+    }
88
+
89
+    bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
90
+
91
+    if (target.prototype) {
92
+        var Empty = function Empty() {};
93
+        Empty.prototype = target.prototype;
94
+        bound.prototype = new Empty();
95
+        Empty.prototype = null;
96
+    }
97
+
98
+    return bound;
99
+};
100
+
101
+}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
102
+return __REQUIRE__(1729044221106);
103
+})()
104
+//miniprogram-npm-outsideDeps=[]
105
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/function-bind/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js","implementation.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;ACFA,ADGA;ACFA,ADGA;ACFA,ADGA;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n    var arr = [];\n\n    for (var i = 0; i < a.length; i += 1) {\n        arr[i] = a[i];\n    }\n    for (var j = 0; j < b.length; j += 1) {\n        arr[j + a.length] = b[j];\n    }\n\n    return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n    var arr = [];\n    for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n        arr[j] = arrLike[i];\n    }\n    return arr;\n};\n\nvar joiny = function (arr, joiner) {\n    var str = '';\n    for (var i = 0; i < arr.length; i += 1) {\n        str += arr[i];\n        if (i + 1 < arr.length) {\n            str += joiner;\n        }\n    }\n    return str;\n};\n\nmodule.exports = function bind(that) {\n    var target = this;\n    if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n        throw new TypeError(ERROR_MESSAGE + target);\n    }\n    var args = slicy(arguments, 1);\n\n    var bound;\n    var binder = function () {\n        if (this instanceof bound) {\n            var result = target.apply(\n                this,\n                concatty(args, arguments)\n            );\n            if (Object(result) === result) {\n                return result;\n            }\n            return this;\n        }\n        return target.apply(\n            that,\n            concatty(args, arguments)\n        );\n\n    };\n\n    var boundLength = max(0, target.length - args.length);\n    var boundArgs = [];\n    for (var i = 0; i < boundLength; i++) {\n        boundArgs[i] = '$' + i;\n    }\n\n    bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n    if (target.prototype) {\n        var Empty = function Empty() {};\n        Empty.prototype = target.prototype;\n        bound.prototype = new Empty();\n        Empty.prototype = null;\n    }\n\n    return bound;\n};\n"]}

+ 372
- 0
miniprogram_npm/get-intrinsic/index.js Dosyayı Görüntüle

@@ -0,0 +1,372 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221108, function(require, module, exports) {
8
+
9
+
10
+var undefined;
11
+
12
+var $Error = require('es-errors');
13
+var $EvalError = require('es-errors/eval');
14
+var $RangeError = require('es-errors/range');
15
+var $ReferenceError = require('es-errors/ref');
16
+var $SyntaxError = require('es-errors/syntax');
17
+var $TypeError = require('es-errors/type');
18
+var $URIError = require('es-errors/uri');
19
+
20
+var $Function = Function;
21
+
22
+// eslint-disable-next-line consistent-return
23
+var getEvalledConstructor = function (expressionSyntax) {
24
+	try {
25
+		return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
26
+	} catch (e) {}
27
+};
28
+
29
+var $gOPD = Object.getOwnPropertyDescriptor;
30
+if ($gOPD) {
31
+	try {
32
+		$gOPD({}, '');
33
+	} catch (e) {
34
+		$gOPD = null; // this is IE 8, which has a broken gOPD
35
+	}
36
+}
37
+
38
+var throwTypeError = function () {
39
+	throw new $TypeError();
40
+};
41
+var ThrowTypeError = $gOPD
42
+	? (function () {
43
+		try {
44
+			// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
45
+			arguments.callee; // IE 8 does not throw here
46
+			return throwTypeError;
47
+		} catch (calleeThrows) {
48
+			try {
49
+				// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
50
+				return $gOPD(arguments, 'callee').get;
51
+			} catch (gOPDthrows) {
52
+				return throwTypeError;
53
+			}
54
+		}
55
+	}())
56
+	: throwTypeError;
57
+
58
+var hasSymbols = require('has-symbols')();
59
+var hasProto = require('has-proto')();
60
+
61
+var getProto = Object.getPrototypeOf || (
62
+	hasProto
63
+		? function (x) { return x.__proto__; } // eslint-disable-line no-proto
64
+		: null
65
+);
66
+
67
+var needsEval = {};
68
+
69
+var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
70
+
71
+var INTRINSICS = {
72
+	__proto__: null,
73
+	'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
74
+	'%Array%': Array,
75
+	'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
76
+	'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
77
+	'%AsyncFromSyncIteratorPrototype%': undefined,
78
+	'%AsyncFunction%': needsEval,
79
+	'%AsyncGenerator%': needsEval,
80
+	'%AsyncGeneratorFunction%': needsEval,
81
+	'%AsyncIteratorPrototype%': needsEval,
82
+	'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
83
+	'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
84
+	'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,
85
+	'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,
86
+	'%Boolean%': Boolean,
87
+	'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
88
+	'%Date%': Date,
89
+	'%decodeURI%': decodeURI,
90
+	'%decodeURIComponent%': decodeURIComponent,
91
+	'%encodeURI%': encodeURI,
92
+	'%encodeURIComponent%': encodeURIComponent,
93
+	'%Error%': $Error,
94
+	'%eval%': eval, // eslint-disable-line no-eval
95
+	'%EvalError%': $EvalError,
96
+	'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
97
+	'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
98
+	'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
99
+	'%Function%': $Function,
100
+	'%GeneratorFunction%': needsEval,
101
+	'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
102
+	'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
103
+	'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
104
+	'%isFinite%': isFinite,
105
+	'%isNaN%': isNaN,
106
+	'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
107
+	'%JSON%': typeof JSON === 'object' ? JSON : undefined,
108
+	'%Map%': typeof Map === 'undefined' ? undefined : Map,
109
+	'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
110
+	'%Math%': Math,
111
+	'%Number%': Number,
112
+	'%Object%': Object,
113
+	'%parseFloat%': parseFloat,
114
+	'%parseInt%': parseInt,
115
+	'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
116
+	'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
117
+	'%RangeError%': $RangeError,
118
+	'%ReferenceError%': $ReferenceError,
119
+	'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
120
+	'%RegExp%': RegExp,
121
+	'%Set%': typeof Set === 'undefined' ? undefined : Set,
122
+	'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
123
+	'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
124
+	'%String%': String,
125
+	'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
126
+	'%Symbol%': hasSymbols ? Symbol : undefined,
127
+	'%SyntaxError%': $SyntaxError,
128
+	'%ThrowTypeError%': ThrowTypeError,
129
+	'%TypedArray%': TypedArray,
130
+	'%TypeError%': $TypeError,
131
+	'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
132
+	'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
133
+	'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
134
+	'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
135
+	'%URIError%': $URIError,
136
+	'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
137
+	'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
138
+	'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
139
+};
140
+
141
+if (getProto) {
142
+	try {
143
+		null.error; // eslint-disable-line no-unused-expressions
144
+	} catch (e) {
145
+		// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
146
+		var errorProto = getProto(getProto(e));
147
+		INTRINSICS['%Error.prototype%'] = errorProto;
148
+	}
149
+}
150
+
151
+var doEval = function doEval(name) {
152
+	var value;
153
+	if (name === '%AsyncFunction%') {
154
+		value = getEvalledConstructor('async function () {}');
155
+	} else if (name === '%GeneratorFunction%') {
156
+		value = getEvalledConstructor('function* () {}');
157
+	} else if (name === '%AsyncGeneratorFunction%') {
158
+		value = getEvalledConstructor('async function* () {}');
159
+	} else if (name === '%AsyncGenerator%') {
160
+		var fn = doEval('%AsyncGeneratorFunction%');
161
+		if (fn) {
162
+			value = fn.prototype;
163
+		}
164
+	} else if (name === '%AsyncIteratorPrototype%') {
165
+		var gen = doEval('%AsyncGenerator%');
166
+		if (gen && getProto) {
167
+			value = getProto(gen.prototype);
168
+		}
169
+	}
170
+
171
+	INTRINSICS[name] = value;
172
+
173
+	return value;
174
+};
175
+
176
+var LEGACY_ALIASES = {
177
+	__proto__: null,
178
+	'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
179
+	'%ArrayPrototype%': ['Array', 'prototype'],
180
+	'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
181
+	'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
182
+	'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
183
+	'%ArrayProto_values%': ['Array', 'prototype', 'values'],
184
+	'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
185
+	'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
186
+	'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
187
+	'%BooleanPrototype%': ['Boolean', 'prototype'],
188
+	'%DataViewPrototype%': ['DataView', 'prototype'],
189
+	'%DatePrototype%': ['Date', 'prototype'],
190
+	'%ErrorPrototype%': ['Error', 'prototype'],
191
+	'%EvalErrorPrototype%': ['EvalError', 'prototype'],
192
+	'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
193
+	'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
194
+	'%FunctionPrototype%': ['Function', 'prototype'],
195
+	'%Generator%': ['GeneratorFunction', 'prototype'],
196
+	'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
197
+	'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
198
+	'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
199
+	'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
200
+	'%JSONParse%': ['JSON', 'parse'],
201
+	'%JSONStringify%': ['JSON', 'stringify'],
202
+	'%MapPrototype%': ['Map', 'prototype'],
203
+	'%NumberPrototype%': ['Number', 'prototype'],
204
+	'%ObjectPrototype%': ['Object', 'prototype'],
205
+	'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
206
+	'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
207
+	'%PromisePrototype%': ['Promise', 'prototype'],
208
+	'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
209
+	'%Promise_all%': ['Promise', 'all'],
210
+	'%Promise_reject%': ['Promise', 'reject'],
211
+	'%Promise_resolve%': ['Promise', 'resolve'],
212
+	'%RangeErrorPrototype%': ['RangeError', 'prototype'],
213
+	'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
214
+	'%RegExpPrototype%': ['RegExp', 'prototype'],
215
+	'%SetPrototype%': ['Set', 'prototype'],
216
+	'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
217
+	'%StringPrototype%': ['String', 'prototype'],
218
+	'%SymbolPrototype%': ['Symbol', 'prototype'],
219
+	'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
220
+	'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
221
+	'%TypeErrorPrototype%': ['TypeError', 'prototype'],
222
+	'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
223
+	'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
224
+	'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
225
+	'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
226
+	'%URIErrorPrototype%': ['URIError', 'prototype'],
227
+	'%WeakMapPrototype%': ['WeakMap', 'prototype'],
228
+	'%WeakSetPrototype%': ['WeakSet', 'prototype']
229
+};
230
+
231
+var bind = require('function-bind');
232
+var hasOwn = require('hasown');
233
+var $concat = bind.call(Function.call, Array.prototype.concat);
234
+var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
235
+var $replace = bind.call(Function.call, String.prototype.replace);
236
+var $strSlice = bind.call(Function.call, String.prototype.slice);
237
+var $exec = bind.call(Function.call, RegExp.prototype.exec);
238
+
239
+/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
240
+var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
241
+var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
242
+var stringToPath = function stringToPath(string) {
243
+	var first = $strSlice(string, 0, 1);
244
+	var last = $strSlice(string, -1);
245
+	if (first === '%' && last !== '%') {
246
+		throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
247
+	} else if (last === '%' && first !== '%') {
248
+		throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
249
+	}
250
+	var result = [];
251
+	$replace(string, rePropName, function (match, number, quote, subString) {
252
+		result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
253
+	});
254
+	return result;
255
+};
256
+/* end adaptation */
257
+
258
+var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
259
+	var intrinsicName = name;
260
+	var alias;
261
+	if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
262
+		alias = LEGACY_ALIASES[intrinsicName];
263
+		intrinsicName = '%' + alias[0] + '%';
264
+	}
265
+
266
+	if (hasOwn(INTRINSICS, intrinsicName)) {
267
+		var value = INTRINSICS[intrinsicName];
268
+		if (value === needsEval) {
269
+			value = doEval(intrinsicName);
270
+		}
271
+		if (typeof value === 'undefined' && !allowMissing) {
272
+			throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
273
+		}
274
+
275
+		return {
276
+			alias: alias,
277
+			name: intrinsicName,
278
+			value: value
279
+		};
280
+	}
281
+
282
+	throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
283
+};
284
+
285
+module.exports = function GetIntrinsic(name, allowMissing) {
286
+	if (typeof name !== 'string' || name.length === 0) {
287
+		throw new $TypeError('intrinsic name must be a non-empty string');
288
+	}
289
+	if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
290
+		throw new $TypeError('"allowMissing" argument must be a boolean');
291
+	}
292
+
293
+	if ($exec(/^%?[^%]*%?$/, name) === null) {
294
+		throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
295
+	}
296
+	var parts = stringToPath(name);
297
+	var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
298
+
299
+	var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
300
+	var intrinsicRealName = intrinsic.name;
301
+	var value = intrinsic.value;
302
+	var skipFurtherCaching = false;
303
+
304
+	var alias = intrinsic.alias;
305
+	if (alias) {
306
+		intrinsicBaseName = alias[0];
307
+		$spliceApply(parts, $concat([0, 1], alias));
308
+	}
309
+
310
+	for (var i = 1, isOwn = true; i < parts.length; i += 1) {
311
+		var part = parts[i];
312
+		var first = $strSlice(part, 0, 1);
313
+		var last = $strSlice(part, -1);
314
+		if (
315
+			(
316
+				(first === '"' || first === "'" || first === '`')
317
+				|| (last === '"' || last === "'" || last === '`')
318
+			)
319
+			&& first !== last
320
+		) {
321
+			throw new $SyntaxError('property names with quotes must have matching quotes');
322
+		}
323
+		if (part === 'constructor' || !isOwn) {
324
+			skipFurtherCaching = true;
325
+		}
326
+
327
+		intrinsicBaseName += '.' + part;
328
+		intrinsicRealName = '%' + intrinsicBaseName + '%';
329
+
330
+		if (hasOwn(INTRINSICS, intrinsicRealName)) {
331
+			value = INTRINSICS[intrinsicRealName];
332
+		} else if (value != null) {
333
+			if (!(part in value)) {
334
+				if (!allowMissing) {
335
+					throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
336
+				}
337
+				return void undefined;
338
+			}
339
+			if ($gOPD && (i + 1) >= parts.length) {
340
+				var desc = $gOPD(value, part);
341
+				isOwn = !!desc;
342
+
343
+				// By convention, when a data property is converted to an accessor
344
+				// property to emulate a data property that does not suffer from
345
+				// the override mistake, that accessor's getter is marked with
346
+				// an `originalValue` property. Here, when we detect this, we
347
+				// uphold the illusion by pretending to see that original data
348
+				// property, i.e., returning the value rather than the getter
349
+				// itself.
350
+				if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
351
+					value = desc.get;
352
+				} else {
353
+					value = value[part];
354
+				}
355
+			} else {
356
+				isOwn = hasOwn(value, part);
357
+				value = value[part];
358
+			}
359
+
360
+			if (isOwn && !skipFurtherCaching) {
361
+				INTRINSICS[intrinsicRealName] = value;
362
+			}
363
+		}
364
+	}
365
+	return value;
366
+};
367
+
368
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
369
+return __REQUIRE__(1729044221108);
370
+})()
371
+//miniprogram-npm-outsideDeps=["es-errors","es-errors/eval","es-errors/range","es-errors/ref","es-errors/syntax","es-errors/type","es-errors/uri","has-symbols","has-proto","function-bind","hasown"]
372
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/get-intrinsic/index.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 29
- 0
miniprogram_npm/gopd/index.js Dosyayı Görüntüle

@@ -0,0 +1,29 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221109, function(require, module, exports) {
8
+
9
+
10
+var GetIntrinsic = require('get-intrinsic');
11
+
12
+var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
13
+
14
+if ($gOPD) {
15
+	try {
16
+		$gOPD([], 'length');
17
+	} catch (e) {
18
+		// IE 8 has a broken gOPD
19
+		$gOPD = null;
20
+	}
21
+}
22
+
23
+module.exports = $gOPD;
24
+
25
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
26
+return __REQUIRE__(1729044221109);
27
+})()
28
+//miniprogram-npm-outsideDeps=["get-intrinsic"]
29
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/gopd/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n"]}

+ 35
- 0
miniprogram_npm/has-property-descriptors/index.js Dosyayı Görüntüle

@@ -0,0 +1,35 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221110, function(require, module, exports) {
8
+
9
+
10
+var $defineProperty = require('es-define-property');
11
+
12
+var hasPropertyDescriptors = function hasPropertyDescriptors() {
13
+	return !!$defineProperty;
14
+};
15
+
16
+hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
17
+	// node v0.6 has a bug where array lengths can be Set but not Defined
18
+	if (!$defineProperty) {
19
+		return null;
20
+	}
21
+	try {
22
+		return $defineProperty([], 'length', { value: 1 }).length !== 1;
23
+	} catch (e) {
24
+		// In Firefox 4-22, defining length on an array throws an exception.
25
+		return true;
26
+	}
27
+};
28
+
29
+module.exports = hasPropertyDescriptors;
30
+
31
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
32
+return __REQUIRE__(1729044221110);
33
+})()
34
+//miniprogram-npm-outsideDeps=["es-define-property"]
35
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/has-property-descriptors/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n"]}

+ 28
- 0
miniprogram_npm/has-proto/index.js Dosyayı Görüntüle

@@ -0,0 +1,28 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221111, function(require, module, exports) {
8
+
9
+
10
+var test = {
11
+	__proto__: null,
12
+	foo: {}
13
+};
14
+
15
+var $Object = Object;
16
+
17
+/** @type {import('.')} */
18
+module.exports = function hasProto() {
19
+	// @ts-expect-error: TS errors on an inherited property for some reason
20
+	return { __proto__: test }.foo === test.foo
21
+		&& !(test instanceof $Object);
22
+};
23
+
24
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
25
+return __REQUIRE__(1729044221111);
26
+})()
27
+//miniprogram-npm-outsideDeps=[]
28
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/has-proto/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar test = {\n\t__proto__: null,\n\tfoo: {}\n};\n\nvar $Object = Object;\n\n/** @type {import('.')} */\nmodule.exports = function hasProto() {\n\t// @ts-expect-error: TS errors on an inherited property for some reason\n\treturn { __proto__: test }.foo === test.foo\n\t\t&& !(test instanceof $Object);\n};\n"]}

+ 71
- 0
miniprogram_npm/has-symbols/index.js Dosyayı Görüntüle

@@ -0,0 +1,71 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221112, function(require, module, exports) {
8
+
9
+
10
+var origSymbol = typeof Symbol !== 'undefined' && Symbol;
11
+var hasSymbolSham = require('./shams');
12
+
13
+module.exports = function hasNativeSymbols() {
14
+	if (typeof origSymbol !== 'function') { return false; }
15
+	if (typeof Symbol !== 'function') { return false; }
16
+	if (typeof origSymbol('foo') !== 'symbol') { return false; }
17
+	if (typeof Symbol('bar') !== 'symbol') { return false; }
18
+
19
+	return hasSymbolSham();
20
+};
21
+
22
+}, function(modId) {var map = {"./shams":1729044221113}; return __REQUIRE__(map[modId], modId); })
23
+__DEFINE__(1729044221113, function(require, module, exports) {
24
+
25
+
26
+/* eslint complexity: [2, 18], max-statements: [2, 33] */
27
+module.exports = function hasSymbols() {
28
+	if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
29
+	if (typeof Symbol.iterator === 'symbol') { return true; }
30
+
31
+	var obj = {};
32
+	var sym = Symbol('test');
33
+	var symObj = Object(sym);
34
+	if (typeof sym === 'string') { return false; }
35
+
36
+	if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
37
+	if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
38
+
39
+	// temp disabled per https://github.com/ljharb/object.assign/issues/17
40
+	// if (sym instanceof Symbol) { return false; }
41
+	// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
42
+	// if (!(symObj instanceof Symbol)) { return false; }
43
+
44
+	// if (typeof Symbol.prototype.toString !== 'function') { return false; }
45
+	// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
46
+
47
+	var symVal = 42;
48
+	obj[sym] = symVal;
49
+	for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
50
+	if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
51
+
52
+	if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
53
+
54
+	var syms = Object.getOwnPropertySymbols(obj);
55
+	if (syms.length !== 1 || syms[0] !== sym) { return false; }
56
+
57
+	if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
58
+
59
+	if (typeof Object.getOwnPropertyDescriptor === 'function') {
60
+		var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
61
+		if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
62
+	}
63
+
64
+	return true;
65
+};
66
+
67
+}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
68
+return __REQUIRE__(1729044221112);
69
+})()
70
+//miniprogram-npm-outsideDeps=[]
71
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/has-symbols/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js","shams.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n"]}

+ 21
- 0
miniprogram_npm/hasown/index.js Dosyayı Görüntüle

@@ -0,0 +1,21 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221114, function(require, module, exports) {
8
+
9
+
10
+var call = Function.prototype.call;
11
+var $hasOwn = Object.prototype.hasOwnProperty;
12
+var bind = require('function-bind');
13
+
14
+/** @type {import('.')} */
15
+module.exports = bind.call(call, $hasOwn);
16
+
17
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
18
+return __REQUIRE__(1729044221114);
19
+})()
20
+//miniprogram-npm-outsideDeps=["function-bind"]
21
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/hasown/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n"]}

+ 2
- 2
miniprogram_npm/moment/index.js Dosyayı Görüntüle

@@ -4,7 +4,7 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport
4 4
 var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5 5
 var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6 6
 var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
-__DEFINE__(1720659914625, function(require, module, exports) {
7
+__DEFINE__(1729044221115, function(require, module, exports) {
8 8
 //! moment.js
9 9
 //! version : 2.30.1
10 10
 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -5695,7 +5695,7 @@ __DEFINE__(1720659914625, function(require, module, exports) {
5695 5695
 })));
5696 5696
 
5697 5697
 }, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
5698
-return __REQUIRE__(1720659914625);
5698
+return __REQUIRE__(1729044221115);
5699 5699
 })()
5700 5700
 //miniprogram-npm-outsideDeps=[]
5701 5701
 //# sourceMappingURL=index.js.map

+ 544
- 0
miniprogram_npm/object-inspect/index.js Dosyayı Görüntüle

@@ -0,0 +1,544 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221116, function(require, module, exports) {
8
+var hasMap = typeof Map === 'function' && Map.prototype;
9
+var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
10
+var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
11
+var mapForEach = hasMap && Map.prototype.forEach;
12
+var hasSet = typeof Set === 'function' && Set.prototype;
13
+var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
14
+var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
15
+var setForEach = hasSet && Set.prototype.forEach;
16
+var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
17
+var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
18
+var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
19
+var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
20
+var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
21
+var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
22
+var booleanValueOf = Boolean.prototype.valueOf;
23
+var objectToString = Object.prototype.toString;
24
+var functionToString = Function.prototype.toString;
25
+var $match = String.prototype.match;
26
+var $slice = String.prototype.slice;
27
+var $replace = String.prototype.replace;
28
+var $toUpperCase = String.prototype.toUpperCase;
29
+var $toLowerCase = String.prototype.toLowerCase;
30
+var $test = RegExp.prototype.test;
31
+var $concat = Array.prototype.concat;
32
+var $join = Array.prototype.join;
33
+var $arrSlice = Array.prototype.slice;
34
+var $floor = Math.floor;
35
+var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
36
+var gOPS = Object.getOwnPropertySymbols;
37
+var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
38
+var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
39
+// ie, `has-tostringtag/shams
40
+var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
41
+    ? Symbol.toStringTag
42
+    : null;
43
+var isEnumerable = Object.prototype.propertyIsEnumerable;
44
+
45
+var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
46
+    [].__proto__ === Array.prototype // eslint-disable-line no-proto
47
+        ? function (O) {
48
+            return O.__proto__; // eslint-disable-line no-proto
49
+        }
50
+        : null
51
+);
52
+
53
+function addNumericSeparator(num, str) {
54
+    if (
55
+        num === Infinity
56
+        || num === -Infinity
57
+        || num !== num
58
+        || (num && num > -1000 && num < 1000)
59
+        || $test.call(/e/, str)
60
+    ) {
61
+        return str;
62
+    }
63
+    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
64
+    if (typeof num === 'number') {
65
+        var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
66
+        if (int !== num) {
67
+            var intStr = String(int);
68
+            var dec = $slice.call(str, intStr.length + 1);
69
+            return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
70
+        }
71
+    }
72
+    return $replace.call(str, sepRegex, '$&_');
73
+}
74
+
75
+var utilInspect = require('./util.inspect');
76
+var inspectCustom = utilInspect.custom;
77
+var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
78
+
79
+module.exports = function inspect_(obj, options, depth, seen) {
80
+    var opts = options || {};
81
+
82
+    if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
83
+        throw new TypeError('option "quoteStyle" must be "single" or "double"');
84
+    }
85
+    if (
86
+        has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
87
+            ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
88
+            : opts.maxStringLength !== null
89
+        )
90
+    ) {
91
+        throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
92
+    }
93
+    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
94
+    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
95
+        throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
96
+    }
97
+
98
+    if (
99
+        has(opts, 'indent')
100
+        && opts.indent !== null
101
+        && opts.indent !== '\t'
102
+        && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
103
+    ) {
104
+        throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
105
+    }
106
+    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
107
+        throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
108
+    }
109
+    var numericSeparator = opts.numericSeparator;
110
+
111
+    if (typeof obj === 'undefined') {
112
+        return 'undefined';
113
+    }
114
+    if (obj === null) {
115
+        return 'null';
116
+    }
117
+    if (typeof obj === 'boolean') {
118
+        return obj ? 'true' : 'false';
119
+    }
120
+
121
+    if (typeof obj === 'string') {
122
+        return inspectString(obj, opts);
123
+    }
124
+    if (typeof obj === 'number') {
125
+        if (obj === 0) {
126
+            return Infinity / obj > 0 ? '0' : '-0';
127
+        }
128
+        var str = String(obj);
129
+        return numericSeparator ? addNumericSeparator(obj, str) : str;
130
+    }
131
+    if (typeof obj === 'bigint') {
132
+        var bigIntStr = String(obj) + 'n';
133
+        return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
134
+    }
135
+
136
+    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
137
+    if (typeof depth === 'undefined') { depth = 0; }
138
+    if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
139
+        return isArray(obj) ? '[Array]' : '[Object]';
140
+    }
141
+
142
+    var indent = getIndent(opts, depth);
143
+
144
+    if (typeof seen === 'undefined') {
145
+        seen = [];
146
+    } else if (indexOf(seen, obj) >= 0) {
147
+        return '[Circular]';
148
+    }
149
+
150
+    function inspect(value, from, noIndent) {
151
+        if (from) {
152
+            seen = $arrSlice.call(seen);
153
+            seen.push(from);
154
+        }
155
+        if (noIndent) {
156
+            var newOpts = {
157
+                depth: opts.depth
158
+            };
159
+            if (has(opts, 'quoteStyle')) {
160
+                newOpts.quoteStyle = opts.quoteStyle;
161
+            }
162
+            return inspect_(value, newOpts, depth + 1, seen);
163
+        }
164
+        return inspect_(value, opts, depth + 1, seen);
165
+    }
166
+
167
+    if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable
168
+        var name = nameOf(obj);
169
+        var keys = arrObjKeys(obj, inspect);
170
+        return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
171
+    }
172
+    if (isSymbol(obj)) {
173
+        var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
174
+        return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
175
+    }
176
+    if (isElement(obj)) {
177
+        var s = '<' + $toLowerCase.call(String(obj.nodeName));
178
+        var attrs = obj.attributes || [];
179
+        for (var i = 0; i < attrs.length; i++) {
180
+            s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
181
+        }
182
+        s += '>';
183
+        if (obj.childNodes && obj.childNodes.length) { s += '...'; }
184
+        s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
185
+        return s;
186
+    }
187
+    if (isArray(obj)) {
188
+        if (obj.length === 0) { return '[]'; }
189
+        var xs = arrObjKeys(obj, inspect);
190
+        if (indent && !singleLineValues(xs)) {
191
+            return '[' + indentedJoin(xs, indent) + ']';
192
+        }
193
+        return '[ ' + $join.call(xs, ', ') + ' ]';
194
+    }
195
+    if (isError(obj)) {
196
+        var parts = arrObjKeys(obj, inspect);
197
+        if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {
198
+            return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
199
+        }
200
+        if (parts.length === 0) { return '[' + String(obj) + ']'; }
201
+        return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
202
+    }
203
+    if (typeof obj === 'object' && customInspect) {
204
+        if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {
205
+            return utilInspect(obj, { depth: maxDepth - depth });
206
+        } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
207
+            return obj.inspect();
208
+        }
209
+    }
210
+    if (isMap(obj)) {
211
+        var mapParts = [];
212
+        if (mapForEach) {
213
+            mapForEach.call(obj, function (value, key) {
214
+                mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
215
+            });
216
+        }
217
+        return collectionOf('Map', mapSize.call(obj), mapParts, indent);
218
+    }
219
+    if (isSet(obj)) {
220
+        var setParts = [];
221
+        if (setForEach) {
222
+            setForEach.call(obj, function (value) {
223
+                setParts.push(inspect(value, obj));
224
+            });
225
+        }
226
+        return collectionOf('Set', setSize.call(obj), setParts, indent);
227
+    }
228
+    if (isWeakMap(obj)) {
229
+        return weakCollectionOf('WeakMap');
230
+    }
231
+    if (isWeakSet(obj)) {
232
+        return weakCollectionOf('WeakSet');
233
+    }
234
+    if (isWeakRef(obj)) {
235
+        return weakCollectionOf('WeakRef');
236
+    }
237
+    if (isNumber(obj)) {
238
+        return markBoxed(inspect(Number(obj)));
239
+    }
240
+    if (isBigInt(obj)) {
241
+        return markBoxed(inspect(bigIntValueOf.call(obj)));
242
+    }
243
+    if (isBoolean(obj)) {
244
+        return markBoxed(booleanValueOf.call(obj));
245
+    }
246
+    if (isString(obj)) {
247
+        return markBoxed(inspect(String(obj)));
248
+    }
249
+    // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other
250
+    /* eslint-env browser */
251
+    if (typeof window !== 'undefined' && obj === window) {
252
+        return '{ [object Window] }';
253
+    }
254
+    if (
255
+        (typeof globalThis !== 'undefined' && obj === globalThis)
256
+        || (typeof global !== 'undefined' && obj === global)
257
+    ) {
258
+        return '{ [object globalThis] }';
259
+    }
260
+    if (!isDate(obj) && !isRegExp(obj)) {
261
+        var ys = arrObjKeys(obj, inspect);
262
+        var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
263
+        var protoTag = obj instanceof Object ? '' : 'null prototype';
264
+        var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
265
+        var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
266
+        var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
267
+        if (ys.length === 0) { return tag + '{}'; }
268
+        if (indent) {
269
+            return tag + '{' + indentedJoin(ys, indent) + '}';
270
+        }
271
+        return tag + '{ ' + $join.call(ys, ', ') + ' }';
272
+    }
273
+    return String(obj);
274
+};
275
+
276
+function wrapQuotes(s, defaultStyle, opts) {
277
+    var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
278
+    return quoteChar + s + quoteChar;
279
+}
280
+
281
+function quote(s) {
282
+    return $replace.call(String(s), /"/g, '&quot;');
283
+}
284
+
285
+function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
286
+function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
287
+function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
288
+function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
289
+function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
290
+function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
291
+function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
292
+
293
+// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
294
+function isSymbol(obj) {
295
+    if (hasShammedSymbols) {
296
+        return obj && typeof obj === 'object' && obj instanceof Symbol;
297
+    }
298
+    if (typeof obj === 'symbol') {
299
+        return true;
300
+    }
301
+    if (!obj || typeof obj !== 'object' || !symToString) {
302
+        return false;
303
+    }
304
+    try {
305
+        symToString.call(obj);
306
+        return true;
307
+    } catch (e) {}
308
+    return false;
309
+}
310
+
311
+function isBigInt(obj) {
312
+    if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
313
+        return false;
314
+    }
315
+    try {
316
+        bigIntValueOf.call(obj);
317
+        return true;
318
+    } catch (e) {}
319
+    return false;
320
+}
321
+
322
+var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
323
+function has(obj, key) {
324
+    return hasOwn.call(obj, key);
325
+}
326
+
327
+function toStr(obj) {
328
+    return objectToString.call(obj);
329
+}
330
+
331
+function nameOf(f) {
332
+    if (f.name) { return f.name; }
333
+    var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
334
+    if (m) { return m[1]; }
335
+    return null;
336
+}
337
+
338
+function indexOf(xs, x) {
339
+    if (xs.indexOf) { return xs.indexOf(x); }
340
+    for (var i = 0, l = xs.length; i < l; i++) {
341
+        if (xs[i] === x) { return i; }
342
+    }
343
+    return -1;
344
+}
345
+
346
+function isMap(x) {
347
+    if (!mapSize || !x || typeof x !== 'object') {
348
+        return false;
349
+    }
350
+    try {
351
+        mapSize.call(x);
352
+        try {
353
+            setSize.call(x);
354
+        } catch (s) {
355
+            return true;
356
+        }
357
+        return x instanceof Map; // core-js workaround, pre-v2.5.0
358
+    } catch (e) {}
359
+    return false;
360
+}
361
+
362
+function isWeakMap(x) {
363
+    if (!weakMapHas || !x || typeof x !== 'object') {
364
+        return false;
365
+    }
366
+    try {
367
+        weakMapHas.call(x, weakMapHas);
368
+        try {
369
+            weakSetHas.call(x, weakSetHas);
370
+        } catch (s) {
371
+            return true;
372
+        }
373
+        return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
374
+    } catch (e) {}
375
+    return false;
376
+}
377
+
378
+function isWeakRef(x) {
379
+    if (!weakRefDeref || !x || typeof x !== 'object') {
380
+        return false;
381
+    }
382
+    try {
383
+        weakRefDeref.call(x);
384
+        return true;
385
+    } catch (e) {}
386
+    return false;
387
+}
388
+
389
+function isSet(x) {
390
+    if (!setSize || !x || typeof x !== 'object') {
391
+        return false;
392
+    }
393
+    try {
394
+        setSize.call(x);
395
+        try {
396
+            mapSize.call(x);
397
+        } catch (m) {
398
+            return true;
399
+        }
400
+        return x instanceof Set; // core-js workaround, pre-v2.5.0
401
+    } catch (e) {}
402
+    return false;
403
+}
404
+
405
+function isWeakSet(x) {
406
+    if (!weakSetHas || !x || typeof x !== 'object') {
407
+        return false;
408
+    }
409
+    try {
410
+        weakSetHas.call(x, weakSetHas);
411
+        try {
412
+            weakMapHas.call(x, weakMapHas);
413
+        } catch (s) {
414
+            return true;
415
+        }
416
+        return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
417
+    } catch (e) {}
418
+    return false;
419
+}
420
+
421
+function isElement(x) {
422
+    if (!x || typeof x !== 'object') { return false; }
423
+    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
424
+        return true;
425
+    }
426
+    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
427
+}
428
+
429
+function inspectString(str, opts) {
430
+    if (str.length > opts.maxStringLength) {
431
+        var remaining = str.length - opts.maxStringLength;
432
+        var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
433
+        return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
434
+    }
435
+    // eslint-disable-next-line no-control-regex
436
+    var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
437
+    return wrapQuotes(s, 'single', opts);
438
+}
439
+
440
+function lowbyte(c) {
441
+    var n = c.charCodeAt(0);
442
+    var x = {
443
+        8: 'b',
444
+        9: 't',
445
+        10: 'n',
446
+        12: 'f',
447
+        13: 'r'
448
+    }[n];
449
+    if (x) { return '\\' + x; }
450
+    return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
451
+}
452
+
453
+function markBoxed(str) {
454
+    return 'Object(' + str + ')';
455
+}
456
+
457
+function weakCollectionOf(type) {
458
+    return type + ' { ? }';
459
+}
460
+
461
+function collectionOf(type, size, entries, indent) {
462
+    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
463
+    return type + ' (' + size + ') {' + joinedEntries + '}';
464
+}
465
+
466
+function singleLineValues(xs) {
467
+    for (var i = 0; i < xs.length; i++) {
468
+        if (indexOf(xs[i], '\n') >= 0) {
469
+            return false;
470
+        }
471
+    }
472
+    return true;
473
+}
474
+
475
+function getIndent(opts, depth) {
476
+    var baseIndent;
477
+    if (opts.indent === '\t') {
478
+        baseIndent = '\t';
479
+    } else if (typeof opts.indent === 'number' && opts.indent > 0) {
480
+        baseIndent = $join.call(Array(opts.indent + 1), ' ');
481
+    } else {
482
+        return null;
483
+    }
484
+    return {
485
+        base: baseIndent,
486
+        prev: $join.call(Array(depth + 1), baseIndent)
487
+    };
488
+}
489
+
490
+function indentedJoin(xs, indent) {
491
+    if (xs.length === 0) { return ''; }
492
+    var lineJoiner = '\n' + indent.prev + indent.base;
493
+    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
494
+}
495
+
496
+function arrObjKeys(obj, inspect) {
497
+    var isArr = isArray(obj);
498
+    var xs = [];
499
+    if (isArr) {
500
+        xs.length = obj.length;
501
+        for (var i = 0; i < obj.length; i++) {
502
+            xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
503
+        }
504
+    }
505
+    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
506
+    var symMap;
507
+    if (hasShammedSymbols) {
508
+        symMap = {};
509
+        for (var k = 0; k < syms.length; k++) {
510
+            symMap['$' + syms[k]] = syms[k];
511
+        }
512
+    }
513
+
514
+    for (var key in obj) { // eslint-disable-line no-restricted-syntax
515
+        if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
516
+        if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
517
+        if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
518
+            // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
519
+            continue; // eslint-disable-line no-restricted-syntax, no-continue
520
+        } else if ($test.call(/[^\w$]/, key)) {
521
+            xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
522
+        } else {
523
+            xs.push(key + ': ' + inspect(obj[key], obj));
524
+        }
525
+    }
526
+    if (typeof gOPS === 'function') {
527
+        for (var j = 0; j < syms.length; j++) {
528
+            if (isEnumerable.call(obj, syms[j])) {
529
+                xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
530
+            }
531
+        }
532
+    }
533
+    return xs;
534
+}
535
+
536
+}, function(modId) {var map = {"./util.inspect":1729044221117}; return __REQUIRE__(map[modId], modId); })
537
+__DEFINE__(1729044221117, function(require, module, exports) {
538
+module.exports = require('util').inspect;
539
+
540
+}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
541
+return __REQUIRE__(1729044221116);
542
+})()
543
+//miniprogram-npm-outsideDeps=["util"]
544
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/object-inspect/index.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 964
- 0
miniprogram_npm/qs/index.js Dosyayı Görüntüle

@@ -0,0 +1,964 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221118, function(require, module, exports) {
8
+
9
+
10
+var stringify = require('./stringify');
11
+var parse = require('./parse');
12
+var formats = require('./formats');
13
+
14
+module.exports = {
15
+    formats: formats,
16
+    parse: parse,
17
+    stringify: stringify
18
+};
19
+
20
+}, function(modId) {var map = {"./stringify":1729044221119,"./parse":1729044221122,"./formats":1729044221121}; return __REQUIRE__(map[modId], modId); })
21
+__DEFINE__(1729044221119, function(require, module, exports) {
22
+
23
+
24
+var getSideChannel = require('side-channel');
25
+var utils = require('./utils');
26
+var formats = require('./formats');
27
+var has = Object.prototype.hasOwnProperty;
28
+
29
+var arrayPrefixGenerators = {
30
+    brackets: function brackets(prefix) {
31
+        return prefix + '[]';
32
+    },
33
+    comma: 'comma',
34
+    indices: function indices(prefix, key) {
35
+        return prefix + '[' + key + ']';
36
+    },
37
+    repeat: function repeat(prefix) {
38
+        return prefix;
39
+    }
40
+};
41
+
42
+var isArray = Array.isArray;
43
+var push = Array.prototype.push;
44
+var pushToArray = function (arr, valueOrArray) {
45
+    push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
46
+};
47
+
48
+var toISO = Date.prototype.toISOString;
49
+
50
+var defaultFormat = formats['default'];
51
+var defaults = {
52
+    addQueryPrefix: false,
53
+    allowDots: false,
54
+    allowEmptyArrays: false,
55
+    arrayFormat: 'indices',
56
+    charset: 'utf-8',
57
+    charsetSentinel: false,
58
+    delimiter: '&',
59
+    encode: true,
60
+    encodeDotInKeys: false,
61
+    encoder: utils.encode,
62
+    encodeValuesOnly: false,
63
+    format: defaultFormat,
64
+    formatter: formats.formatters[defaultFormat],
65
+    // deprecated
66
+    indices: false,
67
+    serializeDate: function serializeDate(date) {
68
+        return toISO.call(date);
69
+    },
70
+    skipNulls: false,
71
+    strictNullHandling: false
72
+};
73
+
74
+var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
75
+    return typeof v === 'string'
76
+        || typeof v === 'number'
77
+        || typeof v === 'boolean'
78
+        || typeof v === 'symbol'
79
+        || typeof v === 'bigint';
80
+};
81
+
82
+var sentinel = {};
83
+
84
+var stringify = function stringify(
85
+    object,
86
+    prefix,
87
+    generateArrayPrefix,
88
+    commaRoundTrip,
89
+    allowEmptyArrays,
90
+    strictNullHandling,
91
+    skipNulls,
92
+    encodeDotInKeys,
93
+    encoder,
94
+    filter,
95
+    sort,
96
+    allowDots,
97
+    serializeDate,
98
+    format,
99
+    formatter,
100
+    encodeValuesOnly,
101
+    charset,
102
+    sideChannel
103
+) {
104
+    var obj = object;
105
+
106
+    var tmpSc = sideChannel;
107
+    var step = 0;
108
+    var findFlag = false;
109
+    while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
110
+        // Where object last appeared in the ref tree
111
+        var pos = tmpSc.get(object);
112
+        step += 1;
113
+        if (typeof pos !== 'undefined') {
114
+            if (pos === step) {
115
+                throw new RangeError('Cyclic object value');
116
+            } else {
117
+                findFlag = true; // Break while
118
+            }
119
+        }
120
+        if (typeof tmpSc.get(sentinel) === 'undefined') {
121
+            step = 0;
122
+        }
123
+    }
124
+
125
+    if (typeof filter === 'function') {
126
+        obj = filter(prefix, obj);
127
+    } else if (obj instanceof Date) {
128
+        obj = serializeDate(obj);
129
+    } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
130
+        obj = utils.maybeMap(obj, function (value) {
131
+            if (value instanceof Date) {
132
+                return serializeDate(value);
133
+            }
134
+            return value;
135
+        });
136
+    }
137
+
138
+    if (obj === null) {
139
+        if (strictNullHandling) {
140
+            return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
141
+        }
142
+
143
+        obj = '';
144
+    }
145
+
146
+    if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
147
+        if (encoder) {
148
+            var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
149
+            return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
150
+        }
151
+        return [formatter(prefix) + '=' + formatter(String(obj))];
152
+    }
153
+
154
+    var values = [];
155
+
156
+    if (typeof obj === 'undefined') {
157
+        return values;
158
+    }
159
+
160
+    var objKeys;
161
+    if (generateArrayPrefix === 'comma' && isArray(obj)) {
162
+        // we need to join elements in
163
+        if (encodeValuesOnly && encoder) {
164
+            obj = utils.maybeMap(obj, encoder);
165
+        }
166
+        objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
167
+    } else if (isArray(filter)) {
168
+        objKeys = filter;
169
+    } else {
170
+        var keys = Object.keys(obj);
171
+        objKeys = sort ? keys.sort(sort) : keys;
172
+    }
173
+
174
+    var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
175
+
176
+    var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
177
+
178
+    if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
179
+        return adjustedPrefix + '[]';
180
+    }
181
+
182
+    for (var j = 0; j < objKeys.length; ++j) {
183
+        var key = objKeys[j];
184
+        var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
185
+
186
+        if (skipNulls && value === null) {
187
+            continue;
188
+        }
189
+
190
+        var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
191
+        var keyPrefix = isArray(obj)
192
+            ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
193
+            : adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
194
+
195
+        sideChannel.set(object, step);
196
+        var valueSideChannel = getSideChannel();
197
+        valueSideChannel.set(sentinel, sideChannel);
198
+        pushToArray(values, stringify(
199
+            value,
200
+            keyPrefix,
201
+            generateArrayPrefix,
202
+            commaRoundTrip,
203
+            allowEmptyArrays,
204
+            strictNullHandling,
205
+            skipNulls,
206
+            encodeDotInKeys,
207
+            generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
208
+            filter,
209
+            sort,
210
+            allowDots,
211
+            serializeDate,
212
+            format,
213
+            formatter,
214
+            encodeValuesOnly,
215
+            charset,
216
+            valueSideChannel
217
+        ));
218
+    }
219
+
220
+    return values;
221
+};
222
+
223
+var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
224
+    if (!opts) {
225
+        return defaults;
226
+    }
227
+
228
+    if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
229
+        throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
230
+    }
231
+
232
+    if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {
233
+        throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
234
+    }
235
+
236
+    if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
237
+        throw new TypeError('Encoder has to be a function.');
238
+    }
239
+
240
+    var charset = opts.charset || defaults.charset;
241
+    if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
242
+        throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
243
+    }
244
+
245
+    var format = formats['default'];
246
+    if (typeof opts.format !== 'undefined') {
247
+        if (!has.call(formats.formatters, opts.format)) {
248
+            throw new TypeError('Unknown format option provided.');
249
+        }
250
+        format = opts.format;
251
+    }
252
+    var formatter = formats.formatters[format];
253
+
254
+    var filter = defaults.filter;
255
+    if (typeof opts.filter === 'function' || isArray(opts.filter)) {
256
+        filter = opts.filter;
257
+    }
258
+
259
+    var arrayFormat;
260
+    if (opts.arrayFormat in arrayPrefixGenerators) {
261
+        arrayFormat = opts.arrayFormat;
262
+    } else if ('indices' in opts) {
263
+        arrayFormat = opts.indices ? 'indices' : 'repeat';
264
+    } else {
265
+        arrayFormat = defaults.arrayFormat;
266
+    }
267
+
268
+    if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
269
+        throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
270
+    }
271
+
272
+    var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
273
+
274
+    return {
275
+        addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
276
+        allowDots: allowDots,
277
+        allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
278
+        arrayFormat: arrayFormat,
279
+        charset: charset,
280
+        charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
281
+        commaRoundTrip: opts.commaRoundTrip,
282
+        delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
283
+        encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
284
+        encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
285
+        encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
286
+        encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
287
+        filter: filter,
288
+        format: format,
289
+        formatter: formatter,
290
+        serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
291
+        skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
292
+        sort: typeof opts.sort === 'function' ? opts.sort : null,
293
+        strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
294
+    };
295
+};
296
+
297
+module.exports = function (object, opts) {
298
+    var obj = object;
299
+    var options = normalizeStringifyOptions(opts);
300
+
301
+    var objKeys;
302
+    var filter;
303
+
304
+    if (typeof options.filter === 'function') {
305
+        filter = options.filter;
306
+        obj = filter('', obj);
307
+    } else if (isArray(options.filter)) {
308
+        filter = options.filter;
309
+        objKeys = filter;
310
+    }
311
+
312
+    var keys = [];
313
+
314
+    if (typeof obj !== 'object' || obj === null) {
315
+        return '';
316
+    }
317
+
318
+    var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
319
+    var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;
320
+
321
+    if (!objKeys) {
322
+        objKeys = Object.keys(obj);
323
+    }
324
+
325
+    if (options.sort) {
326
+        objKeys.sort(options.sort);
327
+    }
328
+
329
+    var sideChannel = getSideChannel();
330
+    for (var i = 0; i < objKeys.length; ++i) {
331
+        var key = objKeys[i];
332
+
333
+        if (options.skipNulls && obj[key] === null) {
334
+            continue;
335
+        }
336
+        pushToArray(keys, stringify(
337
+            obj[key],
338
+            key,
339
+            generateArrayPrefix,
340
+            commaRoundTrip,
341
+            options.allowEmptyArrays,
342
+            options.strictNullHandling,
343
+            options.skipNulls,
344
+            options.encodeDotInKeys,
345
+            options.encode ? options.encoder : null,
346
+            options.filter,
347
+            options.sort,
348
+            options.allowDots,
349
+            options.serializeDate,
350
+            options.format,
351
+            options.formatter,
352
+            options.encodeValuesOnly,
353
+            options.charset,
354
+            sideChannel
355
+        ));
356
+    }
357
+
358
+    var joined = keys.join(options.delimiter);
359
+    var prefix = options.addQueryPrefix === true ? '?' : '';
360
+
361
+    if (options.charsetSentinel) {
362
+        if (options.charset === 'iso-8859-1') {
363
+            // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
364
+            prefix += 'utf8=%26%2310003%3B&';
365
+        } else {
366
+            // encodeURIComponent('✓')
367
+            prefix += 'utf8=%E2%9C%93&';
368
+        }
369
+    }
370
+
371
+    return joined.length > 0 ? prefix + joined : '';
372
+};
373
+
374
+}, function(modId) { var map = {"./utils":1729044221120,"./formats":1729044221121}; return __REQUIRE__(map[modId], modId); })
375
+__DEFINE__(1729044221120, function(require, module, exports) {
376
+
377
+
378
+var formats = require('./formats');
379
+
380
+var has = Object.prototype.hasOwnProperty;
381
+var isArray = Array.isArray;
382
+
383
+var hexTable = (function () {
384
+    var array = [];
385
+    for (var i = 0; i < 256; ++i) {
386
+        array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
387
+    }
388
+
389
+    return array;
390
+}());
391
+
392
+var compactQueue = function compactQueue(queue) {
393
+    while (queue.length > 1) {
394
+        var item = queue.pop();
395
+        var obj = item.obj[item.prop];
396
+
397
+        if (isArray(obj)) {
398
+            var compacted = [];
399
+
400
+            for (var j = 0; j < obj.length; ++j) {
401
+                if (typeof obj[j] !== 'undefined') {
402
+                    compacted.push(obj[j]);
403
+                }
404
+            }
405
+
406
+            item.obj[item.prop] = compacted;
407
+        }
408
+    }
409
+};
410
+
411
+var arrayToObject = function arrayToObject(source, options) {
412
+    var obj = options && options.plainObjects ? Object.create(null) : {};
413
+    for (var i = 0; i < source.length; ++i) {
414
+        if (typeof source[i] !== 'undefined') {
415
+            obj[i] = source[i];
416
+        }
417
+    }
418
+
419
+    return obj;
420
+};
421
+
422
+var merge = function merge(target, source, options) {
423
+    /* eslint no-param-reassign: 0 */
424
+    if (!source) {
425
+        return target;
426
+    }
427
+
428
+    if (typeof source !== 'object') {
429
+        if (isArray(target)) {
430
+            target.push(source);
431
+        } else if (target && typeof target === 'object') {
432
+            if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
433
+                target[source] = true;
434
+            }
435
+        } else {
436
+            return [target, source];
437
+        }
438
+
439
+        return target;
440
+    }
441
+
442
+    if (!target || typeof target !== 'object') {
443
+        return [target].concat(source);
444
+    }
445
+
446
+    var mergeTarget = target;
447
+    if (isArray(target) && !isArray(source)) {
448
+        mergeTarget = arrayToObject(target, options);
449
+    }
450
+
451
+    if (isArray(target) && isArray(source)) {
452
+        source.forEach(function (item, i) {
453
+            if (has.call(target, i)) {
454
+                var targetItem = target[i];
455
+                if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
456
+                    target[i] = merge(targetItem, item, options);
457
+                } else {
458
+                    target.push(item);
459
+                }
460
+            } else {
461
+                target[i] = item;
462
+            }
463
+        });
464
+        return target;
465
+    }
466
+
467
+    return Object.keys(source).reduce(function (acc, key) {
468
+        var value = source[key];
469
+
470
+        if (has.call(acc, key)) {
471
+            acc[key] = merge(acc[key], value, options);
472
+        } else {
473
+            acc[key] = value;
474
+        }
475
+        return acc;
476
+    }, mergeTarget);
477
+};
478
+
479
+var assign = function assignSingleSource(target, source) {
480
+    return Object.keys(source).reduce(function (acc, key) {
481
+        acc[key] = source[key];
482
+        return acc;
483
+    }, target);
484
+};
485
+
486
+var decode = function (str, decoder, charset) {
487
+    var strWithoutPlus = str.replace(/\+/g, ' ');
488
+    if (charset === 'iso-8859-1') {
489
+        // unescape never throws, no try...catch needed:
490
+        return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
491
+    }
492
+    // utf-8
493
+    try {
494
+        return decodeURIComponent(strWithoutPlus);
495
+    } catch (e) {
496
+        return strWithoutPlus;
497
+    }
498
+};
499
+
500
+var limit = 1024;
501
+
502
+/* eslint operator-linebreak: [2, "before"] */
503
+
504
+var encode = function encode(str, defaultEncoder, charset, kind, format) {
505
+    // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
506
+    // It has been adapted here for stricter adherence to RFC 3986
507
+    if (str.length === 0) {
508
+        return str;
509
+    }
510
+
511
+    var string = str;
512
+    if (typeof str === 'symbol') {
513
+        string = Symbol.prototype.toString.call(str);
514
+    } else if (typeof str !== 'string') {
515
+        string = String(str);
516
+    }
517
+
518
+    if (charset === 'iso-8859-1') {
519
+        return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
520
+            return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
521
+        });
522
+    }
523
+
524
+    var out = '';
525
+    for (var j = 0; j < string.length; j += limit) {
526
+        var segment = string.length >= limit ? string.slice(j, j + limit) : string;
527
+        var arr = [];
528
+
529
+        for (var i = 0; i < segment.length; ++i) {
530
+            var c = segment.charCodeAt(i);
531
+            if (
532
+                c === 0x2D // -
533
+                || c === 0x2E // .
534
+                || c === 0x5F // _
535
+                || c === 0x7E // ~
536
+                || (c >= 0x30 && c <= 0x39) // 0-9
537
+                || (c >= 0x41 && c <= 0x5A) // a-z
538
+                || (c >= 0x61 && c <= 0x7A) // A-Z
539
+                || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
540
+            ) {
541
+                arr[arr.length] = segment.charAt(i);
542
+                continue;
543
+            }
544
+
545
+            if (c < 0x80) {
546
+                arr[arr.length] = hexTable[c];
547
+                continue;
548
+            }
549
+
550
+            if (c < 0x800) {
551
+                arr[arr.length] = hexTable[0xC0 | (c >> 6)]
552
+                    + hexTable[0x80 | (c & 0x3F)];
553
+                continue;
554
+            }
555
+
556
+            if (c < 0xD800 || c >= 0xE000) {
557
+                arr[arr.length] = hexTable[0xE0 | (c >> 12)]
558
+                    + hexTable[0x80 | ((c >> 6) & 0x3F)]
559
+                    + hexTable[0x80 | (c & 0x3F)];
560
+                continue;
561
+            }
562
+
563
+            i += 1;
564
+            c = 0x10000 + (((c & 0x3FF) << 10) | (segment.charCodeAt(i) & 0x3FF));
565
+
566
+            arr[arr.length] = hexTable[0xF0 | (c >> 18)]
567
+                + hexTable[0x80 | ((c >> 12) & 0x3F)]
568
+                + hexTable[0x80 | ((c >> 6) & 0x3F)]
569
+                + hexTable[0x80 | (c & 0x3F)];
570
+        }
571
+
572
+        out += arr.join('');
573
+    }
574
+
575
+    return out;
576
+};
577
+
578
+var compact = function compact(value) {
579
+    var queue = [{ obj: { o: value }, prop: 'o' }];
580
+    var refs = [];
581
+
582
+    for (var i = 0; i < queue.length; ++i) {
583
+        var item = queue[i];
584
+        var obj = item.obj[item.prop];
585
+
586
+        var keys = Object.keys(obj);
587
+        for (var j = 0; j < keys.length; ++j) {
588
+            var key = keys[j];
589
+            var val = obj[key];
590
+            if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
591
+                queue.push({ obj: obj, prop: key });
592
+                refs.push(val);
593
+            }
594
+        }
595
+    }
596
+
597
+    compactQueue(queue);
598
+
599
+    return value;
600
+};
601
+
602
+var isRegExp = function isRegExp(obj) {
603
+    return Object.prototype.toString.call(obj) === '[object RegExp]';
604
+};
605
+
606
+var isBuffer = function isBuffer(obj) {
607
+    if (!obj || typeof obj !== 'object') {
608
+        return false;
609
+    }
610
+
611
+    return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
612
+};
613
+
614
+var combine = function combine(a, b) {
615
+    return [].concat(a, b);
616
+};
617
+
618
+var maybeMap = function maybeMap(val, fn) {
619
+    if (isArray(val)) {
620
+        var mapped = [];
621
+        for (var i = 0; i < val.length; i += 1) {
622
+            mapped.push(fn(val[i]));
623
+        }
624
+        return mapped;
625
+    }
626
+    return fn(val);
627
+};
628
+
629
+module.exports = {
630
+    arrayToObject: arrayToObject,
631
+    assign: assign,
632
+    combine: combine,
633
+    compact: compact,
634
+    decode: decode,
635
+    encode: encode,
636
+    isBuffer: isBuffer,
637
+    isRegExp: isRegExp,
638
+    maybeMap: maybeMap,
639
+    merge: merge
640
+};
641
+
642
+}, function(modId) { var map = {"./formats":1729044221121}; return __REQUIRE__(map[modId], modId); })
643
+__DEFINE__(1729044221121, function(require, module, exports) {
644
+
645
+
646
+var replace = String.prototype.replace;
647
+var percentTwenties = /%20/g;
648
+
649
+var Format = {
650
+    RFC1738: 'RFC1738',
651
+    RFC3986: 'RFC3986'
652
+};
653
+
654
+module.exports = {
655
+    'default': Format.RFC3986,
656
+    formatters: {
657
+        RFC1738: function (value) {
658
+            return replace.call(value, percentTwenties, '+');
659
+        },
660
+        RFC3986: function (value) {
661
+            return String(value);
662
+        }
663
+    },
664
+    RFC1738: Format.RFC1738,
665
+    RFC3986: Format.RFC3986
666
+};
667
+
668
+}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); })
669
+__DEFINE__(1729044221122, function(require, module, exports) {
670
+
671
+
672
+var utils = require('./utils');
673
+
674
+var has = Object.prototype.hasOwnProperty;
675
+var isArray = Array.isArray;
676
+
677
+var defaults = {
678
+    allowDots: false,
679
+    allowEmptyArrays: false,
680
+    allowPrototypes: false,
681
+    allowSparse: false,
682
+    arrayLimit: 20,
683
+    charset: 'utf-8',
684
+    charsetSentinel: false,
685
+    comma: false,
686
+    decodeDotInKeys: false,
687
+    decoder: utils.decode,
688
+    delimiter: '&',
689
+    depth: 5,
690
+    duplicates: 'combine',
691
+    ignoreQueryPrefix: false,
692
+    interpretNumericEntities: false,
693
+    parameterLimit: 1000,
694
+    parseArrays: true,
695
+    plainObjects: false,
696
+    strictNullHandling: false
697
+};
698
+
699
+var interpretNumericEntities = function (str) {
700
+    return str.replace(/&#(\d+);/g, function ($0, numberStr) {
701
+        return String.fromCharCode(parseInt(numberStr, 10));
702
+    });
703
+};
704
+
705
+var parseArrayValue = function (val, options) {
706
+    if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
707
+        return val.split(',');
708
+    }
709
+
710
+    return val;
711
+};
712
+
713
+// This is what browsers will submit when the ✓ character occurs in an
714
+// application/x-www-form-urlencoded body and the encoding of the page containing
715
+// the form is iso-8859-1, or when the submitted form has an accept-charset
716
+// attribute of iso-8859-1. Presumably also with other charsets that do not contain
717
+// the ✓ character, such as us-ascii.
718
+var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
719
+
720
+// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
721
+var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
722
+
723
+var parseValues = function parseQueryStringValues(str, options) {
724
+    var obj = { __proto__: null };
725
+
726
+    var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
727
+    cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
728
+    var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
729
+    var parts = cleanStr.split(options.delimiter, limit);
730
+    var skipIndex = -1; // Keep track of where the utf8 sentinel was found
731
+    var i;
732
+
733
+    var charset = options.charset;
734
+    if (options.charsetSentinel) {
735
+        for (i = 0; i < parts.length; ++i) {
736
+            if (parts[i].indexOf('utf8=') === 0) {
737
+                if (parts[i] === charsetSentinel) {
738
+                    charset = 'utf-8';
739
+                } else if (parts[i] === isoSentinel) {
740
+                    charset = 'iso-8859-1';
741
+                }
742
+                skipIndex = i;
743
+                i = parts.length; // The eslint settings do not allow break;
744
+            }
745
+        }
746
+    }
747
+
748
+    for (i = 0; i < parts.length; ++i) {
749
+        if (i === skipIndex) {
750
+            continue;
751
+        }
752
+        var part = parts[i];
753
+
754
+        var bracketEqualsPos = part.indexOf(']=');
755
+        var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
756
+
757
+        var key, val;
758
+        if (pos === -1) {
759
+            key = options.decoder(part, defaults.decoder, charset, 'key');
760
+            val = options.strictNullHandling ? null : '';
761
+        } else {
762
+            key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
763
+            val = utils.maybeMap(
764
+                parseArrayValue(part.slice(pos + 1), options),
765
+                function (encodedVal) {
766
+                    return options.decoder(encodedVal, defaults.decoder, charset, 'value');
767
+                }
768
+            );
769
+        }
770
+
771
+        if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
772
+            val = interpretNumericEntities(val);
773
+        }
774
+
775
+        if (part.indexOf('[]=') > -1) {
776
+            val = isArray(val) ? [val] : val;
777
+        }
778
+
779
+        var existing = has.call(obj, key);
780
+        if (existing && options.duplicates === 'combine') {
781
+            obj[key] = utils.combine(obj[key], val);
782
+        } else if (!existing || options.duplicates === 'last') {
783
+            obj[key] = val;
784
+        }
785
+    }
786
+
787
+    return obj;
788
+};
789
+
790
+var parseObject = function (chain, val, options, valuesParsed) {
791
+    var leaf = valuesParsed ? val : parseArrayValue(val, options);
792
+
793
+    for (var i = chain.length - 1; i >= 0; --i) {
794
+        var obj;
795
+        var root = chain[i];
796
+
797
+        if (root === '[]' && options.parseArrays) {
798
+            obj = options.allowEmptyArrays && leaf === '' ? [] : [].concat(leaf);
799
+        } else {
800
+            obj = options.plainObjects ? Object.create(null) : {};
801
+            var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
802
+            var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
803
+            var index = parseInt(decodedRoot, 10);
804
+            if (!options.parseArrays && decodedRoot === '') {
805
+                obj = { 0: leaf };
806
+            } else if (
807
+                !isNaN(index)
808
+                && root !== decodedRoot
809
+                && String(index) === decodedRoot
810
+                && index >= 0
811
+                && (options.parseArrays && index <= options.arrayLimit)
812
+            ) {
813
+                obj = [];
814
+                obj[index] = leaf;
815
+            } else if (decodedRoot !== '__proto__') {
816
+                obj[decodedRoot] = leaf;
817
+            }
818
+        }
819
+
820
+        leaf = obj;
821
+    }
822
+
823
+    return leaf;
824
+};
825
+
826
+var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
827
+    if (!givenKey) {
828
+        return;
829
+    }
830
+
831
+    // Transform dot notation to bracket notation
832
+    var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
833
+
834
+    // The regex chunks
835
+
836
+    var brackets = /(\[[^[\]]*])/;
837
+    var child = /(\[[^[\]]*])/g;
838
+
839
+    // Get the parent
840
+
841
+    var segment = options.depth > 0 && brackets.exec(key);
842
+    var parent = segment ? key.slice(0, segment.index) : key;
843
+
844
+    // Stash the parent if it exists
845
+
846
+    var keys = [];
847
+    if (parent) {
848
+        // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
849
+        if (!options.plainObjects && has.call(Object.prototype, parent)) {
850
+            if (!options.allowPrototypes) {
851
+                return;
852
+            }
853
+        }
854
+
855
+        keys.push(parent);
856
+    }
857
+
858
+    // Loop through children appending to the array until we hit depth
859
+
860
+    var i = 0;
861
+    while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
862
+        i += 1;
863
+        if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
864
+            if (!options.allowPrototypes) {
865
+                return;
866
+            }
867
+        }
868
+        keys.push(segment[1]);
869
+    }
870
+
871
+    // If there's a remainder, just add whatever is left
872
+
873
+    if (segment) {
874
+        keys.push('[' + key.slice(segment.index) + ']');
875
+    }
876
+
877
+    return parseObject(keys, val, options, valuesParsed);
878
+};
879
+
880
+var normalizeParseOptions = function normalizeParseOptions(opts) {
881
+    if (!opts) {
882
+        return defaults;
883
+    }
884
+
885
+    if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
886
+        throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
887
+    }
888
+
889
+    if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {
890
+        throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');
891
+    }
892
+
893
+    if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {
894
+        throw new TypeError('Decoder has to be a function.');
895
+    }
896
+
897
+    if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
898
+        throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
899
+    }
900
+    var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
901
+
902
+    var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
903
+
904
+    if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {
905
+        throw new TypeError('The duplicates option must be either combine, first, or last');
906
+    }
907
+
908
+    var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
909
+
910
+    return {
911
+        allowDots: allowDots,
912
+        allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
913
+        allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
914
+        allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
915
+        arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
916
+        charset: charset,
917
+        charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
918
+        comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
919
+        decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
920
+        decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
921
+        delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
922
+        // eslint-disable-next-line no-implicit-coercion, no-extra-parens
923
+        depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
924
+        duplicates: duplicates,
925
+        ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
926
+        interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
927
+        parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
928
+        parseArrays: opts.parseArrays !== false,
929
+        plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
930
+        strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
931
+    };
932
+};
933
+
934
+module.exports = function (str, opts) {
935
+    var options = normalizeParseOptions(opts);
936
+
937
+    if (str === '' || str === null || typeof str === 'undefined') {
938
+        return options.plainObjects ? Object.create(null) : {};
939
+    }
940
+
941
+    var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
942
+    var obj = options.plainObjects ? Object.create(null) : {};
943
+
944
+    // Iterate over the keys and setup the new object
945
+
946
+    var keys = Object.keys(tempObj);
947
+    for (var i = 0; i < keys.length; ++i) {
948
+        var key = keys[i];
949
+        var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
950
+        obj = utils.merge(obj, newObj, options);
951
+    }
952
+
953
+    if (options.allowSparse === true) {
954
+        return obj;
955
+    }
956
+
957
+    return utils.compact(obj);
958
+};
959
+
960
+}, function(modId) { var map = {"./utils":1729044221120}; return __REQUIRE__(map[modId], modId); })
961
+return __REQUIRE__(1729044221118);
962
+})()
963
+//miniprogram-npm-outsideDeps=["side-channel"]
964
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/qs/index.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 55
- 0
miniprogram_npm/set-function-length/index.js Dosyayı Görüntüle

@@ -0,0 +1,55 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221123, function(require, module, exports) {
8
+
9
+
10
+var GetIntrinsic = require('get-intrinsic');
11
+var define = require('define-data-property');
12
+var hasDescriptors = require('has-property-descriptors')();
13
+var gOPD = require('gopd');
14
+
15
+var $TypeError = require('es-errors/type');
16
+var $floor = GetIntrinsic('%Math.floor%');
17
+
18
+/** @type {import('.')} */
19
+module.exports = function setFunctionLength(fn, length) {
20
+	if (typeof fn !== 'function') {
21
+		throw new $TypeError('`fn` is not a function');
22
+	}
23
+	if (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {
24
+		throw new $TypeError('`length` must be a positive 32-bit integer');
25
+	}
26
+
27
+	var loose = arguments.length > 2 && !!arguments[2];
28
+
29
+	var functionLengthIsConfigurable = true;
30
+	var functionLengthIsWritable = true;
31
+	if ('length' in fn && gOPD) {
32
+		var desc = gOPD(fn, 'length');
33
+		if (desc && !desc.configurable) {
34
+			functionLengthIsConfigurable = false;
35
+		}
36
+		if (desc && !desc.writable) {
37
+			functionLengthIsWritable = false;
38
+		}
39
+	}
40
+
41
+	if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
42
+		if (hasDescriptors) {
43
+			define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
44
+		} else {
45
+			define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
46
+		}
47
+	}
48
+	return fn;
49
+};
50
+
51
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
52
+return __REQUIRE__(1729044221123);
53
+})()
54
+//miniprogram-npm-outsideDeps=["get-intrinsic","define-data-property","has-property-descriptors","gopd","es-errors/type"]
55
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/set-function-length/index.js.map Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+{"version":3,"sources":["index.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n"]}

+ 142
- 0
miniprogram_npm/side-channel/index.js Dosyayı Görüntüle

@@ -0,0 +1,142 @@
1
+module.exports = (function() {
2
+var __MODS__ = {};
3
+var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; };
4
+var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; };
5
+var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } };
6
+var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; };
7
+__DEFINE__(1729044221124, function(require, module, exports) {
8
+
9
+
10
+var GetIntrinsic = require('get-intrinsic');
11
+var callBound = require('call-bind/callBound');
12
+var inspect = require('object-inspect');
13
+
14
+var $TypeError = require('es-errors/type');
15
+var $WeakMap = GetIntrinsic('%WeakMap%', true);
16
+var $Map = GetIntrinsic('%Map%', true);
17
+
18
+var $weakMapGet = callBound('WeakMap.prototype.get', true);
19
+var $weakMapSet = callBound('WeakMap.prototype.set', true);
20
+var $weakMapHas = callBound('WeakMap.prototype.has', true);
21
+var $mapGet = callBound('Map.prototype.get', true);
22
+var $mapSet = callBound('Map.prototype.set', true);
23
+var $mapHas = callBound('Map.prototype.has', true);
24
+
25
+/*
26
+* This function traverses the list returning the node corresponding to the given key.
27
+*
28
+* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
29
+*/
30
+/** @type {import('.').listGetNode} */
31
+var listGetNode = function (list, key) { // eslint-disable-line consistent-return
32
+	/** @type {typeof list | NonNullable<(typeof list)['next']>} */
33
+	var prev = list;
34
+	/** @type {(typeof list)['next']} */
35
+	var curr;
36
+	for (; (curr = prev.next) !== null; prev = curr) {
37
+		if (curr.key === key) {
38
+			prev.next = curr.next;
39
+			// eslint-disable-next-line no-extra-parens
40
+			curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
41
+			list.next = curr; // eslint-disable-line no-param-reassign
42
+			return curr;
43
+		}
44
+	}
45
+};
46
+
47
+/** @type {import('.').listGet} */
48
+var listGet = function (objects, key) {
49
+	var node = listGetNode(objects, key);
50
+	return node && node.value;
51
+};
52
+/** @type {import('.').listSet} */
53
+var listSet = function (objects, key, value) {
54
+	var node = listGetNode(objects, key);
55
+	if (node) {
56
+		node.value = value;
57
+	} else {
58
+		// Prepend the new node to the beginning of the list
59
+		objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
60
+			key: key,
61
+			next: objects.next,
62
+			value: value
63
+		});
64
+	}
65
+};
66
+/** @type {import('.').listHas} */
67
+var listHas = function (objects, key) {
68
+	return !!listGetNode(objects, key);
69
+};
70
+
71
+/** @type {import('.')} */
72
+module.exports = function getSideChannel() {
73
+	/** @type {WeakMap<object, unknown>} */ var $wm;
74
+	/** @type {Map<object, unknown>} */ var $m;
75
+	/** @type {import('.').RootNode<unknown>} */ var $o;
76
+
77
+	/** @type {import('.').Channel} */
78
+	var channel = {
79
+		assert: function (key) {
80
+			if (!channel.has(key)) {
81
+				throw new $TypeError('Side channel does not contain ' + inspect(key));
82
+			}
83
+		},
84
+		get: function (key) { // eslint-disable-line consistent-return
85
+			if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
86
+				if ($wm) {
87
+					return $weakMapGet($wm, key);
88
+				}
89
+			} else if ($Map) {
90
+				if ($m) {
91
+					return $mapGet($m, key);
92
+				}
93
+			} else {
94
+				if ($o) { // eslint-disable-line no-lonely-if
95
+					return listGet($o, key);
96
+				}
97
+			}
98
+		},
99
+		has: function (key) {
100
+			if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
101
+				if ($wm) {
102
+					return $weakMapHas($wm, key);
103
+				}
104
+			} else if ($Map) {
105
+				if ($m) {
106
+					return $mapHas($m, key);
107
+				}
108
+			} else {
109
+				if ($o) { // eslint-disable-line no-lonely-if
110
+					return listHas($o, key);
111
+				}
112
+			}
113
+			return false;
114
+		},
115
+		set: function (key, value) {
116
+			if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
117
+				if (!$wm) {
118
+					$wm = new $WeakMap();
119
+				}
120
+				$weakMapSet($wm, key, value);
121
+			} else if ($Map) {
122
+				if (!$m) {
123
+					$m = new $Map();
124
+				}
125
+				$mapSet($m, key, value);
126
+			} else {
127
+				if (!$o) {
128
+					// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
129
+					$o = { key: {}, next: null };
130
+				}
131
+				listSet($o, key, value);
132
+			}
133
+		}
134
+	};
135
+	return channel;
136
+};
137
+
138
+}, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); })
139
+return __REQUIRE__(1729044221124);
140
+})()
141
+//miniprogram-npm-outsideDeps=["get-intrinsic","call-bind/callBound","object-inspect","es-errors/type"]
142
+//# sourceMappingURL=index.js.map

+ 1
- 0
miniprogram_npm/side-channel/index.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 192
- 0
node_modules/.package-lock.json Dosyayı Görüntüle

@@ -3,11 +3,145 @@
3 3
   "lockfileVersion": 3,
4 4
   "requires": true,
5 5
   "packages": {
6
+    "node_modules/call-bind": {
7
+      "version": "1.0.7",
8
+      "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
9
+      "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
10
+      "dependencies": {
11
+        "es-define-property": "^1.0.0",
12
+        "es-errors": "^1.3.0",
13
+        "function-bind": "^1.1.2",
14
+        "get-intrinsic": "^1.2.4",
15
+        "set-function-length": "^1.2.1"
16
+      },
17
+      "engines": {
18
+        "node": ">= 0.4"
19
+      },
20
+      "funding": {
21
+        "url": "https://github.com/sponsors/ljharb"
22
+      }
23
+    },
6 24
     "node_modules/dayjs": {
7 25
       "version": "1.11.11",
8 26
       "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz",
9 27
       "integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg=="
10 28
     },
29
+    "node_modules/define-data-property": {
30
+      "version": "1.1.4",
31
+      "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
32
+      "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
33
+      "dependencies": {
34
+        "es-define-property": "^1.0.0",
35
+        "es-errors": "^1.3.0",
36
+        "gopd": "^1.0.1"
37
+      },
38
+      "engines": {
39
+        "node": ">= 0.4"
40
+      },
41
+      "funding": {
42
+        "url": "https://github.com/sponsors/ljharb"
43
+      }
44
+    },
45
+    "node_modules/es-define-property": {
46
+      "version": "1.0.0",
47
+      "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
48
+      "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
49
+      "dependencies": {
50
+        "get-intrinsic": "^1.2.4"
51
+      },
52
+      "engines": {
53
+        "node": ">= 0.4"
54
+      }
55
+    },
56
+    "node_modules/es-errors": {
57
+      "version": "1.3.0",
58
+      "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
59
+      "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
60
+      "engines": {
61
+        "node": ">= 0.4"
62
+      }
63
+    },
64
+    "node_modules/function-bind": {
65
+      "version": "1.1.2",
66
+      "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
67
+      "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
68
+      "funding": {
69
+        "url": "https://github.com/sponsors/ljharb"
70
+      }
71
+    },
72
+    "node_modules/get-intrinsic": {
73
+      "version": "1.2.4",
74
+      "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
75
+      "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
76
+      "dependencies": {
77
+        "es-errors": "^1.3.0",
78
+        "function-bind": "^1.1.2",
79
+        "has-proto": "^1.0.1",
80
+        "has-symbols": "^1.0.3",
81
+        "hasown": "^2.0.0"
82
+      },
83
+      "engines": {
84
+        "node": ">= 0.4"
85
+      },
86
+      "funding": {
87
+        "url": "https://github.com/sponsors/ljharb"
88
+      }
89
+    },
90
+    "node_modules/gopd": {
91
+      "version": "1.0.1",
92
+      "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
93
+      "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
94
+      "dependencies": {
95
+        "get-intrinsic": "^1.1.3"
96
+      },
97
+      "funding": {
98
+        "url": "https://github.com/sponsors/ljharb"
99
+      }
100
+    },
101
+    "node_modules/has-property-descriptors": {
102
+      "version": "1.0.2",
103
+      "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
104
+      "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
105
+      "dependencies": {
106
+        "es-define-property": "^1.0.0"
107
+      },
108
+      "funding": {
109
+        "url": "https://github.com/sponsors/ljharb"
110
+      }
111
+    },
112
+    "node_modules/has-proto": {
113
+      "version": "1.0.3",
114
+      "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
115
+      "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
116
+      "engines": {
117
+        "node": ">= 0.4"
118
+      },
119
+      "funding": {
120
+        "url": "https://github.com/sponsors/ljharb"
121
+      }
122
+    },
123
+    "node_modules/has-symbols": {
124
+      "version": "1.0.3",
125
+      "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
126
+      "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
127
+      "engines": {
128
+        "node": ">= 0.4"
129
+      },
130
+      "funding": {
131
+        "url": "https://github.com/sponsors/ljharb"
132
+      }
133
+    },
134
+    "node_modules/hasown": {
135
+      "version": "2.0.2",
136
+      "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
137
+      "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
138
+      "dependencies": {
139
+        "function-bind": "^1.1.2"
140
+      },
141
+      "engines": {
142
+        "node": ">= 0.4"
143
+      }
144
+    },
11 145
     "node_modules/moment": {
12 146
       "version": "2.30.1",
13 147
       "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz",
@@ -16,6 +150,64 @@
16 150
         "node": "*"
17 151
       }
18 152
     },
153
+    "node_modules/object-inspect": {
154
+      "version": "1.13.2",
155
+      "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
156
+      "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
157
+      "engines": {
158
+        "node": ">= 0.4"
159
+      },
160
+      "funding": {
161
+        "url": "https://github.com/sponsors/ljharb"
162
+      }
163
+    },
164
+    "node_modules/qs": {
165
+      "version": "6.12.2",
166
+      "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.2.tgz",
167
+      "integrity": "sha512-x+NLUpx9SYrcwXtX7ob1gnkSems4i/mGZX5SlYxwIau6RrUSODO89TR/XDGGpn5RPWSYIB+aSfuSlV5+CmbTBg==",
168
+      "dependencies": {
169
+        "side-channel": "^1.0.6"
170
+      },
171
+      "engines": {
172
+        "node": ">=0.6"
173
+      },
174
+      "funding": {
175
+        "url": "https://github.com/sponsors/ljharb"
176
+      }
177
+    },
178
+    "node_modules/set-function-length": {
179
+      "version": "1.2.2",
180
+      "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
181
+      "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
182
+      "dependencies": {
183
+        "define-data-property": "^1.1.4",
184
+        "es-errors": "^1.3.0",
185
+        "function-bind": "^1.1.2",
186
+        "get-intrinsic": "^1.2.4",
187
+        "gopd": "^1.0.1",
188
+        "has-property-descriptors": "^1.0.2"
189
+      },
190
+      "engines": {
191
+        "node": ">= 0.4"
192
+      }
193
+    },
194
+    "node_modules/side-channel": {
195
+      "version": "1.0.6",
196
+      "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
197
+      "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
198
+      "dependencies": {
199
+        "call-bind": "^1.0.7",
200
+        "es-errors": "^1.3.0",
201
+        "get-intrinsic": "^1.2.4",
202
+        "object-inspect": "^1.13.1"
203
+      },
204
+      "engines": {
205
+        "node": ">= 0.4"
206
+      },
207
+      "funding": {
208
+        "url": "https://github.com/sponsors/ljharb"
209
+      }
210
+    },
19 211
     "node_modules/tdesign-miniprogram": {
20 212
       "version": "1.4.5",
21 213
       "resolved": "https://registry.npmjs.org/tdesign-miniprogram/-/tdesign-miniprogram-1.4.5.tgz",

+ 1
- 0
node_modules/call-bind/.eslintignore Dosyayı Görüntüle

@@ -0,0 +1 @@
1
+coverage/

+ 16
- 0
node_modules/call-bind/.eslintrc Dosyayı Görüntüle

@@ -0,0 +1,16 @@
1
+{
2
+	"root": true,
3
+
4
+	"extends": "@ljharb",
5
+
6
+	"rules": {
7
+		"func-name-matching": 0,
8
+		"id-length": 0,
9
+		"new-cap": [2, {
10
+			"capIsNewExceptions": [
11
+				"GetIntrinsic",
12
+			],
13
+		}],
14
+		"no-magic-numbers": 0,
15
+	},
16
+}

+ 12
- 0
node_modules/call-bind/.github/FUNDING.yml Dosyayı Görüntüle

@@ -0,0 +1,12 @@
1
+# These are supported funding model platforms
2
+
3
+github: [ljharb]
4
+patreon: # Replace with a single Patreon username
5
+open_collective: # Replace with a single Open Collective username
6
+ko_fi: # Replace with a single Ko-fi username
7
+tidelift: npm/call-bind
8
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+liberapay: # Replace with a single Liberapay username
10
+issuehunt: # Replace with a single IssueHunt username
11
+otechie: # Replace with a single Otechie username
12
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

+ 9
- 0
node_modules/call-bind/.nycrc Dosyayı Görüntüle

@@ -0,0 +1,9 @@
1
+{
2
+	"all": true,
3
+	"check-coverage": false,
4
+	"reporter": ["text-summary", "text", "html", "json"],
5
+	"exclude": [
6
+		"coverage",
7
+		"test"
8
+	]
9
+}

+ 93
- 0
node_modules/call-bind/CHANGELOG.md Dosyayı Görüntüle

@@ -0,0 +1,93 @@
1
+# Changelog
2
+
3
+All notable changes to this project will be documented in this file.
4
+
5
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+## [v1.0.7](https://github.com/ljharb/call-bind/compare/v1.0.6...v1.0.7) - 2024-02-12
9
+
10
+### Commits
11
+
12
+- [Refactor] use `es-define-property` [`09b76a0`](https://github.com/ljharb/call-bind/commit/09b76a01634440461d44a80c9924ec4b500f3b03)
13
+- [Deps] update `get-intrinsic`, `set-function-length` [`ad5136d`](https://github.com/ljharb/call-bind/commit/ad5136ddda2a45c590959829ad3dce0c9f4e3590)
14
+
15
+## [v1.0.6](https://github.com/ljharb/call-bind/compare/v1.0.5...v1.0.6) - 2024-02-05
16
+
17
+### Commits
18
+
19
+- [Dev Deps] update `aud`, `npmignore`, `tape` [`d564d5c`](https://github.com/ljharb/call-bind/commit/d564d5ce3e06a19df4d499c77f8d1a9da44e77aa)
20
+- [Deps] update `get-intrinsic`, `set-function-length` [`cfc2bdc`](https://github.com/ljharb/call-bind/commit/cfc2bdca7b633df0e0e689e6b637f668f1c6792e)
21
+- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`64cd289`](https://github.com/ljharb/call-bind/commit/64cd289ae5862c250a4ca80aa8d461047c166af5)
22
+- [meta] add missing `engines.node` [`32a4038`](https://github.com/ljharb/call-bind/commit/32a4038857b62179f7f9b7b3df2c5260036be582)
23
+
24
+## [v1.0.5](https://github.com/ljharb/call-bind/compare/v1.0.4...v1.0.5) - 2023-10-19
25
+
26
+### Commits
27
+
28
+- [Fix] throw an error on non-functions as early as possible [`f262408`](https://github.com/ljharb/call-bind/commit/f262408f822c840fbc268080f3ad7c429611066d)
29
+- [Deps] update `set-function-length` [`3fff271`](https://github.com/ljharb/call-bind/commit/3fff27145a1e3a76a5b74f1d7c3c43d0fa3b9871)
30
+
31
+## [v1.0.4](https://github.com/ljharb/call-bind/compare/v1.0.3...v1.0.4) - 2023-10-19
32
+
33
+## [v1.0.3](https://github.com/ljharb/call-bind/compare/v1.0.2...v1.0.3) - 2023-10-19
34
+
35
+### Commits
36
+
37
+- [actions] reuse common workflows [`a994df6`](https://github.com/ljharb/call-bind/commit/a994df69f401f4bf735a4ccd77029b85d1549453)
38
+- [meta] use `npmignore` to autogenerate an npmignore file [`eef3ef2`](https://github.com/ljharb/call-bind/commit/eef3ef21e1f002790837fedb8af2679c761fbdf5)
39
+- [readme] flesh out content [`1845ccf`](https://github.com/ljharb/call-bind/commit/1845ccfd9976a607884cfc7157c93192cc16cf22)
40
+- [actions] use `node/install` instead of `node/run`; use `codecov` action [`5b47d53`](https://github.com/ljharb/call-bind/commit/5b47d53d2fd74af5ea0a44f1d51e503cd42f7a90)
41
+- [Refactor] use `set-function-length` [`a0e165c`](https://github.com/ljharb/call-bind/commit/a0e165c5dc61db781cbc919b586b1c2b8da0b150)
42
+- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9c50103`](https://github.com/ljharb/call-bind/commit/9c50103f44137279a817317cf6cc421a658f85b4)
43
+- [meta] simplify "exports" [`019c6d0`](https://github.com/ljharb/call-bind/commit/019c6d06b0e1246ceed8e579f57e44441cbbf6d9)
44
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `safe-publish-latest`, `tape` [`23bd718`](https://github.com/ljharb/call-bind/commit/23bd718a288d3b03042062b4ef5153b3cea83f11)
45
+- [actions] update codecov uploader [`62552d7`](https://github.com/ljharb/call-bind/commit/62552d79cc79e05825e99aaba134ae5b37f33da5)
46
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ec81665`](https://github.com/ljharb/call-bind/commit/ec81665b300f87eabff597afdc8b8092adfa7afd)
47
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`35d67fc`](https://github.com/ljharb/call-bind/commit/35d67fcea883e686650f736f61da5ddca2592de8)
48
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`0266d8d`](https://github.com/ljharb/call-bind/commit/0266d8d2a45086a922db366d0c2932fa463662ff)
49
+- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`43a5b28`](https://github.com/ljharb/call-bind/commit/43a5b28a444e710e1bbf92adb8afb5cf7523a223)
50
+- [Deps] update `define-data-property`, `function-bind`, `get-intrinsic` [`780eb36`](https://github.com/ljharb/call-bind/commit/780eb36552514f8cc99c70821ce698697c2726a5)
51
+- [Dev Deps] update `aud`, `tape` [`90d50ad`](https://github.com/ljharb/call-bind/commit/90d50ad03b061e0268b3380b0065fcaec183dc05)
52
+- [meta] use `prepublishOnly` script for npm 7+ [`44c5433`](https://github.com/ljharb/call-bind/commit/44c5433b7980e02b4870007046407cf6fc543329)
53
+- [Deps] update `get-intrinsic` [`86bfbfc`](https://github.com/ljharb/call-bind/commit/86bfbfcf34afdc6eabc93ce3d408548d0e27d958)
54
+- [Deps] update `get-intrinsic` [`5c53354`](https://github.com/ljharb/call-bind/commit/5c5335489be0294c18cd7a8bb6e08226ee019ff5)
55
+- [actions] update checkout action [`4c393a8`](https://github.com/ljharb/call-bind/commit/4c393a8173b3c8e5b30d5b3297b3b94d48bf87f3)
56
+- [Deps] update `get-intrinsic` [`4e70bde`](https://github.com/ljharb/call-bind/commit/4e70bdec0626acb11616d66250fc14565e716e91)
57
+- [Deps] update `get-intrinsic` [`55ae803`](https://github.com/ljharb/call-bind/commit/55ae803a920bd93c369cd798c20de31f91e9fc60)
58
+
59
+## [v1.0.2](https://github.com/ljharb/call-bind/compare/v1.0.1...v1.0.2) - 2021-01-11
60
+
61
+### Commits
62
+
63
+- [Fix] properly include the receiver in the bound length [`dbae7bc`](https://github.com/ljharb/call-bind/commit/dbae7bc676c079a0d33c0a43e9ef92cb7b01345d)
64
+
65
+## [v1.0.1](https://github.com/ljharb/call-bind/compare/v1.0.0...v1.0.1) - 2021-01-08
66
+
67
+### Commits
68
+
69
+- [Tests] migrate tests to Github Actions [`b6db284`](https://github.com/ljharb/call-bind/commit/b6db284c36f8ccd195b88a6764fe84b7223a0da1)
70
+- [meta] do not publish github action workflow files [`ec7fe46`](https://github.com/ljharb/call-bind/commit/ec7fe46e60cfa4764ee943d2755f5e5a366e578e)
71
+- [Fix] preserve original function’s length when possible [`adbceaa`](https://github.com/ljharb/call-bind/commit/adbceaa3cac4b41ea78bb19d7ccdbaaf7e0bdadb)
72
+- [Tests] gather coverage data on every job [`d69e23c`](https://github.com/ljharb/call-bind/commit/d69e23cc65f101ba1d4c19bb07fa8eb0ec624be8)
73
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`2fd3586`](https://github.com/ljharb/call-bind/commit/2fd3586c5d47b335364c14293114c6b625ae1f71)
74
+- [Deps] update `get-intrinsic` [`f23e931`](https://github.com/ljharb/call-bind/commit/f23e9318cc271c2add8bb38cfded85ee7baf8eee)
75
+- [Deps] update `get-intrinsic` [`72d9f44`](https://github.com/ljharb/call-bind/commit/72d9f44e184465ba8dd3fb48260bbcff234985f2)
76
+- [meta] fix FUNDING.yml [`e723573`](https://github.com/ljharb/call-bind/commit/e723573438c5a68dcec31fb5d96ea6b7e4a93be8)
77
+- [eslint] ignore coverage output [`15e76d2`](https://github.com/ljharb/call-bind/commit/15e76d28a5f43e504696401e5b31ebb78ee1b532)
78
+- [meta] add Automatic Rebase and Require Allow Edits workflows [`8fa4dab`](https://github.com/ljharb/call-bind/commit/8fa4dabb23ba3dd7bb92c9571c1241c08b56e4b6)
79
+
80
+## v1.0.0 - 2020-10-30
81
+
82
+### Commits
83
+
84
+- Initial commit [`306cf98`](https://github.com/ljharb/call-bind/commit/306cf98c7ec9e7ef66b653ec152277ac1381eb50)
85
+- Tests [`e10d0bb`](https://github.com/ljharb/call-bind/commit/e10d0bbdadc7a10ecedc9a1c035112d3e368b8df)
86
+- Implementation [`43852ed`](https://github.com/ljharb/call-bind/commit/43852eda0f187327b7fad2423ca972149a52bd65)
87
+- npm init [`408f860`](https://github.com/ljharb/call-bind/commit/408f860b773a2f610805fd3613d0d71bac1b6249)
88
+- [meta] add Automatic Rebase and Require Allow Edits workflows [`fb349b2`](https://github.com/ljharb/call-bind/commit/fb349b2e48defbec8b5ec8a8395cc8f69f220b13)
89
+- [meta] add `auto-changelog` [`c4001fc`](https://github.com/ljharb/call-bind/commit/c4001fc43031799ef908211c98d3b0fb2b60fde4)
90
+- [meta] add "funding"; create `FUNDING.yml` [`d4d6d29`](https://github.com/ljharb/call-bind/commit/d4d6d2974a14bc2e98830468eda7fe6d6a776717)
91
+- [Tests] add `npm run lint` [`dedfb98`](https://github.com/ljharb/call-bind/commit/dedfb98bd0ecefb08ddb9a94061bd10cde4332af)
92
+- Only apps should have lockfiles [`54ac776`](https://github.com/ljharb/call-bind/commit/54ac77653db45a7361dc153d2f478e743f110650)
93
+- [meta] add `safe-publish-latest` [`9ea8e43`](https://github.com/ljharb/call-bind/commit/9ea8e435b950ce9b705559cd651039f9bf40140f)

+ 21
- 0
node_modules/call-bind/LICENSE Dosyayı Görüntüle

@@ -0,0 +1,21 @@
1
+MIT License
2
+
3
+Copyright (c) 2020 Jordan Harband
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 64
- 0
node_modules/call-bind/README.md Dosyayı Görüntüle

@@ -0,0 +1,64 @@
1
+# call-bind <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+[![github actions][actions-image]][actions-url]
4
+[![coverage][codecov-image]][codecov-url]
5
+[![dependency status][deps-svg]][deps-url]
6
+[![dev dependency status][dev-deps-svg]][dev-deps-url]
7
+[![License][license-image]][license-url]
8
+[![Downloads][downloads-image]][downloads-url]
9
+
10
+[![npm badge][npm-badge-png]][package-url]
11
+
12
+Robustly `.call.bind()` a function.
13
+
14
+## Getting started
15
+
16
+```sh
17
+npm install --save call-bind
18
+```
19
+
20
+## Usage/Examples
21
+
22
+```js
23
+const assert = require('assert');
24
+const callBind = require('call-bind');
25
+const callBound = require('call-bind/callBound');
26
+
27
+function f(a, b) {
28
+	assert.equal(this, 1);
29
+	assert.equal(a, 2);
30
+	assert.equal(b, 3);
31
+	assert.equal(arguments.length, 2);
32
+}
33
+
34
+const fBound = callBind(f);
35
+
36
+const slice = callBound('Array.prototype.slice');
37
+
38
+delete Function.prototype.call;
39
+delete Function.prototype.bind;
40
+
41
+fBound(1, 2, 3);
42
+
43
+assert.deepEqual(slice([1, 2, 3, 4], 1, -1), [2, 3]);
44
+```
45
+
46
+## Tests
47
+
48
+Clone the repo, `npm install`, and run `npm test`
49
+
50
+[package-url]: https://npmjs.org/package/call-bind
51
+[npm-version-svg]: https://versionbadg.es/ljharb/call-bind.svg
52
+[deps-svg]: https://david-dm.org/ljharb/call-bind.svg
53
+[deps-url]: https://david-dm.org/ljharb/call-bind
54
+[dev-deps-svg]: https://david-dm.org/ljharb/call-bind/dev-status.svg
55
+[dev-deps-url]: https://david-dm.org/ljharb/call-bind#info=devDependencies
56
+[npm-badge-png]: https://nodei.co/npm/call-bind.png?downloads=true&stars=true
57
+[license-image]: https://img.shields.io/npm/l/call-bind.svg
58
+[license-url]: LICENSE
59
+[downloads-image]: https://img.shields.io/npm/dm/call-bind.svg
60
+[downloads-url]: https://npm-stat.com/charts.html?package=call-bind
61
+[codecov-image]: https://codecov.io/gh/ljharb/call-bind/branch/main/graphs/badge.svg
62
+[codecov-url]: https://app.codecov.io/gh/ljharb/call-bind/
63
+[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/call-bind
64
+[actions-url]: https://github.com/ljharb/call-bind/actions

+ 15
- 0
node_modules/call-bind/callBound.js Dosyayı Görüntüle

@@ -0,0 +1,15 @@
1
+'use strict';
2
+
3
+var GetIntrinsic = require('get-intrinsic');
4
+
5
+var callBind = require('./');
6
+
7
+var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
8
+
9
+module.exports = function callBoundIntrinsic(name, allowMissing) {
10
+	var intrinsic = GetIntrinsic(name, !!allowMissing);
11
+	if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
12
+		return callBind(intrinsic);
13
+	}
14
+	return intrinsic;
15
+};

+ 35
- 0
node_modules/call-bind/index.js Dosyayı Görüntüle

@@ -0,0 +1,35 @@
1
+'use strict';
2
+
3
+var bind = require('function-bind');
4
+var GetIntrinsic = require('get-intrinsic');
5
+var setFunctionLength = require('set-function-length');
6
+
7
+var $TypeError = require('es-errors/type');
8
+var $apply = GetIntrinsic('%Function.prototype.apply%');
9
+var $call = GetIntrinsic('%Function.prototype.call%');
10
+var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
11
+
12
+var $defineProperty = require('es-define-property');
13
+var $max = GetIntrinsic('%Math.max%');
14
+
15
+module.exports = function callBind(originalFunction) {
16
+	if (typeof originalFunction !== 'function') {
17
+		throw new $TypeError('a function is required');
18
+	}
19
+	var func = $reflectApply(bind, $call, arguments);
20
+	return setFunctionLength(
21
+		func,
22
+		1 + $max(0, originalFunction.length - (arguments.length - 1)),
23
+		true
24
+	);
25
+};
26
+
27
+var applyBind = function applyBind() {
28
+	return $reflectApply(bind, $apply, arguments);
29
+};
30
+
31
+if ($defineProperty) {
32
+	$defineProperty(module.exports, 'apply', { value: applyBind });
33
+} else {
34
+	module.exports.apply = applyBind;
35
+}

+ 95
- 0
node_modules/call-bind/package.json Dosyayı Görüntüle

@@ -0,0 +1,95 @@
1
+{
2
+	"name": "call-bind",
3
+	"version": "1.0.7",
4
+	"description": "Robustly `.call.bind()` a function",
5
+	"main": "index.js",
6
+	"exports": {
7
+		".": "./index.js",
8
+		"./callBound": "./callBound.js",
9
+		"./package.json": "./package.json"
10
+	},
11
+	"scripts": {
12
+		"prepack": "npmignore --auto --commentLines=auto",
13
+		"prepublish": "not-in-publish || npm run prepublishOnly",
14
+		"prepublishOnly": "safe-publish-latest",
15
+		"lint": "eslint --ext=.js,.mjs .",
16
+		"postlint": "evalmd README.md",
17
+		"pretest": "npm run lint",
18
+		"tests-only": "nyc tape 'test/**/*.js'",
19
+		"test": "npm run tests-only",
20
+		"posttest": "aud --production",
21
+		"version": "auto-changelog && git add CHANGELOG.md",
22
+		"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
23
+	},
24
+	"repository": {
25
+		"type": "git",
26
+		"url": "git+https://github.com/ljharb/call-bind.git"
27
+	},
28
+	"keywords": [
29
+		"javascript",
30
+		"ecmascript",
31
+		"es",
32
+		"js",
33
+		"callbind",
34
+		"callbound",
35
+		"call",
36
+		"bind",
37
+		"bound",
38
+		"call-bind",
39
+		"call-bound",
40
+		"function",
41
+		"es-abstract"
42
+	],
43
+	"author": "Jordan Harband <ljharb@gmail.com>",
44
+	"funding": {
45
+		"url": "https://github.com/sponsors/ljharb"
46
+	},
47
+	"license": "MIT",
48
+	"bugs": {
49
+		"url": "https://github.com/ljharb/call-bind/issues"
50
+	},
51
+	"homepage": "https://github.com/ljharb/call-bind#readme",
52
+	"devDependencies": {
53
+		"@ljharb/eslint-config": "^21.1.0",
54
+		"aud": "^2.0.4",
55
+		"auto-changelog": "^2.4.0",
56
+		"es-value-fixtures": "^1.4.2",
57
+		"eslint": "=8.8.0",
58
+		"evalmd": "^0.0.19",
59
+		"for-each": "^0.3.3",
60
+		"gopd": "^1.0.1",
61
+		"has-strict-mode": "^1.0.1",
62
+		"in-publish": "^2.0.1",
63
+		"npmignore": "^0.3.1",
64
+		"nyc": "^10.3.2",
65
+		"object-inspect": "^1.13.1",
66
+		"safe-publish-latest": "^2.0.0",
67
+		"tape": "^5.7.4"
68
+	},
69
+	"dependencies": {
70
+		"es-define-property": "^1.0.0",
71
+		"es-errors": "^1.3.0",
72
+		"function-bind": "^1.1.2",
73
+		"get-intrinsic": "^1.2.4",
74
+		"set-function-length": "^1.2.1"
75
+	},
76
+	"testling": {
77
+		"files": "test/index.js"
78
+	},
79
+	"auto-changelog": {
80
+		"output": "CHANGELOG.md",
81
+		"template": "keepachangelog",
82
+		"unreleased": false,
83
+		"commitLimit": false,
84
+		"backfillLimit": false,
85
+		"hideCredit": true
86
+	},
87
+	"publishConfig": {
88
+		"ignore": [
89
+			".github/workflows"
90
+		]
91
+	},
92
+	"engines": {
93
+		"node": ">= 0.4"
94
+	}
95
+}

+ 54
- 0
node_modules/call-bind/test/callBound.js Dosyayı Görüntüle

@@ -0,0 +1,54 @@
1
+'use strict';
2
+
3
+var test = require('tape');
4
+
5
+var callBound = require('../callBound');
6
+
7
+test('callBound', function (t) {
8
+	// static primitive
9
+	t.equal(callBound('Array.length'), Array.length, 'Array.length yields itself');
10
+	t.equal(callBound('%Array.length%'), Array.length, '%Array.length% yields itself');
11
+
12
+	// static non-function object
13
+	t.equal(callBound('Array.prototype'), Array.prototype, 'Array.prototype yields itself');
14
+	t.equal(callBound('%Array.prototype%'), Array.prototype, '%Array.prototype% yields itself');
15
+	t.equal(callBound('Array.constructor'), Array.constructor, 'Array.constructor yields itself');
16
+	t.equal(callBound('%Array.constructor%'), Array.constructor, '%Array.constructor% yields itself');
17
+
18
+	// static function
19
+	t.equal(callBound('Date.parse'), Date.parse, 'Date.parse yields itself');
20
+	t.equal(callBound('%Date.parse%'), Date.parse, '%Date.parse% yields itself');
21
+
22
+	// prototype primitive
23
+	t.equal(callBound('Error.prototype.message'), Error.prototype.message, 'Error.prototype.message yields itself');
24
+	t.equal(callBound('%Error.prototype.message%'), Error.prototype.message, '%Error.prototype.message% yields itself');
25
+
26
+	// prototype function
27
+	t.notEqual(callBound('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString does not yield itself');
28
+	t.notEqual(callBound('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% does not yield itself');
29
+	t.equal(callBound('Object.prototype.toString')(true), Object.prototype.toString.call(true), 'call-bound Object.prototype.toString calls into the original');
30
+	t.equal(callBound('%Object.prototype.toString%')(true), Object.prototype.toString.call(true), 'call-bound %Object.prototype.toString% calls into the original');
31
+
32
+	t['throws'](
33
+		function () { callBound('does not exist'); },
34
+		SyntaxError,
35
+		'nonexistent intrinsic throws'
36
+	);
37
+	t['throws'](
38
+		function () { callBound('does not exist', true); },
39
+		SyntaxError,
40
+		'allowMissing arg still throws for unknown intrinsic'
41
+	);
42
+
43
+	t.test('real but absent intrinsic', { skip: typeof WeakRef !== 'undefined' }, function (st) {
44
+		st['throws'](
45
+			function () { callBound('WeakRef'); },
46
+			TypeError,
47
+			'real but absent intrinsic throws'
48
+		);
49
+		st.equal(callBound('WeakRef', true), undefined, 'allowMissing arg avoids exception');
50
+		st.end();
51
+	});
52
+
53
+	t.end();
54
+});

+ 80
- 0
node_modules/call-bind/test/index.js Dosyayı Görüntüle

@@ -0,0 +1,80 @@
1
+'use strict';
2
+
3
+var callBind = require('../');
4
+var bind = require('function-bind');
5
+var gOPD = require('gopd');
6
+var hasStrictMode = require('has-strict-mode')();
7
+var forEach = require('for-each');
8
+var inspect = require('object-inspect');
9
+var v = require('es-value-fixtures');
10
+
11
+var test = require('tape');
12
+
13
+/*
14
+ * older engines have length nonconfigurable
15
+ * in io.js v3, it is configurable except on bound functions, hence the .bind()
16
+ */
17
+var functionsHaveConfigurableLengths = !!(
18
+	gOPD
19
+	&& Object.getOwnPropertyDescriptor
20
+	&& Object.getOwnPropertyDescriptor(bind.call(function () {}), 'length').configurable
21
+);
22
+
23
+test('callBind', function (t) {
24
+	forEach(v.nonFunctions, function (nonFunction) {
25
+		t['throws'](
26
+			function () { callBind(nonFunction); },
27
+			TypeError,
28
+			inspect(nonFunction) + ' is not a function'
29
+		);
30
+	});
31
+
32
+	var sentinel = { sentinel: true };
33
+	var func = function (a, b) {
34
+		// eslint-disable-next-line no-invalid-this
35
+		return [!hasStrictMode && this === global ? undefined : this, a, b];
36
+	};
37
+	t.equal(func.length, 2, 'original function length is 2');
38
+	t.deepEqual(func(), [undefined, undefined, undefined], 'unbound func with too few args');
39
+	t.deepEqual(func(1, 2), [undefined, 1, 2], 'unbound func with right args');
40
+	t.deepEqual(func(1, 2, 3), [undefined, 1, 2], 'unbound func with too many args');
41
+
42
+	var bound = callBind(func);
43
+	t.equal(bound.length, func.length + 1, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
44
+	t.deepEqual(bound(), [undefined, undefined, undefined], 'bound func with too few args');
45
+	t.deepEqual(bound(1, 2), [hasStrictMode ? 1 : Object(1), 2, undefined], 'bound func with right args');
46
+	t.deepEqual(bound(1, 2, 3), [hasStrictMode ? 1 : Object(1), 2, 3], 'bound func with too many args');
47
+
48
+	var boundR = callBind(func, sentinel);
49
+	t.equal(boundR.length, func.length, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
50
+	t.deepEqual(boundR(), [sentinel, undefined, undefined], 'bound func with receiver, with too few args');
51
+	t.deepEqual(boundR(1, 2), [sentinel, 1, 2], 'bound func with receiver, with right args');
52
+	t.deepEqual(boundR(1, 2, 3), [sentinel, 1, 2], 'bound func with receiver, with too many args');
53
+
54
+	var boundArg = callBind(func, sentinel, 1);
55
+	t.equal(boundArg.length, func.length - 1, 'function length is preserved', { skip: !functionsHaveConfigurableLengths });
56
+	t.deepEqual(boundArg(), [sentinel, 1, undefined], 'bound func with receiver and arg, with too few args');
57
+	t.deepEqual(boundArg(2), [sentinel, 1, 2], 'bound func with receiver and arg, with right arg');
58
+	t.deepEqual(boundArg(2, 3), [sentinel, 1, 2], 'bound func with receiver and arg, with too many args');
59
+
60
+	t.test('callBind.apply', function (st) {
61
+		var aBound = callBind.apply(func);
62
+		st.deepEqual(aBound(sentinel), [sentinel, undefined, undefined], 'apply-bound func with no args');
63
+		st.deepEqual(aBound(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args');
64
+		st.deepEqual(aBound(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args');
65
+
66
+		var aBoundArg = callBind.apply(func);
67
+		st.deepEqual(aBoundArg(sentinel, [1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with too many args');
68
+		st.deepEqual(aBoundArg(sentinel, [1, 2], 4), [sentinel, 1, 2], 'apply-bound func with right args');
69
+		st.deepEqual(aBoundArg(sentinel, [1], 4), [sentinel, 1, undefined], 'apply-bound func with too few args');
70
+
71
+		var aBoundR = callBind.apply(func, sentinel);
72
+		st.deepEqual(aBoundR([1, 2, 3], 4), [sentinel, 1, 2], 'apply-bound func with receiver and too many args');
73
+		st.deepEqual(aBoundR([1, 2], 4), [sentinel, 1, 2], 'apply-bound func with receiver and right args');
74
+		st.deepEqual(aBoundR([1], 4), [sentinel, 1, undefined], 'apply-bound func with receiver and too few args');
75
+
76
+		st.end();
77
+	});
78
+
79
+	t.end();
80
+});

+ 24
- 0
node_modules/define-data-property/.eslintrc Dosyayı Görüntüle

@@ -0,0 +1,24 @@
1
+{
2
+	"root": true,
3
+
4
+	"extends": "@ljharb",
5
+
6
+	"rules": {
7
+		"complexity": 0,
8
+		"id-length": 0,
9
+		"new-cap": ["error", {
10
+			"capIsNewExceptions": [
11
+				"GetIntrinsic",
12
+			],
13
+		}],
14
+	},
15
+
16
+	"overrides": [
17
+		{
18
+			"files": "test/**",
19
+			"rules": {
20
+				"max-lines-per-function": "off",
21
+			},
22
+		},
23
+	],
24
+}

+ 12
- 0
node_modules/define-data-property/.github/FUNDING.yml Dosyayı Görüntüle

@@ -0,0 +1,12 @@
1
+# These are supported funding model platforms
2
+
3
+github: [ljharb]
4
+patreon: # Replace with a single Patreon username
5
+open_collective: # Replace with a single Open Collective username
6
+ko_fi: # Replace with a single Ko-fi username
7
+tidelift: npm/define-data-property
8
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+liberapay: # Replace with a single Liberapay username
10
+issuehunt: # Replace with a single IssueHunt username
11
+otechie: # Replace with a single Otechie username
12
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

+ 13
- 0
node_modules/define-data-property/.nycrc Dosyayı Görüntüle

@@ -0,0 +1,13 @@
1
+{
2
+	"all": true,
3
+	"check-coverage": false,
4
+	"reporter": ["text-summary", "text", "html", "json"],
5
+	"lines": 86,
6
+	"statements": 85.93,
7
+	"functions": 82.43,
8
+	"branches": 76.06,
9
+	"exclude": [
10
+		"coverage",
11
+		"test"
12
+	]
13
+}

+ 70
- 0
node_modules/define-data-property/CHANGELOG.md Dosyayı Görüntüle

@@ -0,0 +1,70 @@
1
+# Changelog
2
+
3
+All notable changes to this project will be documented in this file.
4
+
5
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+## [v1.1.4](https://github.com/ljharb/define-data-property/compare/v1.1.3...v1.1.4) - 2024-02-13
9
+
10
+### Commits
11
+
12
+- [Refactor] use `es-define-property` [`90f2f4c`](https://github.com/ljharb/define-data-property/commit/90f2f4cc20298401e71c28e1e08888db12021453)
13
+- [Dev Deps] update `@types/object.getownpropertydescriptors` [`cd929d9`](https://github.com/ljharb/define-data-property/commit/cd929d9a04f5f2fdcfa9d5be140940b91a083153)
14
+
15
+## [v1.1.3](https://github.com/ljharb/define-data-property/compare/v1.1.2...v1.1.3) - 2024-02-12
16
+
17
+### Commits
18
+
19
+- [types] hand-write d.ts instead of emitting it [`0cbc988`](https://github.com/ljharb/define-data-property/commit/0cbc988203c105f2d97948327c7167ebd33bd318)
20
+- [meta] simplify `exports` [`690781e`](https://github.com/ljharb/define-data-property/commit/690781eed28bbf2d6766237efda0ba6dd591609e)
21
+- [Dev Deps] update `hasown`; clean up DT packages [`6cdfd1c`](https://github.com/ljharb/define-data-property/commit/6cdfd1cb2d91d791bfd18cda5d5cab232fd5d8fc)
22
+- [actions] cleanup [`3142bc6`](https://github.com/ljharb/define-data-property/commit/3142bc6a4bc406a51f5b04f31e98562a27f35ffd)
23
+- [meta] add `funding` [`8474423`](https://github.com/ljharb/define-data-property/commit/847442391a79779af3e0f1bf0b5bb923552b7804)
24
+- [Deps] update `get-intrinsic` [`3e9be00`](https://github.com/ljharb/define-data-property/commit/3e9be00e07784ba34e7c77d8bc0fdbc832ad61de)
25
+
26
+## [v1.1.2](https://github.com/ljharb/define-data-property/compare/v1.1.1...v1.1.2) - 2024-02-05
27
+
28
+### Commits
29
+
30
+- [Dev Deps] update @types packages, `object-inspect`, `tape`, `typescript` [`df41bf8`](https://github.com/ljharb/define-data-property/commit/df41bf84ca3456be6226055caab44e38e3a7fd2f)
31
+- [Dev Deps] update DT packages, `aud`, `npmignore`, `tape`, typescript` [`fab0e4e`](https://github.com/ljharb/define-data-property/commit/fab0e4ec709ee02b79f42d6db3ee5f26e0a34b8a)
32
+- [Dev Deps] use `hasown` instead of `has` [`aa51ef9`](https://github.com/ljharb/define-data-property/commit/aa51ef93f6403d49d9bb72a807bcdb6e418978c0)
33
+- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`d89be50`](https://github.com/ljharb/define-data-property/commit/d89be50571175888d391238605122679f7e65ffc)
34
+- [Deps] update `has-property-descriptors` [`7af887c`](https://github.com/ljharb/define-data-property/commit/7af887c9083b59b195b0079e04815cfed9fcee2b)
35
+- [Deps] update `get-intrinsic` [`bb8728e`](https://github.com/ljharb/define-data-property/commit/bb8728ec42cd998505a7157ae24853a560c20646)
36
+
37
+## [v1.1.1](https://github.com/ljharb/define-data-property/compare/v1.1.0...v1.1.1) - 2023-10-12
38
+
39
+### Commits
40
+
41
+- [Tests] fix tests in ES3 engines [`5c6920e`](https://github.com/ljharb/define-data-property/commit/5c6920edd1f52f675b02f417e539c28135b43f94)
42
+- [Dev Deps] update `@types/es-value-fixtures`, `@types/for-each`, `@types/gopd`, `@types/has-property-descriptors`, `tape`, `typescript` [`7d82dfc`](https://github.com/ljharb/define-data-property/commit/7d82dfc20f778b4465bba06335dd53f6f431aea3)
43
+- [Fix] IE 8 has a broken `Object.defineProperty` [`0672e1a`](https://github.com/ljharb/define-data-property/commit/0672e1af2a9fcc787e7c23b96dea60d290df5548)
44
+- [meta] emit types on prepack [`73acb1f`](https://github.com/ljharb/define-data-property/commit/73acb1f903c21b314ec7156bf10f73c7910530c0)
45
+- [Dev Deps] update `tape`, `typescript` [`9489a77`](https://github.com/ljharb/define-data-property/commit/9489a7738bf2ecf0ac71d5b78ec4ca6ad7ba0142)
46
+
47
+## [v1.1.0](https://github.com/ljharb/define-data-property/compare/v1.0.1...v1.1.0) - 2023-09-13
48
+
49
+### Commits
50
+
51
+- [New] add `loose` arg [`155235a`](https://github.com/ljharb/define-data-property/commit/155235a4c4d7741f6de01cd87c99599a56654b72)
52
+- [New] allow `null` to be passed for the non* args [`7d2fa5f`](https://github.com/ljharb/define-data-property/commit/7d2fa5f06be0392736c13b126f7cd38979f34792)
53
+
54
+## [v1.0.1](https://github.com/ljharb/define-data-property/compare/v1.0.0...v1.0.1) - 2023-09-12
55
+
56
+### Commits
57
+
58
+- [meta] add TS types [`43d763c`](https://github.com/ljharb/define-data-property/commit/43d763c6c883f652de1c9c02ef6216ee507ffa69)
59
+- [Dev Deps] update `@types/tape`, `typescript` [`f444985`](https://github.com/ljharb/define-data-property/commit/f444985811c36f3e6448a03ad2f9b7898917f4c7)
60
+- [meta] add `safe-publish-latest`, [`172bb10`](https://github.com/ljharb/define-data-property/commit/172bb10890896ebb160e64398f6ee55760107bee)
61
+
62
+## v1.0.0 - 2023-09-12
63
+
64
+### Commits
65
+
66
+- Initial implementation, tests, readme [`5b43d6b`](https://github.com/ljharb/define-data-property/commit/5b43d6b44e675a904810467a7d4e0adb7efc3196)
67
+- Initial commit [`35e577a`](https://github.com/ljharb/define-data-property/commit/35e577a6ba59a98befa97776d70d90f3bea9009d)
68
+- npm init [`82a0a04`](https://github.com/ljharb/define-data-property/commit/82a0a04a321ca7de220af02d41e2745e8a9962ed)
69
+- Only apps should have lockfiles [`96df244`](https://github.com/ljharb/define-data-property/commit/96df244a3c6f426f9a2437be825d1c6f5dd7158e)
70
+- [meta] use `npmignore` to autogenerate an npmignore file [`a87ff18`](https://github.com/ljharb/define-data-property/commit/a87ff18cb79e14c2eb5720486c4759fd9a189375)

+ 21
- 0
node_modules/define-data-property/LICENSE Dosyayı Görüntüle

@@ -0,0 +1,21 @@
1
+MIT License
2
+
3
+Copyright (c) 2023 Jordan Harband
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 67
- 0
node_modules/define-data-property/README.md Dosyayı Görüntüle

@@ -0,0 +1,67 @@
1
+# define-data-property <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+[![github actions][actions-image]][actions-url]
4
+[![coverage][codecov-image]][codecov-url]
5
+[![License][license-image]][license-url]
6
+[![Downloads][downloads-image]][downloads-url]
7
+
8
+[![npm badge][npm-badge-png]][package-url]
9
+
10
+Define a data property on an object. Will fall back to assignment in an engine without descriptors.
11
+
12
+The three `non*` argument can also be passed `null`, which will use the existing state if available.
13
+
14
+The `loose` argument will mean that if you attempt to set a non-normal data property, in an environment without descriptor support, it will fall back to normal assignment.
15
+
16
+## Usage
17
+
18
+```javascript
19
+var defineDataProperty = require('define-data-property');
20
+var assert = require('assert');
21
+
22
+var obj = {};
23
+defineDataProperty(obj, 'key', 'value');
24
+defineDataProperty(
25
+	obj,
26
+	'key2',
27
+	'value',
28
+	true, // nonEnumerable, optional
29
+	false, // nonWritable, optional
30
+	true, // nonConfigurable, optional
31
+	false // loose, optional
32
+);
33
+
34
+assert.deepEqual(
35
+	Object.getOwnPropertyDescriptors(obj),
36
+	{
37
+		key: {
38
+			configurable: true,
39
+			enumerable: true,
40
+			value: 'value',
41
+			writable: true,
42
+		},
43
+		key2: {
44
+			configurable: false,
45
+			enumerable: false,
46
+			value: 'value',
47
+			writable: true,
48
+		},
49
+	}
50
+);
51
+```
52
+
53
+[package-url]: https://npmjs.org/package/define-data-property
54
+[npm-version-svg]: https://versionbadg.es/ljharb/define-data-property.svg
55
+[deps-svg]: https://david-dm.org/ljharb/define-data-property.svg
56
+[deps-url]: https://david-dm.org/ljharb/define-data-property
57
+[dev-deps-svg]: https://david-dm.org/ljharb/define-data-property/dev-status.svg
58
+[dev-deps-url]: https://david-dm.org/ljharb/define-data-property#info=devDependencies
59
+[npm-badge-png]: https://nodei.co/npm/define-data-property.png?downloads=true&stars=true
60
+[license-image]: https://img.shields.io/npm/l/define-data-property.svg
61
+[license-url]: LICENSE
62
+[downloads-image]: https://img.shields.io/npm/dm/define-data-property.svg
63
+[downloads-url]: https://npm-stat.com/charts.html?package=define-data-property
64
+[codecov-image]: https://codecov.io/gh/ljharb/define-data-property/branch/main/graphs/badge.svg
65
+[codecov-url]: https://app.codecov.io/gh/ljharb/define-data-property/
66
+[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/define-data-property
67
+[actions-url]: https://github.com/ljharb/define-data-property/actions

+ 12
- 0
node_modules/define-data-property/index.d.ts Dosyayı Görüntüle

@@ -0,0 +1,12 @@
1
+
2
+declare function defineDataProperty(
3
+    obj: Record<PropertyKey, unknown>,
4
+    property: keyof typeof obj,
5
+    value: typeof obj[typeof property],
6
+    nonEnumerable?: boolean | null,
7
+    nonWritable?: boolean | null,
8
+    nonConfigurable?: boolean | null,
9
+    loose?: boolean
10
+): void;
11
+
12
+export = defineDataProperty;

+ 56
- 0
node_modules/define-data-property/index.js Dosyayı Görüntüle

@@ -0,0 +1,56 @@
1
+'use strict';
2
+
3
+var $defineProperty = require('es-define-property');
4
+
5
+var $SyntaxError = require('es-errors/syntax');
6
+var $TypeError = require('es-errors/type');
7
+
8
+var gopd = require('gopd');
9
+
10
+/** @type {import('.')} */
11
+module.exports = function defineDataProperty(
12
+	obj,
13
+	property,
14
+	value
15
+) {
16
+	if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
17
+		throw new $TypeError('`obj` must be an object or a function`');
18
+	}
19
+	if (typeof property !== 'string' && typeof property !== 'symbol') {
20
+		throw new $TypeError('`property` must be a string or a symbol`');
21
+	}
22
+	if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
23
+		throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
24
+	}
25
+	if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
26
+		throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
27
+	}
28
+	if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
29
+		throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
30
+	}
31
+	if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
32
+		throw new $TypeError('`loose`, if provided, must be a boolean');
33
+	}
34
+
35
+	var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
36
+	var nonWritable = arguments.length > 4 ? arguments[4] : null;
37
+	var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
38
+	var loose = arguments.length > 6 ? arguments[6] : false;
39
+
40
+	/* @type {false | TypedPropertyDescriptor<unknown>} */
41
+	var desc = !!gopd && gopd(obj, property);
42
+
43
+	if ($defineProperty) {
44
+		$defineProperty(obj, property, {
45
+			configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
46
+			enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
47
+			value: value,
48
+			writable: nonWritable === null && desc ? desc.writable : !nonWritable
49
+		});
50
+	} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
51
+		// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
52
+		obj[property] = value; // eslint-disable-line no-param-reassign
53
+	} else {
54
+		throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
55
+	}
56
+};

+ 106
- 0
node_modules/define-data-property/package.json Dosyayı Görüntüle

@@ -0,0 +1,106 @@
1
+{
2
+	"name": "define-data-property",
3
+	"version": "1.1.4",
4
+	"description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.",
5
+	"main": "index.js",
6
+	"types": "./index.d.ts",
7
+	"exports": {
8
+		".": "./index.js",
9
+		"./package.json": "./package.json"
10
+	},
11
+	"sideEffects": false,
12
+	"scripts": {
13
+		"prepack": "npmignore --auto --commentLines=autogenerated",
14
+		"prepublish": "not-in-publish || npm run prepublishOnly",
15
+		"prepublishOnly": "safe-publish-latest",
16
+		"tsc": "tsc -p .",
17
+		"prelint": "evalmd README.md",
18
+		"lint": "eslint --ext=js,mjs .",
19
+		"postlint": "npm run tsc",
20
+		"pretest": "npm run lint",
21
+		"tests-only": "nyc tape 'test/**/*.js'",
22
+		"test": "npm run tests-only",
23
+		"posttest": "aud --production",
24
+		"version": "auto-changelog && git add CHANGELOG.md",
25
+		"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
26
+	},
27
+	"repository": {
28
+		"type": "git",
29
+		"url": "git+https://github.com/ljharb/define-data-property.git"
30
+	},
31
+	"keywords": [
32
+		"define",
33
+		"data",
34
+		"property",
35
+		"object",
36
+		"accessor",
37
+		"javascript",
38
+		"ecmascript",
39
+		"enumerable",
40
+		"configurable",
41
+		"writable"
42
+	],
43
+	"author": "Jordan Harband <ljharb@gmail.com>",
44
+	"funding": {
45
+		"url": "https://github.com/sponsors/ljharb"
46
+	},
47
+	"license": "MIT",
48
+	"bugs": {
49
+		"url": "https://github.com/ljharb/define-data-property/issues"
50
+	},
51
+	"homepage": "https://github.com/ljharb/define-data-property#readme",
52
+	"dependencies": {
53
+		"es-define-property": "^1.0.0",
54
+		"es-errors": "^1.3.0",
55
+		"gopd": "^1.0.1"
56
+	},
57
+	"devDependencies": {
58
+		"@ljharb/eslint-config": "^21.1.0",
59
+		"@types/call-bind": "^1.0.5",
60
+		"@types/define-properties": "^1.1.5",
61
+		"@types/es-value-fixtures": "^1.4.4",
62
+		"@types/for-each": "^0.3.3",
63
+		"@types/get-intrinsic": "^1.2.2",
64
+		"@types/gopd": "^1.0.3",
65
+		"@types/has-property-descriptors": "^1.0.3",
66
+		"@types/object-inspect": "^1.8.4",
67
+		"@types/object.getownpropertydescriptors": "^2.1.4",
68
+		"@types/tape": "^5.6.4",
69
+		"aud": "^2.0.4",
70
+		"auto-changelog": "^2.4.0",
71
+		"es-value-fixtures": "^1.4.2",
72
+		"eslint": "=8.8.0",
73
+		"evalmd": "^0.0.19",
74
+		"for-each": "^0.3.3",
75
+		"hasown": "^2.0.1",
76
+		"in-publish": "^2.0.1",
77
+		"npmignore": "^0.3.1",
78
+		"nyc": "^10.3.2",
79
+		"object-inspect": "^1.13.1",
80
+		"object.getownpropertydescriptors": "^2.1.7",
81
+		"reflect.ownkeys": "^1.1.4",
82
+		"safe-publish-latest": "^2.0.0",
83
+		"tape": "^5.7.4",
84
+		"typescript": "next"
85
+	},
86
+	"engines": {
87
+		"node": ">= 0.4"
88
+	},
89
+	"testling": {
90
+		"files": "test/index.js"
91
+	},
92
+	"auto-changelog": {
93
+		"output": "CHANGELOG.md",
94
+		"template": "keepachangelog",
95
+		"unreleased": false,
96
+		"commitLimit": false,
97
+		"backfillLimit": false,
98
+		"hideCredit": true
99
+	},
100
+	"publishConfig": {
101
+		"ignore": [
102
+			".github/workflows",
103
+			"types/reflect.ownkeys"
104
+		]
105
+	}
106
+}

+ 392
- 0
node_modules/define-data-property/test/index.js Dosyayı Görüntüle

@@ -0,0 +1,392 @@
1
+'use strict';
2
+
3
+var test = require('tape');
4
+var v = require('es-value-fixtures');
5
+var forEach = require('for-each');
6
+var inspect = require('object-inspect');
7
+var hasOwn = require('hasown');
8
+var hasPropertyDescriptors = require('has-property-descriptors')();
9
+var getOwnPropertyDescriptors = require('object.getownpropertydescriptors');
10
+var ownKeys = require('reflect.ownkeys');
11
+
12
+var defineDataProperty = require('../');
13
+
14
+test('defineDataProperty', function (t) {
15
+	t.test('argument validation', function (st) {
16
+		forEach(v.primitives, function (nonObject) {
17
+			st['throws'](
18
+				// @ts-expect-error
19
+				function () { defineDataProperty(nonObject, 'key', 'value'); },
20
+				TypeError,
21
+				'throws on non-object input: ' + inspect(nonObject)
22
+			);
23
+		});
24
+
25
+		forEach(v.nonPropertyKeys, function (nonPropertyKey) {
26
+			st['throws'](
27
+				// @ts-expect-error
28
+				function () { defineDataProperty({}, nonPropertyKey, 'value'); },
29
+				TypeError,
30
+				'throws on non-PropertyKey input: ' + inspect(nonPropertyKey)
31
+			);
32
+		});
33
+
34
+		forEach(v.nonBooleans, function (nonBoolean) {
35
+			if (nonBoolean !== null) {
36
+				st['throws'](
37
+					// @ts-expect-error
38
+					function () { defineDataProperty({}, 'key', 'value', nonBoolean); },
39
+					TypeError,
40
+					'throws on non-boolean nonEnumerable: ' + inspect(nonBoolean)
41
+				);
42
+
43
+				st['throws'](
44
+					// @ts-expect-error
45
+					function () { defineDataProperty({}, 'key', 'value', false, nonBoolean); },
46
+					TypeError,
47
+					'throws on non-boolean nonWritable: ' + inspect(nonBoolean)
48
+				);
49
+
50
+				st['throws'](
51
+					// @ts-expect-error
52
+					function () { defineDataProperty({}, 'key', 'value', false, false, nonBoolean); },
53
+					TypeError,
54
+					'throws on non-boolean nonConfigurable: ' + inspect(nonBoolean)
55
+				);
56
+			}
57
+		});
58
+
59
+		st.end();
60
+	});
61
+
62
+	t.test('normal data property', function (st) {
63
+		/** @type {Record<PropertyKey, string>} */
64
+		var obj = { existing: 'existing property' };
65
+		st.ok(hasOwn(obj, 'existing'), 'has initial own property');
66
+		st.equal(obj.existing, 'existing property', 'has expected initial value');
67
+
68
+		var res = defineDataProperty(obj, 'added', 'added property');
69
+		st.equal(res, void undefined, 'returns `undefined`');
70
+		st.ok(hasOwn(obj, 'added'), 'has expected own property');
71
+		st.equal(obj.added, 'added property', 'has expected value');
72
+
73
+		defineDataProperty(obj, 'existing', 'new value');
74
+		st.ok(hasOwn(obj, 'existing'), 'still has expected own property');
75
+		st.equal(obj.existing, 'new value', 'has new expected value');
76
+
77
+		defineDataProperty(obj, 'explicit1', 'new value', false);
78
+		st.ok(hasOwn(obj, 'explicit1'), 'has expected own property (explicit enumerable)');
79
+		st.equal(obj.explicit1, 'new value', 'has new expected value (explicit enumerable)');
80
+
81
+		defineDataProperty(obj, 'explicit2', 'new value', false, false);
82
+		st.ok(hasOwn(obj, 'explicit2'), 'has expected own property (explicit writable)');
83
+		st.equal(obj.explicit2, 'new value', 'has new expected value (explicit writable)');
84
+
85
+		defineDataProperty(obj, 'explicit3', 'new value', false, false, false);
86
+		st.ok(hasOwn(obj, 'explicit3'), 'has expected own property (explicit configurable)');
87
+		st.equal(obj.explicit3, 'new value', 'has new expected value (explicit configurable)');
88
+
89
+		st.end();
90
+	});
91
+
92
+	t.test('loose mode', { skip: !hasPropertyDescriptors }, function (st) {
93
+		var obj = { existing: 'existing property' };
94
+
95
+		defineDataProperty(obj, 'added', 'added value 1', true, null, null, true);
96
+		st.deepEqual(
97
+			getOwnPropertyDescriptors(obj),
98
+			{
99
+				existing: {
100
+					configurable: true,
101
+					enumerable: true,
102
+					value: 'existing property',
103
+					writable: true
104
+				},
105
+				added: {
106
+					configurable: true,
107
+					enumerable: !hasPropertyDescriptors,
108
+					value: 'added value 1',
109
+					writable: true
110
+				}
111
+			},
112
+			'in loose mode, obj still adds property 1'
113
+		);
114
+
115
+		defineDataProperty(obj, 'added', 'added value 2', false, true, null, true);
116
+		st.deepEqual(
117
+			getOwnPropertyDescriptors(obj),
118
+			{
119
+				existing: {
120
+					configurable: true,
121
+					enumerable: true,
122
+					value: 'existing property',
123
+					writable: true
124
+				},
125
+				added: {
126
+					configurable: true,
127
+					enumerable: true,
128
+					value: 'added value 2',
129
+					writable: !hasPropertyDescriptors
130
+				}
131
+			},
132
+			'in loose mode, obj still adds property 2'
133
+		);
134
+
135
+		defineDataProperty(obj, 'added', 'added value 3', false, false, true, true);
136
+		st.deepEqual(
137
+			getOwnPropertyDescriptors(obj),
138
+			{
139
+				existing: {
140
+					configurable: true,
141
+					enumerable: true,
142
+					value: 'existing property',
143
+					writable: true
144
+				},
145
+				added: {
146
+					configurable: !hasPropertyDescriptors,
147
+					enumerable: true,
148
+					value: 'added value 3',
149
+					writable: true
150
+				}
151
+			},
152
+			'in loose mode, obj still adds property 3'
153
+		);
154
+
155
+		st.end();
156
+	});
157
+
158
+	t.test('non-normal data property, ES3', { skip: hasPropertyDescriptors }, function (st) {
159
+		/** @type {Record<PropertyKey, string>} */
160
+		var obj = { existing: 'existing property' };
161
+
162
+		st['throws'](
163
+			function () { defineDataProperty(obj, 'added', 'added value', true); },
164
+			SyntaxError,
165
+			'nonEnumerable throws a Syntax Error'
166
+		);
167
+
168
+		st['throws'](
169
+			function () { defineDataProperty(obj, 'added', 'added value', false, true); },
170
+			SyntaxError,
171
+			'nonWritable throws a Syntax Error'
172
+		);
173
+
174
+		st['throws'](
175
+			function () { defineDataProperty(obj, 'added', 'added value', false, false, true); },
176
+			SyntaxError,
177
+			'nonWritable throws a Syntax Error'
178
+		);
179
+
180
+		st.deepEqual(
181
+			ownKeys(obj),
182
+			['existing'],
183
+			'obj still has expected keys'
184
+		);
185
+		st.equal(obj.existing, 'existing property', 'obj still has expected values');
186
+
187
+		st.end();
188
+	});
189
+
190
+	t.test('new non-normal data property, ES5+', { skip: !hasPropertyDescriptors }, function (st) {
191
+		/** @type {Record<PropertyKey, string>} */
192
+		var obj = { existing: 'existing property' };
193
+
194
+		defineDataProperty(obj, 'nonEnum', null, true);
195
+		defineDataProperty(obj, 'nonWrit', null, false, true);
196
+		defineDataProperty(obj, 'nonConf', null, false, false, true);
197
+
198
+		st.deepEqual(
199
+			getOwnPropertyDescriptors(obj),
200
+			{
201
+				existing: {
202
+					configurable: true,
203
+					enumerable: true,
204
+					value: 'existing property',
205
+					writable: true
206
+				},
207
+				nonEnum: {
208
+					configurable: true,
209
+					enumerable: false,
210
+					value: null,
211
+					writable: true
212
+				},
213
+				nonWrit: {
214
+					configurable: true,
215
+					enumerable: true,
216
+					value: null,
217
+					writable: false
218
+				},
219
+				nonConf: {
220
+					configurable: false,
221
+					enumerable: true,
222
+					value: null,
223
+					writable: true
224
+				}
225
+			},
226
+			'obj has expected property descriptors'
227
+		);
228
+
229
+		st.end();
230
+	});
231
+
232
+	t.test('existing non-normal data property, ES5+', { skip: !hasPropertyDescriptors }, function (st) {
233
+		// test case changing an existing non-normal property
234
+
235
+		/** @type {Record<string, null | string>} */
236
+		var obj = {};
237
+		Object.defineProperty(obj, 'nonEnum', { configurable: true, enumerable: false, value: null, writable: true });
238
+		Object.defineProperty(obj, 'nonWrit', { configurable: true, enumerable: true, value: null, writable: false });
239
+		Object.defineProperty(obj, 'nonConf', { configurable: false, enumerable: true, value: null, writable: true });
240
+
241
+		st.deepEqual(
242
+			getOwnPropertyDescriptors(obj),
243
+			{
244
+				nonEnum: {
245
+					configurable: true,
246
+					enumerable: false,
247
+					value: null,
248
+					writable: true
249
+				},
250
+				nonWrit: {
251
+					configurable: true,
252
+					enumerable: true,
253
+					value: null,
254
+					writable: false
255
+				},
256
+				nonConf: {
257
+					configurable: false,
258
+					enumerable: true,
259
+					value: null,
260
+					writable: true
261
+				}
262
+			},
263
+			'obj initially has expected property descriptors'
264
+		);
265
+
266
+		defineDataProperty(obj, 'nonEnum', 'new value', false);
267
+		defineDataProperty(obj, 'nonWrit', 'new value', false, false);
268
+		st['throws'](
269
+			function () { defineDataProperty(obj, 'nonConf', 'new value', false, false, false); },
270
+			TypeError,
271
+			'can not alter a nonconfigurable property'
272
+		);
273
+
274
+		st.deepEqual(
275
+			getOwnPropertyDescriptors(obj),
276
+			{
277
+				nonEnum: {
278
+					configurable: true,
279
+					enumerable: true,
280
+					value: 'new value',
281
+					writable: true
282
+				},
283
+				nonWrit: {
284
+					configurable: true,
285
+					enumerable: true,
286
+					value: 'new value',
287
+					writable: true
288
+				},
289
+				nonConf: {
290
+					configurable: false,
291
+					enumerable: true,
292
+					value: null,
293
+					writable: true
294
+				}
295
+			},
296
+			'obj ends up with expected property descriptors'
297
+		);
298
+
299
+		st.end();
300
+	});
301
+
302
+	t.test('frozen object, ES5+', { skip: !hasPropertyDescriptors }, function (st) {
303
+		var frozen = Object.freeze({ existing: true });
304
+
305
+		st['throws'](
306
+			function () { defineDataProperty(frozen, 'existing', 'new value'); },
307
+			TypeError,
308
+			'frozen object can not modify an existing property'
309
+		);
310
+
311
+		st['throws'](
312
+			function () { defineDataProperty(frozen, 'new', 'new property'); },
313
+			TypeError,
314
+			'frozen object can not add a new property'
315
+		);
316
+
317
+		st.end();
318
+	});
319
+
320
+	t.test('sealed object, ES5+', { skip: !hasPropertyDescriptors }, function (st) {
321
+		var sealed = Object.seal({ existing: true });
322
+		st.deepEqual(
323
+			Object.getOwnPropertyDescriptor(sealed, 'existing'),
324
+			{
325
+				configurable: false,
326
+				enumerable: true,
327
+				value: true,
328
+				writable: true
329
+			},
330
+			'existing value on sealed object has expected descriptor'
331
+		);
332
+
333
+		defineDataProperty(sealed, 'existing', 'new value');
334
+
335
+		st.deepEqual(
336
+			Object.getOwnPropertyDescriptor(sealed, 'existing'),
337
+			{
338
+				configurable: false,
339
+				enumerable: true,
340
+				value: 'new value',
341
+				writable: true
342
+			},
343
+			'existing value on sealed object has changed descriptor'
344
+		);
345
+
346
+		st['throws'](
347
+			function () { defineDataProperty(sealed, 'new', 'new property'); },
348
+			TypeError,
349
+			'sealed object can not add a new property'
350
+		);
351
+
352
+		st.end();
353
+	});
354
+
355
+	t.test('nonextensible object, ES5+', { skip: !hasPropertyDescriptors }, function (st) {
356
+		var nonExt = Object.preventExtensions({ existing: true });
357
+
358
+		st.deepEqual(
359
+			Object.getOwnPropertyDescriptor(nonExt, 'existing'),
360
+			{
361
+				configurable: true,
362
+				enumerable: true,
363
+				value: true,
364
+				writable: true
365
+			},
366
+			'existing value on non-extensible object has expected descriptor'
367
+		);
368
+
369
+		defineDataProperty(nonExt, 'existing', 'new value', true);
370
+
371
+		st.deepEqual(
372
+			Object.getOwnPropertyDescriptor(nonExt, 'existing'),
373
+			{
374
+				configurable: true,
375
+				enumerable: false,
376
+				value: 'new value',
377
+				writable: true
378
+			},
379
+			'existing value on non-extensible object has changed descriptor'
380
+		);
381
+
382
+		st['throws'](
383
+			function () { defineDataProperty(nonExt, 'new', 'new property'); },
384
+			TypeError,
385
+			'non-extensible object can not add a new property'
386
+		);
387
+
388
+		st.end();
389
+	});
390
+
391
+	t.end();
392
+});

+ 59
- 0
node_modules/define-data-property/tsconfig.json Dosyayı Görüntüle

@@ -0,0 +1,59 @@
1
+{
2
+  "compilerOptions": {
3
+    /* Visit https://aka.ms/tsconfig to read more about this file */
4
+
5
+    /* Projects */
6
+
7
+    /* Language and Environment */
8
+    "target": "es2022",                                  /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
9
+    // "lib": [],                                        /* Specify a set of bundled library declaration files that describe the target runtime environment. */
10
+    // "noLib": true,                                    /* Disable including any library files, including the default lib.d.ts. */
11
+    "useDefineForClassFields": true,                     /* Emit ECMAScript-standard-compliant class fields. */
12
+    // "moduleDetection": "auto",                        /* Control what method is used to detect module-format JS files. */
13
+
14
+    /* Modules */
15
+    "module": "commonjs",                                /* Specify what module code is generated. */
16
+    // "rootDir": "./",                                  /* Specify the root folder within your source files. */
17
+    // "moduleResolution": "node10",                     /* Specify how TypeScript looks up a file from a given module specifier. */
18
+    // "baseUrl": "./",                                  /* Specify the base directory to resolve non-relative module names. */
19
+    // "paths": {},                                      /* Specify a set of entries that re-map imports to additional lookup locations. */
20
+    // "rootDirs": [],                                   /* Allow multiple folders to be treated as one when resolving modules. */
21
+    "typeRoots": ["types"],                              /* Specify multiple folders that act like './node_modules/@types'. */
22
+    "resolveJsonModule": true,                           /* Enable importing .json files. */
23
+
24
+    /* JavaScript Support */
25
+    "allowJs": true,                                    /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
26
+    "checkJs": true,                                    /* Enable error reporting in type-checked JavaScript files. */
27
+    "maxNodeModuleJsDepth": 1,                          /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
28
+
29
+    /* Emit */
30
+    "declaration": true,                                 /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
31
+    "declarationMap": true,                              /* Create sourcemaps for d.ts files. */
32
+    // "emitDeclarationOnly": true,                      /* Only output d.ts files and not JavaScript files. */
33
+    "noEmit": true,                                      /* Disable emitting files from a compilation. */
34
+
35
+    /* Interop Constraints */
36
+    "allowSyntheticDefaultImports": true,                /* Allow 'import x from y' when a module doesn't have a default export. */
37
+    "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
38
+    "forceConsistentCasingInFileNames": true,            /* Ensure that casing is correct in imports. */
39
+
40
+    /* Type Checking */
41
+    "strict": true,                                      /* Enable all strict type-checking options. */
42
+    "noImplicitAny": true,                               /* Enable error reporting for expressions and declarations with an implied 'any' type. */
43
+    "noImplicitThis": true,                              /* Enable error reporting when 'this' is given the type 'any'. */
44
+    "useUnknownInCatchVariables": true,                  /* Default catch clause variables as 'unknown' instead of 'any'. */
45
+    "noUnusedLocals": true,                              /* Enable error reporting when local variables aren't read. */
46
+    "noUnusedParameters": true,                          /* Raise an error when a function parameter isn't read. */
47
+    "noImplicitReturns": true,                           /* Enable error reporting for codepaths that do not explicitly return in a function. */
48
+    "noFallthroughCasesInSwitch": true,                  /* Enable error reporting for fallthrough cases in switch statements. */
49
+    "noUncheckedIndexedAccess": true,                    /* Add 'undefined' to a type when accessed using an index. */
50
+    "noImplicitOverride": true,                          /* Ensure overriding members in derived classes are marked with an override modifier. */
51
+    // "noPropertyAccessFromIndexSignature": true,       /* Enforces using indexed accessors for keys declared using an indexed type. */
52
+
53
+    /* Completeness */
54
+    // "skipLibCheck": true                                 /* Skip type checking all .d.ts files. */
55
+  },
56
+  "exclude": [
57
+    "coverage"
58
+  ]
59
+}

+ 13
- 0
node_modules/es-define-property/.eslintrc Dosyayı Görüntüle

@@ -0,0 +1,13 @@
1
+{
2
+	"root": true,
3
+
4
+	"extends": "@ljharb",
5
+
6
+	"rules": {
7
+		"new-cap": ["error", {
8
+			"capIsNewExceptions": [
9
+				"GetIntrinsic",
10
+			],
11
+		}],
12
+	},
13
+}

+ 12
- 0
node_modules/es-define-property/.github/FUNDING.yml Dosyayı Görüntüle

@@ -0,0 +1,12 @@
1
+# These are supported funding model platforms
2
+
3
+github: [ljharb]
4
+patreon: # Replace with a single Patreon username
5
+open_collective: # Replace with a single Open Collective username
6
+ko_fi: # Replace with a single Ko-fi username
7
+tidelift: npm/es-define-property
8
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+liberapay: # Replace with a single Liberapay username
10
+issuehunt: # Replace with a single IssueHunt username
11
+otechie: # Replace with a single Otechie username
12
+custom: # Replace with a single custom sponsorship URL

+ 9
- 0
node_modules/es-define-property/.nycrc Dosyayı Görüntüle

@@ -0,0 +1,9 @@
1
+{
2
+	"all": true,
3
+	"check-coverage": false,
4
+	"reporter": ["text-summary", "text", "html", "json"],
5
+	"exclude": [
6
+		"coverage",
7
+		"test"
8
+	]
9
+}

+ 15
- 0
node_modules/es-define-property/CHANGELOG.md Dosyayı Görüntüle

@@ -0,0 +1,15 @@
1
+# Changelog
2
+
3
+All notable changes to this project will be documented in this file.
4
+
5
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+## v1.0.0 - 2024-02-12
9
+
10
+### Commits
11
+
12
+- Initial implementation, tests, readme, types [`3e154e1`](https://github.com/ljharb/es-define-property/commit/3e154e11a2fee09127220f5e503bf2c0a31dd480)
13
+- Initial commit [`07d98de`](https://github.com/ljharb/es-define-property/commit/07d98de34a4dc31ff5e83a37c0c3f49e0d85cd50)
14
+- npm init [`c4eb634`](https://github.com/ljharb/es-define-property/commit/c4eb6348b0d3886aac36cef34ad2ee0665ea6f3e)
15
+- Only apps should have lockfiles [`7af86ec`](https://github.com/ljharb/es-define-property/commit/7af86ec1d311ec0b17fdfe616a25f64276903856)

+ 21
- 0
node_modules/es-define-property/LICENSE Dosyayı Görüntüle

@@ -0,0 +1,21 @@
1
+MIT License
2
+
3
+Copyright (c) 2024 Jordan Harband
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 49
- 0
node_modules/es-define-property/README.md Dosyayı Görüntüle

@@ -0,0 +1,49 @@
1
+# es-define-property <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+[![github actions][actions-image]][actions-url]
4
+[![coverage][codecov-image]][codecov-url]
5
+[![License][license-image]][license-url]
6
+[![Downloads][downloads-image]][downloads-url]
7
+
8
+[![npm badge][npm-badge-png]][package-url]
9
+
10
+`Object.defineProperty`, but not IE 8's broken one.
11
+
12
+## Example
13
+
14
+```js
15
+const assert = require('assert');
16
+
17
+const $defineProperty = require('es-define-property');
18
+
19
+if ($defineProperty) {
20
+    assert.equal($defineProperty, Object.defineProperty);
21
+} else if (Object.defineProperty) {
22
+    assert.equal($defineProperty, false, 'this is IE 8');
23
+} else {
24
+    assert.equal($defineProperty, false, 'this is an ES3 engine');
25
+}
26
+```
27
+
28
+## Tests
29
+Simply clone the repo, `npm install`, and run `npm test`
30
+
31
+## Security
32
+
33
+Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
34
+
35
+[package-url]: https://npmjs.org/package/es-define-property
36
+[npm-version-svg]: https://versionbadg.es/ljharb/es-define-property.svg
37
+[deps-svg]: https://david-dm.org/ljharb/es-define-property.svg
38
+[deps-url]: https://david-dm.org/ljharb/es-define-property
39
+[dev-deps-svg]: https://david-dm.org/ljharb/es-define-property/dev-status.svg
40
+[dev-deps-url]: https://david-dm.org/ljharb/es-define-property#info=devDependencies
41
+[npm-badge-png]: https://nodei.co/npm/es-define-property.png?downloads=true&stars=true
42
+[license-image]: https://img.shields.io/npm/l/es-define-property.svg
43
+[license-url]: LICENSE
44
+[downloads-image]: https://img.shields.io/npm/dm/es-define-property.svg
45
+[downloads-url]: https://npm-stat.com/charts.html?package=es-define-property
46
+[codecov-image]: https://codecov.io/gh/ljharb/es-define-property/branch/main/graphs/badge.svg
47
+[codecov-url]: https://app.codecov.io/gh/ljharb/es-define-property/
48
+[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-define-property
49
+[actions-url]: https://github.com/ljharb/es-define-property/actions

+ 3
- 0
node_modules/es-define-property/index.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const defineProperty: false | typeof Object.defineProperty;
2
+
3
+export = defineProperty;

+ 16
- 0
node_modules/es-define-property/index.js Dosyayı Görüntüle

@@ -0,0 +1,16 @@
1
+'use strict';
2
+
3
+var GetIntrinsic = require('get-intrinsic');
4
+
5
+/** @type {import('.')} */
6
+var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
7
+if ($defineProperty) {
8
+	try {
9
+		$defineProperty({}, 'a', { value: 1 });
10
+	} catch (e) {
11
+		// IE 8 has a broken defineProperty
12
+		$defineProperty = false;
13
+	}
14
+}
15
+
16
+module.exports = $defineProperty;

+ 81
- 0
node_modules/es-define-property/package.json Dosyayı Görüntüle

@@ -0,0 +1,81 @@
1
+{
2
+	"name": "es-define-property",
3
+	"version": "1.0.0",
4
+	"description": "`Object.defineProperty`, but not IE 8's broken one.",
5
+	"main": "index.js",
6
+	"types": "./index.d.ts",
7
+	"exports": {
8
+		".": "./index.js",
9
+		"./package.json": "./package.json"
10
+	},
11
+	"sideEffects": false,
12
+	"scripts": {
13
+		"prepack": "npmignore --auto --commentLines=autogenerated",
14
+		"prepublish": "not-in-publish || npm run prepublishOnly",
15
+		"prepublishOnly": "safe-publish-latest",
16
+		"prelint": "evalmd README.md",
17
+		"lint": "eslint --ext=js,mjs .",
18
+		"postlint": "tsc -p .",
19
+		"pretest": "npm run lint",
20
+		"tests-only": "nyc tape 'test/**/*.js'",
21
+		"test": "npm run tests-only",
22
+		"posttest": "aud --production",
23
+		"version": "auto-changelog && git add CHANGELOG.md",
24
+		"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
25
+	},
26
+	"repository": {
27
+		"type": "git",
28
+		"url": "git+https://github.com/ljharb/es-define-property.git"
29
+	},
30
+	"keywords": [
31
+		"javascript",
32
+		"ecmascript",
33
+		"object",
34
+		"define",
35
+		"property",
36
+		"defineProperty",
37
+		"Object.defineProperty"
38
+	],
39
+	"author": "Jordan Harband <ljharb@gmail.com>",
40
+	"license": "MIT",
41
+	"bugs": {
42
+		"url": "https://github.com/ljharb/es-define-property/issues"
43
+	},
44
+	"homepage": "https://github.com/ljharb/es-define-property#readme",
45
+	"dependencies": {
46
+		"get-intrinsic": "^1.2.4"
47
+	},
48
+	"devDependencies": {
49
+		"@ljharb/eslint-config": "^21.1.0",
50
+		"@types/get-intrinsic": "^1.2.2",
51
+		"@types/gopd": "^1.0.3",
52
+		"@types/tape": "^5.6.4",
53
+		"aud": "^2.0.4",
54
+		"auto-changelog": "^2.4.0",
55
+		"eslint": "^8.8.0",
56
+		"evalmd": "^0.0.19",
57
+		"gopd": "^1.0.1",
58
+		"in-publish": "^2.0.1",
59
+		"npmignore": "^0.3.1",
60
+		"nyc": "^10.3.2",
61
+		"safe-publish-latest": "^2.0.0",
62
+		"tape": "^5.7.4",
63
+		"typescript": "next"
64
+	},
65
+	"engines": {
66
+		"node": ">= 0.4"
67
+	},
68
+	"auto-changelog": {
69
+		"output": "CHANGELOG.md",
70
+		"template": "keepachangelog",
71
+		"unreleased": false,
72
+		"commitLimit": false,
73
+		"backfillLimit": false,
74
+		"hideCredit": true
75
+	},
76
+	"publishConfig": {
77
+		"ignore": [
78
+			".github/workflows"
79
+		]
80
+	}
81
+}

+ 55
- 0
node_modules/es-define-property/test/index.js Dosyayı Görüntüle

@@ -0,0 +1,55 @@
1
+'use strict';
2
+
3
+var $defineProperty = require('../');
4
+
5
+var test = require('tape');
6
+var gOPD = require('gopd');
7
+
8
+test('defineProperty: supported', { skip: !$defineProperty }, function (t) {
9
+	t.plan(4);
10
+
11
+	t.equal(typeof $defineProperty, 'function', 'defineProperty is supported');
12
+	if ($defineProperty && gOPD) { // this `if` check is just to shut TS up
13
+		var o = { a: 1 };
14
+
15
+		$defineProperty(o, 'b', { enumerable: true, value: 2 });
16
+		t.deepEqual(
17
+			gOPD(o, 'b'),
18
+			{
19
+				configurable: false,
20
+				enumerable: true,
21
+				value: 2,
22
+				writable: false
23
+			},
24
+			'property descriptor is as expected'
25
+		);
26
+
27
+		$defineProperty(o, 'c', { enumerable: false, value: 3, writable: true });
28
+		t.deepEqual(
29
+			gOPD(o, 'c'),
30
+			{
31
+				configurable: false,
32
+				enumerable: false,
33
+				value: 3,
34
+				writable: true
35
+			},
36
+			'property descriptor is as expected'
37
+		);
38
+	}
39
+
40
+	t.equal($defineProperty, Object.defineProperty, 'defineProperty is Object.defineProperty');
41
+
42
+	t.end();
43
+});
44
+
45
+test('defineProperty: not supported', { skip: !!$defineProperty }, function (t) {
46
+	t.notOk($defineProperty, 'defineProperty is not supported');
47
+
48
+	t.match(
49
+		typeof $defineProperty,
50
+		/^(?:undefined|boolean)$/,
51
+		'`typeof defineProperty` is `undefined` or `boolean`'
52
+	);
53
+
54
+	t.end();
55
+});

+ 50
- 0
node_modules/es-define-property/tsconfig.json Dosyayı Görüntüle

@@ -0,0 +1,50 @@
1
+{
2
+	"compilerOptions": {
3
+		/* Visit https://aka.ms/tsconfig.json to read more about this file */
4
+
5
+		/* Projects */
6
+
7
+		/* Language and Environment */
8
+		"target": "es2022",																	/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
9
+		// "lib": [],																				/* Specify a set of bundled library declaration files that describe the target runtime environment. */
10
+		// "noLib": true,																		/* Disable including any library files, including the default lib.d.ts. */
11
+		"useDefineForClassFields": true,										 /* Emit ECMAScript-standard-compliant class fields. */
12
+		// "moduleDetection": "auto",												/* Control what method is used to detect module-format JS files. */
13
+
14
+		/* Modules */
15
+		"module": "commonjs",																/* Specify what module code is generated. */
16
+		// "rootDir": "./",																	/* Specify the root folder within your source files. */
17
+		// "moduleResolution": "node",											 /* Specify how TypeScript looks up a file from a given module specifier. */
18
+		// "baseUrl": "./",																	/* Specify the base directory to resolve non-relative module names. */
19
+		// "paths": {},																			/* Specify a set of entries that re-map imports to additional lookup locations. */
20
+		// "rootDirs": [],																	 /* Allow multiple folders to be treated as one when resolving modules. */
21
+		// "typeRoots": ["types"],													 /* Specify multiple folders that act like `./node_modules/@types`. */
22
+		"resolveJsonModule": true,													 /* Enable importing .json files. */
23
+		// "allowArbitraryExtensions": true,								 /* Enable importing files with any extension, provided a declaration file is present. */
24
+
25
+		/* JavaScript Support */
26
+		"allowJs": true,																		 /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
27
+		"checkJs": true,																		 /* Enable error reporting in type-checked JavaScript files. */
28
+		"maxNodeModuleJsDepth": 1,													 /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
29
+
30
+		/* Emit */
31
+		"declaration": true,																 /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
32
+		"declarationMap": true,															/* Create sourcemaps for d.ts files. */
33
+		"noEmit": true,																			/* Disable emitting files from a compilation. */
34
+
35
+		/* Interop Constraints */
36
+		"allowSyntheticDefaultImports": true,								/* Allow `import x from y` when a module doesn't have a default export. */
37
+		"esModuleInterop": true,														 /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
38
+		"forceConsistentCasingInFileNames": true,						/* Ensure that casing is correct in imports. */
39
+
40
+		/* Type Checking */
41
+		"strict": true,																			/* Enable all strict type-checking options. */
42
+
43
+		/* Completeness */
44
+		// "skipLibCheck": true															/* Skip type checking all .d.ts files. */
45
+	},
46
+	"exclude": [
47
+		"coverage",
48
+		"test/list-exports"
49
+	],
50
+}

+ 5
- 0
node_modules/es-errors/.eslintrc Dosyayı Görüntüle

@@ -0,0 +1,5 @@
1
+{
2
+	"root": true,
3
+
4
+	"extends": "@ljharb",
5
+}

+ 12
- 0
node_modules/es-errors/.github/FUNDING.yml Dosyayı Görüntüle

@@ -0,0 +1,12 @@
1
+# These are supported funding model platforms
2
+
3
+github: [ljharb]
4
+patreon: # Replace with a single Patreon username
5
+open_collective: # Replace with a single Open Collective username
6
+ko_fi: # Replace with a single Ko-fi username
7
+tidelift: npm/es-errors
8
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+liberapay: # Replace with a single Liberapay username
10
+issuehunt: # Replace with a single IssueHunt username
11
+otechie: # Replace with a single Otechie username
12
+custom: # Replace with a single custom sponsorship URL

+ 40
- 0
node_modules/es-errors/CHANGELOG.md Dosyayı Görüntüle

@@ -0,0 +1,40 @@
1
+# Changelog
2
+
3
+All notable changes to this project will be documented in this file.
4
+
5
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+## [v1.3.0](https://github.com/ljharb/es-errors/compare/v1.2.1...v1.3.0) - 2024-02-05
9
+
10
+### Commits
11
+
12
+- [New] add `EvalError` and `URIError` [`1927627`](https://github.com/ljharb/es-errors/commit/1927627ba68cb6c829d307231376c967db53acdf)
13
+
14
+## [v1.2.1](https://github.com/ljharb/es-errors/compare/v1.2.0...v1.2.1) - 2024-02-04
15
+
16
+### Commits
17
+
18
+- [Fix] add missing `exports` entry [`5bb5f28`](https://github.com/ljharb/es-errors/commit/5bb5f280f98922701109d6ebb82eea2257cecc7e)
19
+
20
+## [v1.2.0](https://github.com/ljharb/es-errors/compare/v1.1.0...v1.2.0) - 2024-02-04
21
+
22
+### Commits
23
+
24
+- [New] add `ReferenceError` [`6d8cf5b`](https://github.com/ljharb/es-errors/commit/6d8cf5bbb6f3f598d02cf6f30e468ba2caa8e143)
25
+
26
+## [v1.1.0](https://github.com/ljharb/es-errors/compare/v1.0.0...v1.1.0) - 2024-02-04
27
+
28
+### Commits
29
+
30
+- [New] add base Error [`2983ab6`](https://github.com/ljharb/es-errors/commit/2983ab65f7bc5441276cb021dc3aa03c78881698)
31
+
32
+## v1.0.0 - 2024-02-03
33
+
34
+### Commits
35
+
36
+- Initial implementation, tests, readme, type [`8f47631`](https://github.com/ljharb/es-errors/commit/8f476317e9ad76f40ad648081829b1a1a3a1288b)
37
+- Initial commit [`ea5d099`](https://github.com/ljharb/es-errors/commit/ea5d099ef18e550509ab9e2be000526afd81c385)
38
+- npm init [`6f5ebf9`](https://github.com/ljharb/es-errors/commit/6f5ebf9cead474dadd72b9e63dad315820a089ae)
39
+- Only apps should have lockfiles [`e1a0aeb`](https://github.com/ljharb/es-errors/commit/e1a0aeb7b80f5cfc56be54d6b2100e915d47def8)
40
+- [meta] add `sideEffects` flag [`a9c7d46`](https://github.com/ljharb/es-errors/commit/a9c7d460a492f1d8a241c836bc25a322a19cc043)

+ 21
- 0
node_modules/es-errors/LICENSE Dosyayı Görüntüle

@@ -0,0 +1,21 @@
1
+MIT License
2
+
3
+Copyright (c) 2024 Jordan Harband
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy
6
+of this software and associated documentation files (the "Software"), to deal
7
+in the Software without restriction, including without limitation the rights
8
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+copies of the Software, and to permit persons to whom the Software is
10
+furnished to do so, subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+SOFTWARE.

+ 55
- 0
node_modules/es-errors/README.md Dosyayı Görüntüle

@@ -0,0 +1,55 @@
1
+# es-errors <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+[![github actions][actions-image]][actions-url]
4
+[![coverage][codecov-image]][codecov-url]
5
+[![License][license-image]][license-url]
6
+[![Downloads][downloads-image]][downloads-url]
7
+
8
+[![npm badge][npm-badge-png]][package-url]
9
+
10
+A simple cache for a few of the JS Error constructors.
11
+
12
+## Example
13
+
14
+```js
15
+const assert = require('assert');
16
+
17
+const Base = require('es-errors');
18
+const Eval = require('es-errors/eval');
19
+const Range = require('es-errors/range');
20
+const Ref = require('es-errors/ref');
21
+const Syntax = require('es-errors/syntax');
22
+const Type = require('es-errors/type');
23
+const URI = require('es-errors/uri');
24
+
25
+assert.equal(Base, Error);
26
+assert.equal(Eval, EvalError);
27
+assert.equal(Range, RangeError);
28
+assert.equal(Ref, ReferenceError);
29
+assert.equal(Syntax, SyntaxError);
30
+assert.equal(Type, TypeError);
31
+assert.equal(URI, URIError);
32
+```
33
+
34
+## Tests
35
+Simply clone the repo, `npm install`, and run `npm test`
36
+
37
+## Security
38
+
39
+Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
40
+
41
+[package-url]: https://npmjs.org/package/es-errors
42
+[npm-version-svg]: https://versionbadg.es/ljharb/es-errors.svg
43
+[deps-svg]: https://david-dm.org/ljharb/es-errors.svg
44
+[deps-url]: https://david-dm.org/ljharb/es-errors
45
+[dev-deps-svg]: https://david-dm.org/ljharb/es-errors/dev-status.svg
46
+[dev-deps-url]: https://david-dm.org/ljharb/es-errors#info=devDependencies
47
+[npm-badge-png]: https://nodei.co/npm/es-errors.png?downloads=true&stars=true
48
+[license-image]: https://img.shields.io/npm/l/es-errors.svg
49
+[license-url]: LICENSE
50
+[downloads-image]: https://img.shields.io/npm/dm/es-errors.svg
51
+[downloads-url]: https://npm-stat.com/charts.html?package=es-errors
52
+[codecov-image]: https://codecov.io/gh/ljharb/es-errors/branch/main/graphs/badge.svg
53
+[codecov-url]: https://app.codecov.io/gh/ljharb/es-errors/
54
+[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-errors
55
+[actions-url]: https://github.com/ljharb/es-errors/actions

+ 3
- 0
node_modules/es-errors/eval.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const EvalError: EvalErrorConstructor;
2
+
3
+export = EvalError;

+ 4
- 0
node_modules/es-errors/eval.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('./eval')} */
4
+module.exports = EvalError;

+ 3
- 0
node_modules/es-errors/index.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const Error: ErrorConstructor;
2
+
3
+export = Error;

+ 4
- 0
node_modules/es-errors/index.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('.')} */
4
+module.exports = Error;

+ 80
- 0
node_modules/es-errors/package.json Dosyayı Görüntüle

@@ -0,0 +1,80 @@
1
+{
2
+	"name": "es-errors",
3
+	"version": "1.3.0",
4
+	"description": "A simple cache for a few of the JS Error constructors.",
5
+	"main": "index.js",
6
+	"exports": {
7
+		".": "./index.js",
8
+		"./eval": "./eval.js",
9
+		"./range": "./range.js",
10
+		"./ref": "./ref.js",
11
+		"./syntax": "./syntax.js",
12
+		"./type": "./type.js",
13
+		"./uri": "./uri.js",
14
+		"./package.json": "./package.json"
15
+	},
16
+	"sideEffects": false,
17
+	"scripts": {
18
+		"prepack": "npmignore --auto --commentLines=autogenerated",
19
+		"prepublishOnly": "safe-publish-latest",
20
+		"prepublish": "not-in-publish || npm run prepublishOnly",
21
+		"pretest": "npm run lint",
22
+		"test": "npm run tests-only",
23
+		"tests-only": "nyc tape 'test/**/*.js'",
24
+		"posttest": "aud --production",
25
+		"prelint": "evalmd README.md",
26
+		"lint": "eslint --ext=js,mjs .",
27
+		"postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
28
+		"version": "auto-changelog && git add CHANGELOG.md",
29
+		"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
30
+	},
31
+	"repository": {
32
+		"type": "git",
33
+		"url": "git+https://github.com/ljharb/es-errors.git"
34
+	},
35
+	"keywords": [
36
+		"javascript",
37
+		"ecmascript",
38
+		"error",
39
+		"typeerror",
40
+		"syntaxerror",
41
+		"rangeerror"
42
+	],
43
+	"author": "Jordan Harband <ljharb@gmail.com>",
44
+	"license": "MIT",
45
+	"bugs": {
46
+		"url": "https://github.com/ljharb/es-errors/issues"
47
+	},
48
+	"homepage": "https://github.com/ljharb/es-errors#readme",
49
+	"devDependencies": {
50
+		"@ljharb/eslint-config": "^21.1.0",
51
+		"@types/tape": "^5.6.4",
52
+		"aud": "^2.0.4",
53
+		"auto-changelog": "^2.4.0",
54
+		"eclint": "^2.8.1",
55
+		"eslint": "^8.8.0",
56
+		"evalmd": "^0.0.19",
57
+		"in-publish": "^2.0.1",
58
+		"npmignore": "^0.3.1",
59
+		"nyc": "^10.3.2",
60
+		"safe-publish-latest": "^2.0.0",
61
+		"tape": "^5.7.4",
62
+		"typescript": "next"
63
+	},
64
+	"auto-changelog": {
65
+		"output": "CHANGELOG.md",
66
+		"template": "keepachangelog",
67
+		"unreleased": false,
68
+		"commitLimit": false,
69
+		"backfillLimit": false,
70
+		"hideCredit": true
71
+	},
72
+	"publishConfig": {
73
+		"ignore": [
74
+			".github/workflows"
75
+		]
76
+	},
77
+	"engines": {
78
+		"node": ">= 0.4"
79
+	}
80
+}

+ 3
- 0
node_modules/es-errors/range.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const RangeError: RangeErrorConstructor;
2
+
3
+export = RangeError;

+ 4
- 0
node_modules/es-errors/range.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('./range')} */
4
+module.exports = RangeError;

+ 3
- 0
node_modules/es-errors/ref.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const ReferenceError: ReferenceErrorConstructor;
2
+
3
+export = ReferenceError;

+ 4
- 0
node_modules/es-errors/ref.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('./ref')} */
4
+module.exports = ReferenceError;

+ 3
- 0
node_modules/es-errors/syntax.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const SyntaxError: SyntaxErrorConstructor;
2
+
3
+export = SyntaxError;

+ 4
- 0
node_modules/es-errors/syntax.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('./syntax')} */
4
+module.exports = SyntaxError;

+ 19
- 0
node_modules/es-errors/test/index.js Dosyayı Görüntüle

@@ -0,0 +1,19 @@
1
+'use strict';
2
+
3
+var test = require('tape');
4
+
5
+var E = require('../');
6
+var R = require('../range');
7
+var Ref = require('../ref');
8
+var S = require('../syntax');
9
+var T = require('../type');
10
+
11
+test('errors', function (t) {
12
+	t.equal(E, Error);
13
+	t.equal(R, RangeError);
14
+	t.equal(Ref, ReferenceError);
15
+	t.equal(S, SyntaxError);
16
+	t.equal(T, TypeError);
17
+
18
+	t.end();
19
+});

+ 49
- 0
node_modules/es-errors/tsconfig.json Dosyayı Görüntüle

@@ -0,0 +1,49 @@
1
+{
2
+	"compilerOptions": {
3
+		/* Visit https://aka.ms/tsconfig.json to read more about this file */
4
+
5
+		/* Projects */
6
+
7
+		/* Language and Environment */
8
+		"target": "es5",																	/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
9
+		// "lib": [],																				/* Specify a set of bundled library declaration files that describe the target runtime environment. */
10
+		// "noLib": true,																		/* Disable including any library files, including the default lib.d.ts. */
11
+		"useDefineForClassFields": true,										 /* Emit ECMAScript-standard-compliant class fields. */
12
+		// "moduleDetection": "auto",												/* Control what method is used to detect module-format JS files. */
13
+
14
+		/* Modules */
15
+		"module": "commonjs",																/* Specify what module code is generated. */
16
+		// "rootDir": "./",																	/* Specify the root folder within your source files. */
17
+		// "moduleResolution": "node",											 /* Specify how TypeScript looks up a file from a given module specifier. */
18
+		// "baseUrl": "./",																	/* Specify the base directory to resolve non-relative module names. */
19
+		// "paths": {},																			/* Specify a set of entries that re-map imports to additional lookup locations. */
20
+		// "rootDirs": [],																	 /* Allow multiple folders to be treated as one when resolving modules. */
21
+		// "typeRoots": ["types"],													 /* Specify multiple folders that act like `./node_modules/@types`. */
22
+		"resolveJsonModule": true,													 /* Enable importing .json files. */
23
+		// "allowArbitraryExtensions": true,								 /* Enable importing files with any extension, provided a declaration file is present. */
24
+
25
+		/* JavaScript Support */
26
+		"allowJs": true,																		 /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
27
+		"checkJs": true,																		 /* Enable error reporting in type-checked JavaScript files. */
28
+		"maxNodeModuleJsDepth": 1,													 /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
29
+
30
+		/* Emit */
31
+		"declaration": true,																 /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
32
+		"declarationMap": true,															/* Create sourcemaps for d.ts files. */
33
+		"noEmit": true,																			/* Disable emitting files from a compilation. */
34
+
35
+		/* Interop Constraints */
36
+		"allowSyntheticDefaultImports": true,								/* Allow `import x from y` when a module doesn't have a default export. */
37
+		"esModuleInterop": true,														 /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
38
+		"forceConsistentCasingInFileNames": true,						/* Ensure that casing is correct in imports. */
39
+
40
+		/* Type Checking */
41
+		"strict": true,																			/* Enable all strict type-checking options. */
42
+
43
+		/* Completeness */
44
+		// "skipLibCheck": true															/* Skip type checking all .d.ts files. */
45
+	},
46
+	"exclude": [
47
+		"coverage",
48
+	],
49
+}

+ 3
- 0
node_modules/es-errors/type.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const TypeError: TypeErrorConstructor
2
+
3
+export = TypeError;

+ 4
- 0
node_modules/es-errors/type.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('./type')} */
4
+module.exports = TypeError;

+ 3
- 0
node_modules/es-errors/uri.d.ts Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+declare const URIError: URIErrorConstructor;
2
+
3
+export = URIError;

+ 4
- 0
node_modules/es-errors/uri.js Dosyayı Görüntüle

@@ -0,0 +1,4 @@
1
+'use strict';
2
+
3
+/** @type {import('./uri')} */
4
+module.exports = URIError;

+ 21
- 0
node_modules/function-bind/.eslintrc Dosyayı Görüntüle

@@ -0,0 +1,21 @@
1
+{
2
+	"root": true,
3
+
4
+	"extends": "@ljharb",
5
+
6
+	"rules": {
7
+		"func-name-matching": 0,
8
+		"indent": [2, 4],
9
+		"no-new-func": [1],
10
+	},
11
+
12
+	"overrides": [
13
+		{
14
+			"files": "test/**",
15
+			"rules": {
16
+				"max-lines-per-function": 0,
17
+				"strict": [0]
18
+			},
19
+		},
20
+	],
21
+}

+ 12
- 0
node_modules/function-bind/.github/FUNDING.yml Dosyayı Görüntüle

@@ -0,0 +1,12 @@
1
+# These are supported funding model platforms
2
+
3
+github: [ljharb]
4
+patreon: # Replace with a single Patreon username
5
+open_collective: # Replace with a single Open Collective username
6
+ko_fi: # Replace with a single Ko-fi username
7
+tidelift: npm/function-bind
8
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+liberapay: # Replace with a single Liberapay username
10
+issuehunt: # Replace with a single IssueHunt username
11
+otechie: # Replace with a single Otechie username
12
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

+ 3
- 0
node_modules/function-bind/.github/SECURITY.md Dosyayı Görüntüle

@@ -0,0 +1,3 @@
1
+# Security
2
+
3
+Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.

+ 13
- 0
node_modules/function-bind/.nycrc Dosyayı Görüntüle

@@ -0,0 +1,13 @@
1
+{
2
+	"all": true,
3
+	"check-coverage": false,
4
+	"reporter": ["text-summary", "text", "html", "json"],
5
+	"lines": 86,
6
+	"statements": 85.93,
7
+	"functions": 82.43,
8
+	"branches": 76.06,
9
+	"exclude": [
10
+		"coverage",
11
+		"test"
12
+	]
13
+}

+ 136
- 0
node_modules/function-bind/CHANGELOG.md Dosyayı Görüntüle

@@ -0,0 +1,136 @@
1
+# Changelog
2
+
3
+All notable changes to this project will be documented in this file.
4
+
5
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+## [v1.1.2](https://github.com/ljharb/function-bind/compare/v1.1.1...v1.1.2) - 2023-10-12
9
+
10
+### Merged
11
+
12
+- Point to the correct file [`#16`](https://github.com/ljharb/function-bind/pull/16)
13
+
14
+### Commits
15
+
16
+- [Tests] migrate tests to Github Actions [`4f8b57c`](https://github.com/ljharb/function-bind/commit/4f8b57c02f2011fe9ae353d5e74e8745f0988af8)
17
+- [Tests] remove `jscs` [`90eb2ed`](https://github.com/ljharb/function-bind/commit/90eb2edbeefd5b76cd6c3a482ea3454db169b31f)
18
+- [meta] update `.gitignore` [`53fcdc3`](https://github.com/ljharb/function-bind/commit/53fcdc371cd66634d6e9b71c836a50f437e89fed)
19
+- [Tests] up to `node` `v11.10`, `v10.15`, `v9.11`, `v8.15`, `v6.16`, `v4.9`; use `nvm install-latest-npm`; run audit script in tests [`1fe8f6e`](https://github.com/ljharb/function-bind/commit/1fe8f6e9aed0dfa8d8b3cdbd00c7f5ea0cd2b36e)
20
+- [meta] add `auto-changelog` [`1921fcb`](https://github.com/ljharb/function-bind/commit/1921fcb5b416b63ffc4acad051b6aad5722f777d)
21
+- [Robustness] remove runtime dependency on all builtins except `.apply` [`f743e61`](https://github.com/ljharb/function-bind/commit/f743e61aa6bb2360358c04d4884c9db853d118b7)
22
+- Docs: enable badges; update wording [`503cb12`](https://github.com/ljharb/function-bind/commit/503cb12d998b5f91822776c73332c7adcd6355dd)
23
+- [readme] update badges [`290c5db`](https://github.com/ljharb/function-bind/commit/290c5dbbbda7264efaeb886552a374b869a4bb48)
24
+- [Tests] switch to nyc for coverage [`ea360ba`](https://github.com/ljharb/function-bind/commit/ea360ba907fc2601ed18d01a3827fa2d3533cdf8)
25
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`cae5e9e`](https://github.com/ljharb/function-bind/commit/cae5e9e07a5578dc6df26c03ee22851ce05b943c)
26
+- [meta] add `funding` field; create FUNDING.yml [`c9f4274`](https://github.com/ljharb/function-bind/commit/c9f4274aa80ea3aae9657a3938fdba41a3b04ca6)
27
+- [Tests] fix eslint errors from #15 [`f69aaa2`](https://github.com/ljharb/function-bind/commit/f69aaa2beb2fdab4415bfb885760a699d0b9c964)
28
+- [actions] fix permissions [`99a0cd9`](https://github.com/ljharb/function-bind/commit/99a0cd9f3b5bac223a0d572f081834cd73314be7)
29
+- [meta] use `npmignore` to autogenerate an npmignore file [`f03b524`](https://github.com/ljharb/function-bind/commit/f03b524ca91f75a109a5d062f029122c86ecd1ae)
30
+- [Dev Deps] update `@ljharb/eslint‑config`, `eslint`, `tape` [`7af9300`](https://github.com/ljharb/function-bind/commit/7af930023ae2ce7645489532821e4fbbcd7a2280)
31
+- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`64a9127`](https://github.com/ljharb/function-bind/commit/64a9127ab0bd331b93d6572eaf6e9971967fc08c)
32
+- [Tests] use `aud` instead of `npm audit` [`e75069c`](https://github.com/ljharb/function-bind/commit/e75069c50010a8fcce2a9ce2324934c35fdb4386)
33
+- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`d03555c`](https://github.com/ljharb/function-bind/commit/d03555ca59dea3b71ce710045e4303b9e2619e28)
34
+- [meta] add `safe-publish-latest` [`9c8f809`](https://github.com/ljharb/function-bind/commit/9c8f8092aed027d7e80c94f517aa892385b64f09)
35
+- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`baf6893`](https://github.com/ljharb/function-bind/commit/baf6893e27f5b59abe88bc1995e6f6ed1e527397)
36
+- [meta] create SECURITY.md [`4db1779`](https://github.com/ljharb/function-bind/commit/4db17799f1f28ae294cb95e0081ca2b591c3911b)
37
+- [Tests] add `npm run audit` [`c8b38ec`](https://github.com/ljharb/function-bind/commit/c8b38ec40ed3f85dabdee40ed4148f1748375bc2)
38
+- Revert "Point to the correct file" [`05cdf0f`](https://github.com/ljharb/function-bind/commit/05cdf0fa205c6a3c5ba40bbedd1dfa9874f915c9)
39
+
40
+## [v1.1.1](https://github.com/ljharb/function-bind/compare/v1.1.0...v1.1.1) - 2017-08-28
41
+
42
+### Commits
43
+
44
+- [Tests] up to `node` `v8`; newer npm breaks on older node; fix scripts [`817f7d2`](https://github.com/ljharb/function-bind/commit/817f7d28470fdbff8ef608d4d565dd4d1430bc5e)
45
+- [Dev Deps] update `eslint`, `jscs`, `tape`, `@ljharb/eslint-config` [`854288b`](https://github.com/ljharb/function-bind/commit/854288b1b6f5c555f89aceb9eff1152510262084)
46
+- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`83e639f`](https://github.com/ljharb/function-bind/commit/83e639ff74e6cd6921285bccec22c1bcf72311bd)
47
+- Only apps should have lockfiles [`5ed97f5`](https://github.com/ljharb/function-bind/commit/5ed97f51235c17774e0832e122abda0f3229c908)
48
+- Use a SPDX-compliant “license” field. [`5feefea`](https://github.com/ljharb/function-bind/commit/5feefea0dc0193993e83e5df01ded424403a5381)
49
+
50
+## [v1.1.0](https://github.com/ljharb/function-bind/compare/v1.0.2...v1.1.0) - 2016-02-14
51
+
52
+### Commits
53
+
54
+- Update `eslint`, `tape`; use my personal shared `eslint` config [`9c9062a`](https://github.com/ljharb/function-bind/commit/9c9062abbe9dd70b59ea2c3a3c3a81f29b457097)
55
+- Add `npm run eslint` [`dd96c56`](https://github.com/ljharb/function-bind/commit/dd96c56720034a3c1ffee10b8a59a6f7c53e24ad)
56
+- [New] return the native `bind` when available. [`82186e0`](https://github.com/ljharb/function-bind/commit/82186e03d73e580f95ff167e03f3582bed90ed72)
57
+- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`a3dd767`](https://github.com/ljharb/function-bind/commit/a3dd76720c795cb7f4586b0544efabf8aa107b8b)
58
+- Update `eslint` [`3dae2f7`](https://github.com/ljharb/function-bind/commit/3dae2f7423de30a2d20313ddb1edc19660142fe9)
59
+- Update `tape`, `covert`, `jscs` [`a181eee`](https://github.com/ljharb/function-bind/commit/a181eee0cfa24eb229c6e843a971f36e060a2f6a)
60
+- [Tests] up to `node` `v5.6`, `v4.3` [`964929a`](https://github.com/ljharb/function-bind/commit/964929a6a4ddb36fb128de2bcc20af5e4f22e1ed)
61
+- Test up to `io.js` `v2.1` [`2be7310`](https://github.com/ljharb/function-bind/commit/2be7310f2f74886a7124ca925be411117d41d5ea)
62
+- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`45f3d68`](https://github.com/ljharb/function-bind/commit/45f3d6865c6ca93726abcef54febe009087af101)
63
+- [Dev Deps] update `tape`, `jscs` [`6e1340d`](https://github.com/ljharb/function-bind/commit/6e1340d94642deaecad3e717825db641af4f8b1f)
64
+- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`d9bad2b`](https://github.com/ljharb/function-bind/commit/d9bad2b778b1b3a6dd2876087b88b3acf319f8cc)
65
+- Update `eslint` [`935590c`](https://github.com/ljharb/function-bind/commit/935590caa024ab356102e4858e8fc315b2ccc446)
66
+- [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` [`8c9a1ef`](https://github.com/ljharb/function-bind/commit/8c9a1efd848e5167887aa8501857a0940a480c57)
67
+- Test on `io.js` `v2.2` [`9a3a38c`](https://github.com/ljharb/function-bind/commit/9a3a38c92013aed6e108666e7bd40969b84ac86e)
68
+- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`69afc26`](https://github.com/ljharb/function-bind/commit/69afc2617405b147dd2a8d8ae73ca9e9283f18b4)
69
+- [Dev Deps] Update `tape`, `eslint` [`36c1be0`](https://github.com/ljharb/function-bind/commit/36c1be0ab12b45fe5df6b0fdb01a5d5137fd0115)
70
+- Update `tape`, `jscs` [`98d8303`](https://github.com/ljharb/function-bind/commit/98d8303cd5ca1c6b8f985469f86b0d44d7d45f6e)
71
+- Update `jscs` [`9633a4e`](https://github.com/ljharb/function-bind/commit/9633a4e9fbf82051c240855166e468ba8ba0846f)
72
+- Update `tape`, `jscs` [`c80ef0f`](https://github.com/ljharb/function-bind/commit/c80ef0f46efc9791e76fa50de4414092ac147831)
73
+- Test up to `io.js` `v3.0` [`7e2c853`](https://github.com/ljharb/function-bind/commit/7e2c8537d52ab9cf5a655755561d8917684c0df4)
74
+- Test on `io.js` `v2.4` [`5a199a2`](https://github.com/ljharb/function-bind/commit/5a199a27ba46795ba5eaf0845d07d4b8232895c9)
75
+- Test on `io.js` `v2.3` [`a511b88`](https://github.com/ljharb/function-bind/commit/a511b8896de0bddf3b56862daa416c701f4d0453)
76
+- Fixing a typo from 822b4e1938db02dc9584aa434fd3a45cb20caf43 [`732d6b6`](https://github.com/ljharb/function-bind/commit/732d6b63a9b33b45230e630dbcac7a10855d3266)
77
+- Update `jscs` [`da52a48`](https://github.com/ljharb/function-bind/commit/da52a4886c06d6490f46ae30b15e4163ba08905d)
78
+- Lock covert to v1.0.0. [`d6150fd`](https://github.com/ljharb/function-bind/commit/d6150fda1e6f486718ebdeff823333d9e48e7430)
79
+
80
+## [v1.0.2](https://github.com/ljharb/function-bind/compare/v1.0.1...v1.0.2) - 2014-10-04
81
+
82
+## [v1.0.1](https://github.com/ljharb/function-bind/compare/v1.0.0...v1.0.1) - 2014-10-03
83
+
84
+### Merged
85
+
86
+- make CI build faster [`#3`](https://github.com/ljharb/function-bind/pull/3)
87
+
88
+### Commits
89
+
90
+- Using my standard jscs.json [`d8ee94c`](https://github.com/ljharb/function-bind/commit/d8ee94c993eff0a84cf5744fe6a29627f5cffa1a)
91
+- Adding `npm run lint` [`7571ab7`](https://github.com/ljharb/function-bind/commit/7571ab7dfdbd99b25a1dbb2d232622bd6f4f9c10)
92
+- Using consistent indentation [`e91a1b1`](https://github.com/ljharb/function-bind/commit/e91a1b13a61e99ec1e530e299b55508f74218a95)
93
+- Updating jscs [`7e17892`](https://github.com/ljharb/function-bind/commit/7e1789284bc629bc9c1547a61c9b227bbd8c7a65)
94
+- Using consistent quotes [`c50b57f`](https://github.com/ljharb/function-bind/commit/c50b57fcd1c5ec38320979c837006069ebe02b77)
95
+- Adding keywords [`cb94631`](https://github.com/ljharb/function-bind/commit/cb946314eed35f21186a25fb42fc118772f9ee00)
96
+- Directly export a function expression instead of using a declaration, and relying on hoisting. [`5a33c5f`](https://github.com/ljharb/function-bind/commit/5a33c5f45642de180e0d207110bf7d1843ceb87c)
97
+- Naming npm URL and badge in README; use SVG [`2aef8fc`](https://github.com/ljharb/function-bind/commit/2aef8fcb79d54e63a58ae557c4e60949e05d5e16)
98
+- Naming deps URLs in README [`04228d7`](https://github.com/ljharb/function-bind/commit/04228d766670ee45ca24e98345c1f6a7621065b5)
99
+- Naming travis-ci URLs in README; using SVG [`62c810c`](https://github.com/ljharb/function-bind/commit/62c810c2f54ced956cd4d4ab7b793055addfe36e)
100
+- Make sure functions are invoked correctly (also passing coverage tests) [`2b289b4`](https://github.com/ljharb/function-bind/commit/2b289b4dfbf037ffcfa4dc95eb540f6165e9e43a)
101
+- Removing the strict mode pragmas; they make tests fail. [`1aa701d`](https://github.com/ljharb/function-bind/commit/1aa701d199ddc3782476e8f7eef82679be97b845)
102
+- Adding myself as a contributor [`85fd57b`](https://github.com/ljharb/function-bind/commit/85fd57b0860e5a7af42de9a287f3f265fc6d72fc)
103
+- Adding strict mode pragmas [`915b08e`](https://github.com/ljharb/function-bind/commit/915b08e084c86a722eafe7245e21db74aa21ca4c)
104
+- Adding devDeps URLs to README [`4ccc731`](https://github.com/ljharb/function-bind/commit/4ccc73112c1769859e4ca3076caf4086b3cba2cd)
105
+- Fixing the description. [`a7a472c`](https://github.com/ljharb/function-bind/commit/a7a472cf649af515c635cf560fc478fbe48999c8)
106
+- Using a function expression instead of a function declaration. [`b5d3e4e`](https://github.com/ljharb/function-bind/commit/b5d3e4ea6aaffc63888953eeb1fbc7ff45f1fa14)
107
+- Updating tape [`f086be6`](https://github.com/ljharb/function-bind/commit/f086be6029fb56dde61a258c1340600fa174d1e0)
108
+- Updating jscs [`5f9bdb3`](https://github.com/ljharb/function-bind/commit/5f9bdb375ab13ba48f30852aab94029520c54d71)
109
+- Updating jscs [`9b409ba`](https://github.com/ljharb/function-bind/commit/9b409ba6118e23395a4e5d83ef39152aab9d3bfc)
110
+- Run coverage as part of tests. [`8e1b6d4`](https://github.com/ljharb/function-bind/commit/8e1b6d459f047d1bd4fee814e01247c984c80bd0)
111
+- Run linter as part of tests [`c1ca83f`](https://github.com/ljharb/function-bind/commit/c1ca83f832df94587d09e621beba682fabfaa987)
112
+- Updating covert [`701e837`](https://github.com/ljharb/function-bind/commit/701e83774b57b4d3ef631e1948143f43a72f4bb9)
113
+
114
+## [v1.0.0](https://github.com/ljharb/function-bind/compare/v0.2.0...v1.0.0) - 2014-08-09
115
+
116
+### Commits
117
+
118
+- Make sure old and unstable nodes don't fail Travis [`27adca3`](https://github.com/ljharb/function-bind/commit/27adca34a4ab6ad67b6dfde43942a1b103ce4d75)
119
+- Fixing an issue when the bound function is called as a constructor in ES3. [`e20122d`](https://github.com/ljharb/function-bind/commit/e20122d267d92ce553859b280cbbea5d27c07731)
120
+- Adding `npm run coverage` [`a2e29c4`](https://github.com/ljharb/function-bind/commit/a2e29c4ecaef9e2f6cd1603e868c139073375502)
121
+- Updating tape [`b741168`](https://github.com/ljharb/function-bind/commit/b741168b12b235b1717ff696087645526b69213c)
122
+- Upgrading tape [`63631a0`](https://github.com/ljharb/function-bind/commit/63631a04c7fbe97cc2fa61829cc27246d6986f74)
123
+- Updating tape [`363cb46`](https://github.com/ljharb/function-bind/commit/363cb46dafb23cb3e347729a22f9448051d78464)
124
+
125
+## v0.2.0 - 2014-03-23
126
+
127
+### Commits
128
+
129
+- Updating test coverage to match es5-shim. [`aa94d44`](https://github.com/ljharb/function-bind/commit/aa94d44b8f9d7f69f10e060db7709aa7a694e5d4)
130
+- initial [`942ee07`](https://github.com/ljharb/function-bind/commit/942ee07e94e542d91798137bc4b80b926137e066)
131
+- Setting the bound function's length properly. [`079f46a`](https://github.com/ljharb/function-bind/commit/079f46a2d3515b7c0b308c2c13fceb641f97ca25)
132
+- Ensuring that some older browsers will throw when given a regex. [`36ac55b`](https://github.com/ljharb/function-bind/commit/36ac55b87f460d4330253c92870aa26fbfe8227f)
133
+- Removing npm scripts that don't have dependencies [`9d2be60`](https://github.com/ljharb/function-bind/commit/9d2be600002cb8bc8606f8f3585ad3e05868c750)
134
+- Updating tape [`297a4ac`](https://github.com/ljharb/function-bind/commit/297a4acc5464db381940aafb194d1c88f4e678f3)
135
+- Skipping length tests for now. [`d9891ea`](https://github.com/ljharb/function-bind/commit/d9891ea4d2aaffa69f408339cdd61ff740f70565)
136
+- don't take my tea [`dccd930`](https://github.com/ljharb/function-bind/commit/dccd930bfd60ea10cb178d28c97550c3bc8c1e07)

+ 20
- 0
node_modules/function-bind/LICENSE Dosyayı Görüntüle

@@ -0,0 +1,20 @@
1
+Copyright (c) 2013 Raynos.
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining a copy
4
+of this software and associated documentation files (the "Software"), to deal
5
+in the Software without restriction, including without limitation the rights
6
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+copies of the Software, and to permit persons to whom the Software is
8
+furnished to do so, subject to the following conditions:
9
+
10
+The above copyright notice and this permission notice shall be included in
11
+all copies or substantial portions of the Software.
12
+
13
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+THE SOFTWARE.
20
+

+ 46
- 0
node_modules/function-bind/README.md Dosyayı Görüntüle

@@ -0,0 +1,46 @@
1
+# function-bind <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+[![github actions][actions-image]][actions-url]
4
+<!--[![coverage][codecov-image]][codecov-url]-->
5
+[![dependency status][deps-svg]][deps-url]
6
+[![dev dependency status][dev-deps-svg]][dev-deps-url]
7
+[![License][license-image]][license-url]
8
+[![Downloads][downloads-image]][downloads-url]
9
+
10
+[![npm badge][npm-badge-png]][package-url]
11
+
12
+Implementation of function.prototype.bind
13
+
14
+Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support `Function.prototype.bind`.
15
+
16
+## Example
17
+
18
+```js
19
+Function.prototype.bind = require("function-bind")
20
+```
21
+
22
+## Installation
23
+
24
+`npm install function-bind`
25
+
26
+## Contributors
27
+
28
+ - Raynos
29
+
30
+## MIT Licenced
31
+
32
+[package-url]: https://npmjs.org/package/function-bind
33
+[npm-version-svg]: https://versionbadg.es/Raynos/function-bind.svg
34
+[deps-svg]: https://david-dm.org/Raynos/function-bind.svg
35
+[deps-url]: https://david-dm.org/Raynos/function-bind
36
+[dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg
37
+[dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies
38
+[npm-badge-png]: https://nodei.co/npm/function-bind.png?downloads=true&stars=true
39
+[license-image]: https://img.shields.io/npm/l/function-bind.svg
40
+[license-url]: LICENSE
41
+[downloads-image]: https://img.shields.io/npm/dm/function-bind.svg
42
+[downloads-url]: https://npm-stat.com/charts.html?package=function-bind
43
+[codecov-image]: https://codecov.io/gh/Raynos/function-bind/branch/main/graphs/badge.svg
44
+[codecov-url]: https://app.codecov.io/gh/Raynos/function-bind/
45
+[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/Raynos/function-bind
46
+[actions-url]: https://github.com/Raynos/function-bind/actions

+ 84
- 0
node_modules/function-bind/implementation.js Dosyayı Görüntüle

@@ -0,0 +1,84 @@
1
+'use strict';
2
+
3
+/* eslint no-invalid-this: 1 */
4
+
5
+var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
6
+var toStr = Object.prototype.toString;
7
+var max = Math.max;
8
+var funcType = '[object Function]';
9
+
10
+var concatty = function concatty(a, b) {
11
+    var arr = [];
12
+
13
+    for (var i = 0; i < a.length; i += 1) {
14
+        arr[i] = a[i];
15
+    }
16
+    for (var j = 0; j < b.length; j += 1) {
17
+        arr[j + a.length] = b[j];
18
+    }
19
+
20
+    return arr;
21
+};
22
+
23
+var slicy = function slicy(arrLike, offset) {
24
+    var arr = [];
25
+    for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
26
+        arr[j] = arrLike[i];
27
+    }
28
+    return arr;
29
+};
30
+
31
+var joiny = function (arr, joiner) {
32
+    var str = '';
33
+    for (var i = 0; i < arr.length; i += 1) {
34
+        str += arr[i];
35
+        if (i + 1 < arr.length) {
36
+            str += joiner;
37
+        }
38
+    }
39
+    return str;
40
+};
41
+
42
+module.exports = function bind(that) {
43
+    var target = this;
44
+    if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
45
+        throw new TypeError(ERROR_MESSAGE + target);
46
+    }
47
+    var args = slicy(arguments, 1);
48
+
49
+    var bound;
50
+    var binder = function () {
51
+        if (this instanceof bound) {
52
+            var result = target.apply(
53
+                this,
54
+                concatty(args, arguments)
55
+            );
56
+            if (Object(result) === result) {
57
+                return result;
58
+            }
59
+            return this;
60
+        }
61
+        return target.apply(
62
+            that,
63
+            concatty(args, arguments)
64
+        );
65
+
66
+    };
67
+
68
+    var boundLength = max(0, target.length - args.length);
69
+    var boundArgs = [];
70
+    for (var i = 0; i < boundLength; i++) {
71
+        boundArgs[i] = '$' + i;
72
+    }
73
+
74
+    bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
75
+
76
+    if (target.prototype) {
77
+        var Empty = function Empty() {};
78
+        Empty.prototype = target.prototype;
79
+        bound.prototype = new Empty();
80
+        Empty.prototype = null;
81
+    }
82
+
83
+    return bound;
84
+};

+ 0
- 0
node_modules/function-bind/index.js Dosyayı Görüntüle


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor

Loading…
İptal
Kaydet