@shipengine/alchemy 6.0.74-next.1 → 6.0.74
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/index.js +32 -24
- package/index.mjs +32 -24
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4905,33 +4905,41 @@ var _getHolder = getHolder$2;
|
|
|
4905
4905
|
|
|
4906
4906
|
/** Used as references for various `Number` constants. */
|
|
4907
4907
|
|
|
4908
|
-
var
|
|
4908
|
+
var _isIndex;
|
|
4909
|
+
var hasRequired_isIndex;
|
|
4909
4910
|
|
|
4910
|
-
|
|
4911
|
-
|
|
4911
|
+
function require_isIndex () {
|
|
4912
|
+
if (hasRequired_isIndex) return _isIndex;
|
|
4913
|
+
hasRequired_isIndex = 1;
|
|
4914
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
4912
4915
|
|
|
4913
|
-
/**
|
|
4914
|
-
|
|
4915
|
-
*
|
|
4916
|
-
* @private
|
|
4917
|
-
* @param {*} value The value to check.
|
|
4918
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
4919
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
4920
|
-
*/
|
|
4921
|
-
function isIndex$3(value, length) {
|
|
4922
|
-
var type = typeof value;
|
|
4923
|
-
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
4916
|
+
/** Used to detect unsigned integer values. */
|
|
4917
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
4924
4918
|
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
}
|
|
4919
|
+
/**
|
|
4920
|
+
* Checks if `value` is a valid array-like index.
|
|
4921
|
+
*
|
|
4922
|
+
* @private
|
|
4923
|
+
* @param {*} value The value to check.
|
|
4924
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
4925
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
4926
|
+
*/
|
|
4927
|
+
function isIndex(value, length) {
|
|
4928
|
+
var type = typeof value;
|
|
4929
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
4930
|
+
|
|
4931
|
+
return !!length &&
|
|
4932
|
+
(type == 'number' ||
|
|
4933
|
+
(type != 'symbol' && reIsUint.test(value))) &&
|
|
4934
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
4935
|
+
}
|
|
4930
4936
|
|
|
4931
|
-
|
|
4937
|
+
_isIndex = isIndex;
|
|
4938
|
+
return _isIndex;
|
|
4939
|
+
}
|
|
4932
4940
|
|
|
4933
4941
|
var copyArray$2 = _copyArray,
|
|
4934
|
-
isIndex$2 =
|
|
4942
|
+
isIndex$2 = require_isIndex();
|
|
4935
4943
|
|
|
4936
4944
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
4937
4945
|
var nativeMin$1 = Math.min;
|
|
@@ -6124,7 +6132,7 @@ var baseTimes = _baseTimes,
|
|
|
6124
6132
|
isArguments$2 = requireIsArguments(),
|
|
6125
6133
|
isArray$f = isArray_1,
|
|
6126
6134
|
isBuffer$4 = isBufferExports,
|
|
6127
|
-
isIndex$1 =
|
|
6135
|
+
isIndex$1 = require_isIndex(),
|
|
6128
6136
|
isTypedArray$1 = requireIsTypedArray();
|
|
6129
6137
|
|
|
6130
6138
|
/** Used for built-in method references. */
|
|
@@ -9455,7 +9463,7 @@ var _baseHasIn = baseHasIn$1;
|
|
|
9455
9463
|
var castPath = _castPath,
|
|
9456
9464
|
isArguments$1 = requireIsArguments(),
|
|
9457
9465
|
isArray$8 = isArray_1,
|
|
9458
|
-
isIndex =
|
|
9466
|
+
isIndex = require_isIndex(),
|
|
9459
9467
|
isLength = isLength_1,
|
|
9460
9468
|
toKey$3 = _toKey;
|
|
9461
9469
|
|
|
@@ -10345,7 +10353,7 @@ function require_isIterateeCall () {
|
|
|
10345
10353
|
hasRequired_isIterateeCall = 1;
|
|
10346
10354
|
var eq = requireEq(),
|
|
10347
10355
|
isArrayLike = isArrayLike_1,
|
|
10348
|
-
isIndex =
|
|
10356
|
+
isIndex = require_isIndex(),
|
|
10349
10357
|
isObject = isObject_1;
|
|
10350
10358
|
|
|
10351
10359
|
/**
|
package/index.mjs
CHANGED
|
@@ -4883,33 +4883,41 @@ var _getHolder = getHolder$2;
|
|
|
4883
4883
|
|
|
4884
4884
|
/** Used as references for various `Number` constants. */
|
|
4885
4885
|
|
|
4886
|
-
var
|
|
4886
|
+
var _isIndex;
|
|
4887
|
+
var hasRequired_isIndex;
|
|
4887
4888
|
|
|
4888
|
-
|
|
4889
|
-
|
|
4889
|
+
function require_isIndex () {
|
|
4890
|
+
if (hasRequired_isIndex) return _isIndex;
|
|
4891
|
+
hasRequired_isIndex = 1;
|
|
4892
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
4890
4893
|
|
|
4891
|
-
/**
|
|
4892
|
-
|
|
4893
|
-
*
|
|
4894
|
-
* @private
|
|
4895
|
-
* @param {*} value The value to check.
|
|
4896
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
4897
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
4898
|
-
*/
|
|
4899
|
-
function isIndex$3(value, length) {
|
|
4900
|
-
var type = typeof value;
|
|
4901
|
-
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
4894
|
+
/** Used to detect unsigned integer values. */
|
|
4895
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
4902
4896
|
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
}
|
|
4897
|
+
/**
|
|
4898
|
+
* Checks if `value` is a valid array-like index.
|
|
4899
|
+
*
|
|
4900
|
+
* @private
|
|
4901
|
+
* @param {*} value The value to check.
|
|
4902
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
4903
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
4904
|
+
*/
|
|
4905
|
+
function isIndex(value, length) {
|
|
4906
|
+
var type = typeof value;
|
|
4907
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
4908
|
+
|
|
4909
|
+
return !!length &&
|
|
4910
|
+
(type == 'number' ||
|
|
4911
|
+
(type != 'symbol' && reIsUint.test(value))) &&
|
|
4912
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
4913
|
+
}
|
|
4908
4914
|
|
|
4909
|
-
|
|
4915
|
+
_isIndex = isIndex;
|
|
4916
|
+
return _isIndex;
|
|
4917
|
+
}
|
|
4910
4918
|
|
|
4911
4919
|
var copyArray$2 = _copyArray,
|
|
4912
|
-
isIndex$2 =
|
|
4920
|
+
isIndex$2 = require_isIndex();
|
|
4913
4921
|
|
|
4914
4922
|
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
4915
4923
|
var nativeMin$1 = Math.min;
|
|
@@ -6102,7 +6110,7 @@ var baseTimes = _baseTimes,
|
|
|
6102
6110
|
isArguments$2 = requireIsArguments(),
|
|
6103
6111
|
isArray$f = isArray_1,
|
|
6104
6112
|
isBuffer$4 = isBufferExports,
|
|
6105
|
-
isIndex$1 =
|
|
6113
|
+
isIndex$1 = require_isIndex(),
|
|
6106
6114
|
isTypedArray$1 = requireIsTypedArray();
|
|
6107
6115
|
|
|
6108
6116
|
/** Used for built-in method references. */
|
|
@@ -9433,7 +9441,7 @@ var _baseHasIn = baseHasIn$1;
|
|
|
9433
9441
|
var castPath = _castPath,
|
|
9434
9442
|
isArguments$1 = requireIsArguments(),
|
|
9435
9443
|
isArray$8 = isArray_1,
|
|
9436
|
-
isIndex =
|
|
9444
|
+
isIndex = require_isIndex(),
|
|
9437
9445
|
isLength = isLength_1,
|
|
9438
9446
|
toKey$3 = _toKey;
|
|
9439
9447
|
|
|
@@ -10323,7 +10331,7 @@ function require_isIterateeCall () {
|
|
|
10323
10331
|
hasRequired_isIterateeCall = 1;
|
|
10324
10332
|
var eq = requireEq(),
|
|
10325
10333
|
isArrayLike = isArrayLike_1,
|
|
10326
|
-
isIndex =
|
|
10334
|
+
isIndex = require_isIndex(),
|
|
10327
10335
|
isObject = isObject_1;
|
|
10328
10336
|
|
|
10329
10337
|
/**
|