Update module paths.

This commit is contained in:
John-David Dalton
2017-01-11 10:06:12 -08:00
parent 7baf2267a0
commit aa60e55db4
125 changed files with 427 additions and 306 deletions

View File

@@ -1,4 +1,4 @@
import assocIndexOf from './.internal/assocIndexOf.js';
import assocIndexOf from './assocIndexOf.js';
/** Built-in value references. */
const splice = Array.prototype.splice;

View File

@@ -1,6 +1,6 @@
import Hash from './.internal/Hash.js';
import ListCache from './.internal/ListCache.js';
import Hash from './Hash.js';
import ListCache from './ListCache.js';
/**
* Gets the data for `map`.

View File

@@ -1,4 +1,4 @@
import MapCache from './.internal/MapCache.js';
import MapCache from './MapCache.js';
/** Used to stand-in for `undefined` hash values. */
const HASH_UNDEFINED = '__lodash_hash_undefined__';

View File

@@ -1,5 +1,5 @@
import ListCache from './.internal/ListCache.js';
import MapCache from './.internal/MapCache.js';
import ListCache from './ListCache.js';
import MapCache from './MapCache.js';
/** Used as the size to enable large array optimizations. */
const LARGE_ARRAY_SIZE = 200;

View File

@@ -1,4 +1,4 @@
import baseIndexOf from './.internal/baseIndexOf.js';
import baseIndexOf from './baseIndexOf.js';
/**
* A specialized version of `includes` for arrays without support for

View File

@@ -1,8 +1,8 @@
import baseTimes from './.internal/baseTimes.js';
import isArguments from './isArguments.js';
import isBuffer from './isBuffer.js';
import isIndex from './.internal/isIndex.js';
import isTypedArray from './isTypedArray.js';
import baseTimes from './baseTimes.js';
import isArguments from '../isArguments.js';
import isBuffer from '../isBuffer.js';
import isIndex from './isIndex.js';
import isTypedArray from '../isTypedArray.js';
/** Used to check objects for own properties. */
const hasOwnProperty = Object.prototype.hasOwnProperty;

View File

@@ -1,4 +1,4 @@
import baseRandom from './.internal/baseRandom.js';
import baseRandom from './baseRandom.js';
/**
* A specialized version of `sample` for arrays.

View File

@@ -1,6 +1,6 @@
import baseClamp from './.internal/baseClamp.js';
import copyArray from './.internal/copyArray.js';
import shuffleSelf from './.internal/shuffleSelf.js';
import baseClamp from './baseClamp.js';
import copyArray from './copyArray.js';
import shuffleSelf from './shuffleSelf.js';
/**
* A specialized version of `sampleSize` for arrays.

View File

@@ -1,5 +1,5 @@
import copyArray from './.internal/copyArray.js';
import shuffleSelf from './.internal/shuffleSelf.js';
import copyArray from './copyArray.js';
import shuffleSelf from './shuffleSelf.js';
/**
* A specialized version of `shuffle` for arrays.

View File

@@ -1,5 +1,5 @@
import baseAssignValue from './.internal/baseAssignValue.js';
import eq from './eq.js';
import baseAssignValue from './baseAssignValue.js';
import eq from '../eq.js';
/**
* This function is like `assignValue` except that it doesn't assign

View File

@@ -1,5 +1,5 @@
import baseAssignValue from './.internal/baseAssignValue.js';
import eq from './eq.js';
import baseAssignValue from './baseAssignValue.js';
import eq from '../eq.js';
/** Used to check objects for own properties. */
const hasOwnProperty = Object.prototype.hasOwnProperty;

View File

