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,37 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__hashClear } from "./_hashClear.js";
3
- import { require__hashDelete } from "./_hashDelete.js";
4
- import { require__hashGet } from "./_hashGet.js";
5
- import { require__hashHas } from "./_hashHas.js";
6
- import { require__hashSet } from "./_hashSet.js";
7
-
8
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js
9
- var require__Hash = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js"(exports, module) {
10
- var hashClear = require__hashClear(), hashDelete = require__hashDelete(), hashGet = require__hashGet(), hashHas = require__hashHas(), hashSet = require__hashSet();
11
- /**
12
- * Creates a hash object.
13
- *
14
- * @private
15
- * @constructor
16
- * @param {Array} [entries] The key-value pairs to cache.
17
- */
18
- function Hash(entries) {
19
- var index = -1, length = entries == null ? 0 : entries.length;
20
- this.clear();
21
- while (++index < length) {
22
- var entry = entries[index];
23
- this.set(entry[0], entry[1]);
24
- }
25
- }
26
- Hash.prototype.clear = hashClear;
27
- Hash.prototype["delete"] = hashDelete;
28
- Hash.prototype.get = hashGet;
29
- Hash.prototype.has = hashHas;
30
- Hash.prototype.set = hashSet;
31
- module.exports = Hash;
32
- } });
33
-
34
- //#endregion
35
- export default require__Hash();
36
-
37
- export { require__Hash };
@@ -1,37 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__listCacheClear } from "./_listCacheClear.js";
3
- import { require__listCacheDelete } from "./_listCacheDelete.js";
4
- import { require__listCacheGet } from "./_listCacheGet.js";
5
- import { require__listCacheHas } from "./_listCacheHas.js";
6
- import { require__listCacheSet } from "./_listCacheSet.js";
7
-
8
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js
9
- var require__ListCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js"(exports, module) {
10
- var listCacheClear = require__listCacheClear(), listCacheDelete = require__listCacheDelete(), listCacheGet = require__listCacheGet(), listCacheHas = require__listCacheHas(), listCacheSet = require__listCacheSet();
11
- /**
12
- * Creates an list cache object.
13
- *
14
- * @private
15
- * @constructor
16
- * @param {Array} [entries] The key-value pairs to cache.
17
- */
18
- function ListCache(entries) {
19
- var index = -1, length = entries == null ? 0 : entries.length;
20
- this.clear();
21
- while (++index < length) {
22
- var entry = entries[index];
23
- this.set(entry[0], entry[1]);
24
- }
25
- }
26
- ListCache.prototype.clear = listCacheClear;
27
- ListCache.prototype["delete"] = listCacheDelete;
28
- ListCache.prototype.get = listCacheGet;
29
- ListCache.prototype.has = listCacheHas;
30
- ListCache.prototype.set = listCacheSet;
31
- module.exports = ListCache;
32
- } });
33
-
34
- //#endregion
35
- export default require__ListCache();
36
-
37
- export { require__ListCache };
@@ -1,15 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__root } from "./_root.js";
3
- import { require__getNative } from "./_getNative.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js
6
- var require__Map = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js"(exports, module) {
7
- var getNative = require__getNative(), root = require__root();
8
- var Map = getNative(root, "Map");
9
- module.exports = Map;
10
- } });
11
-
12
- //#endregion
13
- export default require__Map();
14
-
15
- export { require__Map };
@@ -1,37 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__mapCacheClear } from "./_mapCacheClear.js";
3
- import { require__mapCacheDelete } from "./_mapCacheDelete.js";
4
- import { require__mapCacheGet } from "./_mapCacheGet.js";
5
- import { require__mapCacheHas } from "./_mapCacheHas.js";
6
- import { require__mapCacheSet } from "./_mapCacheSet.js";
7
-
8
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js
9
- var require__MapCache = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js"(exports, module) {
10
- var mapCacheClear = require__mapCacheClear(), mapCacheDelete = require__mapCacheDelete(), mapCacheGet = require__mapCacheGet(), mapCacheHas = require__mapCacheHas(), mapCacheSet = require__mapCacheSet();
11
- /**
12
- * Creates a map cache object to store key-value pairs.
13
- *
14
- * @private
15
- * @constructor
16
- * @param {Array} [entries] The key-value pairs to cache.
17
- */
18
- function MapCache(entries) {
19
- var index = -1, length = entries == null ? 0 : entries.length;
20
- this.clear();
21
- while (++index < length) {
22
- var entry = entries[index];
23
- this.set(entry[0], entry[1]);
24
- }
25
- }
26
- MapCache.prototype.clear = mapCacheClear;
27
- MapCache.prototype["delete"] = mapCacheDelete;
28
- MapCache.prototype.get = mapCacheGet;
29
- MapCache.prototype.has = mapCacheHas;
30
- MapCache.prototype.set = mapCacheSet;
31
- module.exports = MapCache;
32
- } });
33
-
34
- //#endregion
35
- export default require__MapCache();
36
-
37
- export { require__MapCache };
@@ -1,34 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__ListCache } from "./_ListCache.js";
3
- import { require__stackClear } from "./_stackClear.js";
4
- import { require__stackDelete } from "./_stackDelete.js";
5
- import { require__stackGet } from "./_stackGet.js";
6
- import { require__stackHas } from "./_stackHas.js";
7
- import { require__stackSet } from "./_stackSet.js";
8
-
9
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js
10
- var require__Stack = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js"(exports, module) {
11
- var ListCache = require__ListCache(), stackClear = require__stackClear(), stackDelete = require__stackDelete(), stackGet = require__stackGet(), stackHas = require__stackHas(), stackSet = require__stackSet();
12
- /**
13
- * Creates a stack cache object to store key-value pairs.
14
- *
15
- * @private
16
- * @constructor
17
- * @param {Array} [entries] The key-value pairs to cache.
18
- */
19
- function Stack(entries) {
20
- var data = this.__data__ = new ListCache(entries);
21
- this.size = data.size;
22
- }
23
- Stack.prototype.clear = stackClear;
24
- Stack.prototype["delete"] = stackDelete;
25
- Stack.prototype.get = stackGet;
26
- Stack.prototype.has = stackHas;
27
- Stack.prototype.set = stackSet;
28
- module.exports = Stack;
29
- } });
30
-
31
- //#endregion
32
- export default require__Stack();
33
-
34
- export { require__Stack };
@@ -1,15 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__root } from "./_root.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js
5
- var require__Symbol = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"(exports, module) {
6
- var root = require__root();
7
- /** Built-in value references. */
8
- var Symbol = root.Symbol;
9
- module.exports = Symbol;
10
- } });
11
-
12
- //#endregion
13
- export default require__Symbol();
14
-
15
- export { require__Symbol };
@@ -1,15 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__root } from "./_root.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js
5
- var require__Uint8Array = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js"(exports, module) {
6
- var root = require__root();
7
- /** Built-in value references. */
8
- var Uint8Array = root.Uint8Array;
9
- module.exports = Uint8Array;
10
- } });
11
-
12
- //#endregion
13
- export default require__Uint8Array();
14
-
15
- export { require__Uint8Array };
@@ -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/_apply.js
4
- var require__apply = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js"(exports, module) {
5
- /**
6
- * A faster alternative to `Function#apply`, this function invokes `func`
7
- * with the `this` binding of `thisArg` and the arguments of `args`.
8
- *
9
- * @private
10
- * @param {Function} func The function to invoke.
11
- * @param {*} thisArg The `this` binding of `func`.
12
- * @param {Array} args The arguments to invoke `func` with.
13
- * @returns {*} Returns the result of `func`.
14
- */
15
- function apply(func, thisArg, args) {
16
- switch (args.length) {
17
- case 0: return func.call(thisArg);
18
- case 1: return func.call(thisArg, args[0]);
19
- case 2: return func.call(thisArg, args[0], args[1]);
20
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
21
- }
22
- return func.apply(thisArg, args);
23
- }
24
- module.exports = apply;
25
- } });
26
-
27
- //#endregion
28
- export default require__apply();
29
-
30
- export { require__apply };
@@ -1,35 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_isArguments } from "./isArguments.js";
3
- import { require_isArray } from "./isArray.js";
4
- import { require_isBuffer } from "./isBuffer.js";
5
- import { require_isTypedArray } from "./isTypedArray.js";
6
- import { require__baseTimes } from "./_baseTimes.js";
7
- import { require__isIndex } from "./_isIndex.js";
8
-
9
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js
10
- var require__arrayLikeKeys = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js"(exports, module) {
11
- var baseTimes = require__baseTimes(), isArguments = require_isArguments(), isArray = require_isArray(), isBuffer = require_isBuffer(), isIndex = require__isIndex(), isTypedArray = require_isTypedArray();
12
- /** Used for built-in method references. */
13
- var objectProto = Object.prototype;
14
- /** Used to check objects for own properties. */
15
- var hasOwnProperty = objectProto.hasOwnProperty;
16
- /**
17
- * Creates an array of the enumerable property names of the array-like `value`.
18
- *
19
- * @private
20
- * @param {*} value The value to query.
21
- * @param {boolean} inherited Specify returning inherited property names.
22
- * @returns {Array} Returns the array of property names.
23
- */
24
- function arrayLikeKeys(value, inherited) {
25
- var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
26
- for (var key in value) if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
27
- return result;
28
- }
29
- module.exports = arrayLikeKeys;
30
- } });
31
-
32
- //#endregion
33
- export default require__arrayLikeKeys();
34
-
35
- export { require__arrayLikeKeys };
@@ -1,26 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_eq } from "./eq.js";
3
- import { require__baseAssignValue } from "./_baseAssignValue.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js
6
- var require__assignMergeValue = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js"(exports, module) {
7
- var baseAssignValue = require__baseAssignValue(), eq = require_eq();
8
- /**
9
- * This function is like `assignValue` except that it doesn't assign
10
- * `undefined` values.
11
- *
12
- * @private
13
- * @param {Object} object The object to modify.
14
- * @param {string} key The key of the property to assign.
15
- * @param {*} value The value to assign.
16
- */
17
- function assignMergeValue(object, key, value) {
18
- if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
19
- }
20
- module.exports = assignMergeValue;
21
- } });
22
-
23
- //#endregion
24
- export default require__assignMergeValue();
25
-
26
- export { require__assignMergeValue };
@@ -1,32 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_eq } from "./eq.js";
3
- import { require__baseAssignValue } from "./_baseAssignValue.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js
6
- var require__assignValue = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js"(exports, module) {
7
- var baseAssignValue = require__baseAssignValue(), eq = require_eq();
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
- /**
13
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
14
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
15
- * for equality comparisons.
16
- *
17
- * @private
18
- * @param {Object} object The object to modify.
19
- * @param {string} key The key of the property to assign.
20
- * @param {*} value The value to assign.
21
- */
22
- function assignValue(object, key, value) {
23
- var objValue = object[key];
24
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
25
- }
26
- module.exports = assignValue;
27
- } });
28
-
29
- //#endregion
30
- export default require__assignValue();
31
-
32
- export { require__assignValue };
@@ -1,26 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_eq } from "./eq.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js
5
- var require__assocIndexOf = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js"(exports, module) {
6
- var eq = require_eq();
7
- /**
8
- * Gets the index at which the `key` is found in `array` of key-value pairs.
9
- *
10
- * @private
11
- * @param {Array} array The array to inspect.
12
- * @param {*} key The key to search for.
13
- * @returns {number} Returns the index of the matched value, else `-1`.
14
- */
15
- function assocIndexOf(array, key) {
16
- var length = array.length;
17
- while (length--) if (eq(array[length][0], key)) return length;
18
- return -1;
19
- }
20
- module.exports = assocIndexOf;
21
- } });
22
-
23
- //#endregion
24
- export default require__assocIndexOf();
25
-
26
- export { require__assocIndexOf };
@@ -1,31 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__defineProperty } from "./_defineProperty.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js
5
- var require__baseAssignValue = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js"(exports, module) {
6
- var defineProperty = require__defineProperty();
7
- /**
8
- * The base implementation of `assignValue` and `assignMergeValue` without
9
- * value checks.
10
- *
11
- * @private
12
- * @param {Object} object The object to modify.
13
- * @param {string} key The key of the property to assign.
14
- * @param {*} value The value to assign.
15
- */
16
- function baseAssignValue(object, key, value) {
17
- if (key == "__proto__" && defineProperty) defineProperty(object, key, {
18
- "configurable": true,
19
- "enumerable": true,
20
- "value": value,
21
- "writable": true
22
- });
23
- else object[key] = value;
24
- }
25
- module.exports = baseAssignValue;
26
- } });
27
-
28
- //#endregion
29
- export default require__baseAssignValue();
30
-
31
- export { require__baseAssignValue };
@@ -1,34 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_isObject } from "./isObject.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js
5
- var require__baseCreate = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js"(exports, module) {
6
- var isObject = require_isObject();
7
- /** Built-in value references. */
8
- var objectCreate = Object.create;
9
- /**
10
- * The base implementation of `_.create` without support for assigning
11
- * properties to the created object.
12
- *
13
- * @private
14
- * @param {Object} proto The object to inherit from.
15
- * @returns {Object} Returns the new object.
16
- */
17
- var baseCreate = function() {
18
- function object() {}
19
- return function(proto) {
20
- if (!isObject(proto)) return {};
21
- if (objectCreate) return objectCreate(proto);
22
- object.prototype = proto;
23
- var result = new object();
24
- object.prototype = void 0;
25
- return result;
26
- };
27
- }();
28
- module.exports = baseCreate;
29
- } });
30
-
31
- //#endregion
32
- export default require__baseCreate();
33
-
34
- export { require__baseCreate };
@@ -1,25 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__createBaseFor } from "./_createBaseFor.js";
3
-
4
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js
5
- var require__baseFor = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js"(exports, module) {
6
- var createBaseFor = require__createBaseFor();
7
- /**
8
- * The base implementation of `baseForOwn` which iterates over `object`
9
- * properties returned by `keysFunc` and invokes `iteratee` for each property.
10
- * Iteratee functions may exit iteration early by explicitly returning `false`.
11
- *
12
- * @private
13
- * @param {Object} object The object to iterate over.
14
- * @param {Function} iteratee The function invoked per iteration.
15
- * @param {Function} keysFunc The function to get the keys of `object`.
16
- * @returns {Object} Returns `object`.
17
- */
18
- var baseFor = createBaseFor();
19
- module.exports = baseFor;
20
- } });
21
-
22
- //#endregion
23
- export default require__baseFor();
24
-
25
- export { require__baseFor };
@@ -1,30 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__Symbol } from "./_Symbol.js";
3
- import { require__getRawTag } from "./_getRawTag.js";
4
- import { require__objectToString } from "./_objectToString.js";
5
-
6
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js
7
- var require__baseGetTag = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"(exports, module) {
8
- var Symbol = require__Symbol(), getRawTag = require__getRawTag(), objectToString = require__objectToString();
9
- /** `Object#toString` result references. */
10
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
11
- /** Built-in value references. */
12
- var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
13
- /**
14
- * The base implementation of `getTag` without fallbacks for buggy environments.
15
- *
16
- * @private
17
- * @param {*} value The value to query.
18
- * @returns {string} Returns the `toStringTag`.
19
- */
20
- function baseGetTag(value) {
21
- if (value == null) return value === void 0 ? undefinedTag : nullTag;
22
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
23
- }
24
- module.exports = baseGetTag;
25
- } });
26
-
27
- //#endregion
28
- export default require__baseGetTag();
29
-
30
- export { require__baseGetTag };
@@ -1,26 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__baseGetTag } from "./_baseGetTag.js";
3
- import { require_isObjectLike } from "./isObjectLike.js";
4
-
5
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js
6
- var require__baseIsArguments = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js"(exports, module) {
7
- var baseGetTag = require__baseGetTag(), isObjectLike = require_isObjectLike();
8
- /** `Object#toString` result references. */
9
- var argsTag = "[object Arguments]";
10
- /**
11
- * The base implementation of `_.isArguments`.
12
- *
13
- * @private
14
- * @param {*} value The value to check.
15
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
16
- */
17
- function baseIsArguments(value) {
18
- return isObjectLike(value) && baseGetTag(value) == argsTag;
19
- }
20
- module.exports = baseIsArguments;
21
- } });
22
-
23
- //#endregion
24
- export default require__baseIsArguments();
25
-
26
- export { require__baseIsArguments };
@@ -1,44 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_isObject } from "./isObject.js";
3
- import { require_isFunction } from "./isFunction.js";
4
- import { require__isMasked } from "./_isMasked.js";
5
- import { require__toSource } from "./_toSource.js";
6
-
7
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js
8
- var require__baseIsNative = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js"(exports, module) {
9
- var isFunction = require_isFunction(), isMasked = require__isMasked(), isObject = require_isObject(), toSource = require__toSource();
10
- /**
11
- * Used to match `RegExp`
12
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
13
- */
14
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
15
- /** Used to detect host constructors (Safari). */
16
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
17
- /** Used for built-in method references. */
18
- var funcProto = Function.prototype, objectProto = Object.prototype;
19
- /** Used to resolve the decompiled source of functions. */
20
- var funcToString = funcProto.toString;
21
- /** Used to check objects for own properties. */
22
- var hasOwnProperty = objectProto.hasOwnProperty;
23
- /** Used to detect if a method is native. */
24
- var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
25
- /**
26
- * The base implementation of `_.isNative` without bad shim checks.
27
- *
28
- * @private
29
- * @param {*} value The value to check.
30
- * @returns {boolean} Returns `true` if `value` is a native function,
31
- * else `false`.
32
- */
33
- function baseIsNative(value) {
34
- if (!isObject(value) || isMasked(value)) return false;
35
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
36
- return pattern.test(toSource(value));
37
- }
38
- module.exports = baseIsNative;
39
- } });
40
-
41
- //#endregion
42
- export default require__baseIsNative();
43
-
44
- export { require__baseIsNative };
@@ -1,32 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require__baseGetTag } from "./_baseGetTag.js";
3
- import { require_isObjectLike } from "./isObjectLike.js";
4
- import { require_isLength } from "./isLength.js";
5
-
6
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js
7
- var require__baseIsTypedArray = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js"(exports, module) {
8
- var baseGetTag = require__baseGetTag(), isLength = require_isLength(), isObjectLike = require_isObjectLike();
9
- /** `Object#toString` result references. */
10
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
11
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
12
- /** Used to identify `toStringTag` values of typed arrays. */
13
- var typedArrayTags = {};
14
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
15
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
16
- /**
17
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
18
- *
19
- * @private
20
- * @param {*} value The value to check.
21
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
22
- */
23
- function baseIsTypedArray(value) {
24
- return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
25
- }
26
- module.exports = baseIsTypedArray;
27
- } });
28
-
29
- //#endregion
30
- export default require__baseIsTypedArray();
31
-
32
- export { require__baseIsTypedArray };
@@ -1,32 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_isObject } from "./isObject.js";
3
- import { require__isPrototype } from "./_isPrototype.js";
4
- import { require__nativeKeysIn } from "./_nativeKeysIn.js";
5
-
6
- //#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js
7
- var require__baseKeysIn = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js"(exports, module) {
8
- var isObject = require_isObject(), isPrototype = require__isPrototype(), nativeKeysIn = require__nativeKeysIn();
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
- * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
15
- *
16
- * @private
17
- * @param {Object} object The object to query.
18
- * @returns {Array} Returns the array of property names.
19
- */
20
- function baseKeysIn(object) {
21
- if (!isObject(object)) return nativeKeysIn(object);
22
- var isProto = isPrototype(object), result = [];
23
- for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) result.push(key);
24
- return result;
25
- }
26
- module.exports = baseKeysIn;
27
- } });
28
-
29
- //#endregion
30
- export default require__baseKeysIn();
31
-
32
- export { require__baseKeysIn };