nitro-graphql 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/graphql/index.js +1 -0
- package/dist/graphql/server.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/routes/apollo-server.d.ts +2 -2
- package/dist/routes/apollo-server.js +5 -1
- package/dist/routes/graphql-yoga.d.ts +2 -2
- package/dist/routes/graphql-yoga.js +5 -1
- package/dist/routes/health.d.ts +2 -2
- package/dist/utils/client-codegen.js +1 -1
- package/dist/utils/index.js +13 -2
- package/dist/utils/type-generation.js +110 -10
- package/package.json +29 -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,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 };
|
|
@@ -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 };
|