@@ -1,4 +1,4 @@
import eq from './eq.js';
import eq from '../eq.js';
/**
* Gets the index at which the `key` is found in `array` of key-value pairs.

View File

@@ -1,4 +1,4 @@
import baseEach from './.internal/baseEach.js';
import baseEach from './baseEach.js';
/**
* Aggregates elements of `collection` on `accumulator` with keys transformed

View File

@@ -1,5 +1,5 @@
import copyObject from './.internal/copyObject.js';
import keys from './keys.js';
import copyObject from './copyObject.js';
import keys from '../keys.js';
/**
* The base implementation of `assign` without support for multiple sources

View File

@@ -1,5 +1,5 @@
import copyObject from './.internal/copyObject.js';
import keysIn from './keysIn.js';
import copyObject from './copyObject.js';
import keysIn from '../keysIn.js';
/**
* The base implementation of `assignIn` without support for multiple sources

View File

@@ -1,4 +1,4 @@
import get from './get.js';
import get from '../get.js';
/**
* The base implementation of `at` without support for individual paths.

View File

@@ -1,21 +1,25 @@
import Stack from './.internal/Stack.js';
import arrayEach from './.internal/arrayEach.js';
import assignValue from './.internal/assignValue.js';
import baseAssign from './.internal/baseAssign.js';
import baseAssignIn from './.internal/baseAssignIn.js';
import cloneBuffer from './.internal/cloneBuffer.js';
import copyArray from './.internal/copyArray.js';
import copySymbols from './.internal/copySymbols.js';
import copySymbolsIn from './.internal/copySymbolsIn.js';
import getAllKeys from './.internal/getAllKeys.js';
import getAllKeysIn from './.internal/getAllKeysIn.js';
import getTag from './.internal/getTag.js';
import initCloneArray from './.internal/initCloneArray.js';
import initCloneByTag from './.internal/initCloneByTag.js';
import initCloneObject from './.internal/initCloneObject.js';
import isBuffer from './isBuffer.js';
import isObject from './isObject.js';
import keys from './keys.js';
import Stack from './Stack.js';
import arrayEach from './arrayEach.js';
import assignValue from './assignValue.js';
import baseAssign from './baseAssign.js';
import baseAssignIn from './baseAssignIn.js';
import baseCreate from './baseCreate.js';
import cloneBuffer from './cloneBuffer.js';
import copyArray from './copyArray.js';
import copySymbols from './copySymbols.js';
import copySymbolsIn from './copySymbolsIn.js';
import getAllKeys from './getAllKeys.js';
import getAllKeysIn from './getAllKeysIn.js';
import getTag from './getTag.js';
import initCloneArray from './initCloneArray.js';
import initCloneByTag from './initCloneByTag.js';
import initCloneObject from './initCloneObject.js';
import isBuffer from '../isBuffer.js';
import isObject from '../isObject.js';
import isPrototype from './isPrototype.js';
import keys from '../keys.js';
/** Used to compose bitmasks for cloning. */
const CLONE_DEEP_FLAG = 1;
@@ -67,6 +71,123 @@ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
cloneableTags[errorTag] = cloneableTags[funcTag] =
cloneableTags[weakMapTag] = false;
/**
* Initializes an object clone.
*
* @private
* @param {Object} object The object to clone.
* @returns {Object} Returns the initialized clone.
*/
function initCloneObject(object) {
return (typeof object.constructor == 'function' && !isPrototype(object))
? baseCreate(Object.getPrototypeOf(object))
: {};
}
import cloneArrayBuffer from './cloneArrayBuffer.js';
import cloneDataView from './cloneDataView.js';
import cloneMap from './cloneMap.js';
import cloneRegExp from './cloneRegExp.js';
import cloneSet from './cloneSet.js';
import cloneSymbol from './cloneSymbol.js';
import cloneTypedArray from './cloneTypedArray.js';
/** `Object#toString` result references. */
const boolTag = '[object Boolean]';
const dateTag = '[object Date]';
const mapTag = '[object Map]';
const numberTag = '[object Number]';
const regexpTag = '[object RegExp]';
const setTag = '[object Set]';
const stringTag = '[object String]';
const symbolTag = '[object Symbol]';
const arrayBufferTag = '[object ArrayBuffer]';
const dataViewTag = '[object DataView]';
const float32Tag = '[object Float32Array]';
const float64Tag = '[object Float64Array]';
const int8Tag = '[object Int8Array]';
const int16Tag = '[object Int16Array]';
const int32Tag = '[object Int32Array]';
const uint8Tag = '[object Uint8Array]';
const uint8ClampedTag = '[object Uint8ClampedArray]';
const uint16Tag = '[object Uint16Array]';
const uint32Tag = '[object Uint32Array]';
/**
* Initializes an object clone based on its `toStringTag`.
*
* **Note:** This function only supports cloning values with tags of
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
*
* @private
* @param {Object} object The object to clone.
* @param {string} tag The `toStringTag` of the object to clone.
* @param {Function} cloneFunc The function to clone values.
* @param {boolean} [isDeep] Specify a deep clone.
* @returns {Object} Returns the initialized clone.
*/
function initCloneByTag(object, tag, cloneFunc, isDeep) {
const Ctor = object.constructor;
switch (tag) {
case arrayBufferTag:
return cloneArrayBuffer(object);
case boolTag:
case dateTag:
return new Ctor(+object);
case dataViewTag:
return cloneDataView(object, isDeep);
case float32Tag: case float64Tag:
case int8Tag: case int16Tag: case int32Tag:
case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
return cloneTypedArray(object, isDeep);
case mapTag:
return cloneMap(object, isDeep, cloneFunc);
case numberTag:
case stringTag:
return new Ctor(object);
case regexpTag:
return cloneRegExp(object);
case setTag:
return cloneSet(object, isDeep, cloneFunc);
case symbolTag:
return cloneSymbol(object);
}
}
/** Used to check objects for own properties. */
const hasOwnProperty = Object.prototype.hasOwnProperty;
/**
* Initializes an array clone.
*
* @private
* @param {Array} array The array to clone.
* @returns {Array} Returns the initialized clone.
*/
function initCloneArray(array) {
const length = array.length;
const result = array.constructor(length);
// Add properties assigned by `RegExp#exec`.
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
result.index = array.index;
result.input = array.input;
}
return result;
}
/**
* The base implementation of `clone` and `cloneDeep` which tracks
* traversed objects.

View File

@@ -1,5 +1,5 @@
import baseConformsTo from './.internal/baseConformsTo.js';
import keys from './keys.js';
import baseConformsTo from './baseConformsTo.js';
import keys from '../keys.js';
/**
* The base implementation of `conforms` which doesn't clone `source`.

View File

@@ -1,4 +1,4 @@
import isObject from './isObject.js';
import isObject from '../isObject.js';
/**
* The base implementation of `create` without support for assigning

View File

@@ -1,8 +1,8 @@
import SetCache from './.internal/SetCache.js';
import arrayIncludes from './.internal/arrayIncludes.js';
import arrayIncludesWith from './.internal/arrayIncludesWith.js';
import arrayMap from './.internal/arrayMap.js';
import cacheHas from './.internal/cacheHas.js';
import SetCache from './SetCache.js';
import arrayIncludes from './arrayIncludes.js';
import arrayIncludesWith from './arrayIncludesWith.js';
import arrayMap from './arrayMap.js';
import cacheHas from './cacheHas.js';
/** Used as the size to enable large array optimizations. */
const LARGE_ARRAY_SIZE = 200;

