@pdftron/pdfnet-node 10.1.1 → 10.2.0-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.
Files changed (590) hide show
  1. package/package.json +1 -1
  2. package/node_modules/underscore/LICENSE +0 -23
  3. package/node_modules/underscore/README.md +0 -28
  4. package/node_modules/underscore/amd/_apply.js +0 -7
  5. package/node_modules/underscore/amd/_applyProperty.js +0 -14
  6. package/node_modules/underscore/amd/_arrayAccessors.js +0 -11
  7. package/node_modules/underscore/amd/_arrayMutators.js +0 -15
  8. package/node_modules/underscore/amd/_baseCreate.js +0 -21
  9. package/node_modules/underscore/amd/_baseIteratee.js +0 -15
  10. package/node_modules/underscore/amd/_binarySearch.js +0 -17
  11. package/node_modules/underscore/amd/_bindCb.js +0 -14
  12. package/node_modules/underscore/amd/_bindCb4.js +0 -17
  13. package/node_modules/underscore/amd/_byValue.js +0 -11
  14. package/node_modules/underscore/amd/_cb.js +0 -12
  15. package/node_modules/underscore/amd/_chainResult.js +0 -10
  16. package/node_modules/underscore/amd/_collectNonEnumProps.js +0 -42
  17. package/node_modules/underscore/amd/_createAssigner.js +0 -24
  18. package/node_modules/underscore/amd/_createEscaper.js +0 -21
  19. package/node_modules/underscore/amd/_createIndexFinder.js +0 -30
  20. package/node_modules/underscore/amd/_createPredicateIndexFinder.js +0 -18
  21. package/node_modules/underscore/amd/_createReduce.js +0 -30
  22. package/node_modules/underscore/amd/_createSizePropertyCheck.js +0 -13
  23. package/node_modules/underscore/amd/_deepGet.js +0 -15
  24. package/node_modules/underscore/amd/_escapeMap.js +0 -15
  25. package/node_modules/underscore/amd/_executeBound.js +0 -16
  26. package/node_modules/underscore/amd/_extremum.js +0 -35
  27. package/node_modules/underscore/amd/_flatten.js +0 -32
  28. package/node_modules/underscore/amd/_forceNumericMinMax.js +0 -16
  29. package/node_modules/underscore/amd/_getByteLength.js +0 -8
  30. package/node_modules/underscore/amd/_getLength.js +0 -8
  31. package/node_modules/underscore/amd/_greater.js +0 -10
  32. package/node_modules/underscore/amd/_group.js +0 -18
  33. package/node_modules/underscore/amd/_has.js +0 -10
  34. package/node_modules/underscore/amd/_hasObjectTag.js +0 -7
  35. package/node_modules/underscore/amd/_isArrayLike.js +0 -11
  36. package/node_modules/underscore/amd/_isBufferLike.js +0 -9
  37. package/node_modules/underscore/amd/_keyInObj.js +0 -11
  38. package/node_modules/underscore/amd/_less.js +0 -10
  39. package/node_modules/underscore/amd/_lessEqual.js +0 -10
  40. package/node_modules/underscore/amd/_linearSearch.js +0 -31
  41. package/node_modules/underscore/amd/_mapReduce.js +0 -5
  42. package/node_modules/underscore/amd/_methodFingerprint.js +0 -44
  43. package/node_modules/underscore/amd/_optimizeCb.js +0 -27
  44. package/node_modules/underscore/amd/_push.js +0 -7
  45. package/node_modules/underscore/amd/_pusher.js +0 -13
  46. package/node_modules/underscore/amd/_sequence.js +0 -18
  47. package/node_modules/underscore/amd/_setup.js +0 -70
  48. package/node_modules/underscore/amd/_shallowProperty.js +0 -12
  49. package/node_modules/underscore/amd/_slice.js +0 -7
  50. package/node_modules/underscore/amd/_strictEqual.js +0 -9
  51. package/node_modules/underscore/amd/_stringTagBug.js +0 -16
  52. package/node_modules/underscore/amd/_tagTester.js +0 -13
  53. package/node_modules/underscore/amd/_toBufferView.js +0 -15
  54. package/node_modules/underscore/amd/_toPath.js +0 -11
  55. package/node_modules/underscore/amd/_unescapeMap.js +0 -8
  56. package/node_modules/underscore/amd/_unmethodize.js +0 -9
  57. package/node_modules/underscore/amd/_wrapArrayAccessor.js +0 -15
  58. package/node_modules/underscore/amd/_wrapArrayMutator.js +0 -28
  59. package/node_modules/underscore/amd/after.js +0 -14
  60. package/node_modules/underscore/amd/allKeys.js +0 -15
  61. package/node_modules/underscore/amd/before.js +0 -18
  62. package/node_modules/underscore/amd/bind.js +0 -15
  63. package/node_modules/underscore/amd/bindAll.js +0 -19
  64. package/node_modules/underscore/amd/chain.js +0 -12
  65. package/node_modules/underscore/amd/chunk.js +0 -17
  66. package/node_modules/underscore/amd/clone.js +0 -11
  67. package/node_modules/underscore/amd/compact.js +0 -10
  68. package/node_modules/underscore/amd/compose.js +0 -18
  69. package/node_modules/underscore/amd/concat.js +0 -7
  70. package/node_modules/underscore/amd/constant.js +0 -12
  71. package/node_modules/underscore/amd/contains.js +0 -12
  72. package/node_modules/underscore/amd/countBy.js +0 -12
  73. package/node_modules/underscore/amd/create.js +0 -14
  74. package/node_modules/underscore/amd/debounce.js +0 -43
  75. package/node_modules/underscore/amd/defaults.js +0 -8
  76. package/node_modules/underscore/amd/defer.js +0 -9
  77. package/node_modules/underscore/amd/delay.js +0 -13
  78. package/node_modules/underscore/amd/difference.js +0 -14
  79. package/node_modules/underscore/amd/each.js +0 -25
  80. package/node_modules/underscore/amd/escape.js +0 -8
  81. package/node_modules/underscore/amd/every.js +0 -17
  82. package/node_modules/underscore/amd/extend.js +0 -8
  83. package/node_modules/underscore/amd/extendOwn.js +0 -10
  84. package/node_modules/underscore/amd/filter.js +0 -15
  85. package/node_modules/underscore/amd/find.js +0 -12
  86. package/node_modules/underscore/amd/findIndex.js +0 -8
  87. package/node_modules/underscore/amd/findKey.js +0 -15
  88. package/node_modules/underscore/amd/findLastIndex.js +0 -8
  89. package/node_modules/underscore/amd/findWhere.js +0 -11
  90. package/node_modules/underscore/amd/first.js +0 -13
  91. package/node_modules/underscore/amd/flatten.js +0 -11
  92. package/node_modules/underscore/amd/functions.js +0 -14
  93. package/node_modules/underscore/amd/get.js +0 -14
  94. package/node_modules/underscore/amd/groupBy.js +0 -11
  95. package/node_modules/underscore/amd/has.js +0 -19
  96. package/node_modules/underscore/amd/identity.js +0 -10
  97. package/node_modules/underscore/amd/index-default.js +0 -12
  98. package/node_modules/underscore/amd/index.js +0 -154
  99. package/node_modules/underscore/amd/indexBy.js +0 -11
  100. package/node_modules/underscore/amd/indexOf.js +0 -11
  101. package/node_modules/underscore/amd/initial.js +0 -12
  102. package/node_modules/underscore/amd/intersection.js +0 -22
  103. package/node_modules/underscore/amd/invert.js +0 -15
  104. package/node_modules/underscore/amd/invoke.js +0 -28
  105. package/node_modules/underscore/amd/isArguments.js +0 -19
  106. package/node_modules/underscore/amd/isArray.js +0 -9
  107. package/node_modules/underscore/amd/isArrayBuffer.js +0 -7
  108. package/node_modules/underscore/amd/isBoolean.js +0 -10
  109. package/node_modules/underscore/amd/isDataView.js +0 -15
  110. package/node_modules/underscore/amd/isDate.js +0 -7
  111. package/node_modules/underscore/amd/isElement.js +0 -10
  112. package/node_modules/underscore/amd/isEmpty.js +0 -18
  113. package/node_modules/underscore/amd/isEqual.js +0 -133
  114. package/node_modules/underscore/amd/isError.js +0 -7
  115. package/node_modules/underscore/amd/isFinite.js +0 -10
  116. package/node_modules/underscore/amd/isFunction.js +0 -18
  117. package/node_modules/underscore/amd/isMap.js +0 -7
  118. package/node_modules/underscore/amd/isMatch.js +0 -17
  119. package/node_modules/underscore/amd/isNaN.js +0 -10
  120. package/node_modules/underscore/amd/isNull.js +0 -10
  121. package/node_modules/underscore/amd/isNumber.js +0 -7
  122. package/node_modules/underscore/amd/isObject.js +0 -11
  123. package/node_modules/underscore/amd/isRegExp.js +0 -7
  124. package/node_modules/underscore/amd/isSet.js +0 -7
  125. package/node_modules/underscore/amd/isString.js +0 -7
  126. package/node_modules/underscore/amd/isSymbol.js +0 -7
  127. package/node_modules/underscore/amd/isTypedArray.js +0 -16
  128. package/node_modules/underscore/amd/isUndefined.js +0 -10
  129. package/node_modules/underscore/amd/isWeakMap.js +0 -7
  130. package/node_modules/underscore/amd/isWeakSet.js +0 -7
  131. package/node_modules/underscore/amd/iteratee.js +0 -13
  132. package/node_modules/underscore/amd/join.js +0 -7
  133. package/node_modules/underscore/amd/keys.js +0 -17
  134. package/node_modules/underscore/amd/last.js +0 -13
  135. package/node_modules/underscore/amd/lastIndexOf.js +0 -9
  136. package/node_modules/underscore/amd/map.js +0 -18
  137. package/node_modules/underscore/amd/mapObject.js +0 -19
  138. package/node_modules/underscore/amd/matcher.js +0 -14
  139. package/node_modules/underscore/amd/max.js +0 -30
  140. package/node_modules/underscore/amd/memoize.js +0 -17
  141. package/node_modules/underscore/amd/min.js +0 -30
  142. package/node_modules/underscore/amd/mixin.js +0 -18
  143. package/node_modules/underscore/amd/negate.js +0 -12
  144. package/node_modules/underscore/amd/noop.js +0 -8
  145. package/node_modules/underscore/amd/now.js +0 -10
  146. package/node_modules/underscore/amd/object.js +0 -20
  147. package/node_modules/underscore/amd/omit.js +0 -20
  148. package/node_modules/underscore/amd/once.js +0 -9
  149. package/node_modules/underscore/amd/pairs.js +0 -17
  150. package/node_modules/underscore/amd/partial.js +0 -25
  151. package/node_modules/underscore/amd/partition.js +0 -11
  152. package/node_modules/underscore/amd/pick.js +0 -25
  153. package/node_modules/underscore/amd/pluck.js +0 -10
  154. package/node_modules/underscore/amd/pop.js +0 -7
  155. package/node_modules/underscore/amd/property.js +0 -14
  156. package/node_modules/underscore/amd/propertyOf.js +0 -13
  157. package/node_modules/underscore/amd/push.js +0 -7
  158. package/node_modules/underscore/amd/random.js +0 -14
  159. package/node_modules/underscore/amd/range.js +0 -27
  160. package/node_modules/underscore/amd/reduce.js +0 -9
  161. package/node_modules/underscore/amd/reduceRight.js +0 -8
  162. package/node_modules/underscore/amd/reject.js +0 -10
  163. package/node_modules/underscore/amd/rest.js +0 -12
  164. package/node_modules/underscore/amd/restArguments.js +0 -33
  165. package/node_modules/underscore/amd/result.js +0 -25
  166. package/node_modules/underscore/amd/reverse.js +0 -7
  167. package/node_modules/underscore/amd/sample.js +0 -27
  168. package/node_modules/underscore/amd/shift.js +0 -7
  169. package/node_modules/underscore/amd/shuffle.js +0 -10
  170. package/node_modules/underscore/amd/size.js +0 -11
  171. package/node_modules/underscore/amd/slice.js +0 -7
  172. package/node_modules/underscore/amd/some.js +0 -17
  173. package/node_modules/underscore/amd/sort.js +0 -7
  174. package/node_modules/underscore/amd/sortBy.js +0 -26
  175. package/node_modules/underscore/amd/sortedIndex.js +0 -18
  176. package/node_modules/underscore/amd/sortedLastIndex.js +0 -11
  177. package/node_modules/underscore/amd/splice.js +0 -7
  178. package/node_modules/underscore/amd/tap.js +0 -13
  179. package/node_modules/underscore/amd/template.js +0 -95
  180. package/node_modules/underscore/amd/templateSettings.js +0 -13
  181. package/node_modules/underscore/amd/throttle.js +0 -51
  182. package/node_modules/underscore/amd/times.js +0 -13
  183. package/node_modules/underscore/amd/toArray.js +0 -18
  184. package/node_modules/underscore/amd/toPath.js +0 -12
  185. package/node_modules/underscore/amd/toString.js +0 -11
  186. package/node_modules/underscore/amd/underscore-array-methods.js +0 -30
  187. package/node_modules/underscore/amd/underscore.js +0 -29
  188. package/node_modules/underscore/amd/unescape.js +0 -8
  189. package/node_modules/underscore/amd/union.js +0 -11
  190. package/node_modules/underscore/amd/uniq.js +0 -37
  191. package/node_modules/underscore/amd/uniqueId.js +0 -13
  192. package/node_modules/underscore/amd/unshift.js +0 -7
  193. package/node_modules/underscore/amd/unzip.js +0 -17
  194. package/node_modules/underscore/amd/value.js +0 -13
  195. package/node_modules/underscore/amd/values.js +0 -16
  196. package/node_modules/underscore/amd/where.js +0 -11
  197. package/node_modules/underscore/amd/without.js +0 -10
  198. package/node_modules/underscore/amd/wrap.js +0 -12
  199. package/node_modules/underscore/amd/zip.js +0 -9
  200. package/node_modules/underscore/cjs/_apply.js +0 -6
  201. package/node_modules/underscore/cjs/_applyProperty.js +0 -10
  202. package/node_modules/underscore/cjs/_arrayAccessors.js +0 -11
  203. package/node_modules/underscore/cjs/_arrayMutators.js +0 -19
  204. package/node_modules/underscore/cjs/_baseCreate.js +0 -20
  205. package/node_modules/underscore/cjs/_baseIteratee.js +0 -19
  206. package/node_modules/underscore/cjs/_binarySearch.js +0 -15
  207. package/node_modules/underscore/cjs/_bindCb.js +0 -10
  208. package/node_modules/underscore/cjs/_bindCb4.js +0 -13
  209. package/node_modules/underscore/cjs/_byValue.js +0 -7
  210. package/node_modules/underscore/cjs/_cb.js +0 -12
  211. package/node_modules/underscore/cjs/_chainResult.js +0 -8
  212. package/node_modules/underscore/cjs/_collectNonEnumProps.js +0 -42
  213. package/node_modules/underscore/cjs/_createAssigner.js +0 -20
  214. package/node_modules/underscore/cjs/_createEscaper.js +0 -19
  215. package/node_modules/underscore/cjs/_createIndexFinder.js +0 -30
  216. package/node_modules/underscore/cjs/_createPredicateIndexFinder.js +0 -17
  217. package/node_modules/underscore/cjs/_createReduce.js +0 -30
  218. package/node_modules/underscore/cjs/_createSizePropertyCheck.js +0 -11
  219. package/node_modules/underscore/cjs/_deepGet.js +0 -11
  220. package/node_modules/underscore/cjs/_escapeMap.js +0 -11
  221. package/node_modules/underscore/cjs/_executeBound.js +0 -15
  222. package/node_modules/underscore/cjs/_extremum.js +0 -35
  223. package/node_modules/underscore/cjs/_flatten.js +0 -33
  224. package/node_modules/underscore/cjs/_forceNumericMinMax.js +0 -14
  225. package/node_modules/underscore/cjs/_getByteLength.js +0 -6
  226. package/node_modules/underscore/cjs/_getLength.js +0 -6
  227. package/node_modules/underscore/cjs/_greater.js +0 -6
  228. package/node_modules/underscore/cjs/_group.js +0 -17
  229. package/node_modules/underscore/cjs/_has.js +0 -8
  230. package/node_modules/underscore/cjs/_hasObjectTag.js +0 -5
  231. package/node_modules/underscore/cjs/_isArrayLike.js +0 -10
  232. package/node_modules/underscore/cjs/_isBufferLike.js +0 -8
  233. package/node_modules/underscore/cjs/_keyInObj.js +0 -7
  234. package/node_modules/underscore/cjs/_less.js +0 -6
  235. package/node_modules/underscore/cjs/_lessEqual.js +0 -6
  236. package/node_modules/underscore/cjs/_linearSearch.js +0 -30
  237. package/node_modules/underscore/cjs/_mapReduce.js +0 -1
  238. package/node_modules/underscore/cjs/_methodFingerprint.js +0 -44
  239. package/node_modules/underscore/cjs/_optimizeCb.js +0 -23
  240. package/node_modules/underscore/cjs/_push.js +0 -6
  241. package/node_modules/underscore/cjs/_pusher.js +0 -9
  242. package/node_modules/underscore/cjs/_sequence.js +0 -14
  243. package/node_modules/underscore/cjs/_setup.js +0 -66
  244. package/node_modules/underscore/cjs/_shallowProperty.js +0 -8
  245. package/node_modules/underscore/cjs/_slice.js +0 -6
  246. package/node_modules/underscore/cjs/_strictEqual.js +0 -5
  247. package/node_modules/underscore/cjs/_stringTagBug.js +0 -15
  248. package/node_modules/underscore/cjs/_tagTester.js +0 -11
  249. package/node_modules/underscore/cjs/_toBufferView.js +0 -13
  250. package/node_modules/underscore/cjs/_toPath.js +0 -10
  251. package/node_modules/underscore/cjs/_unescapeMap.js +0 -7
  252. package/node_modules/underscore/cjs/_unmethodize.js +0 -8
  253. package/node_modules/underscore/cjs/_wrapArrayAccessor.js +0 -14
  254. package/node_modules/underscore/cjs/_wrapArrayMutator.js +0 -29
  255. package/node_modules/underscore/cjs/after.js +0 -10
  256. package/node_modules/underscore/cjs/allKeys.js +0 -15
  257. package/node_modules/underscore/cjs/before.js +0 -14
  258. package/node_modules/underscore/cjs/bind.js +0 -15
  259. package/node_modules/underscore/cjs/bindAll.js +0 -19
  260. package/node_modules/underscore/cjs/chain.js +0 -10
  261. package/node_modules/underscore/cjs/chunk.js +0 -15
  262. package/node_modules/underscore/cjs/clone.js +0 -11
  263. package/node_modules/underscore/cjs/compact.js +0 -8
  264. package/node_modules/underscore/cjs/compose.js +0 -14
  265. package/node_modules/underscore/cjs/concat.js +0 -6
  266. package/node_modules/underscore/cjs/constant.js +0 -8
  267. package/node_modules/underscore/cjs/contains.js +0 -12
  268. package/node_modules/underscore/cjs/countBy.js +0 -11
  269. package/node_modules/underscore/cjs/create.js +0 -13
  270. package/node_modules/underscore/cjs/debounce.js +0 -42
  271. package/node_modules/underscore/cjs/defaults.js +0 -7
  272. package/node_modules/underscore/cjs/defer.js +0 -9
  273. package/node_modules/underscore/cjs/delay.js +0 -11
  274. package/node_modules/underscore/cjs/difference.js +0 -15
  275. package/node_modules/underscore/cjs/each.js +0 -25
  276. package/node_modules/underscore/cjs/escape.js +0 -7
  277. package/node_modules/underscore/cjs/every.js +0 -17
  278. package/node_modules/underscore/cjs/extend.js +0 -7
  279. package/node_modules/underscore/cjs/extendOwn.js +0 -9
  280. package/node_modules/underscore/cjs/filter.js +0 -14
  281. package/node_modules/underscore/cjs/find.js +0 -12
  282. package/node_modules/underscore/cjs/findIndex.js +0 -6
  283. package/node_modules/underscore/cjs/findKey.js +0 -14
  284. package/node_modules/underscore/cjs/findLastIndex.js +0 -6
  285. package/node_modules/underscore/cjs/findWhere.js +0 -10
  286. package/node_modules/underscore/cjs/first.js +0 -11
  287. package/node_modules/underscore/cjs/flatten.js +0 -9
  288. package/node_modules/underscore/cjs/functions.js +0 -12
  289. package/node_modules/underscore/cjs/get.js +0 -14
  290. package/node_modules/underscore/cjs/groupBy.js +0 -10
  291. package/node_modules/underscore/cjs/has.js +0 -18
  292. package/node_modules/underscore/cjs/identity.js +0 -6
  293. package/node_modules/underscore/cjs/index-default.js +0 -11
  294. package/node_modules/underscore/cjs/index.js +0 -277
  295. package/node_modules/underscore/cjs/indexBy.js +0 -9
  296. package/node_modules/underscore/cjs/indexOf.js +0 -11
  297. package/node_modules/underscore/cjs/initial.js +0 -10
  298. package/node_modules/underscore/cjs/intersection.js +0 -21
  299. package/node_modules/underscore/cjs/invert.js +0 -13
  300. package/node_modules/underscore/cjs/invoke.js +0 -30
  301. package/node_modules/underscore/cjs/isArguments.js +0 -18
  302. package/node_modules/underscore/cjs/isArray.js +0 -8
  303. package/node_modules/underscore/cjs/isArrayBuffer.js +0 -5
  304. package/node_modules/underscore/cjs/isBoolean.js +0 -8
  305. package/node_modules/underscore/cjs/isDataView.js +0 -16
  306. package/node_modules/underscore/cjs/isDate.js +0 -5
  307. package/node_modules/underscore/cjs/isElement.js +0 -6
  308. package/node_modules/underscore/cjs/isEmpty.js +0 -20
  309. package/node_modules/underscore/cjs/isEqual.js +0 -140
  310. package/node_modules/underscore/cjs/isError.js +0 -5
  311. package/node_modules/underscore/cjs/isFinite.js +0 -9
  312. package/node_modules/underscore/cjs/isFunction.js +0 -17
  313. package/node_modules/underscore/cjs/isMap.js +0 -7
  314. package/node_modules/underscore/cjs/isMatch.js +0 -15
  315. package/node_modules/underscore/cjs/isNaN.js +0 -9
  316. package/node_modules/underscore/cjs/isNull.js +0 -6
  317. package/node_modules/underscore/cjs/isNumber.js +0 -5
  318. package/node_modules/underscore/cjs/isObject.js +0 -7
  319. package/node_modules/underscore/cjs/isRegExp.js +0 -5
  320. package/node_modules/underscore/cjs/isSet.js +0 -7
  321. package/node_modules/underscore/cjs/isString.js +0 -5
  322. package/node_modules/underscore/cjs/isSymbol.js +0 -5
  323. package/node_modules/underscore/cjs/isTypedArray.js +0 -17
  324. package/node_modules/underscore/cjs/isUndefined.js +0 -6
  325. package/node_modules/underscore/cjs/isWeakMap.js +0 -7
  326. package/node_modules/underscore/cjs/isWeakSet.js +0 -5
  327. package/node_modules/underscore/cjs/iteratee.js +0 -12
  328. package/node_modules/underscore/cjs/join.js +0 -6
  329. package/node_modules/underscore/cjs/keys.js +0 -18
  330. package/node_modules/underscore/cjs/last.js +0 -11
  331. package/node_modules/underscore/cjs/lastIndexOf.js +0 -8
  332. package/node_modules/underscore/cjs/map.js +0 -18
  333. package/node_modules/underscore/cjs/mapObject.js +0 -18
  334. package/node_modules/underscore/cjs/matcher.js +0 -13
  335. package/node_modules/underscore/cjs/max.js +0 -31
  336. package/node_modules/underscore/cjs/memoize.js +0 -15
  337. package/node_modules/underscore/cjs/min.js +0 -31
  338. package/node_modules/underscore/cjs/mixin.js +0 -20
  339. package/node_modules/underscore/cjs/negate.js +0 -8
  340. package/node_modules/underscore/cjs/noop.js +0 -4
  341. package/node_modules/underscore/cjs/now.js +0 -6
  342. package/node_modules/underscore/cjs/object.js +0 -18
  343. package/node_modules/underscore/cjs/omit.js +0 -24
  344. package/node_modules/underscore/cjs/once.js +0 -8
  345. package/node_modules/underscore/cjs/pairs.js +0 -15
  346. package/node_modules/underscore/cjs/partial.js +0 -25
  347. package/node_modules/underscore/cjs/partition.js +0 -9
  348. package/node_modules/underscore/cjs/pick.js +0 -28
  349. package/node_modules/underscore/cjs/pluck.js +0 -9
  350. package/node_modules/underscore/cjs/pop.js +0 -6
  351. package/node_modules/underscore/cjs/property.js +0 -13
  352. package/node_modules/underscore/cjs/propertyOf.js +0 -12
  353. package/node_modules/underscore/cjs/push.js +0 -6
  354. package/node_modules/underscore/cjs/random.js +0 -10
  355. package/node_modules/underscore/cjs/range.js +0 -23
  356. package/node_modules/underscore/cjs/reduce.js +0 -7
  357. package/node_modules/underscore/cjs/reduceRight.js +0 -6
  358. package/node_modules/underscore/cjs/reject.js +0 -10
  359. package/node_modules/underscore/cjs/rest.js +0 -10
  360. package/node_modules/underscore/cjs/restArguments.js +0 -29
  361. package/node_modules/underscore/cjs/result.js +0 -24
  362. package/node_modules/underscore/cjs/reverse.js +0 -6
  363. package/node_modules/underscore/cjs/sample.js +0 -29
  364. package/node_modules/underscore/cjs/shift.js +0 -6
  365. package/node_modules/underscore/cjs/shuffle.js +0 -8
  366. package/node_modules/underscore/cjs/size.js +0 -10
  367. package/node_modules/underscore/cjs/slice.js +0 -6
  368. package/node_modules/underscore/cjs/some.js +0 -17
  369. package/node_modules/underscore/cjs/sort.js +0 -6
  370. package/node_modules/underscore/cjs/sortBy.js +0 -26
  371. package/node_modules/underscore/cjs/sortedIndex.js +0 -17
  372. package/node_modules/underscore/cjs/sortedLastIndex.js +0 -11
  373. package/node_modules/underscore/cjs/splice.js +0 -6
  374. package/node_modules/underscore/cjs/tap.js +0 -9
  375. package/node_modules/underscore/cjs/template.js +0 -95
  376. package/node_modules/underscore/cjs/templateSettings.js +0 -11
  377. package/node_modules/underscore/cjs/throttle.js +0 -49
  378. package/node_modules/underscore/cjs/times.js +0 -11
  379. package/node_modules/underscore/cjs/toArray.js +0 -22
  380. package/node_modules/underscore/cjs/toPath.js +0 -11
  381. package/node_modules/underscore/cjs/toString.js +0 -9
  382. package/node_modules/underscore/cjs/underscore-array-methods.js +0 -31
  383. package/node_modules/underscore/cjs/underscore.js +0 -27
  384. package/node_modules/underscore/cjs/unescape.js +0 -7
  385. package/node_modules/underscore/cjs/union.js +0 -11
  386. package/node_modules/underscore/cjs/uniq.js +0 -38
  387. package/node_modules/underscore/cjs/uniqueId.js +0 -9
  388. package/node_modules/underscore/cjs/unshift.js +0 -6
  389. package/node_modules/underscore/cjs/unzip.js +0 -17
  390. package/node_modules/underscore/cjs/value.js +0 -9
  391. package/node_modules/underscore/cjs/values.js +0 -14
  392. package/node_modules/underscore/cjs/where.js +0 -10
  393. package/node_modules/underscore/cjs/without.js +0 -9
  394. package/node_modules/underscore/cjs/wrap.js +0 -10
  395. package/node_modules/underscore/cjs/zip.js +0 -8
  396. package/node_modules/underscore/modules/.eslintrc +0 -12
  397. package/node_modules/underscore/modules/_baseCreate.js +0 -18
  398. package/node_modules/underscore/modules/_baseIteratee.js +0 -17
  399. package/node_modules/underscore/modules/_cb.js +0 -10
  400. package/node_modules/underscore/modules/_chainResult.js +0 -6
  401. package/node_modules/underscore/modules/_collectNonEnumProps.js +0 -40
  402. package/node_modules/underscore/modules/_createAssigner.js +0 -18
  403. package/node_modules/underscore/modules/_createEscaper.js +0 -17
  404. package/node_modules/underscore/modules/_createIndexFinder.js +0 -28
  405. package/node_modules/underscore/modules/_createPredicateIndexFinder.js +0 -15
  406. package/node_modules/underscore/modules/_createReduce.js +0 -28
  407. package/node_modules/underscore/modules/_createSizePropertyCheck.js +0 -9
  408. package/node_modules/underscore/modules/_deepGet.js +0 -9
  409. package/node_modules/underscore/modules/_escapeMap.js +0 -9
  410. package/node_modules/underscore/modules/_executeBound.js +0 -13
  411. package/node_modules/underscore/modules/_flatten.js +0 -31
  412. package/node_modules/underscore/modules/_getByteLength.js +0 -4
  413. package/node_modules/underscore/modules/_getLength.js +0 -4
  414. package/node_modules/underscore/modules/_group.js +0 -15
  415. package/node_modules/underscore/modules/_has.js +0 -6
  416. package/node_modules/underscore/modules/_hasObjectTag.js +0 -3
  417. package/node_modules/underscore/modules/_isArrayLike.js +0 -8
  418. package/node_modules/underscore/modules/_isBufferLike.js +0 -6
  419. package/node_modules/underscore/modules/_keyInObj.js +0 -5
  420. package/node_modules/underscore/modules/_methodFingerprint.js +0 -37
  421. package/node_modules/underscore/modules/_optimizeCb.js +0 -21
  422. package/node_modules/underscore/modules/_setup.js +0 -43
  423. package/node_modules/underscore/modules/_shallowProperty.js +0 -6
  424. package/node_modules/underscore/modules/_stringTagBug.js +0 -10
  425. package/node_modules/underscore/modules/_tagTester.js +0 -9
  426. package/node_modules/underscore/modules/_toBufferView.js +0 -11
  427. package/node_modules/underscore/modules/_toPath.js +0 -8
  428. package/node_modules/underscore/modules/_unescapeMap.js +0 -5
  429. package/node_modules/underscore/modules/after.js +0 -8
  430. package/node_modules/underscore/modules/allKeys.js +0 -13
  431. package/node_modules/underscore/modules/before.js +0 -12
  432. package/node_modules/underscore/modules/bind.js +0 -13
  433. package/node_modules/underscore/modules/bindAll.js +0 -17
  434. package/node_modules/underscore/modules/chain.js +0 -8
  435. package/node_modules/underscore/modules/chunk.js +0 -13
  436. package/node_modules/underscore/modules/clone.js +0 -9
  437. package/node_modules/underscore/modules/compact.js +0 -6
  438. package/node_modules/underscore/modules/compose.js +0 -12
  439. package/node_modules/underscore/modules/constant.js +0 -6
  440. package/node_modules/underscore/modules/contains.js +0 -10
  441. package/node_modules/underscore/modules/countBy.js +0 -9
  442. package/node_modules/underscore/modules/create.js +0 -11
  443. package/node_modules/underscore/modules/debounce.js +0 -40
  444. package/node_modules/underscore/modules/defaults.js +0 -5
  445. package/node_modules/underscore/modules/defer.js +0 -7
  446. package/node_modules/underscore/modules/delay.js +0 -9
  447. package/node_modules/underscore/modules/difference.js +0 -13
  448. package/node_modules/underscore/modules/each.js +0 -23
  449. package/node_modules/underscore/modules/escape.js +0 -5
  450. package/node_modules/underscore/modules/every.js +0 -15
  451. package/node_modules/underscore/modules/extend.js +0 -5
  452. package/node_modules/underscore/modules/extendOwn.js +0 -7
  453. package/node_modules/underscore/modules/filter.js +0 -12
  454. package/node_modules/underscore/modules/find.js +0 -10
  455. package/node_modules/underscore/modules/findIndex.js +0 -4
  456. package/node_modules/underscore/modules/findKey.js +0 -12
  457. package/node_modules/underscore/modules/findLastIndex.js +0 -4
  458. package/node_modules/underscore/modules/findWhere.js +0 -8
  459. package/node_modules/underscore/modules/first.js +0 -9
  460. package/node_modules/underscore/modules/flatten.js +0 -7
  461. package/node_modules/underscore/modules/functions.js +0 -10
  462. package/node_modules/underscore/modules/get.js +0 -12
  463. package/node_modules/underscore/modules/groupBy.js +0 -8
  464. package/node_modules/underscore/modules/has.js +0 -16
  465. package/node_modules/underscore/modules/identity.js +0 -4
  466. package/node_modules/underscore/modules/index-all.js +0 -18
  467. package/node_modules/underscore/modules/index-default.js +0 -27
  468. package/node_modules/underscore/modules/index.js +0 -200
  469. package/node_modules/underscore/modules/indexBy.js +0 -7
  470. package/node_modules/underscore/modules/indexOf.js +0 -9
  471. package/node_modules/underscore/modules/initial.js +0 -8
  472. package/node_modules/underscore/modules/intersection.js +0 -19
  473. package/node_modules/underscore/modules/invert.js +0 -11
  474. package/node_modules/underscore/modules/invoke.js +0 -28
  475. package/node_modules/underscore/modules/isArguments.js +0 -16
  476. package/node_modules/underscore/modules/isArray.js +0 -6
  477. package/node_modules/underscore/modules/isArrayBuffer.js +0 -3
  478. package/node_modules/underscore/modules/isBoolean.js +0 -6
  479. package/node_modules/underscore/modules/isDataView.js +0 -14
  480. package/node_modules/underscore/modules/isDate.js +0 -3
  481. package/node_modules/underscore/modules/isElement.js +0 -4
  482. package/node_modules/underscore/modules/isEmpty.js +0 -18
  483. package/node_modules/underscore/modules/isEqual.js +0 -138
  484. package/node_modules/underscore/modules/isError.js +0 -3
  485. package/node_modules/underscore/modules/isFinite.js +0 -7
  486. package/node_modules/underscore/modules/isFunction.js +0 -15
  487. package/node_modules/underscore/modules/isMap.js +0 -5
  488. package/node_modules/underscore/modules/isMatch.js +0 -13
  489. package/node_modules/underscore/modules/isNaN.js +0 -7
  490. package/node_modules/underscore/modules/isNull.js +0 -4
  491. package/node_modules/underscore/modules/isNumber.js +0 -3
  492. package/node_modules/underscore/modules/isObject.js +0 -5
  493. package/node_modules/underscore/modules/isRegExp.js +0 -3
  494. package/node_modules/underscore/modules/isSet.js +0 -5
  495. package/node_modules/underscore/modules/isString.js +0 -3
  496. package/node_modules/underscore/modules/isSymbol.js +0 -3
  497. package/node_modules/underscore/modules/isTypedArray.js +0 -15
  498. package/node_modules/underscore/modules/isUndefined.js +0 -4
  499. package/node_modules/underscore/modules/isWeakMap.js +0 -5
  500. package/node_modules/underscore/modules/isWeakSet.js +0 -3
  501. package/node_modules/underscore/modules/iteratee.js +0 -10
  502. package/node_modules/underscore/modules/keys.js +0 -16
  503. package/node_modules/underscore/modules/last.js +0 -9
  504. package/node_modules/underscore/modules/lastIndexOf.js +0 -6
  505. package/node_modules/underscore/modules/map.js +0 -16
  506. package/node_modules/underscore/modules/mapObject.js +0 -16
  507. package/node_modules/underscore/modules/matcher.js +0 -11
  508. package/node_modules/underscore/modules/max.js +0 -29
  509. package/node_modules/underscore/modules/memoize.js +0 -13
  510. package/node_modules/underscore/modules/min.js +0 -29
  511. package/node_modules/underscore/modules/mixin.js +0 -18
  512. package/node_modules/underscore/modules/negate.js +0 -6
  513. package/node_modules/underscore/modules/noop.js +0 -2
  514. package/node_modules/underscore/modules/now.js +0 -4
  515. package/node_modules/underscore/modules/object.js +0 -16
  516. package/node_modules/underscore/modules/omit.js +0 -22
  517. package/node_modules/underscore/modules/once.js +0 -6
  518. package/node_modules/underscore/modules/pairs.js +0 -13
  519. package/node_modules/underscore/modules/partial.js +0 -24
  520. package/node_modules/underscore/modules/partition.js +0 -7
  521. package/node_modules/underscore/modules/pick.js +0 -26
  522. package/node_modules/underscore/modules/pluck.js +0 -7
  523. package/node_modules/underscore/modules/property.js +0 -11
  524. package/node_modules/underscore/modules/propertyOf.js +0 -10
  525. package/node_modules/underscore/modules/random.js +0 -8
  526. package/node_modules/underscore/modules/range.js +0 -21
  527. package/node_modules/underscore/modules/reduce.js +0 -5
  528. package/node_modules/underscore/modules/reduceRight.js +0 -4
  529. package/node_modules/underscore/modules/reject.js +0 -8
  530. package/node_modules/underscore/modules/rest.js +0 -8
  531. package/node_modules/underscore/modules/restArguments.js +0 -27
  532. package/node_modules/underscore/modules/result.js +0 -22
  533. package/node_modules/underscore/modules/sample.js +0 -27
  534. package/node_modules/underscore/modules/shuffle.js +0 -6
  535. package/node_modules/underscore/modules/size.js +0 -8
  536. package/node_modules/underscore/modules/some.js +0 -15
  537. package/node_modules/underscore/modules/sortBy.js +0 -24
  538. package/node_modules/underscore/modules/sortedIndex.js +0 -15
  539. package/node_modules/underscore/modules/tap.js +0 -7
  540. package/node_modules/underscore/modules/template.js +0 -93
  541. package/node_modules/underscore/modules/templateSettings.js +0 -9
  542. package/node_modules/underscore/modules/throttle.js +0 -47
  543. package/node_modules/underscore/modules/times.js +0 -9
  544. package/node_modules/underscore/modules/toArray.js +0 -20
  545. package/node_modules/underscore/modules/toPath.js +0 -9
  546. package/node_modules/underscore/modules/underscore-array-methods.js +0 -31
  547. package/node_modules/underscore/modules/underscore.js +0 -25
  548. package/node_modules/underscore/modules/unescape.js +0 -5
  549. package/node_modules/underscore/modules/union.js +0 -9
  550. package/node_modules/underscore/modules/uniq.js +0 -36
  551. package/node_modules/underscore/modules/uniqueId.js +0 -7
  552. package/node_modules/underscore/modules/unzip.js +0 -15
  553. package/node_modules/underscore/modules/values.js +0 -12
  554. package/node_modules/underscore/modules/where.js +0 -8
  555. package/node_modules/underscore/modules/without.js +0 -7
  556. package/node_modules/underscore/modules/wrap.js +0 -8
  557. package/node_modules/underscore/modules/zip.js +0 -6
  558. package/node_modules/underscore/package.json +0 -108
  559. package/node_modules/underscore/underscore-esm-min.js +0 -5
  560. package/node_modules/underscore/underscore-esm-min.js.map +0 -1
  561. package/node_modules/underscore/underscore-esm.js +0 -2026
  562. package/node_modules/underscore/underscore-esm.js.map +0 -1
  563. package/node_modules/underscore/underscore-min.js +0 -6
  564. package/node_modules/underscore/underscore.js +0 -2034
  565. package/node_modules/underscore/underscore.js.map +0 -1
  566. package/node_modules/xhr2/CONTRIBUTING.md +0 -33
  567. package/node_modules/xhr2/Cakefile +0 -131
  568. package/node_modules/xhr2/LICENSE.txt +0 -19
  569. package/node_modules/xhr2/lib/browser.js +0 -1
  570. package/node_modules/xhr2/lib/xhr2.js +0 -1244
  571. package/node_modules/xhr2/package.json +0 -93
  572. package/node_modules/xhr2/src/001-xml_http_request.coffee +0 -782
  573. package/node_modules/xhr2/src/errors.coffee +0 -31
  574. package/node_modules/xhr2/src/progress_event.coffee +0 -39
  575. package/node_modules/xhr2/test/fixtures/hello.json +0 -1
  576. package/node_modules/xhr2/test/fixtures/hello.txt +0 -1
  577. package/node_modules/xhr2/test/fixtures/xhr2.png +0 -0
  578. package/node_modules/xhr2/test/html/browser_test.html +0 -30
  579. package/node_modules/xhr2/test/src/event_target_test.coffee +0 -85
  580. package/node_modules/xhr2/test/src/events_test.coffee +0 -204
  581. package/node_modules/xhr2/test/src/headers_test.coffee +0 -165
  582. package/node_modules/xhr2/test/src/helpers/browser_mocha_setup.coffee +0 -1
  583. package/node_modules/xhr2/test/src/helpers/setup.coffee +0 -38
  584. package/node_modules/xhr2/test/src/helpers/xhr_server.coffee +0 -156
  585. package/node_modules/xhr2/test/src/nodejs_set_test.coffee +0 -162
  586. package/node_modules/xhr2/test/src/redirect_test.coffee +0 -57
  587. package/node_modules/xhr2/test/src/response_type_test.coffee +0 -88
  588. package/node_modules/xhr2/test/src/send_test.coffee +0 -89
  589. package/node_modules/xhr2/test/src/status_test.coffee +0 -47
  590. package/node_modules/xhr2/test/src/xhr_test.coffee +0 -102
