Move internal modules to “internal” folder.

This commit is contained in:
John-David Dalton
2017-01-10 00:44:25 -08:00
parent 2b05673125
commit 26ea38dcf4
500 changed files with 726 additions and 726 deletions

View File

@@ -1,8 +1,8 @@
import hashClear from './_hashClear.js'; import hashClear from './.internal/hashClear.js';
import hashDelete from './_hashDelete.js'; import hashDelete from './.internal/hashDelete.js';
import hashGet from './_hashGet.js'; import hashGet from './.internal/hashGet.js';
import hashHas from './_hashHas.js'; import hashHas from './.internal/hashHas.js';
import hashSet from './_hashSet.js'; import hashSet from './.internal/hashSet.js';
/** /**
* Creates a hash object. * Creates a hash object.

View File

@@ -1,8 +1,8 @@
import listCacheClear from './_listCacheClear.js'; import listCacheClear from './.internal/listCacheClear.js';
import listCacheDelete from './_listCacheDelete.js'; import listCacheDelete from './.internal/listCacheDelete.js';
import listCacheGet from './_listCacheGet.js'; import listCacheGet from './.internal/listCacheGet.js';
import listCacheHas from './_listCacheHas.js'; import listCacheHas from './.internal/listCacheHas.js';
import listCacheSet from './_listCacheSet.js'; import listCacheSet from './.internal/listCacheSet.js';
/** /**
* Creates an list cache object. * Creates an list cache object.

View File

@@ -1,8 +1,8 @@
import mapCacheClear from './_mapCacheClear.js'; import mapCacheClear from './.internal/mapCacheClear.js';
import mapCacheDelete from './_mapCacheDelete.js'; import mapCacheDelete from './.internal/mapCacheDelete.js';
import mapCacheGet from './_mapCacheGet.js'; import mapCacheGet from './.internal/mapCacheGet.js';
import mapCacheHas from './_mapCacheHas.js'; import mapCacheHas from './.internal/mapCacheHas.js';
import mapCacheSet from './_mapCacheSet.js'; import mapCacheSet from './.internal/mapCacheSet.js';
/** /**
* Creates a map cache object to store key-value pairs. * Creates a map cache object to store key-value pairs.

View File

@@ -1,6 +1,6 @@
import MapCache from './_MapCache.js'; import MapCache from './.internal/MapCache.js';
import setCacheAdd from './_setCacheAdd.js'; import setCacheAdd from './.internal/setCacheAdd.js';
import setCacheHas from './_setCacheHas.js'; import setCacheHas from './.internal/setCacheHas.js';
/** /**
* *

View File

@@ -1,9 +1,9 @@
import ListCache from './_ListCache.js'; import ListCache from './.internal/ListCache.js';
import stackClear from './_stackClear.js'; import stackClear from './.internal/stackClear.js';
import stackDelete from './_stackDelete.js'; import stackDelete from './.internal/stackDelete.js';
import stackGet from './_stackGet.js'; import stackGet from './.internal/stackGet.js';
import stackHas from './_stackHas.js'; import stackHas from './.internal/stackHas.js';
import stackSet from './_stackSet.js'; import stackSet from './.internal/stackSet.js';
/** /**
* Creates a stack cache object to store key-value pairs. * Creates a stack cache object to store key-value pairs.

View File

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

View File

@@ -1,7 +1,7 @@
import baseTimes from './_baseTimes.js'; import baseTimes from './.internal/baseTimes.js';
import isArguments from './isArguments.js'; import isArguments from './isArguments.js';
import isBuffer from './isBuffer.js'; import isBuffer from './isBuffer.js';
import isIndex from './_isIndex.js'; import isIndex from './.internal/isIndex.js';
import isTypedArray from './isTypedArray.js'; import isTypedArray from './isTypedArray.js';
/** Used to check objects for own properties. */ /** Used to check objects for own properties. */

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
import baseProperty from './_baseProperty.js'; import baseProperty from './.internal/baseProperty.js';
/** /**
* Gets the size of an ASCII `string`. * Gets the size of an ASCII `string`.

View File

@@ -1,4 +1,4 @@
import baseAssignValue from './_baseAssignValue.js'; import baseAssignValue from './.internal/baseAssignValue.js';
import eq from './eq.js'; import eq from './eq.js';
/** /**

View File

@@ -1,4 +1,4 @@
import baseAssignValue from './_baseAssignValue.js'; import baseAssignValue from './.internal/baseAssignValue.js';
import eq from './eq.js'; import eq from './eq.js';
/** Used to check objects for own properties. */ /** Used to check objects for own properties. */