View File

@@ -1,5 +1,5 @@
import baseForOwn from './.internal/baseForOwn.js';
import createBaseEach from './.internal/createBaseEach.js';
import baseForOwn from './baseForOwn.js';
import createBaseEach from './createBaseEach.js';
/**
* The base implementation of `forEach`.

View File

@@ -1,5 +1,5 @@
import baseForOwnRight from './.internal/baseForOwnRight.js';
import createBaseEach from './.internal/createBaseEach.js';
import baseForOwnRight from './baseForOwnRight.js';
import createBaseEach from './createBaseEach.js';
/**
* The base implementation of `forEachRight`.

View File

@@ -1,4 +1,4 @@
import baseEach from './.internal/baseEach.js';
import baseEach from './baseEach.js';
/**
* The base implementation of `every`.

View File

@@ -1,5 +1,5 @@
import toInteger from './toInteger.js';
import toLength from './toLength.js';
import toInteger from '../toInteger.js';
import toLength from '../toLength.js';
/**
* The base implementation of `fill` without an iteratee call guard.

View File

@@ -1,4 +1,4 @@
import baseEach from './.internal/baseEach.js';
import baseEach from './baseEach.js';
/**
* The base implementation of `filter`.

View File

@@ -1,5 +1,5 @@
import arrayPush from './.internal/arrayPush.js';
import isFlattenable from './.internal/isFlattenable.js';
import arrayPush from './arrayPush.js';
import isFlattenable from './isFlattenable.js';
/**
* The base implementation of `flatten` with support for restricting flattening.

View File

@@ -1,4 +1,4 @@
import createBaseFor from './.internal/createBaseFor.js';
import createBaseFor from './createBaseFor.js';
/**
* The base implementation of `baseForOwn` which iterates over `object`

View File

@@ -1,5 +1,5 @@
import baseFor from './.internal/baseFor.js';
import keys from './keys.js';
import baseFor from './baseFor.js';
import keys from '../keys.js';
/**
* The base implementation of `forOwn`.

View File

@@ -1,5 +1,5 @@
import baseForRight from './.internal/baseForRight.js';
import keys from './keys.js';
import baseForRight from './baseForRight.js';
import keys from '../keys.js';
/**
* The base implementation of `forOwnRight`.

View File

@@ -1,4 +1,4 @@
import createBaseFor from './.internal/createBaseFor.js';
import createBaseFor from './createBaseFor.js';
/**
* This function is like `baseFor` except that it iterates over properties

View File

@@ -1,5 +1,5 @@
import arrayFilter from './.internal/arrayFilter.js';
import isFunction from './isFunction.js';
import arrayFilter from './arrayFilter.js';
import isFunction from '../isFunction.js';
/**
* The base implementation of `functions` which creates an array of

View File

@@ -1,5 +1,5 @@
import castPath from './.internal/castPath.js';
import toKey from './.internal/toKey.js';
import castPath from './castPath.js';
import toKey from './toKey.js';
/**
* The base implementation of `get` without support for default values.

View File

@@ -1,5 +1,5 @@
import getRawTag from './.internal/getRawTag.js';
import objectToString from './.internal/objectToString.js';
import getRawTag from './getRawTag.js';
import objectToString from './objectToString.js';
/** `Object#toString` result references. */
const nullTag = '[object Null]';

View File

