nitro-graphql 1.2.3 → 1.3.0

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 (150) 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 +2 -2
  5. package/dist/index.js +11 -3
  6. package/dist/rollup.js +24 -0
  7. package/dist/routes/apollo-server.d.ts +2 -2
  8. package/dist/routes/apollo-server.js +16 -7
  9. package/dist/routes/graphql-yoga.js +14 -4
  10. package/dist/routes/health.d.ts +2 -2
  11. package/dist/types/index.d.ts +2 -1
  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/type-generation.js +103 -6
  20. package/package.json +29 -18
  21. package/dist/_virtual/rolldown_runtime.js +0 -37
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. package/dist/node_modules/.pnpm/camel-case@4.1.2/node_modules/camel-case/dist/index.js +0 -33
  33. package/dist/node_modules/.pnpm/capital-case@1.0.4/node_modules/capital-case/dist/index.js +0 -32
  34. package/dist/node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js +0 -56
  35. package/dist/node_modules/.pnpm/change-case@4.1.2/node_modules/change-case/dist/index.js +0 -37
  36. package/dist/node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js +0 -28
  37. package/dist/node_modules/.pnpm/dot-case@3.0.4/node_modules/dot-case/dist/index.js +0 -23
  38. package/dist/node_modules/.pnpm/header-case@2.0.4/node_modules/header-case/dist/index.js +0 -23
  39. package/dist/node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js +0 -21
  40. package/dist/node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js +0 -21
  41. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -37
  42. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -37
  43. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -15
  44. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -37
  45. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -34
  46. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -15
  47. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -15
  48. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js +0 -30
  49. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -35
  50. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js +0 -26
  51. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js +0 -32
  52. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -26
  53. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js +0 -31
  54. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js +0 -34
  55. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +0 -25
  56. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -30
  57. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -26
  58. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -44
  59. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -32
  60. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js +0 -32
  61. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js +0 -42
  62. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js +0 -75
  63. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js +0 -26
  64. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js +0 -31
  65. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -25
  66. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -23
  67. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js +0 -25
  68. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js +0 -35
  69. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js +0 -25
  70. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js +0 -25
  71. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js +0 -37
  72. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -15
  73. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js +0 -37
  74. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +0 -28
  75. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js +0 -20
  76. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -13
  77. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -25
  78. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -26
  79. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js +0 -15
  80. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -43
  81. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -22
  82. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -24
  83. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -26
  84. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -36
  85. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -30
  86. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -31
  87. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js +0 -25
  88. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -28
  89. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js +0 -32
  90. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -22
  91. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -28
  92. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -24
  93. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -22
  94. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -35
  95. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -26
  96. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -25
  97. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -31
  98. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -30
  99. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -27
  100. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -25
  101. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -25
  102. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -29
  103. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -14
  104. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js +0 -25
  105. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -29
  106. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -29
  107. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -24
  108. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js +0 -35
  109. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -17
  110. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js +0 -24
  111. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js +0 -23
  112. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js +0 -34
  113. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -24
  114. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -25
  115. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -23
  116. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -23
  117. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -42
  118. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -33
  119. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js +0 -35
  120. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -46
  121. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +0 -30
  122. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -43
  123. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -35
  124. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -42
  125. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js +0 -42
  126. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -41
  127. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -38
  128. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -42
  129. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -40
  130. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -38
  131. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js +0 -60
  132. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -34
  133. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js +0 -41
  134. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js +0 -48
  135. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -27
  136. package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toPlainObject.js +0 -41
  137. package/dist/node_modules/.pnpm/lower-case-first@2.0.2/node_modules/lower-case-first/dist/index.js +0 -21
  138. package/dist/node_modules/.pnpm/lower-case@2.0.2/node_modules/lower-case/dist/index.js +0 -64
  139. package/dist/node_modules/.pnpm/no-case@3.0.4/node_modules/no-case/dist/index.js +0 -41
  140. package/dist/node_modules/.pnpm/param-case@3.0.4/node_modules/param-case/dist/index.js +0 -23
  141. package/dist/node_modules/.pnpm/pascal-case@3.1.2/node_modules/pascal-case/dist/index.js +0 -37
  142. package/dist/node_modules/.pnpm/path-case@3.0.4/node_modules/path-case/dist/index.js +0 -23
  143. package/dist/node_modules/.pnpm/sentence-case@3.0.4/node_modules/sentence-case/dist/index.js +0 -34
  144. package/dist/node_modules/.pnpm/snake-case@3.0.4/node_modules/snake-case/dist/index.js +0 -23
  145. package/dist/node_modules/.pnpm/sponge-case@1.0.1/node_modules/sponge-case/dist/index.js +0 -20
  146. package/dist/node_modules/.pnpm/swap-case@2.0.2/node_modules/swap-case/dist/index.js +0 -23
  147. package/dist/node_modules/.pnpm/title-case@3.0.3/node_modules/title-case/dist/index.js +0 -35
  148. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -547
  149. package/dist/node_modules/.pnpm/upper-case-first@2.0.2/node_modules/upper-case-first/dist/index.js +0 -21
  150. package/dist/node_modules/.pnpm/upper-case@2.0.2/node_modules/upper-case/dist/index.js +0 -56