View File

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

View File

@@ -1,4 +1,4 @@
import copyObject from './_copyObject.js'; import copyObject from './.internal/copyObject.js';
import keys from './keys.js'; import keys from './keys.js';
/** /**

View File

@@ -1,4 +1,4 @@
import copyObject from './_copyObject.js'; import copyObject from './.internal/copyObject.js';
import keysIn from './keysIn.js'; import keysIn from './keysIn.js';
/** /**

View File

@@ -1,18 +1,18 @@
import Stack from './_Stack.js'; import Stack from './.internal/Stack.js';
import arrayEach from './_arrayEach.js'; import arrayEach from './.internal/arrayEach.js';
import assignValue from './_assignValue.js'; import assignValue from './.internal/assignValue.js';
import baseAssign from './_baseAssign.js'; import baseAssign from './.internal/baseAssign.js';
import baseAssignIn from './_baseAssignIn.js'; import baseAssignIn from './.internal/baseAssignIn.js';
import cloneBuffer from './_cloneBuffer.js'; import cloneBuffer from './.internal/cloneBuffer.js';
import copyArray from './_copyArray.js'; import copyArray from './.internal/copyArray.js';
import copySymbols from './_copySymbols.js'; import copySymbols from './.internal/copySymbols.js';
import copySymbolsIn from './_copySymbolsIn.js'; import copySymbolsIn from './.internal/copySymbolsIn.js';
import getAllKeys from './_getAllKeys.js'; import getAllKeys from './.internal/getAllKeys.js';
import getAllKeysIn from './_getAllKeysIn.js'; import getAllKeysIn from './.internal/getAllKeysIn.js';
import getTag from './_getTag.js'; import getTag from './.internal/getTag.js';
import initCloneArray from './_initCloneArray.js'; import initCloneArray from './.internal/initCloneArray.js';
import initCloneByTag from './_initCloneByTag.js'; import initCloneByTag from './.internal/initCloneByTag.js';
import initCloneObject from './_initCloneObject.js'; import initCloneObject from './.internal/initCloneObject.js';
import isBuffer from './isBuffer.js'; import isBuffer from './isBuffer.js';
import isObject from './isObject.js'; import isObject from './isObject.js';
import keys from './keys.js'; import keys from './keys.js';

View File

@@ -1,4 +1,4 @@
import baseConformsTo from './_baseConformsTo.js'; import baseConformsTo from './.internal/baseConformsTo.js';
import keys from './keys.js'; import keys from './keys.js';
/** /**

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
import baseFor from './_baseFor.js'; import baseFor from './.internal/baseFor.js';
import keys from './keys.js'; import keys from './keys.js';
/** /**

View File

@@ -1,4 +1,4 @@
import baseForRight from './_baseForRight.js'; import baseForRight from './.internal/baseForRight.js';
import keys from './keys.js'; import keys from './keys.js';
/** /**

View File

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

View File

@@ -1,4 +1,4 @@
import arrayFilter from './_arrayFilter.js'; import arrayFilter from './.internal/arrayFilter.js';
import isFunction from './isFunction.js'; import isFunction from './isFunction.js';
/** /**

View File

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

View File

@@ -1,4 +1,4 @@
import arrayPush from './_arrayPush.js'; import arrayPush from './.internal/arrayPush.js';
/** /**
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses * The base implementation of `getAllKeys` and `getAllKeysIn` which uses

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
import baseGetTag from './_baseGetTag.js'; import baseGetTag from './.internal/baseGetTag.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';
const arrayBufferTag = '[object ArrayBuffer]'; const arrayBufferTag = '[object ArrayBuffer]';

View File

@@ -1,4 +1,4 @@
import baseGetTag from './_baseGetTag.js'; import baseGetTag from './.internal/baseGetTag.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';
/** `Object#toString` result references. */ /** `Object#toString` result references. */

View File