@@ -1,6 +1,6 @@
import baseFindIndex from './.internal/baseFindIndex.js';
import baseIsNaN from './.internal/baseIsNaN.js';
import strictIndexOf from './.internal/strictIndexOf.js';
import baseFindIndex from './baseFindIndex.js';
import baseIsNaN from './baseIsNaN.js';
import strictIndexOf from './strictIndexOf.js';
/**
* The base implementation of `indexOf` without `fromIndex` bounds checks.

View File

@@ -1,8 +1,8 @@
import SetCache from './.internal/SetCache.js';
import arrayIncludes from './.internal/arrayIncludes.js';
import arrayIncludesWith from './.internal/arrayIncludesWith.js';
import arrayMap from './.internal/arrayMap.js';
import cacheHas from './.internal/cacheHas.js';
import SetCache from './SetCache.js';
import arrayIncludes from './arrayIncludes.js';
import arrayIncludesWith from './arrayIncludesWith.js';
import arrayMap from './arrayMap.js';
import cacheHas from './cacheHas.js';
/* Built-in method references for those with the same name as other `lodash` methods. */
const nativeMin = Math.min;

View File

@@ -1,4 +1,4 @@
import baseForOwn from './.internal/baseForOwn.js';
import baseForOwn from './baseForOwn.js';
/**
* The base implementation of `invert` and `invertBy` which inverts

View File

@@ -1,8 +1,8 @@
import apply from './.internal/apply.js';
import castPath from './.internal/castPath.js';
import last from './last.js';
import parent from './.internal/parent.js';
import toKey from './.internal/toKey.js';
import apply from './apply.js';
import castPath from './castPath.js';
import last from '../last.js';
import parent from './parent.js';
import toKey from './toKey.js';
/**
* The base implementation of `invoke` without support for individual

View File

@@ -1,5 +1,5 @@
import baseIsEqualDeep from './.internal/baseIsEqualDeep.js';
import isObjectLike from './isObjectLike.js';
import baseIsEqualDeep from './baseIsEqualDeep.js';
import isObjectLike from '../isObjectLike.js';
/**
* The base implementation of `isEqual` which supports partial comparisons

View File

@@ -1,10 +1,10 @@
import Stack from './.internal/Stack.js';
import equalArrays from './.internal/equalArrays.js';
import equalByTag from './.internal/equalByTag.js';
import equalObjects from './.internal/equalObjects.js';
import getTag from './.internal/getTag.js';
import isBuffer from './isBuffer.js';
import isTypedArray from './isTypedArray.js';
import Stack from './Stack.js';
import equalArrays from './equalArrays.js';
import equalByTag from './equalByTag.js';
import equalObjects from './equalObjects.js';
import getTag from './getTag.js';
import isBuffer from '../isBuffer.js';
import isTypedArray from '../isTypedArray.js';
/** Used to compose bitmasks for value comparisons. */
const COMPARE_PARTIAL_FLAG = 1;

View File

@@ -1,5 +1,5 @@
import Stack from './.internal/Stack.js';
import baseIsEqual from './.internal/baseIsEqual.js';
import Stack from './Stack.js';
import baseIsEqual from './baseIsEqual.js';
/** Used to compose bitmasks for value comparisons. */
const COMPARE_PARTIAL_FLAG = 1;

View File

@@ -1,5 +1,5 @@
import isPrototype from './.internal/isPrototype.js';
import nativeKeys from './.internal/nativeKeys.js';
import isPrototype from './isPrototype.js';
import nativeKeys from './nativeKeys.js';
/** Used to check objects for own properties. */
const hasOwnProperty = Object.prototype.hasOwnProperty;

View File

@@ -1,6 +1,6 @@
import isObject from './isObject.js';
import isPrototype from './.internal/isPrototype.js';
import nativeKeysIn from './.internal/nativeKeysIn.js';
import isObject from '../isObject.js';
import isPrototype from './isPrototype.js';
import nativeKeysIn from './nativeKeysIn.js';
/** Used to check objects for own properties. */
const hasOwnProperty = Object.prototype.hasOwnProperty;

View File

@@ -1,5 +1,5 @@
import baseEach from './.internal/baseEach.js';
import isArrayLike from './isArrayLike.js';
import baseEach from './baseEach.js';
import isArrayLike from '../isArrayLike.js';
/**
* The base implementation of `map`.

View File

@@ -1,6 +1,6 @@
import baseIsMatch from './.internal/baseIsMatch.js';
import getMatchData from './.internal/getMatchData.js';
import matchesStrictComparable from './.internal/matchesStrictComparable.js';
import baseIsMatch from './baseIsMatch.js';
import getMatchData from './getMatchData.js';
import matchesStrictComparable from './matchesStrictComparable.js';
/**
* The base implementation of `matches` which doesn't clone `source`.

View File

@@ -1,10 +1,10 @@
import baseIsEqual from './.internal/baseIsEqual.js';
import get from './get.js';
import hasIn from './hasIn.js';
import isKey from './.internal/isKey.js';
import isStrictComparable from './.internal/isStrictComparable.js';
import matchesStrictComparable from './.internal/matchesStrictComparable.js';
import toKey from './.internal/toKey.js';
import baseIsEqual from './baseIsEqual.js';
import get from '../get.js';
import hasIn from '../hasIn.js';
import isKey from './isKey.js';
import isStrictComparable from './isStrictComparable.js';
import matchesStrictComparable from './matchesStrictComparable.js';
import toKey from './toKey.js';
/** Used to compose bitmasks for value comparisons. */
const COMPARE_PARTIAL_FLAG = 1;

