@pdftron/pdfnet-node 10.3.0 → 10.3.1-beta
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/node_modules/underscore/LICENSE +23 -23
- package/node_modules/underscore/README.md +28 -28
- package/node_modules/underscore/amd/_apply.js +7 -7
- package/node_modules/underscore/amd/_applyProperty.js +14 -14
- package/node_modules/underscore/amd/_arrayAccessors.js +11 -11
- package/node_modules/underscore/amd/_arrayMutators.js +15 -15
- package/node_modules/underscore/amd/_baseCreate.js +21 -21
- package/node_modules/underscore/amd/_baseIteratee.js +15 -15
- package/node_modules/underscore/amd/_binarySearch.js +17 -17
- package/node_modules/underscore/amd/_bindCb.js +14 -14
- package/node_modules/underscore/amd/_bindCb4.js +17 -17
- package/node_modules/underscore/amd/_byValue.js +11 -11
- package/node_modules/underscore/amd/_cb.js +12 -12
- package/node_modules/underscore/amd/_chainResult.js +10 -10
- package/node_modules/underscore/amd/_collectNonEnumProps.js +42 -42
- package/node_modules/underscore/amd/_createAssigner.js +24 -24
- package/node_modules/underscore/amd/_createEscaper.js +21 -21
- package/node_modules/underscore/amd/_createIndexFinder.js +30 -30
- package/node_modules/underscore/amd/_createPredicateIndexFinder.js +18 -18
- package/node_modules/underscore/amd/_createReduce.js +30 -30
- package/node_modules/underscore/amd/_createSizePropertyCheck.js +13 -13
- package/node_modules/underscore/amd/_deepGet.js +15 -15
- package/node_modules/underscore/amd/_escapeMap.js +15 -15
- package/node_modules/underscore/amd/_executeBound.js +16 -16
- package/node_modules/underscore/amd/_extremum.js +35 -35
- package/node_modules/underscore/amd/_flatten.js +32 -32
- package/node_modules/underscore/amd/_forceNumericMinMax.js +16 -16
- package/node_modules/underscore/amd/_getByteLength.js +8 -8
- package/node_modules/underscore/amd/_getLength.js +8 -8
- package/node_modules/underscore/amd/_greater.js +10 -10
- package/node_modules/underscore/amd/_group.js +18 -18
- package/node_modules/underscore/amd/_has.js +10 -10
- package/node_modules/underscore/amd/_hasObjectTag.js +7 -7
- package/node_modules/underscore/amd/_isArrayLike.js +11 -11
- package/node_modules/underscore/amd/_isBufferLike.js +9 -9
- package/node_modules/underscore/amd/_keyInObj.js +11 -11
- package/node_modules/underscore/amd/_less.js +10 -10
- package/node_modules/underscore/amd/_lessEqual.js +10 -10
- package/node_modules/underscore/amd/_linearSearch.js +31 -31
- package/node_modules/underscore/amd/_mapReduce.js +5 -5
- package/node_modules/underscore/amd/_methodFingerprint.js +44 -44
- package/node_modules/underscore/amd/_optimizeCb.js +27 -27
- package/node_modules/underscore/amd/_push.js +7 -7
- package/node_modules/underscore/amd/_pusher.js +13 -13
- package/node_modules/underscore/amd/_sequence.js +18 -18
- package/node_modules/underscore/amd/_setup.js +70 -70
- package/node_modules/underscore/amd/_shallowProperty.js +12 -12
- package/node_modules/underscore/amd/_slice.js +7 -7
- package/node_modules/underscore/amd/_strictEqual.js +9 -9
- package/node_modules/underscore/amd/_stringTagBug.js +16 -16
- package/node_modules/underscore/amd/_tagTester.js +13 -13
- package/node_modules/underscore/amd/_toBufferView.js +15 -15
- package/node_modules/underscore/amd/_toPath.js +11 -11
- package/node_modules/underscore/amd/_unescapeMap.js +8 -8
- package/node_modules/underscore/amd/_unmethodize.js +9 -9
- package/node_modules/underscore/amd/_wrapArrayAccessor.js +15 -15
- package/node_modules/underscore/amd/_wrapArrayMutator.js +28 -28
- package/node_modules/underscore/amd/after.js +14 -14
- package/node_modules/underscore/amd/allKeys.js +15 -15
- package/node_modules/underscore/amd/before.js +18 -18
- package/node_modules/underscore/amd/bind.js +15 -15
- package/node_modules/underscore/amd/bindAll.js +19 -19
- package/node_modules/underscore/amd/chain.js +12 -12
- package/node_modules/underscore/amd/chunk.js +17 -17
- package/node_modules/underscore/amd/clone.js +11 -11
- package/node_modules/underscore/amd/compact.js +10 -10
- package/node_modules/underscore/amd/compose.js +18 -18
- package/node_modules/underscore/amd/concat.js +7 -7
- package/node_modules/underscore/amd/constant.js +12 -12
- package/node_modules/underscore/amd/contains.js +12 -12
- package/node_modules/underscore/amd/countBy.js +12 -12
- package/node_modules/underscore/amd/create.js +14 -14
- package/node_modules/underscore/amd/debounce.js +43 -43
- package/node_modules/underscore/amd/defaults.js +8 -8
- package/node_modules/underscore/amd/defer.js +9 -9
- package/node_modules/underscore/amd/delay.js +13 -13
- package/node_modules/underscore/amd/difference.js +14 -14
- package/node_modules/underscore/amd/each.js +25 -25
- package/node_modules/underscore/amd/escape.js +8 -8
- package/node_modules/underscore/amd/every.js +17 -17
- package/node_modules/underscore/amd/extend.js +8 -8
- package/node_modules/underscore/amd/extendOwn.js +10 -10
- package/node_modules/underscore/amd/filter.js +15 -15
- package/node_modules/underscore/amd/find.js +12 -12
- package/node_modules/underscore/amd/findIndex.js +8 -8
- package/node_modules/underscore/amd/findKey.js +15 -15
- package/node_modules/underscore/amd/findLastIndex.js +8 -8
- package/node_modules/underscore/amd/findWhere.js +11 -11
- package/node_modules/underscore/amd/first.js +13 -13
- package/node_modules/underscore/amd/flatten.js +11 -11
- package/node_modules/underscore/amd/functions.js +14 -14
- package/node_modules/underscore/amd/get.js +14 -14
- package/node_modules/underscore/amd/groupBy.js +11 -11
- package/node_modules/underscore/amd/has.js +19 -19
- package/node_modules/underscore/amd/identity.js +10 -10
- package/node_modules/underscore/amd/index-default.js +12 -12
- package/node_modules/underscore/amd/index.js +154 -154
- package/node_modules/underscore/amd/indexBy.js +11 -11
- package/node_modules/underscore/amd/indexOf.js +11 -11
- package/node_modules/underscore/amd/initial.js +12 -12
- package/node_modules/underscore/amd/intersection.js +22 -22
- package/node_modules/underscore/amd/invert.js +15 -15
- package/node_modules/underscore/amd/invoke.js +28 -28
- package/node_modules/underscore/amd/isArguments.js +19 -19
- package/node_modules/underscore/amd/isArray.js +9 -9
- package/node_modules/underscore/amd/isArrayBuffer.js +7 -7
- package/node_modules/underscore/amd/isBoolean.js +10 -10
- package/node_modules/underscore/amd/isDataView.js +15 -15
- package/node_modules/underscore/amd/isDate.js +7 -7
- package/node_modules/underscore/amd/isElement.js +10 -10
- package/node_modules/underscore/amd/isEmpty.js +18 -18
- package/node_modules/underscore/amd/isEqual.js +133 -133
- package/node_modules/underscore/amd/isError.js +7 -7
- package/node_modules/underscore/amd/isFinite.js +10 -10
- package/node_modules/underscore/amd/isFunction.js +18 -18
- package/node_modules/underscore/amd/isMap.js +7 -7
- package/node_modules/underscore/amd/isMatch.js +17 -17
- package/node_modules/underscore/amd/isNaN.js +10 -10
- package/node_modules/underscore/amd/isNull.js +10 -10
- package/node_modules/underscore/amd/isNumber.js +7 -7
- package/node_modules/underscore/amd/isObject.js +11 -11
- package/node_modules/underscore/amd/isRegExp.js +7 -7
- package/node_modules/underscore/amd/isSet.js +7 -7
- package/node_modules/underscore/amd/isString.js +7 -7
- package/node_modules/underscore/amd/isSymbol.js +7 -7
- package/node_modules/underscore/amd/isTypedArray.js +16 -16
- package/node_modules/underscore/amd/isUndefined.js +10 -10
- package/node_modules/underscore/amd/isWeakMap.js +7 -7
- package/node_modules/underscore/amd/isWeakSet.js +7 -7
- package/node_modules/underscore/amd/iteratee.js +13 -13
- package/node_modules/underscore/amd/join.js +7 -7
- package/node_modules/underscore/amd/keys.js +17 -17
- package/node_modules/underscore/amd/last.js +13 -13
- package/node_modules/underscore/amd/lastIndexOf.js +9 -9
- package/node_modules/underscore/amd/map.js +18 -18
- package/node_modules/underscore/amd/mapObject.js +19 -19
- package/node_modules/underscore/amd/matcher.js +14 -14
- package/node_modules/underscore/amd/max.js +30 -30
- package/node_modules/underscore/amd/memoize.js +17 -17
- package/node_modules/underscore/amd/min.js +30 -30
- package/node_modules/underscore/amd/mixin.js +18 -18
- package/node_modules/underscore/amd/negate.js +12 -12
- package/node_modules/underscore/amd/noop.js +8 -8
- package/node_modules/underscore/amd/now.js +10 -10
- package/node_modules/underscore/amd/object.js +20 -20
- package/node_modules/underscore/amd/omit.js +20 -20
- package/node_modules/underscore/amd/once.js +9 -9
- package/node_modules/underscore/amd/pairs.js +17 -17
- package/node_modules/underscore/amd/partial.js +25 -25
- package/node_modules/underscore/amd/partition.js +11 -11
- package/node_modules/underscore/amd/pick.js +25 -25
- package/node_modules/underscore/amd/pluck.js +10 -10
- package/node_modules/underscore/amd/pop.js +7 -7
- package/node_modules/underscore/amd/property.js +14 -14
- package/node_modules/underscore/amd/propertyOf.js +13 -13
- package/node_modules/underscore/amd/push.js +7 -7
- package/node_modules/underscore/amd/random.js +14 -14
- package/node_modules/underscore/amd/range.js +27 -27
- package/node_modules/underscore/amd/reduce.js +9 -9
- package/node_modules/underscore/amd/reduceRight.js +8 -8
- package/node_modules/underscore/amd/reject.js +10 -10
- package/node_modules/underscore/amd/rest.js +12 -12
- package/node_modules/underscore/amd/restArguments.js +33 -33
- package/node_modules/underscore/amd/result.js +25 -25
- package/node_modules/underscore/amd/reverse.js +7 -7
- package/node_modules/underscore/amd/sample.js +27 -27
- package/node_modules/underscore/amd/shift.js +7 -7
- package/node_modules/underscore/amd/shuffle.js +10 -10
- package/node_modules/underscore/amd/size.js +11 -11
- package/node_modules/underscore/amd/slice.js +7 -7
- package/node_modules/underscore/amd/some.js +17 -17
- package/node_modules/underscore/amd/sort.js +7 -7
- package/node_modules/underscore/amd/sortBy.js +26 -26
- package/node_modules/underscore/amd/sortedIndex.js +18 -18
- package/node_modules/underscore/amd/sortedLastIndex.js +11 -11
- package/node_modules/underscore/amd/splice.js +7 -7
- package/node_modules/underscore/amd/tap.js +13 -13
- package/node_modules/underscore/amd/template.js +95 -95
- package/node_modules/underscore/amd/templateSettings.js +13 -13
- package/node_modules/underscore/amd/throttle.js +51 -51
- package/node_modules/underscore/amd/times.js +13 -13
- package/node_modules/underscore/amd/toArray.js +18 -18
- package/node_modules/underscore/amd/toPath.js +12 -12
- package/node_modules/underscore/amd/toString.js +11 -11
- package/node_modules/underscore/amd/underscore-array-methods.js +30 -30
- package/node_modules/underscore/amd/underscore.js +29 -29
- package/node_modules/underscore/amd/unescape.js +8 -8
- package/node_modules/underscore/amd/union.js +11 -11
- package/node_modules/underscore/amd/uniq.js +37 -37
- package/node_modules/underscore/amd/uniqueId.js +13 -13
- package/node_modules/underscore/amd/unshift.js +7 -7
- package/node_modules/underscore/amd/unzip.js +17 -17
- package/node_modules/underscore/amd/value.js +13 -13
- package/node_modules/underscore/amd/values.js +16 -16
- package/node_modules/underscore/amd/where.js +11 -11
- package/node_modules/underscore/amd/without.js +10 -10
- package/node_modules/underscore/amd/wrap.js +12 -12
- package/node_modules/underscore/amd/zip.js +9 -9
- package/node_modules/underscore/cjs/_apply.js +6 -6
- package/node_modules/underscore/cjs/_applyProperty.js +10 -10
- package/node_modules/underscore/cjs/_arrayAccessors.js +11 -11
- package/node_modules/underscore/cjs/_arrayMutators.js +19 -19
- package/node_modules/underscore/cjs/_baseCreate.js +20 -20
- package/node_modules/underscore/cjs/_baseIteratee.js +19 -19
- package/node_modules/underscore/cjs/_binarySearch.js +15 -15
- package/node_modules/underscore/cjs/_bindCb.js +10 -10
- package/node_modules/underscore/cjs/_bindCb4.js +13 -13
- package/node_modules/underscore/cjs/_byValue.js +7 -7
- package/node_modules/underscore/cjs/_cb.js +12 -12
- package/node_modules/underscore/cjs/_chainResult.js +8 -8
- package/node_modules/underscore/cjs/_collectNonEnumProps.js +42 -42
- package/node_modules/underscore/cjs/_createAssigner.js +20 -20
- package/node_modules/underscore/cjs/_createEscaper.js +19 -19
- package/node_modules/underscore/cjs/_createIndexFinder.js +30 -30
- package/node_modules/underscore/cjs/_createPredicateIndexFinder.js +17 -17
- package/node_modules/underscore/cjs/_createReduce.js +30 -30
- package/node_modules/underscore/cjs/_createSizePropertyCheck.js +11 -11
- package/node_modules/underscore/cjs/_deepGet.js +11 -11
- package/node_modules/underscore/cjs/_escapeMap.js +11 -11
- package/node_modules/underscore/cjs/_executeBound.js +15 -15
- package/node_modules/underscore/cjs/_extremum.js +35 -35
- package/node_modules/underscore/cjs/_flatten.js +33 -33
- package/node_modules/underscore/cjs/_forceNumericMinMax.js +14 -14
- package/node_modules/underscore/cjs/_getByteLength.js +6 -6
- package/node_modules/underscore/cjs/_getLength.js +6 -6
- package/node_modules/underscore/cjs/_greater.js +6 -6
- package/node_modules/underscore/cjs/_group.js +17 -17
- package/node_modules/underscore/cjs/_has.js +8 -8
- package/node_modules/underscore/cjs/_hasObjectTag.js +5 -5
- package/node_modules/underscore/cjs/_isArrayLike.js +10 -10
- package/node_modules/underscore/cjs/_isBufferLike.js +8 -8
- package/node_modules/underscore/cjs/_keyInObj.js +7 -7
- package/node_modules/underscore/cjs/_less.js +6 -6
- package/node_modules/underscore/cjs/_lessEqual.js +6 -6
- package/node_modules/underscore/cjs/_linearSearch.js +30 -30
- package/node_modules/underscore/cjs/_mapReduce.js +1 -1
- package/node_modules/underscore/cjs/_methodFingerprint.js +44 -44
- package/node_modules/underscore/cjs/_optimizeCb.js +23 -23
- package/node_modules/underscore/cjs/_push.js +6 -6
- package/node_modules/underscore/cjs/_pusher.js +9 -9
- package/node_modules/underscore/cjs/_sequence.js +14 -14
- package/node_modules/underscore/cjs/_setup.js +66 -66
- package/node_modules/underscore/cjs/_shallowProperty.js +8 -8
- package/node_modules/underscore/cjs/_slice.js +6 -6
- package/node_modules/underscore/cjs/_strictEqual.js +5 -5
- package/node_modules/underscore/cjs/_stringTagBug.js +15 -15
- package/node_modules/underscore/cjs/_tagTester.js +11 -11
- package/node_modules/underscore/cjs/_toBufferView.js +13 -13
- package/node_modules/underscore/cjs/_toPath.js +10 -10
- package/node_modules/underscore/cjs/_unescapeMap.js +7 -7
- package/node_modules/underscore/cjs/_unmethodize.js +8 -8
- package/node_modules/underscore/cjs/_wrapArrayAccessor.js +14 -14
- package/node_modules/underscore/cjs/_wrapArrayMutator.js +29 -29
- package/node_modules/underscore/cjs/after.js +10 -10
- package/node_modules/underscore/cjs/allKeys.js +15 -15
- package/node_modules/underscore/cjs/before.js +14 -14
- package/node_modules/underscore/cjs/bind.js +15 -15
- package/node_modules/underscore/cjs/bindAll.js +19 -19
- package/node_modules/underscore/cjs/chain.js +10 -10
- package/node_modules/underscore/cjs/chunk.js +15 -15
- package/node_modules/underscore/cjs/clone.js +11 -11
- package/node_modules/underscore/cjs/compact.js +8 -8
- package/node_modules/underscore/cjs/compose.js +14 -14
- package/node_modules/underscore/cjs/concat.js +6 -6
- package/node_modules/underscore/cjs/constant.js +8 -8
- package/node_modules/underscore/cjs/contains.js +12 -12
- package/node_modules/underscore/cjs/countBy.js +11 -11
- package/node_modules/underscore/cjs/create.js +13 -13
- package/node_modules/underscore/cjs/debounce.js +42 -42
- package/node_modules/underscore/cjs/defaults.js +7 -7
- package/node_modules/underscore/cjs/defer.js +9 -9
- package/node_modules/underscore/cjs/delay.js +11 -11
- package/node_modules/underscore/cjs/difference.js +15 -15
- package/node_modules/underscore/cjs/each.js +25 -25
- package/node_modules/underscore/cjs/escape.js +7 -7
- package/node_modules/underscore/cjs/every.js +17 -17
- package/node_modules/underscore/cjs/extend.js +7 -7
- package/node_modules/underscore/cjs/extendOwn.js +9 -9
- package/node_modules/underscore/cjs/filter.js +14 -14
- package/node_modules/underscore/cjs/find.js +12 -12
- package/node_modules/underscore/cjs/findIndex.js +6 -6
- package/node_modules/underscore/cjs/findKey.js +14 -14
- package/node_modules/underscore/cjs/findLastIndex.js +6 -6
- package/node_modules/underscore/cjs/findWhere.js +10 -10
- package/node_modules/underscore/cjs/first.js +11 -11
- package/node_modules/underscore/cjs/flatten.js +9 -9
- package/node_modules/underscore/cjs/functions.js +12 -12
- package/node_modules/underscore/cjs/get.js +14 -14
- package/node_modules/underscore/cjs/groupBy.js +10 -10
- package/node_modules/underscore/cjs/has.js +18 -18
- package/node_modules/underscore/cjs/identity.js +6 -6
- package/node_modules/underscore/cjs/index-default.js +11 -11
- package/node_modules/underscore/cjs/index.js +277 -277
- package/node_modules/underscore/cjs/indexBy.js +9 -9
- package/node_modules/underscore/cjs/indexOf.js +11 -11
- package/node_modules/underscore/cjs/initial.js +10 -10
- package/node_modules/underscore/cjs/intersection.js +21 -21
- package/node_modules/underscore/cjs/invert.js +13 -13
- package/node_modules/underscore/cjs/invoke.js +30 -30
- package/node_modules/underscore/cjs/isArguments.js +18 -18
- package/node_modules/underscore/cjs/isArray.js +8 -8
- package/node_modules/underscore/cjs/isArrayBuffer.js +5 -5
- package/node_modules/underscore/cjs/isBoolean.js +8 -8
- package/node_modules/underscore/cjs/isDataView.js +16 -16
- package/node_modules/underscore/cjs/isDate.js +5 -5
- package/node_modules/underscore/cjs/isElement.js +6 -6
- package/node_modules/underscore/cjs/isEmpty.js +20 -20
- package/node_modules/underscore/cjs/isEqual.js +140 -140
- package/node_modules/underscore/cjs/isError.js +5 -5
- package/node_modules/underscore/cjs/isFinite.js +9 -9
- package/node_modules/underscore/cjs/isFunction.js +17 -17
- package/node_modules/underscore/cjs/isMap.js +7 -7
- package/node_modules/underscore/cjs/isMatch.js +15 -15
- package/node_modules/underscore/cjs/isNaN.js +9 -9
- package/node_modules/underscore/cjs/isNull.js +6 -6
- package/node_modules/underscore/cjs/isNumber.js +5 -5
- package/node_modules/underscore/cjs/isObject.js +7 -7
- package/node_modules/underscore/cjs/isRegExp.js +5 -5
- package/node_modules/underscore/cjs/isSet.js +7 -7
- package/node_modules/underscore/cjs/isString.js +5 -5
- package/node_modules/underscore/cjs/isSymbol.js +5 -5
- package/node_modules/underscore/cjs/isTypedArray.js +17 -17
- package/node_modules/underscore/cjs/isUndefined.js +6 -6
- package/node_modules/underscore/cjs/isWeakMap.js +7 -7
- package/node_modules/underscore/cjs/isWeakSet.js +5 -5
- package/node_modules/underscore/cjs/iteratee.js +12 -12
- package/node_modules/underscore/cjs/join.js +6 -6
- package/node_modules/underscore/cjs/keys.js +18 -18
- package/node_modules/underscore/cjs/last.js +11 -11
- package/node_modules/underscore/cjs/lastIndexOf.js +8 -8
- package/node_modules/underscore/cjs/map.js +18 -18
- package/node_modules/underscore/cjs/mapObject.js +18 -18
- package/node_modules/underscore/cjs/matcher.js +13 -13
- package/node_modules/underscore/cjs/max.js +31 -31
- package/node_modules/underscore/cjs/memoize.js +15 -15
- package/node_modules/underscore/cjs/min.js +31 -31
- package/node_modules/underscore/cjs/mixin.js +20 -20
- package/node_modules/underscore/cjs/negate.js +8 -8
- package/node_modules/underscore/cjs/noop.js +4 -4
- package/node_modules/underscore/cjs/now.js +6 -6
- package/node_modules/underscore/cjs/object.js +18 -18
- package/node_modules/underscore/cjs/omit.js +24 -24
- package/node_modules/underscore/cjs/once.js +8 -8
- package/node_modules/underscore/cjs/pairs.js +15 -15
- package/node_modules/underscore/cjs/partial.js +25 -25
- package/node_modules/underscore/cjs/partition.js +9 -9
- package/node_modules/underscore/cjs/pick.js +28 -28
- package/node_modules/underscore/cjs/pluck.js +9 -9
- package/node_modules/underscore/cjs/pop.js +6 -6
- package/node_modules/underscore/cjs/property.js +13 -13
- package/node_modules/underscore/cjs/propertyOf.js +12 -12
- package/node_modules/underscore/cjs/push.js +6 -6
- package/node_modules/underscore/cjs/random.js +10 -10
- package/node_modules/underscore/cjs/range.js +23 -23
- package/node_modules/underscore/cjs/reduce.js +7 -7
- package/node_modules/underscore/cjs/reduceRight.js +6 -6
- package/node_modules/underscore/cjs/reject.js +10 -10
- package/node_modules/underscore/cjs/rest.js +10 -10
- package/node_modules/underscore/cjs/restArguments.js +29 -29
- package/node_modules/underscore/cjs/result.js +24 -24
- package/node_modules/underscore/cjs/reverse.js +6 -6
- package/node_modules/underscore/cjs/sample.js +29 -29
- package/node_modules/underscore/cjs/shift.js +6 -6
- package/node_modules/underscore/cjs/shuffle.js +8 -8
- package/node_modules/underscore/cjs/size.js +10 -10
- package/node_modules/underscore/cjs/slice.js +6 -6
- package/node_modules/underscore/cjs/some.js +17 -17
- package/node_modules/underscore/cjs/sort.js +6 -6
- package/node_modules/underscore/cjs/sortBy.js +26 -26
- package/node_modules/underscore/cjs/sortedIndex.js +17 -17
- package/node_modules/underscore/cjs/sortedLastIndex.js +11 -11
- package/node_modules/underscore/cjs/splice.js +6 -6
- package/node_modules/underscore/cjs/tap.js +9 -9
- package/node_modules/underscore/cjs/template.js +95 -95
- package/node_modules/underscore/cjs/templateSettings.js +11 -11
- package/node_modules/underscore/cjs/throttle.js +49 -49
- package/node_modules/underscore/cjs/times.js +11 -11
- package/node_modules/underscore/cjs/toArray.js +22 -22
- package/node_modules/underscore/cjs/toPath.js +11 -11
- package/node_modules/underscore/cjs/toString.js +9 -9
- package/node_modules/underscore/cjs/underscore-array-methods.js +31 -31
- package/node_modules/underscore/cjs/underscore.js +27 -27
- package/node_modules/underscore/cjs/unescape.js +7 -7
- package/node_modules/underscore/cjs/union.js +11 -11
- package/node_modules/underscore/cjs/uniq.js +38 -38
- package/node_modules/underscore/cjs/uniqueId.js +9 -9
- package/node_modules/underscore/cjs/unshift.js +6 -6
- package/node_modules/underscore/cjs/unzip.js +17 -17
- package/node_modules/underscore/cjs/value.js +9 -9
- package/node_modules/underscore/cjs/values.js +14 -14
- package/node_modules/underscore/cjs/where.js +10 -10
- package/node_modules/underscore/cjs/without.js +9 -9
- package/node_modules/underscore/cjs/wrap.js +10 -10
- package/node_modules/underscore/cjs/zip.js +8 -8
- package/node_modules/underscore/modules/.eslintrc +12 -12
- package/node_modules/underscore/modules/_baseCreate.js +18 -18
- package/node_modules/underscore/modules/_baseIteratee.js +17 -17
- package/node_modules/underscore/modules/_cb.js +10 -10
- package/node_modules/underscore/modules/_chainResult.js +6 -6
- package/node_modules/underscore/modules/_collectNonEnumProps.js +40 -40
- package/node_modules/underscore/modules/_createAssigner.js +18 -18
- package/node_modules/underscore/modules/_createEscaper.js +17 -17
- package/node_modules/underscore/modules/_createIndexFinder.js +28 -28
- package/node_modules/underscore/modules/_createPredicateIndexFinder.js +15 -15
- package/node_modules/underscore/modules/_createReduce.js +28 -28
- package/node_modules/underscore/modules/_createSizePropertyCheck.js +9 -9
- package/node_modules/underscore/modules/_deepGet.js +9 -9
- package/node_modules/underscore/modules/_escapeMap.js +9 -9
- package/node_modules/underscore/modules/_executeBound.js +13 -13
- package/node_modules/underscore/modules/_flatten.js +31 -31
- package/node_modules/underscore/modules/_getByteLength.js +4 -4
- package/node_modules/underscore/modules/_getLength.js +4 -4
- package/node_modules/underscore/modules/_group.js +15 -15
- package/node_modules/underscore/modules/_has.js +6 -6
- package/node_modules/underscore/modules/_hasObjectTag.js +3 -3
- package/node_modules/underscore/modules/_isArrayLike.js +8 -8
- package/node_modules/underscore/modules/_isBufferLike.js +6 -6
- package/node_modules/underscore/modules/_keyInObj.js +5 -5
- package/node_modules/underscore/modules/_methodFingerprint.js +37 -37
- package/node_modules/underscore/modules/_optimizeCb.js +21 -21
- package/node_modules/underscore/modules/_setup.js +43 -43
- package/node_modules/underscore/modules/_shallowProperty.js +6 -6
- package/node_modules/underscore/modules/_stringTagBug.js +10 -10
- package/node_modules/underscore/modules/_tagTester.js +9 -9
- package/node_modules/underscore/modules/_toBufferView.js +11 -11
- package/node_modules/underscore/modules/_toPath.js +8 -8
- package/node_modules/underscore/modules/_unescapeMap.js +5 -5
- package/node_modules/underscore/modules/after.js +8 -8
- package/node_modules/underscore/modules/allKeys.js +13 -13
- package/node_modules/underscore/modules/before.js +12 -12
- package/node_modules/underscore/modules/bind.js +13 -13
- package/node_modules/underscore/modules/bindAll.js +17 -17
- package/node_modules/underscore/modules/chain.js +8 -8
- package/node_modules/underscore/modules/chunk.js +13 -13
- package/node_modules/underscore/modules/clone.js +9 -9
- package/node_modules/underscore/modules/compact.js +6 -6
- package/node_modules/underscore/modules/compose.js +12 -12
- package/node_modules/underscore/modules/constant.js +6 -6
- package/node_modules/underscore/modules/contains.js +10 -10
- package/node_modules/underscore/modules/countBy.js +9 -9
- package/node_modules/underscore/modules/create.js +11 -11
- package/node_modules/underscore/modules/debounce.js +40 -40
- package/node_modules/underscore/modules/defaults.js +5 -5
- package/node_modules/underscore/modules/defer.js +7 -7
- package/node_modules/underscore/modules/delay.js +9 -9
- package/node_modules/underscore/modules/difference.js +13 -13
- package/node_modules/underscore/modules/each.js +23 -23
- package/node_modules/underscore/modules/escape.js +5 -5
- package/node_modules/underscore/modules/every.js +15 -15
- package/node_modules/underscore/modules/extend.js +5 -5
- package/node_modules/underscore/modules/extendOwn.js +7 -7
- package/node_modules/underscore/modules/filter.js +12 -12
- package/node_modules/underscore/modules/find.js +10 -10
- package/node_modules/underscore/modules/findIndex.js +4 -4
- package/node_modules/underscore/modules/findKey.js +12 -12
- package/node_modules/underscore/modules/findLastIndex.js +4 -4
- package/node_modules/underscore/modules/findWhere.js +8 -8
- package/node_modules/underscore/modules/first.js +9 -9
- package/node_modules/underscore/modules/flatten.js +7 -7
- package/node_modules/underscore/modules/functions.js +10 -10
- package/node_modules/underscore/modules/get.js +12 -12
- package/node_modules/underscore/modules/groupBy.js +8 -8
- package/node_modules/underscore/modules/has.js +16 -16
- package/node_modules/underscore/modules/identity.js +4 -4
- package/node_modules/underscore/modules/index-all.js +18 -18
- package/node_modules/underscore/modules/index-default.js +27 -27
- package/node_modules/underscore/modules/index.js +200 -200
- package/node_modules/underscore/modules/indexBy.js +7 -7
- package/node_modules/underscore/modules/indexOf.js +9 -9
- package/node_modules/underscore/modules/initial.js +8 -8
- package/node_modules/underscore/modules/intersection.js +19 -19
- package/node_modules/underscore/modules/invert.js +11 -11
- package/node_modules/underscore/modules/invoke.js +28 -28
- package/node_modules/underscore/modules/isArguments.js +16 -16
- package/node_modules/underscore/modules/isArray.js +6 -6
- package/node_modules/underscore/modules/isArrayBuffer.js +3 -3
- package/node_modules/underscore/modules/isBoolean.js +6 -6
- package/node_modules/underscore/modules/isDataView.js +14 -14
- package/node_modules/underscore/modules/isDate.js +3 -3
- package/node_modules/underscore/modules/isElement.js +4 -4
- package/node_modules/underscore/modules/isEmpty.js +18 -18
- package/node_modules/underscore/modules/isEqual.js +138 -138
- package/node_modules/underscore/modules/isError.js +3 -3
- package/node_modules/underscore/modules/isFinite.js +7 -7
- package/node_modules/underscore/modules/isFunction.js +15 -15
- package/node_modules/underscore/modules/isMap.js +5 -5
- package/node_modules/underscore/modules/isMatch.js +13 -13
- package/node_modules/underscore/modules/isNaN.js +7 -7
- package/node_modules/underscore/modules/isNull.js +4 -4
- package/node_modules/underscore/modules/isNumber.js +3 -3
- package/node_modules/underscore/modules/isObject.js +5 -5
- package/node_modules/underscore/modules/isRegExp.js +3 -3
- package/node_modules/underscore/modules/isSet.js +5 -5
- package/node_modules/underscore/modules/isString.js +3 -3
- package/node_modules/underscore/modules/isSymbol.js +3 -3
- package/node_modules/underscore/modules/isTypedArray.js +15 -15
- package/node_modules/underscore/modules/isUndefined.js +4 -4
- package/node_modules/underscore/modules/isWeakMap.js +5 -5
- package/node_modules/underscore/modules/isWeakSet.js +3 -3
- package/node_modules/underscore/modules/iteratee.js +10 -10
- package/node_modules/underscore/modules/keys.js +16 -16
- package/node_modules/underscore/modules/last.js +9 -9
- package/node_modules/underscore/modules/lastIndexOf.js +6 -6
- package/node_modules/underscore/modules/map.js +16 -16
- package/node_modules/underscore/modules/mapObject.js +16 -16
- package/node_modules/underscore/modules/matcher.js +11 -11
- package/node_modules/underscore/modules/max.js +29 -29
- package/node_modules/underscore/modules/memoize.js +13 -13
- package/node_modules/underscore/modules/min.js +29 -29
- package/node_modules/underscore/modules/mixin.js +18 -18
- package/node_modules/underscore/modules/negate.js +6 -6
- package/node_modules/underscore/modules/noop.js +2 -2
- package/node_modules/underscore/modules/now.js +4 -4
- package/node_modules/underscore/modules/object.js +16 -16
- package/node_modules/underscore/modules/omit.js +22 -22
- package/node_modules/underscore/modules/once.js +6 -6
- package/node_modules/underscore/modules/pairs.js +13 -13
- package/node_modules/underscore/modules/partial.js +24 -24
- package/node_modules/underscore/modules/partition.js +7 -7
- package/node_modules/underscore/modules/pick.js +26 -26
- package/node_modules/underscore/modules/pluck.js +7 -7
- package/node_modules/underscore/modules/property.js +11 -11
- package/node_modules/underscore/modules/propertyOf.js +10 -10
- package/node_modules/underscore/modules/random.js +8 -8
- package/node_modules/underscore/modules/range.js +21 -21
- package/node_modules/underscore/modules/reduce.js +5 -5
- package/node_modules/underscore/modules/reduceRight.js +4 -4
- package/node_modules/underscore/modules/reject.js +8 -8
- package/node_modules/underscore/modules/rest.js +8 -8
- package/node_modules/underscore/modules/restArguments.js +27 -27
- package/node_modules/underscore/modules/result.js +22 -22
- package/node_modules/underscore/modules/sample.js +27 -27
- package/node_modules/underscore/modules/shuffle.js +6 -6
- package/node_modules/underscore/modules/size.js +8 -8
- package/node_modules/underscore/modules/some.js +15 -15
- package/node_modules/underscore/modules/sortBy.js +24 -24
- package/node_modules/underscore/modules/sortedIndex.js +15 -15
- package/node_modules/underscore/modules/tap.js +7 -7
- package/node_modules/underscore/modules/template.js +93 -93
- package/node_modules/underscore/modules/templateSettings.js +9 -9
- package/node_modules/underscore/modules/throttle.js +47 -47
- package/node_modules/underscore/modules/times.js +9 -9
- package/node_modules/underscore/modules/toArray.js +20 -20
- package/node_modules/underscore/modules/toPath.js +9 -9
- package/node_modules/underscore/modules/underscore-array-methods.js +31 -31
- package/node_modules/underscore/modules/underscore.js +25 -25
- package/node_modules/underscore/modules/unescape.js +5 -5
- package/node_modules/underscore/modules/union.js +9 -9
- package/node_modules/underscore/modules/uniq.js +36 -36
- package/node_modules/underscore/modules/uniqueId.js +7 -7
- package/node_modules/underscore/modules/unzip.js +15 -15
- package/node_modules/underscore/modules/values.js +12 -12
- package/node_modules/underscore/modules/where.js +8 -8
- package/node_modules/underscore/modules/without.js +7 -7
- package/node_modules/underscore/modules/wrap.js +8 -8
- package/node_modules/underscore/modules/zip.js +6 -6
- package/node_modules/underscore/package.json +108 -108
- package/node_modules/underscore/underscore-esm-min.js +4 -4
- package/node_modules/underscore/underscore-esm.js +2026 -2026
- package/node_modules/underscore/underscore-min.js +5 -5
- package/node_modules/underscore/underscore.js +2034 -2034
- package/node_modules/xhr2/CONTRIBUTING.md +33 -33
- package/node_modules/xhr2/Cakefile +131 -131
- package/node_modules/xhr2/LICENSE.txt +19 -19
- package/node_modules/xhr2/lib/browser.js +1 -1
- package/node_modules/xhr2/lib/xhr2.js +1244 -1244
- package/node_modules/xhr2/package.json +93 -93
- package/node_modules/xhr2/src/001-xml_http_request.coffee +782 -782
- package/node_modules/xhr2/src/errors.coffee +31 -31
- package/node_modules/xhr2/src/progress_event.coffee +39 -39
- package/node_modules/xhr2/test/fixtures/hello.json +1 -1
- package/node_modules/xhr2/test/fixtures/hello.txt +1 -1
- package/node_modules/xhr2/test/html/browser_test.html +30 -30
- package/node_modules/xhr2/test/src/event_target_test.coffee +85 -85
- package/node_modules/xhr2/test/src/events_test.coffee +204 -204
- package/node_modules/xhr2/test/src/headers_test.coffee +165 -165
- package/node_modules/xhr2/test/src/helpers/browser_mocha_setup.coffee +1 -1
- package/node_modules/xhr2/test/src/helpers/setup.coffee +38 -38
- package/node_modules/xhr2/test/src/helpers/xhr_server.coffee +156 -156
- package/node_modules/xhr2/test/src/nodejs_set_test.coffee +162 -162
- package/node_modules/xhr2/test/src/redirect_test.coffee +57 -57
- package/node_modules/xhr2/test/src/response_type_test.coffee +88 -88
- package/node_modules/xhr2/test/src/send_test.coffee +89 -89
- package/node_modules/xhr2/test/src/status_test.coffee +47 -47
- package/node_modules/xhr2/test/src/xhr_test.coffee +102 -102
- package/package.json +29 -29
- package/readme.md +37 -37
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
import has from './_has.js';
|
|
3
|
-
|
|
4
|
-
var isArguments = tagTester('Arguments');
|
|
5
|
-
|
|
6
|
-
// Define a fallback version of the method in browsers (ahem, IE < 9), where
|
|
7
|
-
// there isn't any inspectable "Arguments" type.
|
|
8
|
-
(function() {
|
|
9
|
-
if (!isArguments(arguments)) {
|
|
10
|
-
isArguments = function(obj) {
|
|
11
|
-
return has(obj, 'callee');
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}());
|
|
15
|
-
|
|
16
|
-
export default isArguments;
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
import has from './_has.js';
|
|
3
|
+
|
|
4
|
+
var isArguments = tagTester('Arguments');
|
|
5
|
+
|
|
6
|
+
// Define a fallback version of the method in browsers (ahem, IE < 9), where
|
|
7
|
+
// there isn't any inspectable "Arguments" type.
|
|
8
|
+
(function() {
|
|
9
|
+
if (!isArguments(arguments)) {
|
|
10
|
+
isArguments = function(obj) {
|
|
11
|
+
return has(obj, 'callee');
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}());
|
|
15
|
+
|
|
16
|
+
export default isArguments;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nativeIsArray } from './_setup.js';
|
|
2
|
-
import tagTester from './_tagTester.js';
|
|
3
|
-
|
|
4
|
-
// Is a given value an array?
|
|
5
|
-
// Delegates to ECMA5's native `Array.isArray`.
|
|
6
|
-
export default nativeIsArray || tagTester('Array');
|
|
1
|
+
import { nativeIsArray } from './_setup.js';
|
|
2
|
+
import tagTester from './_tagTester.js';
|
|
3
|
+
|
|
4
|
+
// Is a given value an array?
|
|
5
|
+
// Delegates to ECMA5's native `Array.isArray`.
|
|
6
|
+
export default nativeIsArray || tagTester('Array');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('ArrayBuffer');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('ArrayBuffer');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toString } from './_setup.js';
|
|
2
|
-
|
|
3
|
-
// Is a given value a boolean?
|
|
4
|
-
export default function isBoolean(obj) {
|
|
5
|
-
return obj === true || obj === false || toString.call(obj) === '[object Boolean]';
|
|
6
|
-
}
|
|
1
|
+
import { toString } from './_setup.js';
|
|
2
|
+
|
|
3
|
+
// Is a given value a boolean?
|
|
4
|
+
export default function isBoolean(obj) {
|
|
5
|
+
return obj === true || obj === false || toString.call(obj) === '[object Boolean]';
|
|
6
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
import isFunction from './isFunction.js';
|
|
3
|
-
import isArrayBuffer from './isArrayBuffer.js';
|
|
4
|
-
import { hasStringTagBug } from './_stringTagBug.js';
|
|
5
|
-
|
|
6
|
-
var isDataView = tagTester('DataView');
|
|
7
|
-
|
|
8
|
-
// In IE 10 - Edge 13, we need a different heuristic
|
|
9
|
-
// to determine whether an object is a `DataView`.
|
|
10
|
-
function ie10IsDataView(obj) {
|
|
11
|
-
return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export default (hasStringTagBug ? ie10IsDataView : isDataView);
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
import isFunction from './isFunction.js';
|
|
3
|
+
import isArrayBuffer from './isArrayBuffer.js';
|
|
4
|
+
import { hasStringTagBug } from './_stringTagBug.js';
|
|
5
|
+
|
|
6
|
+
var isDataView = tagTester('DataView');
|
|
7
|
+
|
|
8
|
+
// In IE 10 - Edge 13, we need a different heuristic
|
|
9
|
+
// to determine whether an object is a `DataView`.
|
|
10
|
+
function ie10IsDataView(obj) {
|
|
11
|
+
return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default (hasStringTagBug ? ie10IsDataView : isDataView);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('Date');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('Date');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Is a given value a DOM element?
|
|
2
|
-
export default function isElement(obj) {
|
|
3
|
-
return !!(obj && obj.nodeType === 1);
|
|
4
|
-
}
|
|
1
|
+
// Is a given value a DOM element?
|
|
2
|
+
export default function isElement(obj) {
|
|
3
|
+
return !!(obj && obj.nodeType === 1);
|
|
4
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import getLength from './_getLength.js';
|
|
2
|
-
import isArray from './isArray.js';
|
|
3
|
-
import isString from './isString.js';
|
|
4
|
-
import isArguments from './isArguments.js';
|
|
5
|
-
import keys from './keys.js';
|
|
6
|
-
|
|
7
|
-
// Is a given array, string, or object empty?
|
|
8
|
-
// An "empty" object has no enumerable own-properties.
|
|
9
|
-
export default function isEmpty(obj) {
|
|
10
|
-
if (obj == null) return true;
|
|
11
|
-
// Skip the more expensive `toString`-based type checks if `obj` has no
|
|
12
|
-
// `.length`.
|
|
13
|
-
var length = getLength(obj);
|
|
14
|
-
if (typeof length == 'number' && (
|
|
15
|
-
isArray(obj) || isString(obj) || isArguments(obj)
|
|
16
|
-
)) return length === 0;
|
|
17
|
-
return getLength(keys(obj)) === 0;
|
|
18
|
-
}
|
|
1
|
+
import getLength from './_getLength.js';
|
|
2
|
+
import isArray from './isArray.js';
|
|
3
|
+
import isString from './isString.js';
|
|
4
|
+
import isArguments from './isArguments.js';
|
|
5
|
+
import keys from './keys.js';
|
|
6
|
+
|
|
7
|
+
// Is a given array, string, or object empty?
|
|
8
|
+
// An "empty" object has no enumerable own-properties.
|
|
9
|
+
export default function isEmpty(obj) {
|
|
10
|
+
if (obj == null) return true;
|
|
11
|
+
// Skip the more expensive `toString`-based type checks if `obj` has no
|
|
12
|
+
// `.length`.
|
|
13
|
+
var length = getLength(obj);
|
|
14
|
+
if (typeof length == 'number' && (
|
|
15
|
+
isArray(obj) || isString(obj) || isArguments(obj)
|
|
16
|
+
)) return length === 0;
|
|
17
|
+
return getLength(keys(obj)) === 0;
|
|
18
|
+
}
|
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
import _ from './underscore.js';
|
|
2
|
-
import { toString, SymbolProto } from './_setup.js';
|
|
3
|
-
import getByteLength from './_getByteLength.js';
|
|
4
|
-
import isTypedArray from './isTypedArray.js';
|
|
5
|
-
import isFunction from './isFunction.js';
|
|
6
|
-
import { hasStringTagBug } from './_stringTagBug.js';
|
|
7
|
-
import isDataView from './isDataView.js';
|
|
8
|
-
import keys from './keys.js';
|
|
9
|
-
import has from './_has.js';
|
|
10
|
-
import toBufferView from './_toBufferView.js';
|
|
11
|
-
|
|
12
|
-
// We use this string twice, so give it a name for minification.
|
|
13
|
-
var tagDataView = '[object DataView]';
|
|
14
|
-
|
|
15
|
-
// Internal recursive comparison function for `_.isEqual`.
|
|
16
|
-
function eq(a, b, aStack, bStack) {
|
|
17
|
-
// Identical objects are equal. `0 === -0`, but they aren't identical.
|
|
18
|
-
// See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal).
|
|
19
|
-
if (a === b) return a !== 0 || 1 / a === 1 / b;
|
|
20
|
-
// `null` or `undefined` only equal to itself (strict comparison).
|
|
21
|
-
if (a == null || b == null) return false;
|
|
22
|
-
// `NaN`s are equivalent, but non-reflexive.
|
|
23
|
-
if (a !== a) return b !== b;
|
|
24
|
-
// Exhaust primitive checks
|
|
25
|
-
var type = typeof a;
|
|
26
|
-
if (type !== 'function' && type !== 'object' && typeof b != 'object') return false;
|
|
27
|
-
return deepEq(a, b, aStack, bStack);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Internal recursive comparison function for `_.isEqual`.
|
|
31
|
-
function deepEq(a, b, aStack, bStack) {
|
|
32
|
-
// Unwrap any wrapped objects.
|
|
33
|
-
if (a instanceof _) a = a._wrapped;
|
|
34
|
-
if (b instanceof _) b = b._wrapped;
|
|
35
|
-
// Compare `[[Class]]` names.
|
|
36
|
-
var className = toString.call(a);
|
|
37
|
-
if (className !== toString.call(b)) return false;
|
|
38
|
-
// Work around a bug in IE 10 - Edge 13.
|
|
39
|
-
if (hasStringTagBug && className == '[object Object]' && isDataView(a)) {
|
|
40
|
-
if (!isDataView(b)) return false;
|
|
41
|
-
className = tagDataView;
|
|
42
|
-
}
|
|
43
|
-
switch (className) {
|
|
44
|
-
// These types are compared by value.
|
|
45
|
-
case '[object RegExp]':
|
|
46
|
-
// RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')
|
|
47
|
-
case '[object String]':
|
|
48
|
-
// Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is
|
|
49
|
-
// equivalent to `new String("5")`.
|
|
50
|
-
return '' + a === '' + b;
|
|
51
|
-
case '[object Number]':
|
|
52
|
-
// `NaN`s are equivalent, but non-reflexive.
|
|
53
|
-
// Object(NaN) is equivalent to NaN.
|
|
54
|
-
if (+a !== +a) return +b !== +b;
|
|
55
|
-
// An `egal` comparison is performed for other numeric values.
|
|
56
|
-
return +a === 0 ? 1 / +a === 1 / b : +a === +b;
|
|
57
|
-
case '[object Date]':
|
|
58
|
-
case '[object Boolean]':
|
|
59
|
-
// Coerce dates and booleans to numeric primitive values. Dates are compared by their
|
|
60
|
-
// millisecond representations. Note that invalid dates with millisecond representations
|
|
61
|
-
// of `NaN` are not equivalent.
|
|
62
|
-
return +a === +b;
|
|
63
|
-
case '[object Symbol]':
|
|
64
|
-
return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b);
|
|
65
|
-
case '[object ArrayBuffer]':
|
|
66
|
-
case tagDataView:
|
|
67
|
-
// Coerce to typed array so we can fall through.
|
|
68
|
-
return deepEq(toBufferView(a), toBufferView(b), aStack, bStack);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
var areArrays = className === '[object Array]';
|
|
72
|
-
if (!areArrays && isTypedArray(a)) {
|
|
73
|
-
var byteLength = getByteLength(a);
|
|
74
|
-
if (byteLength !== getByteLength(b)) return false;
|
|
75
|
-
if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true;
|
|
76
|
-
areArrays = true;
|
|
77
|
-
}
|
|
78
|
-
if (!areArrays) {
|
|
79
|
-
if (typeof a != 'object' || typeof b != 'object') return false;
|
|
80
|
-
|
|
81
|
-
// Objects with different constructors are not equivalent, but `Object`s or `Array`s
|
|
82
|
-
// from different frames are.
|
|
83
|
-
var aCtor = a.constructor, bCtor = b.constructor;
|
|
84
|
-
if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor &&
|
|
85
|
-
isFunction(bCtor) && bCtor instanceof bCtor)
|
|
86
|
-
&& ('constructor' in a && 'constructor' in b)) {
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
// Assume equality for cyclic structures. The algorithm for detecting cyclic
|
|
91
|
-
// structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
|
|
92
|
-
|
|
93
|
-
// Initializing stack of traversed objects.
|
|
94
|
-
// It's done here since we only need them for objects and arrays comparison.
|
|
95
|
-
aStack = aStack || [];
|
|
96
|
-
bStack = bStack || [];
|
|
97
|
-
var length = aStack.length;
|
|
98
|
-
while (length--) {
|
|
99
|
-
// Linear search. Performance is inversely proportional to the number of
|
|
100
|
-
// unique nested structures.
|
|
101
|
-
if (aStack[length] === a) return bStack[length] === b;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Add the first object to the stack of traversed objects.
|
|
105
|
-
aStack.push(a);
|
|
106
|
-
bStack.push(b);
|
|
107
|
-
|
|
108
|
-
// Recursively compare objects and arrays.
|
|
109
|
-
if (areArrays) {
|
|
110
|
-
// Compare array lengths to determine if a deep comparison is necessary.
|
|
111
|
-
length = a.length;
|
|
112
|
-
if (length !== b.length) return false;
|
|
113
|
-
// Deep compare the contents, ignoring non-numeric properties.
|
|
114
|
-
while (length--) {
|
|
115
|
-
if (!eq(a[length], b[length], aStack, bStack)) return false;
|
|
116
|
-
}
|
|
117
|
-
} else {
|
|
118
|
-
// Deep compare objects.
|
|
119
|
-
var _keys = keys(a), key;
|
|
120
|
-
length = _keys.length;
|
|
121
|
-
// Ensure that both objects contain the same number of properties before comparing deep equality.
|
|
122
|
-
if (keys(b).length !== length) return false;
|
|
123
|
-
while (length--) {
|
|
124
|
-
// Deep compare each member
|
|
125
|
-
key = _keys[length];
|
|
126
|
-
if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
// Remove the first object from the stack of traversed objects.
|
|
130
|
-
aStack.pop();
|
|
131
|
-
bStack.pop();
|
|
132
|
-
return true;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Perform a deep comparison to check if two objects are equal.
|
|
136
|
-
export default function isEqual(a, b) {
|
|
137
|
-
return eq(a, b);
|
|
138
|
-
}
|
|
1
|
+
import _ from './underscore.js';
|
|
2
|
+
import { toString, SymbolProto } from './_setup.js';
|
|
3
|
+
import getByteLength from './_getByteLength.js';
|
|
4
|
+
import isTypedArray from './isTypedArray.js';
|
|
5
|
+
import isFunction from './isFunction.js';
|
|
6
|
+
import { hasStringTagBug } from './_stringTagBug.js';
|
|
7
|
+
import isDataView from './isDataView.js';
|
|
8
|
+
import keys from './keys.js';
|
|
9
|
+
import has from './_has.js';
|
|
10
|
+
import toBufferView from './_toBufferView.js';
|
|
11
|
+
|
|
12
|
+
// We use this string twice, so give it a name for minification.
|
|
13
|
+
var tagDataView = '[object DataView]';
|
|
14
|
+
|
|
15
|
+
// Internal recursive comparison function for `_.isEqual`.
|
|
16
|
+
function eq(a, b, aStack, bStack) {
|
|
17
|
+
// Identical objects are equal. `0 === -0`, but they aren't identical.
|
|
18
|
+
// See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal).
|
|
19
|
+
if (a === b) return a !== 0 || 1 / a === 1 / b;
|
|
20
|
+
// `null` or `undefined` only equal to itself (strict comparison).
|
|
21
|
+
if (a == null || b == null) return false;
|
|
22
|
+
// `NaN`s are equivalent, but non-reflexive.
|
|
23
|
+
if (a !== a) return b !== b;
|
|
24
|
+
// Exhaust primitive checks
|
|
25
|
+
var type = typeof a;
|
|
26
|
+
if (type !== 'function' && type !== 'object' && typeof b != 'object') return false;
|
|
27
|
+
return deepEq(a, b, aStack, bStack);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Internal recursive comparison function for `_.isEqual`.
|
|
31
|
+
function deepEq(a, b, aStack, bStack) {
|
|
32
|
+
// Unwrap any wrapped objects.
|
|
33
|
+
if (a instanceof _) a = a._wrapped;
|
|
34
|
+
if (b instanceof _) b = b._wrapped;
|
|
35
|
+
// Compare `[[Class]]` names.
|
|
36
|
+
var className = toString.call(a);
|
|
37
|
+
if (className !== toString.call(b)) return false;
|
|
38
|
+
// Work around a bug in IE 10 - Edge 13.
|
|
39
|
+
if (hasStringTagBug && className == '[object Object]' && isDataView(a)) {
|
|
40
|
+
if (!isDataView(b)) return false;
|
|
41
|
+
className = tagDataView;
|
|
42
|
+
}
|
|
43
|
+
switch (className) {
|
|
44
|
+
// These types are compared by value.
|
|
45
|
+
case '[object RegExp]':
|
|
46
|
+
// RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')
|
|
47
|
+
case '[object String]':
|
|
48
|
+
// Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is
|
|
49
|
+
// equivalent to `new String("5")`.
|
|
50
|
+
return '' + a === '' + b;
|
|
51
|
+
case '[object Number]':
|
|
52
|
+
// `NaN`s are equivalent, but non-reflexive.
|
|
53
|
+
// Object(NaN) is equivalent to NaN.
|
|
54
|
+
if (+a !== +a) return +b !== +b;
|
|
55
|
+
// An `egal` comparison is performed for other numeric values.
|
|
56
|
+
return +a === 0 ? 1 / +a === 1 / b : +a === +b;
|
|
57
|
+
case '[object Date]':
|
|
58
|
+
case '[object Boolean]':
|
|
59
|
+
// Coerce dates and booleans to numeric primitive values. Dates are compared by their
|
|
60
|
+
// millisecond representations. Note that invalid dates with millisecond representations
|
|
61
|
+
// of `NaN` are not equivalent.
|
|
62
|
+
return +a === +b;
|
|
63
|
+
case '[object Symbol]':
|
|
64
|
+
return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b);
|
|
65
|
+
case '[object ArrayBuffer]':
|
|
66
|
+
case tagDataView:
|
|
67
|
+
// Coerce to typed array so we can fall through.
|
|
68
|
+
return deepEq(toBufferView(a), toBufferView(b), aStack, bStack);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
var areArrays = className === '[object Array]';
|
|
72
|
+
if (!areArrays && isTypedArray(a)) {
|
|
73
|
+
var byteLength = getByteLength(a);
|
|
74
|
+
if (byteLength !== getByteLength(b)) return false;
|
|
75
|
+
if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true;
|
|
76
|
+
areArrays = true;
|
|
77
|
+
}
|
|
78
|
+
if (!areArrays) {
|
|
79
|
+
if (typeof a != 'object' || typeof b != 'object') return false;
|
|
80
|
+
|
|
81
|
+
// Objects with different constructors are not equivalent, but `Object`s or `Array`s
|
|
82
|
+
// from different frames are.
|
|
83
|
+
var aCtor = a.constructor, bCtor = b.constructor;
|
|
84
|
+
if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor &&
|
|
85
|
+
isFunction(bCtor) && bCtor instanceof bCtor)
|
|
86
|
+
&& ('constructor' in a && 'constructor' in b)) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
// Assume equality for cyclic structures. The algorithm for detecting cyclic
|
|
91
|
+
// structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
|
|
92
|
+
|
|
93
|
+
// Initializing stack of traversed objects.
|
|
94
|
+
// It's done here since we only need them for objects and arrays comparison.
|
|
95
|
+
aStack = aStack || [];
|
|
96
|
+
bStack = bStack || [];
|
|
97
|
+
var length = aStack.length;
|
|
98
|
+
while (length--) {
|
|
99
|
+
// Linear search. Performance is inversely proportional to the number of
|
|
100
|
+
// unique nested structures.
|
|
101
|
+
if (aStack[length] === a) return bStack[length] === b;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Add the first object to the stack of traversed objects.
|
|
105
|
+
aStack.push(a);
|
|
106
|
+
bStack.push(b);
|
|
107
|
+
|
|
108
|
+
// Recursively compare objects and arrays.
|
|
109
|
+
if (areArrays) {
|
|
110
|
+
// Compare array lengths to determine if a deep comparison is necessary.
|
|
111
|
+
length = a.length;
|
|
112
|
+
if (length !== b.length) return false;
|
|
113
|
+
// Deep compare the contents, ignoring non-numeric properties.
|
|
114
|
+
while (length--) {
|
|
115
|
+
if (!eq(a[length], b[length], aStack, bStack)) return false;
|
|
116
|
+
}
|
|
117
|
+
} else {
|
|
118
|
+
// Deep compare objects.
|
|
119
|
+
var _keys = keys(a), key;
|
|
120
|
+
length = _keys.length;
|
|
121
|
+
// Ensure that both objects contain the same number of properties before comparing deep equality.
|
|
122
|
+
if (keys(b).length !== length) return false;
|
|
123
|
+
while (length--) {
|
|
124
|
+
// Deep compare each member
|
|
125
|
+
key = _keys[length];
|
|
126
|
+
if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
// Remove the first object from the stack of traversed objects.
|
|
130
|
+
aStack.pop();
|
|
131
|
+
bStack.pop();
|
|
132
|
+
return true;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Perform a deep comparison to check if two objects are equal.
|
|
136
|
+
export default function isEqual(a, b) {
|
|
137
|
+
return eq(a, b);
|
|
138
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('Error');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('Error');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _isFinite } from './_setup.js';
|
|
2
|
-
import isSymbol from './isSymbol.js';
|
|
3
|
-
|
|
4
|
-
// Is a given object a finite number?
|
|
5
|
-
export default function isFinite(obj) {
|
|
6
|
-
return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj));
|
|
7
|
-
}
|
|
1
|
+
import { _isFinite } from './_setup.js';
|
|
2
|
+
import isSymbol from './isSymbol.js';
|
|
3
|
+
|
|
4
|
+
// Is a given object a finite number?
|
|
5
|
+
export default function isFinite(obj) {
|
|
6
|
+
return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj));
|
|
7
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
import { root } from './_setup.js';
|
|
3
|
-
|
|
4
|
-
var isFunction = tagTester('Function');
|
|
5
|
-
|
|
6
|
-
// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old
|
|
7
|
-
// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).
|
|
8
|
-
var nodelist = root.document && root.document.childNodes;
|
|
9
|
-
if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {
|
|
10
|
-
isFunction = function(obj) {
|
|
11
|
-
return typeof obj == 'function' || false;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default isFunction;
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
import { root } from './_setup.js';
|
|
3
|
+
|
|
4
|
+
var isFunction = tagTester('Function');
|
|
5
|
+
|
|
6
|
+
// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old
|
|
7
|
+
// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).
|
|
8
|
+
var nodelist = root.document && root.document.childNodes;
|
|
9
|
+
if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {
|
|
10
|
+
isFunction = function(obj) {
|
|
11
|
+
return typeof obj == 'function' || false;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default isFunction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
import { isIE11 } from './_stringTagBug.js';
|
|
3
|
-
import { ie11fingerprint, mapMethods } from './_methodFingerprint.js';
|
|
4
|
-
|
|
5
|
-
export default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
import { isIE11 } from './_stringTagBug.js';
|
|
3
|
+
import { ie11fingerprint, mapMethods } from './_methodFingerprint.js';
|
|
4
|
+
|
|
5
|
+
export default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import keys from './keys.js';
|
|
2
|
-
|
|
3
|
-
// Returns whether an object has a given set of `key:value` pairs.
|
|
4
|
-
export default function isMatch(object, attrs) {
|
|
5
|
-
var _keys = keys(attrs), length = _keys.length;
|
|
6
|
-
if (object == null) return !length;
|
|
7
|
-
var obj = Object(object);
|
|
8
|
-
for (var i = 0; i < length; i++) {
|
|
9
|
-
var key = _keys[i];
|
|
10
|
-
if (attrs[key] !== obj[key] || !(key in obj)) return false;
|
|
11
|
-
}
|
|
12
|
-
return true;
|
|
13
|
-
}
|
|
1
|
+
import keys from './keys.js';
|
|
2
|
+
|
|
3
|
+
// Returns whether an object has a given set of `key:value` pairs.
|
|
4
|
+
export default function isMatch(object, attrs) {
|
|
5
|
+
var _keys = keys(attrs), length = _keys.length;
|
|
6
|
+
if (object == null) return !length;
|
|
7
|
+
var obj = Object(object);
|
|
8
|
+
for (var i = 0; i < length; i++) {
|
|
9
|
+
var key = _keys[i];
|
|
10
|
+
if (attrs[key] !== obj[key] || !(key in obj)) return false;
|
|
11
|
+
}
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _isNaN } from './_setup.js';
|
|
2
|
-
import isNumber from './isNumber.js';
|
|
3
|
-
|
|
4
|
-
// Is the given value `NaN`?
|
|
5
|
-
export default function isNaN(obj) {
|
|
6
|
-
return isNumber(obj) && _isNaN(obj);
|
|
7
|
-
}
|
|
1
|
+
import { _isNaN } from './_setup.js';
|
|
2
|
+
import isNumber from './isNumber.js';
|
|
3
|
+
|
|
4
|
+
// Is the given value `NaN`?
|
|
5
|
+
export default function isNaN(obj) {
|
|
6
|
+
return isNumber(obj) && _isNaN(obj);
|
|
7
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Is a given value equal to null?
|
|
2
|
-
export default function isNull(obj) {
|
|
3
|
-
return obj === null;
|
|
4
|
-
}
|
|
1
|
+
// Is a given value equal to null?
|
|
2
|
+
export default function isNull(obj) {
|
|
3
|
+
return obj === null;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('Number');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('Number');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Is a given variable an object?
|
|
2
|
-
export default function isObject(obj) {
|
|
3
|
-
var type = typeof obj;
|
|
4
|
-
return type === 'function' || type === 'object' && !!obj;
|
|
5
|
-
}
|
|
1
|
+
// Is a given variable an object?
|
|
2
|
+
export default function isObject(obj) {
|
|
3
|
+
var type = typeof obj;
|
|
4
|
+
return type === 'function' || type === 'object' && !!obj;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('RegExp');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('RegExp');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
import { isIE11 } from './_stringTagBug.js';
|
|
3
|
-
import { ie11fingerprint, setMethods } from './_methodFingerprint.js';
|
|
4
|
-
|
|
5
|
-
export default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
import { isIE11 } from './_stringTagBug.js';
|
|
3
|
+
import { ie11fingerprint, setMethods } from './_methodFingerprint.js';
|
|
4
|
+
|
|
5
|
+
export default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('String');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('String');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import tagTester from './_tagTester.js';
|
|
2
|
-
|
|
3
|
-
export default tagTester('Symbol');
|
|
1
|
+
import tagTester from './_tagTester.js';
|
|
2
|
+
|
|
3
|
+
export default tagTester('Symbol');
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { supportsArrayBuffer, nativeIsView, toString } from './_setup.js';
|
|
2
|
-
import isDataView from './isDataView.js';
|
|
3
|
-
import constant from './constant.js';
|
|
4
|
-
import isBufferLike from './_isBufferLike.js';
|
|
5
|
-
|
|
6
|
-
// Is a given value a typed array?
|
|
7
|
-
var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
|
|
8
|
-
function isTypedArray(obj) {
|
|
9
|
-
// `ArrayBuffer.isView` is the most future-proof, so use it when available.
|
|
10
|
-
// Otherwise, fall back on the above regular expression.
|
|
11
|
-
return nativeIsView ? (nativeIsView(obj) && !isDataView(obj)) :
|
|
12
|
-
isBufferLike(obj) && typedArrayPattern.test(toString.call(obj));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default supportsArrayBuffer ? isTypedArray : constant(false);
|
|
1
|
+
import { supportsArrayBuffer, nativeIsView, toString } from './_setup.js';
|
|
2
|
+
import isDataView from './isDataView.js';
|
|
3
|
+
import constant from './constant.js';
|
|
4
|
+
import isBufferLike from './_isBufferLike.js';
|
|
5
|
+
|
|
6
|
+
// Is a given value a typed array?
|
|
7
|
+
var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
|
|
8
|
+
function isTypedArray(obj) {
|
|
9
|
+
// `ArrayBuffer.isView` is the most future-proof, so use it when available.
|
|
10
|
+
// Otherwise, fall back on the above regular expression.
|
|
11
|
+
return nativeIsView ? (nativeIsView(obj) && !isDataView(obj)) :
|
|
12
|
+
isBufferLike(obj) && typedArrayPattern.test(toString.call(obj));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default supportsArrayBuffer ? isTypedArray : constant(false);
|