nitro-graphql 1.2.3 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/README.md +161 -3
  2. package/dist/graphql/index.js +1 -0
  3. package/dist/graphql/server.js +1 -0
  4. package/dist/index.d.ts +4 -4
  5. package/dist/index.js +12 -3
  6. package/dist/rollup.js +32 -0
  7. package/dist/routes/apollo-server.d.ts +2 -2
  8. package/dist/routes/apollo-server.js +56 -10
  9. package/dist/routes/graphql-yoga.js +46 -6
  10. package/dist/routes/health.d.ts +2 -2
  11. package/dist/types/index.d.ts +15 -2
  12. package/dist/utils/client-codegen.js +1 -1
  13. package/dist/utils/define.d.ts +52 -1
  14. package/dist/utils/define.js +33 -1
  15. package/dist/utils/directive-parser.d.ts +80 -0
  16. package/dist/utils/directive-parser.js +235 -0
  17. package/dist/utils/index.d.ts +3 -2
  18. package/dist/utils/index.js +42 -4
  19. package/dist/utils/server-codegen.d.ts +2 -2
  20. package/dist/utils/server-codegen.js +3 -2
  21. package/dist/utils/type-generation.js +127 -7
  22. package/package.json +34 -18
  23. package/dist/_virtual/rolldown_runtime.js +0 -37
  24. package/dist/node_modules/.pnpm/@graphql-codegen_add@3.2.3_graphql@16.11.0/node_modules/@graphql-codegen/add/esm/config.js +0 -9
  25. package/dist/node_modules/.pnpm/@graphql-codegen_add@3.2.3_graphql@16.11.0/node_modules/@graphql-codegen/add/esm/index.js +0 -17
  26. package/dist/node_modules/.pnpm/@graphql-codegen_import-types-preset@3.0.1_graphql@16.11.0/node_modules/@graphql-codegen/import-types-preset/esm/index.js +0 -38
  27. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/federation.js +0 -22
  28. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/getCachedDocumentNodeFromSchema.js +0 -6
  29. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/helpers.js +0 -79
  30. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/index.js +0 -6
  31. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/oldVisit.js +0 -1
  32. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/resolve-external-module-and-fn.js +0 -7
  33. package/dist/node_modules/.pnpm/@graphql-codegen_plugin-helpers@3.1.2_graphql@16.11.0/node_modules/@graphql-codegen/plugin-helpers/esm/utils.js +0 -13
  34. package/dist/node_modules/.pnpm/camel-case@4.1.2/node_modules/camel-case/dist/index.js +0 -33
  35. package/dist/node_modules/.pnpm/capital-case@1.0.4/node_modules/capital-case/dist/index.js +0 -32
  36. package/dist/node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js +0 -56
  37. package/dist/node_modules/.pnpm/change-case@4.1.2/node_modules/change-case/dist/index.js +0 -37
  38. package/dist/node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js +0 -28
  39. package/dist/node_modules/.pnpm/dot-case@3.0.4/node_modules/dot-case/dist/index.js +0 -23
  40. package/dist/node_modules/.pnpm/header-case@2.0.4/node_modules/header-case/dist/index.js +0 -23
  41. package/dist/node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js +0 -21
  42. package/dist/node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js +0 -21
  43. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -37
  44. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -37
  45. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -15
  46. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -37
  47. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -34
  48. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -15
  49. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -15
  50. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js +0 -30
  51. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -35
  52. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js +0 -26
  53. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js +0 -32
  54. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -26
  55. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js +0 -31
  56. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js +0 -34
  57. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +0 -25
  58. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -30
  59. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -26
  60. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -44
  61. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -32
  62. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js +0 -32
  63. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js +0 -42
  64. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js +0 -75
  65. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js +0 -26
  66. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js +0 -31
  67. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -25
  68. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -23
  69. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js +0 -25
  70. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js +0 -35
  71. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js +0 -25
  72. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js +0 -25
  73. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js +0 -37
  74. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -15
  75. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js +0 -37
  76. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +0 -28
  77. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js +0 -20
  78. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -13
  79. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -25
  80. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -26
  81. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js +0 -15
  82. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -43
  83. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -22
  84. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -24
  85. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -26
  86. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -36
  87. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -30
  88. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -31
  89. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js +0 -25
  90. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -28
  91. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js +0 -32
  92. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -22
  93. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -28
  94. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -24
  95. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -22
  96. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -35
  97. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -26
  98. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -25
  99. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -31
  100. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -30
  101. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -27
  102. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -25
  103. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -25
  104. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -29
  105. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -14
  106. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js +0 -25
  107. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -29
  108. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -29
  109. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -24
  110. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js +0 -35
  111. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -17
  112. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js +0 -24
  113. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js +0 -23
  114. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js +0 -34
  115. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -24
  116. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -25
  117. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -23
  118. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -23
  119. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -42
  120. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -33
  121. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js +0 -35
  122. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -46
  123. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +0 -30
  124. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -43
  125. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -35
  126. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -42
  127. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js +0 -42
  128. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -41
  129. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -38
  130. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -42
  131. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -40
  132. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -38
  133. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js +0 -60
  134. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -34
  135. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js +0 -41
  136. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js +0 -48
  137. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -27
  138. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toPlainObject.js +0 -41
  139. package/dist/node_modules/.pnpm/lower-case-first@2.0.2/node_modules/lower-case-first/dist/index.js +0 -21
  140. package/dist/node_modules/.pnpm/lower-case@2.0.2/node_modules/lower-case/dist/index.js +0 -64
  141. package/dist/node_modules/.pnpm/no-case@3.0.4/node_modules/no-case/dist/index.js +0 -41
  142. package/dist/node_modules/.pnpm/param-case@3.0.4/node_modules/param-case/dist/index.js +0 -23
  143. package/dist/node_modules/.pnpm/pascal-case@3.1.2/node_modules/pascal-case/dist/index.js +0 -37
  144. package/dist/node_modules/.pnpm/path-case@3.0.4/node_modules/path-case/dist/index.js +0 -23
  145. package/dist/node_modules/.pnpm/sentence-case@3.0.4/node_modules/sentence-case/dist/index.js +0 -34
  146. package/dist/node_modules/.pnpm/snake-case@3.0.4/node_modules/snake-case/dist/index.js +0 -23
  147. package/dist/node_modules/.pnpm/sponge-case@1.0.1/node_modules/sponge-case/dist/index.js +0 -20
  148. package/dist/node_modules/.pnpm/swap-case@2.0.2/node_modules/swap-case/dist/index.js +0 -23
  149. package/dist/node_modules/.pnpm/title-case@3.0.3/node_modules/title-case/dist/index.js +0 -35
  150. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -547
  151. package/dist/node_modules/.pnpm/upper-case-first@2.0.2/node_modules/upper-case-first/dist/index.js +0 -21
  152. package/dist/node_modules/.pnpm/upper-case@2.0.2/node_modules/upper-case/dist/index.js +0 -56