View File

@@ -1,9 +1,9 @@
import Stack from './.internal/Stack.js';
import assignMergeValue from './.internal/assignMergeValue.js';
import baseFor from './.internal/baseFor.js';
import baseMergeDeep from './.internal/baseMergeDeep.js';
import isObject from './isObject.js';
import keysIn from './keysIn.js';
import Stack from './Stack.js';
import assignMergeValue from './assignMergeValue.js';
import baseFor from './baseFor.js';
import baseMergeDeep from './baseMergeDeep.js';
import isObject from '../isObject.js';
import keysIn from '../keysIn.js';
/**
* The base implementation of `merge` without support for multiple sources.

View File

@@ -1,16 +1,16 @@
import assignMergeValue from './.internal/assignMergeValue.js';
import cloneBuffer from './.internal/cloneBuffer.js';
import cloneTypedArray from './.internal/cloneTypedArray.js';
import copyArray from './.internal/copyArray.js';
import initCloneObject from './.internal/initCloneObject.js';
import isArguments from './isArguments.js';
import isArrayLikeObject from './isArrayLikeObject.js';
import isBuffer from './isBuffer.js';
import isFunction from './isFunction.js';
import isObject from './isObject.js';
import isPlainObject from './isPlainObject.js';
import isTypedArray from './isTypedArray.js';
import toPlainObject from './toPlainObject.js';
import assignMergeValue from './assignMergeValue.js';
import cloneBuffer from './cloneBuffer.js';
import cloneTypedArray from './cloneTypedArray.js';
import copyArray from './copyArray.js';
import initCloneObject from './initCloneObject.js';
import isArguments from '../isArguments.js';
import isArrayLikeObject from '../isArrayLikeObject.js';
import isBuffer from '../isBuffer.js';
import isFunction from '../isFunction.js';
import isObject from '../isObject.js';
import isPlainObject from '../isPlainObject.js';
import isTypedArray from '../isTypedArray.js';
import toPlainObject from '../toPlainObject.js';
/**
* A specialized version of `baseMerge` for arrays and objects which performs

View File

@@ -1,4 +1,4 @@
import isIndex from './.internal/isIndex.js';
import isIndex from './isIndex.js';
/**
* The base implementation of `nth` which doesn't coerce arguments.

View File

@@ -1,8 +1,8 @@
import arrayMap from './.internal/arrayMap.js';
import baseMap from './.internal/baseMap.js';
import baseSortBy from './.internal/baseSortBy.js';
import compareMultiple from './.internal/compareMultiple.js';
import identity from './identity.js';
import arrayMap from './arrayMap.js';
import baseMap from './baseMap.js';
import baseSortBy from './baseSortBy.js';
import compareMultiple from './compareMultiple.js';
import identity from '../identity.js';
/**
* The base implementation of `orderBy` without param guards.

View File

@@ -1,5 +1,5 @@
import basePickBy from './.internal/basePickBy.js';
import hasIn from './hasIn.js';
import basePickBy from './basePickBy.js';
import hasIn from '../hasIn.js';
/**
* The base implementation of `pick` without support for individual

View File

@@ -1,6 +1,6 @@
import baseGet from './.internal/baseGet.js';
import baseSet from './.internal/baseSet.js';
import castPath from './.internal/castPath.js';
import baseGet from './baseGet.js';
import baseSet from './baseSet.js';
import castPath from './castPath.js';
/**
* The base implementation of `pickBy`.

View File

@@ -1,4 +1,4 @@
import baseGet from './.internal/baseGet.js';
import baseGet from './baseGet.js';
/**
* A specialized version of `baseProperty` which supports deep paths.

View File

@@ -1,7 +1,7 @@
import arrayMap from './.internal/arrayMap.js';
import baseIndexOf from './.internal/baseIndexOf.js';
import baseIndexOfWith from './.internal/baseIndexOfWith.js';
import copyArray from './.internal/copyArray.js';
import arrayMap from './arrayMap.js';
import baseIndexOf from './baseIndexOf.js';
import baseIndexOfWith from './baseIndexOfWith.js';
import copyArray from './copyArray.js';
/** Built-in value references. */
const splice = Array.prototype.splice;