@@ -1,8 +0,0 @@
1
- import { slice } from './_setup.js';
2
-
3
- // Returns everything but the last entry of the array. Especially useful on
4
- // the arguments object. Passing **n** will return all the values in
5
- // the array, excluding the last N.
6
- export default function initial(array, n, guard) {
7
- return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));
8
- }
@@ -1,19 +0,0 @@
1
- import getLength from './_getLength.js';
2
- import contains from './contains.js';
3
-
4
- // Produce an array that contains every item shared between all the
5
- // passed-in arrays.
6
- export default function intersection(array) {
7
- var result = [];
8
- var argsLength = arguments.length;
9
- for (var i = 0, length = getLength(array); i < length; i++) {
10
- var item = array[i];
11
- if (contains(result, item)) continue;
12
- var j;
13
- for (j = 1; j < argsLength; j++) {
14
- if (!contains(arguments[j], item)) break;
15
- }
16
- if (j === argsLength) result.push(item);
17
- }
18
- return result;
19
- }
@@ -1,11 +0,0 @@
1
- import keys from './keys.js';
2
-
3
- // Invert the keys and values of an object. The values must be serializable.
4
- export default function invert(obj) {
5
- var result = {};
6
- var _keys = keys(obj);
7
- for (var i = 0, length = _keys.length; i < length; i++) {
8
- result[obj[_keys[i]]] = _keys[i];
9
- }
10
- return result;
11
- }
@@ -1,28 +0,0 @@
1
- import restArguments from './restArguments.js';
2
- import isFunction from './isFunction.js';
3
- import map from './map.js';
4
- import deepGet from './_deepGet.js';
5
- import toPath from './_toPath.js';
6
-
7
- // Invoke a method (with arguments) on every item in a collection.
8
- export default restArguments(function(obj, path, args) {
9
- var contextPath, func;
10
- if (isFunction(path)) {
11
- func = path;
12
- } else {
13
- path = toPath(path);
14
- contextPath = path.slice(0, -1);
15
- path = path[path.length - 1];
16
- }
17
- return map(obj, function(context) {
18
- var method = func;
19
- if (!method) {
20
- if (contextPath && contextPath.length) {
21
- context = deepGet(context, contextPath);
22
- }
23
- if (context == null) return void 0;
24
- method = context[path];
25
- }
26
- return method == null ? method : method.apply(context, args);
27
- });
28
- });
@@ -1,16 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('ArrayBuffer');
@@ -1,6 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('Date');
@@ -1,4 +0,0 @@
1
- // Is a given value a DOM element?
2
- export default function isElement(obj) {
3
- return !!(obj && obj.nodeType === 1);
4
- }
@@ -1,18 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('Error');
@@ -1,7 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- // Is a given value equal to null?
2
- export default function isNull(obj) {
3
- return obj === null;
4
- }
@@ -1,3 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('Number');
@@ -1,5 +0,0 @@
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 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('RegExp');
@@ -1,5 +0,0 @@
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 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('String');
@@ -1,3 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('Symbol');
@@ -1,15 +0,0 @@
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,4 +0,0 @@
1
- // Is a given variable undefined?
2
- export default function isUndefined(obj) {
3
- return obj === void 0;
4
- }
@@ -1,5 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
- import { isIE11 } from './_stringTagBug.js';
3
- import { ie11fingerprint, weakMapMethods } from './_methodFingerprint.js';
4
-
5
- export default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');
@@ -1,3 +0,0 @@
1
- import tagTester from './_tagTester.js';
2
-
3
- export default tagTester('WeakSet');
@@ -1,10 +0,0 @@
1
- import _ from './underscore.js';
2
- import baseIteratee from './_baseIteratee.js';
3
-
4
- // External wrapper for our callback generator. Users may customize
5
- // `_.iteratee` if they want additional predicate/iteratee shorthand styles.
6
- // This abstraction hides the internal-only `argCount` argument.
7
- export default function iteratee(value, context) {
8
- return baseIteratee(value, context, Infinity);
9
- }
10
- _.iteratee = iteratee;
@@ -1,16 +0,0 @@
1
- import isObject from './isObject.js';
2
- import { nativeKeys, hasEnumBug } from './_setup.js';
3
- import has from './_has.js';
4
- import collectNonEnumProps from './_collectNonEnumProps.js';
5
-
6
- // Retrieve the names of an object's own properties.
7
- // Delegates to **ECMAScript 5**'s native `Object.keys`.
8
- export default function keys(obj) {
9
- if (!isObject(obj)) return [];
10
- if (nativeKeys) return nativeKeys(obj);
11
- var keys = [];
12
- for (var key in obj) if (has(obj, key)) keys.push(key);
13
- // Ahem, IE < 9.
14
- if (hasEnumBug) collectNonEnumProps(obj, keys);
15
- return keys;
16
- }
@@ -1,9 +0,0 @@
1
- import rest from './rest.js';
2
-
3
- // Get the last element of an array. Passing **n** will return the last N
4
- // values in the array.
5
- export default function last(array, n, guard) {
6
- if (array == null || array.length < 1) return n == null || guard ? void 0 : [];
7
- if (n == null || guard) return array[array.length - 1];
8
- return rest(array, Math.max(0, array.length - n));
9
- }
@@ -1,6 +0,0 @@
1
- import findLastIndex from './findLastIndex.js';
2
- import createIndexFinder from './_createIndexFinder.js';
3
-
4
- // Return the position of the last occurrence of an item in an array,
5
- // or -1 if the item is not included in the array.
6
- export default createIndexFinder(-1, findLastIndex);
@@ -1,16 +0,0 @@
1
- import cb from './_cb.js';
2
- import isArrayLike from './_isArrayLike.js';
3
- import keys from './keys.js';
4
-
5
- // Return the results of applying the iteratee to each element.
6
- export default function map(obj, iteratee, context) {
7
- iteratee = cb(iteratee, context);
8
- var _keys = !isArrayLike(obj) && keys(obj),
9
- length = (_keys || obj).length,
10
- results = Array(length);
11
- for (var index = 0; index < length; index++) {
12
- var currentKey = _keys ? _keys[index] : index;
13
- results[index] = iteratee(obj[currentKey], currentKey, obj);
14
- }
15
- return results;
16
- }
@@ -1,16 +0,0 @@
1
- import cb from './_cb.js';
2
- import keys from './keys.js';
3
-
4
- // Returns the results of applying the `iteratee` to each element of `obj`.
5
- // In contrast to `_.map` it returns an object.
6
- export default function mapObject(obj, iteratee, context) {
7
- iteratee = cb(iteratee, context);
8
- var _keys = keys(obj),
9
- length = _keys.length,
10
- results = {};
11
- for (var index = 0; index < length; index++) {
12
- var currentKey = _keys[index];
13
- results[currentKey] = iteratee(obj[currentKey], currentKey, obj);
14
- }
15
- return results;
16
- }
@@ -1,11 +0,0 @@
1
- import extendOwn from './extendOwn.js';
2
- import isMatch from './isMatch.js';
3
-
4
- // Returns a predicate for checking whether an object has a given set of
5
- // `key:value` pairs.
6
- export default function matcher(attrs) {
7
- attrs = extendOwn({}, attrs);
8
- return function(obj) {
9
- return isMatch(obj, attrs);
10
- };
11
- }
@@ -1,29 +0,0 @@
1
- import isArrayLike from './_isArrayLike.js';
2
- import values from './values.js';
3
- import cb from './_cb.js';
4
- import each from './each.js';
5
-
6
- // Return the maximum element (or element-based computation).
7
- export default function max(obj, iteratee, context) {
8
- var result = -Infinity, lastComputed = -Infinity,
9
- value, computed;
10
- if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
11
- obj = isArrayLike(obj) ? obj : values(obj);
12
- for (var i = 0, length = obj.length; i < length; i++) {
13
- value = obj[i];
14
- if (value != null && value > result) {
15
- result = value;
16
- }
17
- }
18
- } else {
19
- iteratee = cb(iteratee, context);
20
- each(obj, function(v, index, list) {
21
- computed = iteratee(v, index, list);
22
- if (computed > lastComputed || computed === -Infinity && result === -Infinity) {
23
- result = v;
24
- lastComputed = computed;
25
- }
26
- });
27
- }
28
- return result;
29
- }
@@ -1,13 +0,0 @@
1
- import has from './_has.js';
2
-
3
- // Memoize an expensive function by storing its results.
4
- export default function memoize(func, hasher) {
5
- var memoize = function(key) {
6
- var cache = memoize.cache;
7
- var address = '' + (hasher ? hasher.apply(this, arguments) : key);
8
- if (!has(cache, address)) cache[address] = func.apply(this, arguments);
9
- return cache[address];
10
- };
11
- memoize.cache = {};
12
- return memoize;
13
- }
@@ -1,29 +0,0 @@
1
- import isArrayLike from './_isArrayLike.js';
2
- import values from './values.js';
3
- import cb from './_cb.js';
4
- import each from './each.js';
5
-
6
- // Return the minimum element (or element-based computation).
7
- export default function min(obj, iteratee, context) {
8
- var result = Infinity, lastComputed = Infinity,
9
- value, computed;
10
- if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {
11
- obj = isArrayLike(obj) ? obj : values(obj);
12
- for (var i = 0, length = obj.length; i < length; i++) {
13
- value = obj[i];
14
- if (value != null && value < result) {
15
- result = value;
16
- }
17
- }
18
- } else {
19
- iteratee = cb(iteratee, context);
20
- each(obj, function(v, index, list) {
21
- computed = iteratee(v, index, list);
22
- if (computed < lastComputed || computed === Infinity && result === Infinity) {
23
- result = v;
24
- lastComputed = computed;
25
- }
26
- });
27
- }
28
- return result;
29
- }
@@ -1,18 +0,0 @@
1
- import _ from './underscore.js';
2
- import each from './each.js';
3
- import functions from './functions.js';
4
- import { push } from './_setup.js';
5
- import chainResult from './_chainResult.js';
6
-
7
- // Add your own custom functions to the Underscore object.
8
- export default function mixin(obj) {
9
- each(functions(obj), function(name) {
10
- var func = _[name] = obj[name];
11
- _.prototype[name] = function() {
12
- var args = [this._wrapped];
13
- push.apply(args, arguments);
14
- return chainResult(this, func.apply(_, args));
15
- };
16
- });
17
- return _;
18
- }
@@ -1,6 +0,0 @@
1
- // Returns a negated version of the passed-in predicate.
2
- export default function negate(predicate) {
3
- return function() {
4
- return !predicate.apply(this, arguments);
5
- };
6
- }
@@ -1,2 +0,0 @@
1
- // Predicate-generating function. Often useful outside of Underscore.
2
- export default function noop(){}
@@ -1,4 +0,0 @@
1
- // A (possibly faster) way to get the current timestamp as an integer.
2
- export default Date.now || function() {
3
- return new Date().getTime();
4
- };