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,24 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__nativeCreate } from "./_nativeCreate.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js
5
- var require__hashClear = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js"(exports, module) {
6
- var nativeCreate = require__nativeCreate();
7
- /**
8
- * Removes all key-value entries from the hash.
9
- *
10
- * @private
11
- * @name clear
12
- * @memberOf Hash
13
- */
14
- function hashClear() {
15
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
16
- this.size = 0;
17
- }
18
- module.exports = hashClear;
19
- } });
20
-
21
- //#endregion
22
- export default require__hashClear();
23
-
24
- export { require__hashClear };
@@ -1,26 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js
4
- var require__hashDelete = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js"(exports, module) {
5
- /**
6
- * Removes `key` and its value from the hash.
7
- *
8
- * @private
9
- * @name delete
10
- * @memberOf Hash
11
- * @param {Object} hash The hash to modify.
12
- * @param {string} key The key of the value to remove.
13
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
14
- */
15
- function hashDelete(key) {
16
- var result = this.has(key) && delete this.__data__[key];
17
- this.size -= result ? 1 : 0;
18
- return result;
19
- }
20
- module.exports = hashDelete;
21
- } });
22
-
23
- //#endregion
24
- export default require__hashDelete();
25
-
26
- export { require__hashDelete };
@@ -1,36 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__nativeCreate } from "./_nativeCreate.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js
5
- var require__hashGet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js"(exports, module) {
6
- var nativeCreate = require__nativeCreate();
7
- /** Used to stand-in for `undefined` hash values. */
8
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
9
- /** Used for built-in method references. */
10
- var objectProto = Object.prototype;
11
- /** Used to check objects for own properties. */
12
- var hasOwnProperty = objectProto.hasOwnProperty;
13
- /**
14
- * Gets the hash value for `key`.
15
- *
16
- * @private
17
- * @name get
18
- * @memberOf Hash
19
- * @param {string} key The key of the value to get.
20
- * @returns {*} Returns the entry value.
21
- */
22
- function hashGet(key) {
23
- var data = this.__data__;
24
- if (nativeCreate) {
25
- var result = data[key];
26
- return result === HASH_UNDEFINED ? void 0 : result;
27
- }
28
- return hasOwnProperty.call(data, key) ? data[key] : void 0;
29
- }
30
- module.exports = hashGet;
31
- } });
32
-
33
- //#endregion
34
- export default require__hashGet();
35
-
36
- export { require__hashGet };
@@ -1,30 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__nativeCreate } from "./_nativeCreate.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js
5
- var require__hashHas = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js"(exports, module) {
6
- var nativeCreate = require__nativeCreate();
7
- /** Used for built-in method references. */
8
- var objectProto = Object.prototype;
9
- /** Used to check objects for own properties. */
10
- var hasOwnProperty = objectProto.hasOwnProperty;
11
- /**
12
- * Checks if a hash value for `key` exists.
13
- *
14
- * @private
15
- * @name has
16
- * @memberOf Hash
17
- * @param {string} key The key of the entry to check.
18
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
19
- */
20
- function hashHas(key) {
21
- var data = this.__data__;
22
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
23
- }
24
- module.exports = hashHas;
25
- } });
26
-
27
- //#endregion
28
- export default require__hashHas();
29
-
30
- export { require__hashHas };
@@ -1,31 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__nativeCreate } from "./_nativeCreate.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js
5
- var require__hashSet = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js"(exports, module) {
6
- var nativeCreate = require__nativeCreate();
7
- /** Used to stand-in for `undefined` hash values. */
8
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
9
- /**
10
- * Sets the hash `key` to `value`.
11
- *
12
- * @private
13
- * @name set
14
- * @memberOf Hash
15
- * @param {string} key The key of the value to set.
16
- * @param {*} value The value to set.
17
- * @returns {Object} Returns the hash instance.
18
- */
19
- function hashSet(key, value) {
20
- var data = this.__data__;
21
- this.size += this.has(key) ? 0 : 1;
22
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
23
- return this;
24
- }
25
- module.exports = hashSet;
26
- } });
27
-
28
- //#endregion
29
- export default require__hashSet();
30
-
31
- export { require__hashSet };
@@ -1,25 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__baseCreate } from "./_baseCreate.js";
3
- import { require__getPrototype } from "./_getPrototype.js";
4
- import { require__isPrototype } from "./_isPrototype.js";
5
-
6
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js
7
- var require__initCloneObject = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js"(exports, module) {
8
- var baseCreate = require__baseCreate(), getPrototype = require__getPrototype(), isPrototype = require__isPrototype();
9
- /**
10
- * Initializes an object clone.
11
- *
12
- * @private
13
- * @param {Object} object The object to clone.
14
- * @returns {Object} Returns the initialized clone.
15
- */
16
- function initCloneObject(object) {
17
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
18
- }
19
- module.exports = initCloneObject;
20
- } });
21
-
22
- //#endregion
23
- export default require__initCloneObject();
24
-
25
- export { require__initCloneObject };
@@ -1,28 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
-
3
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js
4
- var require__isIndex = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js"(exports, module) {
5
- /** Used as references for various `Number` constants. */
6
- var MAX_SAFE_INTEGER = 9007199254740991;
7
- /** Used to detect unsigned integer values. */
8
- var reIsUint = /^(?:0|[1-9]\d*)$/;
9
- /**
10
- * Checks if `value` is a valid array-like index.
11
- *
12
- * @private
13
- * @param {*} value The value to check.
14
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
15
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
16
- */
17
- function isIndex(value, length) {
18
- var type = typeof value;
19
- length = length == null ? MAX_SAFE_INTEGER : length;
20
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
21
- }
22
- module.exports = isIndex;
23
- } });
24
-
25
- //#endregion
26
- export default require__isIndex();
27
-
28
- export { require__isIndex };
@@ -1,32 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_eq } from "./eq.js";
3
- import { require_isObject } from "./isObject.js";
4
- import { require_isArrayLike } from "./isArrayLike.js";
5
- import { require__isIndex } from "./_isIndex.js";
6
-
7
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js
8
- var require__isIterateeCall = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js"(exports, module) {
9
- var eq = require_eq(), isArrayLike = require_isArrayLike(), isIndex = require__isIndex(), isObject = require_isObject();
10
- /**
11
- * Checks if the given arguments are from an iteratee call.
12
- *
13
- * @private
14
- * @param {*} value The potential iteratee value argument.
15
- * @param {*} index The potential iteratee index or key argument.
16
- * @param {*} object The potential iteratee object argument.
17
- * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
18
- * else `false`.
19
- */
20
- function isIterateeCall(value, index, object) {
21
- if (!isObject(object)) return false;
22
- var type = typeof index;
23
- if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
24
- return false;
25
- }
26
- module.exports = isIterateeCall;
27
- } });
28
-
29
- //#endregion
30
- export default require__isIterateeCall();
31
-
32
- export { require__isIterateeCall };
@@ -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 };