View File

@@ -1,5 +1,5 @@
import baseUnset from './.internal/baseUnset.js';
import isIndex from './.internal/isIndex.js';
import baseUnset from './baseUnset.js';
import isIndex from './isIndex.js';
/** Built-in value references. */
const splice = Array.prototype.splice;

View File

@@ -1,5 +1,5 @@
import arraySample from './.internal/arraySample.js';
import values from './values.js';
import arraySample from './arraySample.js';
import values from '../values.js';
/**
* The base implementation of `sample`.

View File

@@ -1,6 +1,6 @@
import baseClamp from './.internal/baseClamp.js';
import shuffleSelf from './.internal/shuffleSelf.js';
import values from './values.js';
import baseClamp from './baseClamp.js';
import shuffleSelf from './shuffleSelf.js';
import values from '../values.js';
/**
* The base implementation of `sampleSize` without param guards.

View File

@@ -1,8 +1,8 @@
import assignValue from './.internal/assignValue.js';
import castPath from './.internal/castPath.js';
import isIndex from './.internal/isIndex.js';
import isObject from './isObject.js';
import toKey from './.internal/toKey.js';
import assignValue from './assignValue.js';
import castPath from './castPath.js';
import isIndex from './isIndex.js';
import isObject from '../isObject.js';
import toKey from './toKey.js';
/**
* The base implementation of `set`.

View File

@@ -1,5 +1,5 @@
import constant from './constant.js';
import identity from './identity.js';
import constant from '../constant.js';
import identity from '../identity.js';
/**
* The base implementation of `setToString` without support for hot loop shorting.

View File

@@ -1,5 +1,5 @@
import shuffleSelf from './.internal/shuffleSelf.js';
import values from './values.js';
import shuffleSelf from './shuffleSelf.js';
import values from '../values.js';
/**
* The base implementation of `shuffle`.

View File

@@ -1,4 +1,4 @@
import baseEach from './.internal/baseEach.js';
import baseEach from './baseEach.js';
/**
* The base implementation of `some`.

View File

@@ -1,6 +1,6 @@
import baseSortedIndexBy from './.internal/baseSortedIndexBy.js';
import identity from './identity.js';
import isSymbol from './isSymbol.js';
import baseSortedIndexBy from './baseSortedIndexBy.js';
import identity from '../identity.js';
import isSymbol from '../isSymbol.js';
/** Used as references for the maximum length and index of an array. */
const MAX_ARRAY_LENGTH = 4294967295;

View File

@@ -1,4 +1,4 @@
import isSymbol from './isSymbol.js';
import isSymbol from '../isSymbol.js';
/** Used as references for the maximum length and index of an array. */
const MAX_ARRAY_LENGTH = 4294967295;

View File

@@ -1,4 +1,4 @@
import eq from './eq.js';
import eq from '../eq.js';
/**
* The base implementation of `sortedUniq` and `sortedUniqBy`.

View File

@@ -1,4 +1,4 @@
import isSymbol from './isSymbol.js';
import isSymbol from '../isSymbol.js';
/** Used as references for various `Number` constants. */
const NAN = 0 / 0;

View File

@@ -1,4 +1,4 @@
import arrayMap from './.internal/arrayMap.js';
import arrayMap from './arrayMap.js';
/**
* The base implementation of `toPairs` and `toPairsIn` which creates an array

View File

@@ -1,5 +1,5 @@
import arrayMap from './.internal/arrayMap.js';
import isSymbol from './isSymbol.js';
import arrayMap from './arrayMap.js';
import isSymbol from '../isSymbol.js';
/** Used as references for various `Number` constants. */
const INFINITY = 1 / 0;

View File

@@ -1,9 +1,9 @@
import SetCache from './.internal/SetCache.js';
import arrayIncludes from './.internal/arrayIncludes.js';
import arrayIncludesWith from './.internal/arrayIncludesWith.js';
import cacheHas from './.internal/cacheHas.js';
import createSet from './.internal/createSet.js';
import setToArray from './.internal/setToArray.js';
import SetCache from './SetCache.js';
import arrayIncludes from './arrayIncludes.js';
import arrayIncludesWith from './arrayIncludesWith.js';
import cacheHas from './cacheHas.js';
import createSet from './createSet.js';
import setToArray from './setToArray.js';
/** Used as the size to enable large array optimizations. */
const LARGE_ARRAY_SIZE = 200;

View File