@@ -1,4 +1,4 @@
import baseIsEqualDeep from './_baseIsEqualDeep.js'; import baseIsEqualDeep from './.internal/baseIsEqualDeep.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';
/** /**

View File

@@ -1,8 +1,8 @@
import Stack from './_Stack.js'; import Stack from './.internal/Stack.js';
import equalArrays from './_equalArrays.js'; import equalArrays from './.internal/equalArrays.js';
import equalByTag from './_equalByTag.js'; import equalByTag from './.internal/equalByTag.js';
import equalObjects from './_equalObjects.js'; import equalObjects from './.internal/equalObjects.js';
import getTag from './_getTag.js'; import getTag from './.internal/getTag.js';
import isBuffer from './isBuffer.js'; import isBuffer from './isBuffer.js';
import isTypedArray from './isTypedArray.js'; import isTypedArray from './isTypedArray.js';

View File

@@ -1,4 +1,4 @@
import getTag from './_getTag.js'; import getTag from './.internal/getTag.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';
/** `Object#toString` result references. */ /** `Object#toString` result references. */

View File

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

View File

@@ -1,4 +1,4 @@
import baseGetTag from './_baseGetTag.js'; import baseGetTag from './.internal/baseGetTag.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';
/** `Object#toString` result references. */ /** `Object#toString` result references. */

View File

@@ -1,4 +1,4 @@
import getTag from './_getTag.js'; import getTag from './.internal/getTag.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';
/** `Object#toString` result references. */ /** `Object#toString` result references. */

View File

@@ -1,4 +1,4 @@
import baseGetTag from './_baseGetTag.js'; import baseGetTag from './.internal/baseGetTag.js';
import isLength from './isLength.js'; import isLength from './isLength.js';
import isObjectLike from './isObjectLike.js'; import isObjectLike from './isObjectLike.js';

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
import baseEach from './_baseEach.js'; import baseEach from './.internal/baseEach.js';
import isArrayLike from './isArrayLike.js'; import isArrayLike from './isArrayLike.js';
/** /**

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
import Stack from './_Stack.js'; import Stack from './.internal/Stack.js';
import assignMergeValue from './_assignMergeValue.js'; import assignMergeValue from './.internal/assignMergeValue.js';
import baseFor from './_baseFor.js'; import baseFor from './.internal/baseFor.js';
import baseMergeDeep from './_baseMergeDeep.js'; import baseMergeDeep from './.internal/baseMergeDeep.js';
import isObject from './isObject.js'; import isObject from './isObject.js';
import keysIn from './keysIn.js'; import keysIn from './keysIn.js';

View File

@@ -1,8 +1,8 @@
import assignMergeValue from './_assignMergeValue.js'; import assignMergeValue from './.internal/assignMergeValue.js';
import cloneBuffer from './_cloneBuffer.js'; import cloneBuffer from './.internal/cloneBuffer.js';
import cloneTypedArray from './_cloneTypedArray.js'; import cloneTypedArray from './.internal/cloneTypedArray.js';
import copyArray from './_copyArray.js'; import copyArray from './.internal/copyArray.js';
import initCloneObject from './_initCloneObject.js'; import initCloneObject from './.internal/initCloneObject.js';
import isArguments from './isArguments.js'; import isArguments from './isArguments.js';
import isArrayLikeObject from './isArrayLikeObject.js'; import isArrayLikeObject from './isArrayLikeObject.js';
import isBuffer from './isBuffer.js'; import isBuffer from './isBuffer.js';

View File

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

View File

@@ -1,7 +1,7 @@
import arrayMap from './_arrayMap.js'; import arrayMap from './.internal/arrayMap.js';
import baseMap from './_baseMap.js'; import baseMap from './.internal/baseMap.js';
import baseSortBy from './_baseSortBy.js'; import baseSortBy from './.internal/baseSortBy.js';
import compareMultiple from './_compareMultiple.js'; import compareMultiple from './.internal/compareMultiple.js';
import identity from './identity.js'; import identity from './identity.js';
/** /**

View File

@@ -1,4 +1,4 @@
import basePickBy from './_basePickBy.js'; import basePickBy from './.internal/basePickBy.js';
import hasIn from './hasIn.js'; import hasIn from './hasIn.js';
/** /**

View File

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

View File

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

View File

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

View File

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

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