@@ -1,22 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js
4
- var require__isKeyable = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js"(exports, module) {
5
- /**
6
- * Checks if `value` is suitable for use as unique object key.
7
- *
8
- * @private
9
- * @param {*} value The value to check.
10
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
11
- */
12
- function isKeyable(value) {
13
- var type = typeof value;
14
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
15
- }
16
- module.exports = isKeyable;
17
- } });
18
-
19
- //#endregion
20
- export default require__isKeyable();
21
-
22
- export { require__isKeyable };
@@ -1,28 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__coreJsData } from "./_coreJsData.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js
5
- var require__isMasked = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js"(exports, module) {
6
- var coreJsData = require__coreJsData();
7
- /** Used to detect methods masquerading as native. */
8
- var maskSrcKey = function() {
9
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
10
- return uid ? "Symbol(src)_1." + uid : "";
11
- }();
12
- /**
13
- * Checks if `func` has its source masked.
14
- *
15
- * @private
16
- * @param {Function} func The function to check.
17
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
18
- */
19
- function isMasked(func) {
20
- return !!maskSrcKey && maskSrcKey in func;
21
- }
22
- module.exports = isMasked;
23
- } });
24
-
25
- //#endregion
26
- export default require__isMasked();
27
-
28
- export { require__isMasked };
@@ -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/_isPrototype.js
4
- var require__isPrototype = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js"(exports, module) {
5
- /** Used for built-in method references. */
6
- var objectProto = Object.prototype;
7
- /**
8
- * Checks if `value` is likely a prototype object.
9
- *
10
- * @private
11
- * @param {*} value The value to check.
12
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
13
- */
14
- function isPrototype(value) {
15
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
16
- return value === proto;
17
- }
18
- module.exports = isPrototype;
19
- } });
20
-
21
- //#endregion
22
- export default require__isPrototype();
23
-
24
- export { require__isPrototype };
@@ -1,22 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js
4
- var require__listCacheClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js"(exports, module) {
5
- /**
6
- * Removes all key-value entries from the list cache.
7
- *
8
- * @private
9
- * @name clear
10
- * @memberOf ListCache
11
- */
12
- function listCacheClear() {
13
- this.__data__ = [];
14
- this.size = 0;
15
- }
16
- module.exports = listCacheClear;
17
- } });
18
-
19
- //#endregion
20
- export default require__listCacheClear();
21
-
22
- export { require__listCacheClear };
@@ -1,35 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__assocIndexOf } from "./_assocIndexOf.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js
5
- var require__listCacheDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js"(exports, module) {
6
- var assocIndexOf = require__assocIndexOf();
7
- /** Used for built-in method references. */
8
- var arrayProto = Array.prototype;
9
- /** Built-in value references. */
10
- var splice = arrayProto.splice;
11
- /**
12
- * Removes `key` and its value from the list cache.
13
- *
14
- * @private
15
- * @name delete
16
- * @memberOf ListCache
17
- * @param {string} key The key of the value to remove.
18
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
19
- */
20
- function listCacheDelete(key) {
21
- var data = this.__data__, index = assocIndexOf(data, key);
22
- if (index < 0) return false;
23
- var lastIndex = data.length - 1;
24
- if (index == lastIndex) data.pop();
25
- else splice.call(data, index, 1);
26
- --this.size;
27
- return true;
28
- }
29
- module.exports = listCacheDelete;
30
- } });
31
-
32
- //#endregion
33
- export default require__listCacheDelete();
34
-
35
- export { require__listCacheDelete };
@@ -1,26 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__assocIndexOf } from "./_assocIndexOf.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js
5
- var require__listCacheGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js"(exports, module) {
6
- var assocIndexOf = require__assocIndexOf();
7
- /**
8
- * Gets the list cache value for `key`.
9
- *
10
- * @private
11
- * @name get
12
- * @memberOf ListCache
13
- * @param {string} key The key of the value to get.
14
- * @returns {*} Returns the entry value.
15
- */
16
- function listCacheGet(key) {
17
- var data = this.__data__, index = assocIndexOf(data, key);
18
- return index < 0 ? void 0 : data[index][1];
19
- }
20
- module.exports = listCacheGet;
21
- } });
22
-
23
- //#endregion
24
- export default require__listCacheGet();
25
-
26
- export { require__listCacheGet };
@@ -1,25 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__assocIndexOf } from "./_assocIndexOf.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js
5
- var require__listCacheHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js"(exports, module) {
6
- var assocIndexOf = require__assocIndexOf();
7
- /**
8
- * Checks if a list cache value for `key` exists.
9
- *
10
- * @private
11
- * @name has
12
- * @memberOf ListCache
13
- * @param {string} key The key of the entry to check.
14
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
15
- */
16
- function listCacheHas(key) {
17
- return assocIndexOf(this.__data__, key) > -1;
18
- }
19
- module.exports = listCacheHas;
20
- } });
21
-
22
- //#endregion
23
- export default require__listCacheHas();
24
-
25
- export { require__listCacheHas };
@@ -1,31 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__assocIndexOf } from "./_assocIndexOf.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js
5
- var require__listCacheSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js"(exports, module) {
6
- var assocIndexOf = require__assocIndexOf();
7
- /**
8
- * Sets the list cache `key` to `value`.
9
- *
10
- * @private
11
- * @name set
12
- * @memberOf ListCache
13
- * @param {string} key The key of the value to set.
14
- * @param {*} value The value to set.
15
- * @returns {Object} Returns the list cache instance.
16
- */
17
- function listCacheSet(key, value) {
18
- var data = this.__data__, index = assocIndexOf(data, key);
19
- if (index < 0) {
20
- ++this.size;
21
- data.push([key, value]);
22
- } else data[index][1] = value;
23
- return this;
24
- }
25
- module.exports = listCacheSet;
26
- } });
27
-
28
- //#endregion
29
- export default require__listCacheSet();
30
-
31
- export { require__listCacheSet };
@@ -1,30 +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__Hash } from "./_Hash.js";
5
-
6
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js
7
- var require__mapCacheClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js"(exports, module) {
8
- var Hash = require__Hash(), ListCache = require__ListCache(), Map = require__Map();
9
- /**
10
- * Removes all key-value entries from the map.
11
- *
12
- * @private
13
- * @name clear
14
- * @memberOf MapCache
15
- */
16
- function mapCacheClear() {
17
- this.size = 0;
18
- this.__data__ = {
19
- "hash": new Hash(),
20
- "map": new (Map || ListCache)(),
21
- "string": new Hash()
22
- };
23
- }
24
- module.exports = mapCacheClear;
25
- } });
26
-
27
- //#endregion
28
- export default require__mapCacheClear();
29
-
30
- export { require__mapCacheClear };
@@ -1,27 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__getMapData } from "./_getMapData.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js
5
- var require__mapCacheDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js"(exports, module) {
6
- var getMapData = require__getMapData();
7
- /**
8
- * Removes `key` and its value from the map.
9
- *
10
- * @private
11
- * @name delete
12
- * @memberOf MapCache
13
- * @param {string} key The key of the value to remove.
14
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
15
- */
16
- function mapCacheDelete(key) {
17
- var result = getMapData(this, key)["delete"](key);
18
- this.size -= result ? 1 : 0;
19
- return result;
20
- }
21
- module.exports = mapCacheDelete;
22
- } });
23
-
24
- //#endregion
25
- export default require__mapCacheDelete();
26
-
27
- export { require__mapCacheDelete };
@@ -1,25 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__getMapData } from "./_getMapData.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js
5
- var require__mapCacheGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js"(exports, module) {
6
- var getMapData = require__getMapData();
7
- /**
8
- * Gets the map value for `key`.
9
- *
10
- * @private
11
- * @name get
12
- * @memberOf MapCache
13
- * @param {string} key The key of the value to get.
14
- * @returns {*} Returns the entry value.
15
- */
16
- function mapCacheGet(key) {
17
- return getMapData(this, key).get(key);
18
- }
19
- module.exports = mapCacheGet;
20
- } });
21
-
22
- //#endregion
23
- export default require__mapCacheGet();
24
-
25
- export { require__mapCacheGet };
@@ -1,25 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__getMapData } from "./_getMapData.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js
5
- var require__mapCacheHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js"(exports, module) {
6
- var getMapData = require__getMapData();
7
- /**
8
- * Checks if a map value for `key` exists.
9
- *
10
- * @private
11
- * @name has
12
- * @memberOf MapCache
13
- * @param {string} key The key of the entry to check.
14
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
15
- */
16
- function mapCacheHas(key) {
17
- return getMapData(this, key).has(key);
18
- }
19
- module.exports = mapCacheHas;
20
- } });
21
-
22
- //#endregion
23
- export default require__mapCacheHas();
24
-
25
- export { require__mapCacheHas };
@@ -1,29 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__getMapData } from "./_getMapData.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js
5
- var require__mapCacheSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js"(exports, module) {
6
- var getMapData = require__getMapData();
7
- /**
8
- * Sets the map `key` to `value`.
9
- *
10
- * @private
11
- * @name set
12
- * @memberOf MapCache
13
- * @param {string} key The key of the value to set.
14
- * @param {*} value The value to set.
15
- * @returns {Object} Returns the map cache instance.
16
- */
17
- function mapCacheSet(key, value) {
18
- var data = getMapData(this, key), size = data.size;
19
- data.set(key, value);
20
- this.size += data.size == size ? 0 : 1;
21
- return this;
22
- }
23
- module.exports = mapCacheSet;
24
- } });
25
-
26
- //#endregion
27
- export default require__mapCacheSet();
28
-
29
- export { require__mapCacheSet };
@@ -1,14 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__getNative } from "./_getNative.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js
5
- var require__nativeCreate = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js"(exports, module) {
6
- var getNative = require__getNative();
7
- var nativeCreate = getNative(Object, "create");
8
- module.exports = nativeCreate;
9
- } });
10
-
11
- //#endregion
12
- export default require__nativeCreate();
13
-
14
- export { require__nativeCreate };
@@ -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/_nativeKeysIn.js
4
- var require__nativeKeysIn = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js"(exports, module) {
5
- /**
6
- * This function is like
7
- * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
8
- * except that it includes inherited enumerable properties.
9
- *
10
- * @private
11
- * @param {Object} object The object to query.
12
- * @returns {Array} Returns the array of property names.
13
- */
14
- function nativeKeysIn(object) {
15
- var result = [];
16
- if (object != null) for (var key in Object(object)) result.push(key);
17
- return result;
18
- }
19
- module.exports = nativeKeysIn;
20
- } });
21
-
22
- //#endregion
23
- export default require__nativeKeysIn();
24
-
25
- export { require__nativeKeysIn };
@@ -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 };