@@ -1,7 +1,7 @@
import castPath from './.internal/castPath.js';
import last from './last.js';
import parent from './.internal/parent.js';
import toKey from './.internal/toKey.js';
import castPath from './castPath.js';
import last from '../last.js';
import parent from './parent.js';
import toKey from './toKey.js';
/**
* The base implementation of `unset`.

View File

@@ -1,5 +1,5 @@
import baseGet from './.internal/baseGet.js';
import baseSet from './.internal/baseSet.js';
import baseGet from './baseGet.js';
import baseSet from './baseSet.js';
/**
* The base implementation of `update`.

View File

@@ -1,4 +1,4 @@
import arrayMap from './.internal/arrayMap.js';
import arrayMap from './arrayMap.js';
/**
* The base implementation of `values` and `valuesIn` which creates an

View File

@@ -1,4 +1,4 @@
import baseSlice from './.internal/baseSlice.js';
import baseSlice from './baseSlice.js';
/**
* The base implementation of methods like `dropWhile` and `takeWhile`.

View File

@@ -1,6 +1,6 @@
import LazyWrapper from './.internal/LazyWrapper.js';
import arrayPush from './.internal/arrayPush.js';
import arrayReduce from './.internal/arrayReduce.js';
import LazyWrapper from './LazyWrapper.js';
import arrayPush from './arrayPush.js';
import arrayReduce from './arrayReduce.js';
/**
* The base implementation of `wrapperValue` which returns the result of

View File

@@ -1,6 +1,6 @@
import baseDifference from './.internal/baseDifference.js';
import baseFlatten from './.internal/baseFlatten.js';
import baseUniq from './.internal/baseUniq.js';
import baseDifference from './baseDifference.js';
import baseFlatten from './baseFlatten.js';
import baseUniq from './baseUniq.js';
/**
* The base implementation of methods like `xor` which accepts an array of

View File

@@ -1,4 +1,4 @@
import isArrayLikeObject from './isArrayLikeObject.js';
import isArrayLikeObject from '../isArrayLikeObject.js';
/**
* Casts `value` to an empty array if it's not an array like object.

View File

@@ -1,6 +1,6 @@
import isKey from './.internal/isKey.js';
import stringToPath from './.internal/stringToPath.js';
import toString from './toString.js';
import isKey from './isKey.js';
import stringToPath from './stringToPath.js';
import toString from '../toString.js';
/**
* Casts `value` to a path array if it's not one.

View File

@@ -1,4 +1,4 @@
import baseSlice from './.internal/baseSlice.js';
import baseSlice from './baseSlice.js';
/**
* Casts `array` to a slice if it's needed.

View File

@@ -1,4 +1,4 @@
import baseIndexOf from './.internal/baseIndexOf.js';
import baseIndexOf from './baseIndexOf.js';
/**
* Used by `trim` and `trimEnd` to get the index of the last string symbol

View File

@@ -1,4 +1,4 @@
import baseIndexOf from './.internal/baseIndexOf.js';
import baseIndexOf from './baseIndexOf.js';
/**
* Used by `trim` and `trimStart` to get the index of the first string symbol

View File

@@ -1,4 +1,4 @@
import root from './.internal/root.js';
import root from './root.js';
/** Detect free variable `exports`. */
const freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;

View File

@@ -1,4 +1,4 @@
import cloneArrayBuffer from './.internal/cloneArrayBuffer.js';
import cloneArrayBuffer from './cloneArrayBuffer.js';
/**
* Creates a clone of `dataView`.

View File

@@ -1,6 +1,6 @@
import addMapEntry from './.internal/addMapEntry.js';
import arrayReduce from './.internal/arrayReduce.js';
import mapToArray from './.internal/mapToArray.js';
import addMapEntry from './addMapEntry.js';
import arrayReduce from './arrayReduce.js';
import mapToArray from './mapToArray.js';
/** Used to compose bitmasks for cloning. */
const CLONE_DEEP_FLAG = 1;

View File

@@ -1,6 +1,6 @@
import addSetEntry from './.internal/addSetEntry.js';
import arrayReduce from './.internal/arrayReduce.js';
import setToArray from './.internal/setToArray.js';
import addSetEntry from './addSetEntry.js';
import arrayReduce from './arrayReduce.js';
import setToArray from './setToArray.js';
/** Used to compose bitmasks for cloning. */
const CLONE_DEEP_FLAG = 1;

View File

