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.
- package/README.md +161 -3
- package/dist/graphql/index.js +1 -0
- package/dist/graphql/server.js +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +12 -3
- package/dist/rollup.js +32 -0
- package/dist/routes/apollo-server.d.ts +2 -2
- package/dist/routes/apollo-server.js +56 -10
- package/dist/routes/graphql-yoga.js +46 -6
- package/dist/routes/health.d.ts +2 -2
- package/dist/types/index.d.ts +15 -2
- package/dist/utils/client-codegen.js +1 -1
- package/dist/utils/define.d.ts +52 -1
- package/dist/utils/define.js +33 -1
- package/dist/utils/directive-parser.d.ts +80 -0
- package/dist/utils/directive-parser.js +235 -0
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +42 -4
- package/dist/utils/server-codegen.d.ts +2 -2
- package/dist/utils/server-codegen.js +3 -2
- package/dist/utils/type-generation.js +127 -7
- package/package.json +34 -18
- package/dist/_virtual/rolldown_runtime.js +0 -37
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/camel-case@4.1.2/node_modules/camel-case/dist/index.js +0 -33
- package/dist/node_modules/.pnpm/capital-case@1.0.4/node_modules/capital-case/dist/index.js +0 -32
- package/dist/node_modules/.pnpm/change-case-all@1.0.15/node_modules/change-case-all/dist/index.js +0 -56
- package/dist/node_modules/.pnpm/change-case@4.1.2/node_modules/change-case/dist/index.js +0 -37
- package/dist/node_modules/.pnpm/constant-case@3.0.4/node_modules/constant-case/dist/index.js +0 -28
- package/dist/node_modules/.pnpm/dot-case@3.0.4/node_modules/dot-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/header-case@2.0.4/node_modules/header-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/is-lower-case@2.0.2/node_modules/is-lower-case/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/is-upper-case@2.0.2/node_modules/is-upper-case/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_apply.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignMergeValue.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assignValue.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseAssignValue.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseCreate.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +0 -44
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeysIn.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js +0 -75
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js +0 -37
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +0 -28
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js +0 -20
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +0 -13
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js +0 -15
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +0 -43
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +0 -36
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_initCloneObject.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +0 -28
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIterateeCall.js +0 -32
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +0 -28
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +0 -22
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +0 -26
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +0 -31
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +0 -27
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +0 -29
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +0 -14
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeysIn.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +0 -29
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +0 -29
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overRest.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +0 -17
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_safeGet.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToString.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_shortOut.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +0 -24
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +0 -25
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +0 -23
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +0 -33
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/constant.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +0 -46
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +0 -30
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +0 -43
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +0 -35
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLikeObject.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +0 -41
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +0 -38
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +0 -42
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +0 -40
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +0 -38
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isPlainObject.js +0 -60
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +0 -34
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keysIn.js +0 -41
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js +0 -48
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +0 -27
- package/dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toPlainObject.js +0 -41
- package/dist/node_modules/.pnpm/lower-case-first@2.0.2/node_modules/lower-case-first/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/lower-case@2.0.2/node_modules/lower-case/dist/index.js +0 -64
- package/dist/node_modules/.pnpm/no-case@3.0.4/node_modules/no-case/dist/index.js +0 -41
- package/dist/node_modules/.pnpm/param-case@3.0.4/node_modules/param-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/pascal-case@3.1.2/node_modules/pascal-case/dist/index.js +0 -37
- package/dist/node_modules/.pnpm/path-case@3.0.4/node_modules/path-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/sentence-case@3.0.4/node_modules/sentence-case/dist/index.js +0 -34
- package/dist/node_modules/.pnpm/snake-case@3.0.4/node_modules/snake-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/sponge-case@1.0.1/node_modules/sponge-case/dist/index.js +0 -20
- package/dist/node_modules/.pnpm/swap-case@2.0.2/node_modules/swap-case/dist/index.js +0 -23
- package/dist/node_modules/.pnpm/title-case@3.0.3/node_modules/title-case/dist/index.js +0 -35
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -547
- package/dist/node_modules/.pnpm/upper-case-first@2.0.2/node_modules/upper-case-first/dist/index.js +0 -21
- package/dist/node_modules/.pnpm/upper-case@2.0.2/node_modules/upper-case/dist/index.js +0 -56
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_isObject } from "./isObject.js";
|
|
3
|
-
import { require__Stack } from "./_Stack.js";
|
|
4
|
-
import { require__assignMergeValue } from "./_assignMergeValue.js";
|
|
5
|
-
import { require__baseFor } from "./_baseFor.js";
|
|
6
|
-
import { require__safeGet } from "./_safeGet.js";
|
|
7
|
-
import { require_keysIn } from "./keysIn.js";
|
|
8
|
-
import { require__baseMergeDeep } from "./_baseMergeDeep.js";
|
|
9
|
-
|
|
10
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js
|
|
11
|
-
var require__baseMerge = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMerge.js"(exports, module) {
|
|
12
|
-
var Stack = require__Stack(), assignMergeValue = require__assignMergeValue(), baseFor = require__baseFor(), baseMergeDeep = require__baseMergeDeep(), isObject = require_isObject(), keysIn = require_keysIn(), safeGet = require__safeGet();
|
|
13
|
-
/**
|
|
14
|
-
* The base implementation of `_.merge` without support for multiple sources.
|
|
15
|
-
*
|
|
16
|
-
* @private
|
|
17
|
-
* @param {Object} object The destination object.
|
|
18
|
-
* @param {Object} source The source object.
|
|
19
|
-
* @param {number} srcIndex The index of `source`.
|
|
20
|
-
* @param {Function} [customizer] The function to customize merged values.
|
|
21
|
-
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
22
|
-
* counterparts.
|
|
23
|
-
*/
|
|
24
|
-
function baseMerge(object, source, srcIndex, customizer, stack) {
|
|
25
|
-
if (object === source) return;
|
|
26
|
-
baseFor(source, function(srcValue, key) {
|
|
27
|
-
stack || (stack = new Stack());
|
|
28
|
-
if (isObject(srcValue)) baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
|
|
29
|
-
else {
|
|
30
|
-
var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
|
|
31
|
-
if (newValue === void 0) newValue = srcValue;
|
|
32
|
-
assignMergeValue(object, key, newValue);
|
|
33
|
-
}
|
|
34
|
-
}, keysIn);
|
|
35
|
-
}
|
|
36
|
-
module.exports = baseMerge;
|
|
37
|
-
} });
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
export default require__baseMerge();
|
|
41
|
-
|
|
42
|
-
export { require__baseMerge };
|
|
@@ -1,75 +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__assignMergeValue } from "./_assignMergeValue.js";
|
|
5
|
-
import { require__cloneBuffer } from "./_cloneBuffer.js";
|
|
6
|
-
import { require__cloneTypedArray } from "./_cloneTypedArray.js";
|
|
7
|
-
import { require__copyArray } from "./_copyArray.js";
|
|
8
|
-
import { require__initCloneObject } from "./_initCloneObject.js";
|
|
9
|
-
import { require_isArguments } from "./isArguments.js";
|
|
10
|
-
import { require_isArray } from "./isArray.js";
|
|
11
|
-
import { require_isArrayLikeObject } from "./isArrayLikeObject.js";
|
|
12
|
-
import { require_isBuffer } from "./isBuffer.js";
|
|
13
|
-
import { require_isPlainObject } from "./isPlainObject.js";
|
|
14
|
-
import { require_isTypedArray } from "./isTypedArray.js";
|
|
15
|
-
import { require__safeGet } from "./_safeGet.js";
|
|
16
|
-
import { require_toPlainObject } from "./toPlainObject.js";
|
|
17
|
-
|
|
18
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js
|
|
19
|
-
var require__baseMergeDeep = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMergeDeep.js"(exports, module) {
|
|
20
|
-
var assignMergeValue = require__assignMergeValue(), cloneBuffer = require__cloneBuffer(), cloneTypedArray = require__cloneTypedArray(), copyArray = require__copyArray(), initCloneObject = require__initCloneObject(), isArguments = require_isArguments(), isArray = require_isArray(), isArrayLikeObject = require_isArrayLikeObject(), isBuffer = require_isBuffer(), isFunction = require_isFunction(), isObject = require_isObject(), isPlainObject = require_isPlainObject(), isTypedArray = require_isTypedArray(), safeGet = require__safeGet(), toPlainObject = require_toPlainObject();
|
|
21
|
-
/**
|
|
22
|
-
* A specialized version of `baseMerge` for arrays and objects which performs
|
|
23
|
-
* deep merges and tracks traversed objects enabling objects with circular
|
|
24
|
-
* references to be merged.
|
|
25
|
-
*
|
|
26
|
-
* @private
|
|
27
|
-
* @param {Object} object The destination object.
|
|
28
|
-
* @param {Object} source The source object.
|
|
29
|
-
* @param {string} key The key of the value to merge.
|
|
30
|
-
* @param {number} srcIndex The index of `source`.
|
|
31
|
-
* @param {Function} mergeFunc The function to merge values.
|
|
32
|
-
* @param {Function} [customizer] The function to customize assigned values.
|
|
33
|
-
* @param {Object} [stack] Tracks traversed source values and their merged
|
|
34
|
-
* counterparts.
|
|
35
|
-
*/
|
|
36
|
-
function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
|
|
37
|
-
var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
|
|
38
|
-
if (stacked) {
|
|
39
|
-
assignMergeValue(object, key, stacked);
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
|
|
43
|
-
var isCommon = newValue === void 0;
|
|
44
|
-
if (isCommon) {
|
|
45
|
-
var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
|
|
46
|
-
newValue = srcValue;
|
|
47
|
-
if (isArr || isBuff || isTyped) if (isArray(objValue)) newValue = objValue;
|
|
48
|
-
else if (isArrayLikeObject(objValue)) newValue = copyArray(objValue);
|
|
49
|
-
else if (isBuff) {
|
|
50
|
-
isCommon = false;
|
|
51
|
-
newValue = cloneBuffer(srcValue, true);
|
|
52
|
-
} else if (isTyped) {
|
|
53
|
-
isCommon = false;
|
|
54
|
-
newValue = cloneTypedArray(srcValue, true);
|
|
55
|
-
} else newValue = [];
|
|
56
|
-
else if (isPlainObject(srcValue) || isArguments(srcValue)) {
|
|
57
|
-
newValue = objValue;
|
|
58
|
-
if (isArguments(objValue)) newValue = toPlainObject(objValue);
|
|
59
|
-
else if (!isObject(objValue) || isFunction(objValue)) newValue = initCloneObject(srcValue);
|
|
60
|
-
} else isCommon = false;
|
|
61
|
-
}
|
|
62
|
-
if (isCommon) {
|
|
63
|
-
stack.set(srcValue, newValue);
|
|
64
|
-
mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
|
|
65
|
-
stack["delete"](srcValue);
|
|
66
|
-
}
|
|
67
|
-
assignMergeValue(object, key, newValue);
|
|
68
|
-
}
|
|
69
|
-
module.exports = baseMergeDeep;
|
|
70
|
-
} });
|
|
71
|
-
|
|
72
|
-
//#endregion
|
|
73
|
-
export default require__baseMergeDeep();
|
|
74
|
-
|
|
75
|
-
export { require__baseMergeDeep };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require_identity } from "./identity.js";
|
|
3
|
-
import { require__overRest } from "./_overRest.js";
|
|
4
|
-
import { require__setToString } from "./_setToString.js";
|
|
5
|
-
|
|
6
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js
|
|
7
|
-
var require__baseRest = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseRest.js"(exports, module) {
|
|
8
|
-
var identity = require_identity(), overRest = require__overRest(), setToString = require__setToString();
|
|
9
|
-
/**
|
|
10
|
-
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
11
|
-
*
|
|
12
|
-
* @private
|
|
13
|
-
* @param {Function} func The function to apply a rest parameter to.
|
|
14
|
-
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
15
|
-
* @returns {Function} Returns the new function.
|
|
16
|
-
*/
|
|
17
|
-
function baseRest(func, start) {
|
|
18
|
-
return setToString(overRest(func, start, identity), func + "");
|
|
19
|
-
}
|
|
20
|
-
module.exports = baseRest;
|
|
21
|
-
} });
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export default require__baseRest();
|
|
25
|
-
|
|
26
|
-
export { require__baseRest };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__defineProperty } from "./_defineProperty.js";
|
|
3
|
-
import { require_identity } from "./identity.js";
|
|
4
|
-
import { require_constant } from "./constant.js";
|
|
5
|
-
|
|
6
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js
|
|
7
|
-
var require__baseSetToString = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSetToString.js"(exports, module) {
|
|
8
|
-
var constant = require_constant(), defineProperty = require__defineProperty(), identity = require_identity();
|
|
9
|
-
/**
|
|
10
|
-
* The base implementation of `setToString` without support for hot loop shorting.
|
|
11
|
-
*
|
|
12
|
-
* @private
|
|
13
|
-
* @param {Function} func The function to modify.
|
|
14
|
-
* @param {Function} string The `toString` result.
|
|
15
|
-
* @returns {Function} Returns `func`.
|
|
16
|
-
*/
|
|
17
|
-
var baseSetToString = !defineProperty ? identity : function(func, string) {
|
|
18
|
-
return defineProperty(func, "toString", {
|
|
19
|
-
"configurable": true,
|
|
20
|
-
"enumerable": false,
|
|
21
|
-
"value": constant(string),
|
|
22
|
-
"writable": true
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
module.exports = baseSetToString;
|
|
26
|
-
} });
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
|
-
export default require__baseSetToString();
|
|
30
|
-
|
|
31
|
-
export { require__baseSetToString };
|
|
@@ -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/_baseTimes.js
|
|
4
|
-
var require__baseTimes = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js"(exports, module) {
|
|
5
|
-
/**
|
|
6
|
-
* The base implementation of `_.times` without support for iteratee shorthands
|
|
7
|
-
* or max array length checks.
|
|
8
|
-
*
|
|
9
|
-
* @private
|
|
10
|
-
* @param {number} n The number of times to invoke `iteratee`.
|
|
11
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
12
|
-
* @returns {Array} Returns the array of results.
|
|
13
|
-
*/
|
|
14
|
-
function baseTimes(n, iteratee) {
|
|
15
|
-
var index = -1, result = Array(n);
|
|
16
|
-
while (++index < n) result[index] = iteratee(index);
|
|
17
|
-
return result;
|
|
18
|
-
}
|
|
19
|
-
module.exports = baseTimes;
|
|
20
|
-
} });
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export default require__baseTimes();
|
|
24
|
-
|
|
25
|
-
export { require__baseTimes };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js
|
|
4
|
-
var require__baseUnary = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js"(exports, module) {
|
|
5
|
-
/**
|
|
6
|
-
* The base implementation of `_.unary` without support for storing metadata.
|
|
7
|
-
*
|
|
8
|
-
* @private
|
|
9
|
-
* @param {Function} func The function to cap arguments for.
|
|
10
|
-
* @returns {Function} Returns the new capped function.
|
|
11
|
-
*/
|
|
12
|
-
function baseUnary(func) {
|
|
13
|
-
return function(value) {
|
|
14
|
-
return func(value);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
module.exports = baseUnary;
|
|
18
|
-
} });
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
export default require__baseUnary();
|
|
22
|
-
|
|
23
|
-
export { require__baseUnary };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__Uint8Array } from "./_Uint8Array.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js
|
|
5
|
-
var require__cloneArrayBuffer = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneArrayBuffer.js"(exports, module) {
|
|
6
|
-
var Uint8Array = require__Uint8Array();
|
|
7
|
-
/**
|
|
8
|
-
* Creates a clone of `arrayBuffer`.
|
|
9
|
-
*
|
|
10
|
-
* @private
|
|
11
|
-
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
12
|
-
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
13
|
-
*/
|
|
14
|
-
function cloneArrayBuffer(arrayBuffer) {
|
|
15
|
-
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
16
|
-
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
|
17
|
-
return result;
|
|
18
|
-
}
|
|
19
|
-
module.exports = cloneArrayBuffer;
|
|
20
|
-
} });
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export default require__cloneArrayBuffer();
|
|
24
|
-
|
|
25
|
-
export { require__cloneArrayBuffer };
|
|
@@ -1,35 +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/_cloneBuffer.js
|
|
5
|
-
var require__cloneBuffer = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneBuffer.js"(exports, module) {
|
|
6
|
-
var root = require__root();
|
|
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
|
-
/** Built-in value references. */
|
|
14
|
-
var Buffer = moduleExports ? root.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
|
|
15
|
-
/**
|
|
16
|
-
* Creates a clone of `buffer`.
|
|
17
|
-
*
|
|
18
|
-
* @private
|
|
19
|
-
* @param {Buffer} buffer The buffer to clone.
|
|
20
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
21
|
-
* @returns {Buffer} Returns the cloned buffer.
|
|
22
|
-
*/
|
|
23
|
-
function cloneBuffer(buffer, isDeep) {
|
|
24
|
-
if (isDeep) return buffer.slice();
|
|
25
|
-
var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
26
|
-
buffer.copy(result);
|
|
27
|
-
return result;
|
|
28
|
-
}
|
|
29
|
-
module.exports = cloneBuffer;
|
|
30
|
-
} });
|
|
31
|
-
|
|
32
|
-
//#endregion
|
|
33
|
-
export default require__cloneBuffer();
|
|
34
|
-
|
|
35
|
-
export { require__cloneBuffer };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__cloneArrayBuffer } from "./_cloneArrayBuffer.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js
|
|
5
|
-
var require__cloneTypedArray = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cloneTypedArray.js"(exports, module) {
|
|
6
|
-
var cloneArrayBuffer = require__cloneArrayBuffer();
|
|
7
|
-
/**
|
|
8
|
-
* Creates a clone of `typedArray`.
|
|
9
|
-
*
|
|
10
|
-
* @private
|
|
11
|
-
* @param {Object} typedArray The typed array to clone.
|
|
12
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
13
|
-
* @returns {Object} Returns the cloned typed array.
|
|
14
|
-
*/
|
|
15
|
-
function cloneTypedArray(typedArray, isDeep) {
|
|
16
|
-
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
17
|
-
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
18
|
-
}
|
|
19
|
-
module.exports = cloneTypedArray;
|
|
20
|
-
} });
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export default require__cloneTypedArray();
|
|
24
|
-
|
|
25
|
-
export { require__cloneTypedArray };
|
|
@@ -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/_copyArray.js
|
|
4
|
-
var require__copyArray = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyArray.js"(exports, module) {
|
|
5
|
-
/**
|
|
6
|
-
* Copies the values of `source` to `array`.
|
|
7
|
-
*
|
|
8
|
-
* @private
|
|
9
|
-
* @param {Array} source The array to copy values from.
|
|
10
|
-
* @param {Array} [array=[]] The array to copy values to.
|
|
11
|
-
* @returns {Array} Returns `array`.
|
|
12
|
-
*/
|
|
13
|
-
function copyArray(source, array) {
|
|
14
|
-
var index = -1, length = source.length;
|
|
15
|
-
array || (array = Array(length));
|
|
16
|
-
while (++index < length) array[index] = source[index];
|
|
17
|
-
return array;
|
|
18
|
-
}
|
|
19
|
-
module.exports = copyArray;
|
|
20
|
-
} });
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export default require__copyArray();
|
|
24
|
-
|
|
25
|
-
export { require__copyArray };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__baseAssignValue } from "./_baseAssignValue.js";
|
|
3
|
-
import { require__assignValue } from "./_assignValue.js";
|
|
4
|
-
|
|
5
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js
|
|
6
|
-
var require__copyObject = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_copyObject.js"(exports, module) {
|
|
7
|
-
var assignValue = require__assignValue(), baseAssignValue = require__baseAssignValue();
|
|
8
|
-
/**
|
|
9
|
-
* Copies properties of `source` to `object`.
|
|
10
|
-
*
|
|
11
|
-
* @private
|
|
12
|
-
* @param {Object} source The object to copy properties from.
|
|
13
|
-
* @param {Array} props The property identifiers to copy.
|
|
14
|
-
* @param {Object} [object={}] The object to copy properties to.
|
|
15
|
-
* @param {Function} [customizer] The function to customize copied values.
|
|
16
|
-
* @returns {Object} Returns `object`.
|
|
17
|
-
*/
|
|
18
|
-
function copyObject(source, props, object, customizer) {
|
|
19
|
-
var isNew = !object;
|
|
20
|
-
object || (object = {});
|
|
21
|
-
var index = -1, length = props.length;
|
|
22
|
-
while (++index < length) {
|
|
23
|
-
var key = props[index];
|
|
24
|
-
var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
|
|
25
|
-
if (newValue === void 0) newValue = source[key];
|
|
26
|
-
if (isNew) baseAssignValue(object, key, newValue);
|
|
27
|
-
else assignValue(object, key, newValue);
|
|
28
|
-
}
|
|
29
|
-
return object;
|
|
30
|
-
}
|
|
31
|
-
module.exports = copyObject;
|
|
32
|
-
} });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require__copyObject();
|
|
36
|
-
|
|
37
|
-
export { require__copyObject };
|
|
@@ -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/_coreJsData.js
|
|
5
|
-
var require__coreJsData = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js"(exports, module) {
|
|
6
|
-
var root = require__root();
|
|
7
|
-
/** Used to detect overreaching core-js shims. */
|
|
8
|
-
var coreJsData = root["__core-js_shared__"];
|
|
9
|
-
module.exports = coreJsData;
|
|
10
|
-
} });
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export default require__coreJsData();
|
|
14
|
-
|
|
15
|
-
export { require__coreJsData };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__baseRest } from "./_baseRest.js";
|
|
3
|
-
import { require__isIterateeCall } from "./_isIterateeCall.js";
|
|
4
|
-
|
|
5
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js
|
|
6
|
-
var require__createAssigner = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createAssigner.js"(exports, module) {
|
|
7
|
-
var baseRest = require__baseRest(), isIterateeCall = require__isIterateeCall();
|
|
8
|
-
/**
|
|
9
|
-
* Creates a function like `_.assign`.
|
|
10
|
-
*
|
|
11
|
-
* @private
|
|
12
|
-
* @param {Function} assigner The function to assign values.
|
|
13
|
-
* @returns {Function} Returns the new assigner function.
|
|
14
|
-
*/
|
|
15
|
-
function createAssigner(assigner) {
|
|
16
|
-
return baseRest(function(object, sources) {
|
|
17
|
-
var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
|
|
18
|
-
customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
|
|
19
|
-
if (guard && isIterateeCall(sources[0], sources[1], guard)) {
|
|
20
|
-
customizer = length < 3 ? void 0 : customizer;
|
|
21
|
-
length = 1;
|
|
22
|
-
}
|
|
23
|
-
object = Object(object);
|
|
24
|
-
while (++index < length) {
|
|
25
|
-
var source = sources[index];
|
|
26
|
-
if (source) assigner(object, source, index, customizer);
|
|
27
|
-
}
|
|
28
|
-
return object;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
module.exports = createAssigner;
|
|
32
|
-
} });
|
|
33
|
-
|
|
34
|
-
//#endregion
|
|
35
|
-
export default require__createAssigner();
|
|
36
|
-
|
|
37
|
-
export { require__createAssigner };
|
|
@@ -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/_createBaseFor.js
|
|
4
|
-
var require__createBaseFor = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js"(exports, module) {
|
|
5
|
-
/**
|
|
6
|
-
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
7
|
-
*
|
|
8
|
-
* @private
|
|
9
|
-
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
10
|
-
* @returns {Function} Returns the new base function.
|
|
11
|
-
*/
|
|
12
|
-
function createBaseFor(fromRight) {
|
|
13
|
-
return function(object, iteratee, keysFunc) {
|
|
14
|
-
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
15
|
-
while (length--) {
|
|
16
|
-
var key = props[fromRight ? length : ++index];
|
|
17
|
-
if (iteratee(iterable[key], key, iterable) === false) break;
|
|
18
|
-
}
|
|
19
|
-
return object;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
module.exports = createBaseFor;
|
|
23
|
-
} });
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export default require__createBaseFor();
|
|
27
|
-
|
|
28
|
-
export { require__createBaseFor };
|
|
@@ -1,20 +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/_defineProperty.js
|
|
5
|
-
var require__defineProperty = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_defineProperty.js"(exports, module) {
|
|
6
|
-
var getNative = require__getNative();
|
|
7
|
-
var defineProperty = function() {
|
|
8
|
-
try {
|
|
9
|
-
var func = getNative(Object, "defineProperty");
|
|
10
|
-
func({}, "", {});
|
|
11
|
-
return func;
|
|
12
|
-
} catch (e) {}
|
|
13
|
-
}();
|
|
14
|
-
module.exports = defineProperty;
|
|
15
|
-
} });
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
export default require__defineProperty();
|
|
19
|
-
|
|
20
|
-
export { require__defineProperty };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js
|
|
4
|
-
var require__freeGlobal = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js"(exports, module) {
|
|
5
|
-
/** Detect free variable `global` from Node.js. */
|
|
6
|
-
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
7
|
-
module.exports = freeGlobal;
|
|
8
|
-
} });
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export default require__freeGlobal();
|
|
12
|
-
|
|
13
|
-
export { require__freeGlobal };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__isKeyable } from "./_isKeyable.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js
|
|
5
|
-
var require__getMapData = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js"(exports, module) {
|
|
6
|
-
var isKeyable = require__isKeyable();
|
|
7
|
-
/**
|
|
8
|
-
* Gets the data for `map`.
|
|
9
|
-
*
|
|
10
|
-
* @private
|
|
11
|
-
* @param {Object} map The map to query.
|
|
12
|
-
* @param {string} key The reference key.
|
|
13
|
-
* @returns {*} Returns the map data.
|
|
14
|
-
*/
|
|
15
|
-
function getMapData(map, key) {
|
|
16
|
-
var data = map.__data__;
|
|
17
|
-
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
|
18
|
-
}
|
|
19
|
-
module.exports = getMapData;
|
|
20
|
-
} });
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
export default require__getMapData();
|
|
24
|
-
|
|
25
|
-
export { require__getMapData };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__baseIsNative } from "./_baseIsNative.js";
|
|
3
|
-
import { require__getValue } from "./_getValue.js";
|
|
4
|
-
|
|
5
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js
|
|
6
|
-
var require__getNative = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js"(exports, module) {
|
|
7
|
-
var baseIsNative = require__baseIsNative(), getValue = require__getValue();
|
|
8
|
-
/**
|
|
9
|
-
* Gets the native function at `key` of `object`.
|
|
10
|
-
*
|
|
11
|
-
* @private
|
|
12
|
-
* @param {Object} object The object to query.
|
|
13
|
-
* @param {string} key The key of the method to get.
|
|
14
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
15
|
-
*/
|
|
16
|
-
function getNative(object, key) {
|
|
17
|
-
var value = getValue(object, key);
|
|
18
|
-
return baseIsNative(value) ? value : void 0;
|
|
19
|
-
}
|
|
20
|
-
module.exports = getNative;
|
|
21
|
-
} });
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export default require__getNative();
|
|
25
|
-
|
|
26
|
-
export { require__getNative };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__overArg } from "./_overArg.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js
|
|
5
|
-
var require__getPrototype = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getPrototype.js"(exports, module) {
|
|
6
|
-
var overArg = require__overArg();
|
|
7
|
-
/** Built-in value references. */
|
|
8
|
-
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
9
|
-
module.exports = getPrototype;
|
|
10
|
-
} });
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export default require__getPrototype();
|
|
14
|
-
|
|
15
|
-
export { require__getPrototype };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
import { require__Symbol } from "./_Symbol.js";
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js
|
|
5
|
-
var require__getRawTag = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js"(exports, module) {
|
|
6
|
-
var Symbol = require__Symbol();
|
|
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
|
-
* Used to resolve the
|
|
13
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
14
|
-
* of values.
|
|
15
|
-
*/
|
|
16
|
-
var nativeObjectToString = objectProto.toString;
|
|
17
|
-
/** Built-in value references. */
|
|
18
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
|
19
|
-
/**
|
|
20
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
21
|
-
*
|
|
22
|
-
* @private
|
|
23
|
-
* @param {*} value The value to query.
|
|
24
|
-
* @returns {string} Returns the raw `toStringTag`.
|
|
25
|
-
*/
|
|
26
|
-
function getRawTag(value) {
|
|
27
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
|
28
|
-
try {
|
|
29
|
-
value[symToStringTag] = void 0;
|
|
30
|
-
var unmasked = true;
|
|
31
|
-
} catch (e) {}
|
|
32
|
-
var result = nativeObjectToString.call(value);
|
|
33
|
-
if (unmasked) if (isOwn) value[symToStringTag] = tag;
|
|
34
|
-
else delete value[symToStringTag];
|
|
35
|
-
return result;
|
|
36
|
-
}
|
|
37
|
-
module.exports = getRawTag;
|
|
38
|
-
} });
|
|
39
|
-
|
|
40
|
-
//#endregion
|
|
41
|
-
export default require__getRawTag();
|
|
42
|
-
|
|
43
|
-
export { require__getRawTag };
|
|
@@ -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/_getValue.js
|
|
4
|
-
var require__getValue = __commonJS({ "node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js"(exports, module) {
|
|
5
|
-
/**
|
|
6
|
-
* Gets the value at `key` of `object`.
|
|
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 getValue(object, key) {
|
|
14
|
-
return object == null ? void 0 : object[key];
|
|
15
|
-
}
|
|
16
|
-
module.exports = getValue;
|
|
17
|
-
} });
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export default require__getValue();
|
|
21
|
-
|
|
22
|
-
export { require__getValue };
|