@@ -1,29 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__freeGlobal } from "./_freeGlobal.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js
5
- var require__nodeUtil = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js"(exports, module) {
6
- var freeGlobal = require__freeGlobal();
7
- /** Detect free variable `exports`. */
8
- var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
9
- /** Detect free variable `module`. */
10
- var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
11
- /** Detect the popular CommonJS extension `module.exports`. */
12
- var moduleExports = freeModule && freeModule.exports === freeExports;
13
- /** Detect free variable `process` from Node.js. */
14
- var freeProcess = moduleExports && freeGlobal.process;
15
- /** Used to access faster Node.js helpers. */
16
- var nodeUtil = function() {
17
- try {
18
- var types = freeModule && freeModule.require && freeModule.require("util").types;
19
- if (types) return types;
20
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
21
- } catch (e) {}
22
- }();
23
- module.exports = nodeUtil;
24
- } });
25
-
26
- //#endregion
27
- export default require__nodeUtil();
28
-
29
- export { require__nodeUtil };
@@ -1,29 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js
4
- var require__objectToString = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js"(exports, module) {
5
- /** Used for built-in method references. */
6
- var objectProto = Object.prototype;
7
- /**
8
- * Used to resolve the
9
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
10
- * of values.
11
- */
12
- var nativeObjectToString = objectProto.toString;
13
- /**
14
- * Converts `value` to a string using `Object.prototype.toString`.
15
- *
16
- * @private
17
- * @param {*} value The value to convert.
18
- * @returns {string} Returns the converted string.
19
- */
20
- function objectToString(value) {
21
- return nativeObjectToString.call(value);
22
- }
23
- module.exports = objectToString;
24
- } });
25
-
26
- //#endregion
27
- export default require__objectToString();
28
-
29
- export { require__objectToString };
@@ -1,24 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js
4
- var require__overArg = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js"(exports, module) {
5
- /**
6
- * Creates a unary function that invokes `func` with its argument transformed.
7
- *
8
- * @private
9
- * @param {Function} func The function to wrap.
10
- * @param {Function} transform The argument transform.
11
- * @returns {Function} Returns the new function.
12
- */
13
- function overArg(func, transform) {
14
- return function(arg) {
15
- return func(transform(arg));
16
- };
17
- }
18
- module.exports = overArg;
19
- } });
20
-
21
- //#endregion
22
- export default require__overArg();
23
-
24
- export { require__overArg };
@@ -1,35 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__apply } from "./_apply.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js
5
- var require__overRest = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js"(exports, module) {
6
- var apply = require__apply();
7
- var nativeMax = Math.max;
8
- /**
9
- * A specialized version of `baseRest` which transforms the rest array.
10
- *
11
- * @private
12
- * @param {Function} func The function to apply a rest parameter to.
13
- * @param {number} [start=func.length-1] The start position of the rest parameter.
14
- * @param {Function} transform The rest array transform.
15
- * @returns {Function} Returns the new function.
16
- */
17
- function overRest(func, start, transform) {
18
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
19
- return function() {
20
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
21
- while (++index < length) array[index] = args[start + index];
22
- index = -1;
23
- var otherArgs = Array(start + 1);
24
- while (++index < start) otherArgs[index] = args[index];
25
- otherArgs[start] = transform(array);
26
- return apply(func, this, otherArgs);
27
- };
28
- }
29
- module.exports = overRest;
30
- } });
31
-
32
- //#endregion
33
- export default require__overRest();
34
-
35
- export { require__overRest };
@@ -1,17 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__freeGlobal } from "./_freeGlobal.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js
5
- var require__root = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js"(exports, module) {
6
- var freeGlobal = require__freeGlobal();
7
- /** Detect free variable `self`. */
8
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
9
- /** Used as a reference to the global object. */
10
- var root = freeGlobal || freeSelf || Function("return this")();
11
- module.exports = root;
12
- } });
13
-
14
- //#endregion
15
- export default require__root();
16
-
17
- export { require__root };
@@ -1,24 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js
4
- var require__safeGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js"(exports, module) {
5
- /**
6
- * Gets the value at `key`, unless `key` is "__proto__" or "constructor".
7
- *
8
- * @private
9
- * @param {Object} object The object to query.
10
- * @param {string} key The key of the property to get.
11
- * @returns {*} Returns the property value.
12
- */
13
- function safeGet(object, key) {
14
- if (key === "constructor" && typeof object[key] === "function") return;
15
- if (key == "__proto__") return;
16
- return object[key];
17
- }
18
- module.exports = safeGet;
19
- } });
20
-
21
- //#endregion
22
- export default require__safeGet();
23
-
24
- export { require__safeGet };
@@ -1,23 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__baseSetToString } from "./_baseSetToString.js";
3
- import { require__shortOut } from "./_shortOut.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js
6
- var require__setToString = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js"(exports, module) {
7
- var baseSetToString = require__baseSetToString(), shortOut = require__shortOut();
8
- /**
9
- * Sets the `toString` method of `func` to return `string`.
10
- *
11
- * @private
12
- * @param {Function} func The function to modify.
13
- * @param {Function} string The `toString` result.
14
- * @returns {Function} Returns `func`.
15
- */
16
- var setToString = shortOut(baseSetToString);
17
- module.exports = setToString;
18
- } });
19
-
20
- //#endregion
21
- export default require__setToString();
22
-
23
- export { require__setToString };
@@ -1,34 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js
4
- var require__shortOut = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js"(exports, module) {
5
- /** Used to detect hot functions by number of calls within a span of milliseconds. */
6
- var HOT_COUNT = 800, HOT_SPAN = 16;
7
- var nativeNow = Date.now;
8
- /**
9
- * Creates a function that'll short out and invoke `identity` instead
10
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
11
- * milliseconds.
12
- *
13
- * @private
14
- * @param {Function} func The function to restrict.
15
- * @returns {Function} Returns the new shortable function.
16
- */
17
- function shortOut(func) {
18
- var count = 0, lastCalled = 0;
19
- return function() {
20
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
21
- lastCalled = stamp;
22
- if (remaining > 0) {
23
- if (++count >= HOT_COUNT) return arguments[0];
24
- } else count = 0;
25
- return func.apply(void 0, arguments);
26
- };
27
- }
28
- module.exports = shortOut;
29
- } });
30
-
31
- //#endregion
32
- export default require__shortOut();
33
-
34
- export { require__shortOut };
@@ -1,24 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__ListCache } from "./_ListCache.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js
5
- var require__stackClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js"(exports, module) {
6
- var ListCache = require__ListCache();
7
- /**
8
- * Removes all key-value entries from the stack.
9
- *
10
- * @private
11
- * @name clear
12
- * @memberOf Stack
13
- */
14
- function stackClear() {
15
- this.__data__ = new ListCache();
16
- this.size = 0;
17
- }
18
- module.exports = stackClear;
19
- } });
20
-
21
- //#endregion
22
- export default require__stackClear();
23
-
24
- export { require__stackClear };
@@ -1,25 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js
4
- var require__stackDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js"(exports, module) {
5
- /**
6
- * Removes `key` and its value from the stack.
7
- *
8
- * @private
9
- * @name delete
10
- * @memberOf Stack
11
- * @param {string} key The key of the value to remove.
12
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
13
- */
14
- function stackDelete(key) {
15
- var data = this.__data__, result = data["delete"](key);
16
- this.size = data.size;
17
- return result;
18
- }
19
- module.exports = stackDelete;
20
- } });
21
-
22
- //#endregion
23
- export default require__stackDelete();
24
-
25
- export { require__stackDelete };
@@ -1,23 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js
4
- var require__stackGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js"(exports, module) {
5
- /**
6
- * Gets the stack value for `key`.
7
- *
8
- * @private
9
- * @name get
10
- * @memberOf Stack
11
- * @param {string} key The key of the value to get.
12
- * @returns {*} Returns the entry value.
13
- */
14
- function stackGet(key) {
15
- return this.__data__.get(key);
16
- }
17
- module.exports = stackGet;
18
- } });
19
-
20
- //#endregion
21
- export default require__stackGet();
22
-
23
- export { require__stackGet };
@@ -1,23 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js
4
- var require__stackHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js"(exports, module) {
5
- /**
6
- * Checks if a stack value for `key` exists.
7
- *
8
- * @private
9
- * @name has
10
- * @memberOf Stack
11
- * @param {string} key The key of the entry to check.
12
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
13
- */
14
- function stackHas(key) {
15
- return this.__data__.has(key);
16
- }
17
- module.exports = stackHas;
18
- } });
19
-
20
- //#endregion
21
- export default require__stackHas();
22
-
23
- export { require__stackHas };
@@ -1,42 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__ListCache } from "./_ListCache.js";
3
- import { require__Map } from "./_Map.js";
4
- import { require__MapCache } from "./_MapCache.js";
5
-
6
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js
7
- var require__stackSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js"(exports, module) {
8
- var ListCache = require__ListCache(), Map = require__Map(), MapCache = require__MapCache();
9
- /** Used as the size to enable large array optimizations. */
10
- var LARGE_ARRAY_SIZE = 200;
11
- /**
12
- * Sets the stack `key` to `value`.
13
- *
14
- * @private
15
- * @name set
16
- * @memberOf Stack
17
- * @param {string} key The key of the value to set.
18
- * @param {*} value The value to set.
19
- * @returns {Object} Returns the stack cache instance.
20
- */
21
- function stackSet(key, value) {
22
- var data = this.__data__;
23
- if (data instanceof ListCache) {
24
- var pairs = data.__data__;
25
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
26
- pairs.push([key, value]);
27
- this.size = ++data.size;
28
- return this;
29
- }
30
- data = this.__data__ = new MapCache(pairs);
31
- }
32
- data.set(key, value);
33
- this.size = data.size;
34
- return this;
35
- }
36
- module.exports = stackSet;
37
- } });
38
-
39
- //#endregion
40
- export default require__stackSet();
41
-
42
- export { require__stackSet };
@@ -1,33 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js
4
- var require__toSource = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js"(exports, module) {
5
- /** Used for built-in method references. */
6
- var funcProto = Function.prototype;
7
- /** Used to resolve the decompiled source of functions. */
8
- var funcToString = funcProto.toString;
9
- /**
10
- * Converts `func` to its source code.
11
- *
12
- * @private
13
- * @param {Function} func The function to convert.
14
- * @returns {string} Returns the source code.
15
- */
16
- function toSource(func) {
17
- if (func != null) {
18
- try {
19
- return funcToString.call(func);
20
- } catch (e) {}
21
- try {
22
- return func + "";
23
- } catch (e) {}
24
- }
25
- return "";
26
- }
27
- module.exports = toSource;
28
- } });
29
-
30
- //#endregion
31
- export default require__toSource();
32
-
33
- export { require__toSource };
@@ -1,35 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js
4
- var require_constant = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js"(exports, module) {
5
- /**
6
- * Creates a function that returns `value`.
7
- *
8
- * @static
9
- * @memberOf _
10
- * @since 2.4.0
11
- * @category Util
12
- * @param {*} value The value to return from the new function.
13
- * @returns {Function} Returns the new constant function.
14
- * @example
15
- *
16
- * var objects = _.times(2, _.constant({ 'a': 1 }));
17
- *
18
- * console.log(objects);
19
- * // => [{ 'a': 1 }, { 'a': 1 }]
20
- *
21
- * console.log(objects[0] === objects[1]);
22
- * // => true
23
- */
24
- function constant(value) {
25
- return function() {
26
- return value;
27
- };
28
- }
29
- module.exports = constant;
30
- } });
31
-
32
- //#endregion
33
- export default require_constant();
34
-
35
- export { require_constant };
@@ -1,46 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js
4
- var require_eq = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js"(exports, module) {
5
- /**
6
- * Performs a
7
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
8
- * comparison between two values to determine if they are equivalent.
9
- *
10
- * @static
11
- * @memberOf _
12
- * @since 4.0.0
13
- * @category Lang
14
- * @param {*} value The value to compare.
15
- * @param {*} other The other value to compare.
16
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
17
- * @example
18
- *
19
- * var object = { 'a': 1 };
20
- * var other = { 'a': 1 };
21
- *
22
- * _.eq(object, object);
23
- * // => true
24
- *
25
- * _.eq(object, other);
26
- * // => false
27
- *
28
- * _.eq('a', 'a');
29
- * // => true
30
- *
31
- * _.eq('a', Object('a'));
32
- * // => false
33
- *
34
- * _.eq(NaN, NaN);
35
- * // => true
36
- */
37
- function eq(value, other) {
38
- return value === other || value !== value && other !== other;
39
- }
40
- module.exports = eq;
41
- } });
42
-
43
- //#endregion
44
- export default require_eq();
45
-
46
- export { require_eq };
@@ -1,30 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js
4
- var require_identity = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js"(exports, module) {
5
- /**
6
- * This method returns the first argument it receives.
7
- *
8
- * @static
9
- * @since 0.1.0
10
- * @memberOf _
11
- * @category Util
12
- * @param {*} value Any value.
13
- * @returns {*} Returns `value`.
14
- * @example
15
- *
16
- * var object = { 'a': 1 };
17
- *
18
- * console.log(_.identity(object) === object);
19
- * // => true
20
- */
21
- function identity(value) {
22
- return value;
23
- }
24
- module.exports = identity;
25
- } });
26
-
27
- //#endregion
28
- export default require_identity();
29
-
30
- export { require_identity };
@@ -1,43 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_isObjectLike } from "./isObjectLike.js";
3
- import { require__baseIsArguments } from "./_baseIsArguments.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js
6
- var require_isArguments = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js"(exports, module) {
7
- var baseIsArguments = require__baseIsArguments(), isObjectLike = require_isObjectLike();
8
- /** Used for built-in method references. */
9
- var objectProto = Object.prototype;
10
- /** Used to check objects for own properties. */
11
- var hasOwnProperty = objectProto.hasOwnProperty;
12
- /** Built-in value references. */
13
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
14
- /**
15
- * Checks if `value` is likely an `arguments` object.
16
- *
17
- * @static
18
- * @memberOf _
19
- * @since 0.1.0
20
- * @category Lang
21
- * @param {*} value The value to check.
22
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
23
- * else `false`.
24
- * @example
25
- *
26
- * _.isArguments(function() { return arguments; }());
27
- * // => true
28
- *
29
- * _.isArguments([1, 2, 3]);
30
- * // => false
31
- */
32
- var isArguments = baseIsArguments(function() {
33
- return arguments;
34
- }()) ? baseIsArguments : function(value) {
35
- return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
36
- };
37
- module.exports = isArguments;
38
- } });
39
-
40
- //#endregion
41
- export default require_isArguments();
42
-
43
- export { require_isArguments };
@@ -1,35 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js
4
- var require_isArray = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js"(exports, module) {
5
- /**
6
- * Checks if `value` is classified as an `Array` object.
7
- *
8
- * @static
9
- * @memberOf _
10
- * @since 0.1.0
11
- * @category Lang
12
- * @param {*} value The value to check.
13
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
14
- * @example
15
- *
16
- * _.isArray([1, 2, 3]);
17
- * // => true
18
- *
19
- * _.isArray(document.body.children);
20
- * // => false
21
- *
22
- * _.isArray('abc');
23
- * // => false
24
- *
25
- * _.isArray(_.noop);
26
- * // => false
27
- */
28
- var isArray = Array.isArray;
29
- module.exports = isArray;
30
- } });
31
-
32
- //#endregion
33
- export default require_isArray();
34
-
35
- export { require_isArray };
@@ -1,42 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_isFunction } from "./isFunction.js";
3
- import { require_isLength } from "./isLength.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js
6
- var require_isArrayLike = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js"(exports, module) {
7
- var isFunction = require_isFunction(), isLength = require_isLength();
8
- /**
9
- * Checks if `value` is array-like. A value is considered array-like if it's
10
- * not a function and has a `value.length` that's an integer greater than or
11
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
12
- *
13
- * @static
14
- * @memberOf _
15
- * @since 4.0.0
16
- * @category Lang
17
- * @param {*} value The value to check.
18
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
19
- * @example
20
- *
21
- * _.isArrayLike([1, 2, 3]);
22
- * // => true
23
- *
24
- * _.isArrayLike(document.body.children);
25
- * // => true
26
- *
27
- * _.isArrayLike('abc');
28
- * // => true
29
- *
30
- * _.isArrayLike(_.noop);
31
- * // => false
32
- */
33
- function isArrayLike(value) {
34
- return value != null && isLength(value.length) && !isFunction(value);
35
- }
36
- module.exports = isArrayLike;
37
- } });
38
-
39
- //#endregion
40
- export default require_isArrayLike();
41
-
42
- export { require_isArrayLike };