@@ -1,4 +1,4 @@
import cloneArrayBuffer from './.internal/cloneArrayBuffer.js';
import cloneArrayBuffer from './cloneArrayBuffer.js';
/**
* Creates a clone of `typedArray`.

View File

@@ -1,4 +1,4 @@
import isSymbol from './isSymbol.js';
import isSymbol from '../isSymbol.js';
/**
* Compares values to sort them in ascending order.

View File

@@ -1,4 +1,4 @@
import compareAscending from './.internal/compareAscending.js';
import compareAscending from './compareAscending.js';
/**
* Used by `orderBy` to compare multiple properties of a value to another

View File

@@ -1,5 +1,5 @@
import assignValue from './.internal/assignValue.js';
import baseAssignValue from './.internal/baseAssignValue.js';
import assignValue from './assignValue.js';
import baseAssignValue from './baseAssignValue.js';
/**
* Copies properties of `source` to `object`.

View File

@@ -1,5 +1,5 @@
import copyObject from './.internal/copyObject.js';
import getSymbols from './.internal/getSymbols.js';
import copyObject from './copyObject.js';
import getSymbols from './getSymbols.js';
/**
* Copies own symbols of `source` to `object`.

View File

@@ -1,5 +1,5 @@
import copyObject from './.internal/copyObject.js';
import getSymbolsIn from './.internal/getSymbolsIn.js';
import copyObject from './copyObject.js';
import getSymbolsIn from './getSymbolsIn.js';
/**
* Copies own and inherited symbols of `source` to `object`.

View File

@@ -1,7 +1,7 @@
import castSlice from './.internal/castSlice.js';
import hasUnicode from './.internal/hasUnicode.js';
import stringToArray from './.internal/stringToArray.js';
import toString from './toString.js';
import castSlice from './castSlice.js';
import hasUnicode from './hasUnicode.js';
import stringToArray from './stringToArray.js';
import toString from '../toString.js';
/**
* Creates a function like `lowerFirst`.

View File

@@ -1,6 +1,6 @@
import arrayReduce from './.internal/arrayReduce.js';
import deburr from './deburr.js';
import words from './words.js';
import arrayReduce from './arrayReduce.js';
import deburr from '../deburr.js';
import words from '../words.js';
/** Used to compose unicode capture groups. */
const rsApos = "['\u2019]";

View File

@@ -1,5 +1,5 @@
import baseCreate from './.internal/baseCreate.js';
import isObject from './isObject.js';
import baseCreate from './baseCreate.js';
import isObject from '../isObject.js';
/**
* Creates a function that produces an instance of `Ctor` regardless of

View File

@@ -1,5 +1,5 @@
import baseToNumber from './.internal/baseToNumber.js';
import baseToString from './.internal/baseToString.js';
import baseToNumber from './baseToNumber.js';
import baseToString from './baseToString.js';
/**
* Creates a function that performs a mathematical operation on two values.

View File

@@ -1,9 +1,9 @@
import baseRepeat from './.internal/baseRepeat.js';
import baseToString from './.internal/baseToString.js';
import castSlice from './.internal/castSlice.js';
import hasUnicode from './.internal/hasUnicode.js';
import stringSize from './.internal/stringSize.js';
import stringToArray from './.internal/stringToArray.js';
import baseRepeat from './baseRepeat.js';
import baseToString from './baseToString.js';
import castSlice from './castSlice.js';
import hasUnicode from './hasUnicode.js';
import stringSize from './stringSize.js';
import stringToArray from './stringToArray.js';
/* Built-in method references for those with the same name as other `lodash` methods. */
const nativeCeil = Math.ceil;

View File

@@ -1,6 +1,6 @@
import baseRange from './.internal/baseRange.js';
import isIterateeCall from './.internal/isIterateeCall.js';
import toFinite from './toFinite.js';
import baseRange from './baseRange.js';
import isIterateeCall from './isIterateeCall.js';
import toFinite from '../toFinite.js';
/**
* Creates a `range` or `rangeRight` function.

View File

@@ -1,6 +1,6 @@
import toInteger from './toInteger.js';
import toNumber from './toNumber.js';
import toString from './toString.js';
import toInteger from '../toInteger.js';
import toNumber from '../toNumber.js';
import toString from '../toString.js';
/**
* Creates a function like `round`.

View File

@@ -1,4 +1,4 @@
import setToArray from './.internal/setToArray.js';
import setToArray from './setToArray.js';
/** Used as references for various `Number` constants. */
const INFINITY = 1 / 0;

View File

@@ -1,4 +1,4 @@
import eq from './eq.js';
import eq from '../eq.js';
/** Used for built-in method references. */
const objectProto = Object.prototype;

View File

@@ -1,5 +1,5 @@
import baseMerge from './.internal/baseMerge.js';
import isObject from './isObject.js';
import baseMerge from './baseMerge.js';
import isObject from '../isObject.js';
/**
* Used by `defaultsDeep` to customize its `merge` use to merge source

View File

@@ -1,4 +1,4 @@
import basePropertyOf from './.internal/basePropertyOf.js';
import basePropertyOf from './basePropertyOf.js';
/** Used to map Latin Unicode letters to basic Latin letters. */
const deburredLetters = {

View File

@@ -1,6 +1,6 @@
import SetCache from './.internal/SetCache.js';
import arraySome from './.internal/arraySome.js';
import cacheHas from './.internal/cacheHas.js';
import SetCache from './SetCache.js';
import arraySome from './arraySome.js';
import cacheHas from './cacheHas.js';
/** Used to compose bitmasks for value comparisons. */
const COMPARE_PARTIAL_FLAG = 1;

Some files were not shown because too many files have changed in this diff Show More