@shipengine/alchemy 6.0.84-next.0 → 6.0.84-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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;
|
|
@@ -6108,7 +6116,7 @@ var baseTimes = _baseTimes,
|
|
|
6108
6116
|
isArguments$2 = requireIsArguments(),
|
|
6109
6117
|
isArray$f = isArray_1,
|
|
6110
6118
|
isBuffer$4 = isBufferExports,
|
|
6111
|
-
isIndex$1 =
|
|
6119
|
+
isIndex$1 = require_isIndex(),
|
|
6112
6120
|
isTypedArray$1 = isTypedArray_1;
|
|
6113
6121
|
|
|
6114
6122
|
/** Used for built-in method references. */
|
|
@@ -9439,7 +9447,7 @@ var _baseHasIn = baseHasIn$1;
|
|
|
9439
9447
|
var castPath = _castPath,
|
|
9440
9448
|
isArguments$1 = requireIsArguments(),
|
|
9441
9449
|
isArray$8 = isArray_1,
|
|
9442
|
-
isIndex =
|
|
9450
|
+
isIndex = require_isIndex(),
|
|
9443
9451
|
isLength = isLength_1,
|
|
9444
9452
|
toKey$3 = _toKey;
|
|
9445
9453
|
|
|
@@ -10329,7 +10337,7 @@ function require_isIterateeCall () {
|
|
|
10329
10337
|
hasRequired_isIterateeCall = 1;
|
|
10330
10338
|
var eq = requireEq(),
|
|
10331
10339
|
isArrayLike = isArrayLike_1,
|
|
10332
|
-
isIndex =
|
|
10340
|
+
isIndex = require_isIndex(),
|
|
10333
10341
|
isObject = isObject_1;
|
|
10334
10342
|
|
|
10335
10343
|
/**
|
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;
|
|
@@ -6086,7 +6094,7 @@ var baseTimes = _baseTimes,
|
|
|
6086
6094
|
isArguments$2 = requireIsArguments(),
|
|
6087
6095
|
isArray$f = isArray_1,
|
|
6088
6096
|
isBuffer$4 = isBufferExports,
|
|
6089
|
-
isIndex$1 =
|
|
6097
|
+
isIndex$1 = require_isIndex(),
|
|
6090
6098
|
isTypedArray$1 = isTypedArray_1;
|
|
6091
6099
|
|
|
6092
6100
|
/** Used for built-in method references. */
|
|
@@ -9417,7 +9425,7 @@ var _baseHasIn = baseHasIn$1;
|
|
|
9417
9425
|
var castPath = _castPath,
|
|
9418
9426
|
isArguments$1 = requireIsArguments(),
|
|
9419
9427
|
isArray$8 = isArray_1,
|
|
9420
|
-
isIndex =
|
|
9428
|
+
isIndex = require_isIndex(),
|
|
9421
9429
|
isLength = isLength_1,
|
|
9422
9430
|
toKey$3 = _toKey;
|
|
9423
9431
|
|
|
@@ -10307,7 +10315,7 @@ function require_isIterateeCall () {
|
|
|
10307
10315
|
hasRequired_isIterateeCall = 1;
|
|
10308
10316
|
var eq = requireEq(),
|
|
10309
10317
|
isArrayLike = isArrayLike_1,
|
|
10310
|
-
isIndex =
|
|
10318
|
+
isIndex = require_isIndex(),
|
|
10311
10319
|
isObject = isObject_1;
|
|
10312
10320
|
|
|
10313
10321
|
/**
|