meteor-node-stubs 1.2.17 → 1.2.19

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 (460) hide show
  1. package/node_modules/@meteorjs/browserify-sign/browser/sign.js +1 -1
  2. package/node_modules/@meteorjs/browserify-sign/browser/verify.js +1 -1
  3. package/node_modules/@meteorjs/browserify-sign/elliptic/benchmarks/deps/jodid.js +82 -0
  4. package/node_modules/@meteorjs/browserify-sign/elliptic/benchmarks/deps/secp256k1.js +41 -0
  5. package/node_modules/@meteorjs/browserify-sign/elliptic/benchmarks/index.js +153 -0
  6. package/node_modules/@meteorjs/browserify-sign/elliptic/benchmarks/package.json +21 -0
  7. package/node_modules/@meteorjs/browserify-sign/elliptic/dist/.gitkeep +0 -0
  8. package/node_modules/@meteorjs/browserify-sign/elliptic/dist/elliptic.js +8961 -0
  9. package/node_modules/@meteorjs/browserify-sign/elliptic/dist/elliptic.min.js +1 -0
  10. package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic.js +1 -1
  11. package/node_modules/@meteorjs/browserify-sign/elliptic/test/api-test.js +20 -0
  12. package/node_modules/@meteorjs/browserify-sign/elliptic/test/curve-test.js +357 -0
  13. package/node_modules/@meteorjs/browserify-sign/elliptic/test/ecdh-test.js +43 -0
  14. package/node_modules/@meteorjs/browserify-sign/elliptic/test/ecdsa-test.js +547 -0
  15. package/node_modules/@meteorjs/browserify-sign/elliptic/test/ed25519-test.js +138 -0
  16. package/node_modules/@meteorjs/browserify-sign/elliptic/test/fixtures/derivation-fixtures.js +3842 -0
  17. package/node_modules/@meteorjs/browserify-sign/elliptic/test/fixtures/sign.input +1024 -0
  18. package/node_modules/@meteorjs/browserify-sign/elliptic/test/index.js +10 -0
  19. package/node_modules/@meteorjs/browserify-sign/elliptic/test/unittests.html +39 -0
  20. package/node_modules/@meteorjs/browserify-sign/package.json +22 -5
  21. package/node_modules/@meteorjs/create-ecdh/browser.js +1 -1
  22. package/node_modules/@meteorjs/create-ecdh/elliptic/README.md +238 -0
  23. package/node_modules/@meteorjs/create-ecdh/elliptic/benchmarks/deps/jodid.js +82 -0
  24. package/node_modules/@meteorjs/create-ecdh/elliptic/benchmarks/deps/secp256k1.js +41 -0
  25. package/node_modules/@meteorjs/create-ecdh/elliptic/benchmarks/index.js +153 -0
  26. package/node_modules/@meteorjs/create-ecdh/elliptic/benchmarks/package.json +21 -0
  27. package/node_modules/@meteorjs/create-ecdh/elliptic/dist/.gitkeep +0 -0
  28. package/node_modules/@meteorjs/create-ecdh/elliptic/dist/elliptic.js +8961 -0
  29. package/node_modules/@meteorjs/create-ecdh/elliptic/dist/elliptic.min.js +1 -0
  30. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/curve/base.js +381 -0
  31. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/curve/edwards.js +435 -0
  32. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/curve/index.js +8 -0
  33. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/curve/mont.js +178 -0
  34. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/curve/short.js +938 -0
  35. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/curves.js +206 -0
  36. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/ec/index.js +278 -0
  37. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/ec/key.js +121 -0
  38. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/ec/signature.js +176 -0
  39. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/eddsa/index.js +121 -0
  40. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/eddsa/key.js +95 -0
  41. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/eddsa/signature.js +66 -0
  42. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/precomputed/secp256k1.js +780 -0
  43. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic/utils.js +122 -0
  44. package/node_modules/@meteorjs/create-ecdh/elliptic/lib/elliptic.js +13 -0
  45. package/node_modules/@meteorjs/create-ecdh/elliptic/test/api-test.js +20 -0
  46. package/node_modules/@meteorjs/create-ecdh/elliptic/test/curve-test.js +357 -0
  47. package/node_modules/@meteorjs/create-ecdh/elliptic/test/ecdh-test.js +43 -0
  48. package/node_modules/@meteorjs/create-ecdh/elliptic/test/ecdsa-test.js +547 -0
  49. package/node_modules/@meteorjs/create-ecdh/elliptic/test/ed25519-test.js +138 -0
  50. package/node_modules/@meteorjs/create-ecdh/elliptic/test/fixtures/derivation-fixtures.js +3842 -0
  51. package/node_modules/@meteorjs/create-ecdh/elliptic/test/fixtures/sign.input +1024 -0
  52. package/node_modules/@meteorjs/create-ecdh/elliptic/test/index.js +10 -0
  53. package/node_modules/@meteorjs/create-ecdh/elliptic/test/unittests.html +39 -0
  54. package/node_modules/@meteorjs/create-ecdh/node_modules/bn.js/lib/bn.js +1 -0
  55. package/node_modules/@meteorjs/create-ecdh/node_modules/bn.js/package.json +1 -1
  56. package/node_modules/@meteorjs/create-ecdh/package.json +23 -5
  57. package/node_modules/asn1.js/node_modules/bn.js/lib/bn.js +6 -5
  58. package/node_modules/asn1.js/node_modules/bn.js/package.json +1 -1
  59. package/node_modules/asn1.js/node_modules/bn.js/util/genCombMulTo.js +65 -0
  60. package/node_modules/asn1.js/node_modules/bn.js/util/genCombMulTo10.js +65 -0
  61. package/node_modules/available-typed-arrays/.eslintrc +0 -4
  62. package/node_modules/available-typed-arrays/CHANGELOG.md +21 -0
  63. package/node_modules/available-typed-arrays/README.md +16 -13
  64. package/node_modules/available-typed-arrays/index.d.ts +8 -0
  65. package/node_modules/available-typed-arrays/index.js +4 -14
  66. package/node_modules/available-typed-arrays/package.json +26 -15
  67. package/node_modules/available-typed-arrays/tsconfig.json +49 -0
  68. package/node_modules/bn.js/README.md +11 -5
  69. package/node_modules/bn.js/lib/bn.js +6 -5
  70. package/node_modules/bn.js/package.json +1 -1
  71. package/node_modules/browserify-rsa/CHANGELOG.md +98 -0
  72. package/node_modules/browserify-rsa/README.md +0 -2
  73. package/node_modules/browserify-rsa/index.js +31 -28
  74. package/node_modules/browserify-rsa/package.json +64 -29
  75. package/node_modules/call-bind/CHANGELOG.md +13 -0
  76. package/node_modules/call-bind/index.js +6 -17
  77. package/node_modules/call-bind/package.json +14 -16
  78. package/node_modules/call-bind/test/index.js +4 -10
  79. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  80. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  81. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  82. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  83. package/node_modules/{has-proto → call-bind-apply-helpers}/LICENSE +1 -1
  84. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  85. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  86. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  87. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  88. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  89. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  90. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  91. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  92. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  93. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  94. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  95. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  96. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  97. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  98. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  99. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  100. package/node_modules/call-bound/.eslintrc +13 -0
  101. package/node_modules/call-bound/.github/FUNDING.yml +12 -0
  102. package/node_modules/call-bound/.nycrc +9 -0
  103. package/node_modules/call-bound/CHANGELOG.md +42 -0
  104. package/node_modules/{@meteorjs/browserify-sign/node_modules/bn.js → call-bound}/LICENSE +3 -1
  105. package/node_modules/call-bound/README.md +53 -0
  106. package/node_modules/call-bound/index.d.ts +94 -0
  107. package/node_modules/call-bound/index.js +19 -0
  108. package/node_modules/call-bound/package.json +99 -0
  109. package/node_modules/call-bound/test/index.js +61 -0
  110. package/node_modules/call-bound/tsconfig.json +10 -0
  111. package/node_modules/cipher-base/.eslintrc +24 -1
  112. package/node_modules/cipher-base/.github/FUNDING.yml +12 -0
  113. package/node_modules/cipher-base/CHANGELOG.md +66 -0
  114. package/node_modules/cipher-base/index.js +145 -77
  115. package/node_modules/cipher-base/package.json +60 -30
  116. package/node_modules/cipher-base/test/index.js +221 -0
  117. package/node_modules/des.js/lib/des/cipher.js +1 -0
  118. package/node_modules/des.js/lib/des/des.js +8 -0
  119. package/node_modules/des.js/package.json +3 -4
  120. package/node_modules/des.js/test/cbc-test.js +5 -5
  121. package/node_modules/des.js/test/des-test.js +9 -9
  122. package/node_modules/des.js/test/ede-test.js +39 -6
  123. package/node_modules/diffie-hellman/node_modules/bn.js/lib/bn.js +6 -5
  124. package/node_modules/diffie-hellman/node_modules/bn.js/package.json +1 -1
  125. package/node_modules/diffie-hellman/node_modules/bn.js/util/genCombMulTo.js +65 -0
  126. package/node_modules/diffie-hellman/node_modules/bn.js/util/genCombMulTo10.js +65 -0
  127. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  128. package/node_modules/dunder-proto/.nycrc +13 -0
  129. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  130. package/node_modules/{@meteorjs/crypto-browserify/node_modules/hash-base → dunder-proto}/LICENSE +6 -6
  131. package/node_modules/dunder-proto/README.md +54 -0
  132. package/node_modules/dunder-proto/get.d.ts +5 -0
  133. package/node_modules/dunder-proto/get.js +30 -0
  134. package/node_modules/dunder-proto/package.json +76 -0
  135. package/node_modules/dunder-proto/set.d.ts +5 -0
  136. package/node_modules/dunder-proto/set.js +35 -0
  137. package/node_modules/dunder-proto/test/get.js +34 -0
  138. package/node_modules/dunder-proto/test/index.js +4 -0
  139. package/node_modules/dunder-proto/test/set.js +50 -0
  140. package/node_modules/dunder-proto/tsconfig.json +9 -0
  141. package/node_modules/es-define-property/CHANGELOG.md +14 -0
  142. package/node_modules/es-define-property/index.js +1 -3
  143. package/node_modules/es-define-property/package.json +12 -12
  144. package/node_modules/es-define-property/test/index.js +1 -0
  145. package/node_modules/es-define-property/tsconfig.json +2 -42
  146. package/node_modules/es-object-atoms/.eslintrc +16 -0
  147. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  148. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  149. package/node_modules/{elliptic/node_modules/bn.js → es-object-atoms}/LICENSE +3 -1
  150. package/node_modules/es-object-atoms/README.md +63 -0
  151. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  152. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  153. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  154. package/node_modules/es-object-atoms/ToObject.js +10 -0
  155. package/node_modules/es-object-atoms/index.d.ts +3 -0
  156. package/node_modules/es-object-atoms/index.js +4 -0
  157. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  158. package/node_modules/es-object-atoms/isObject.js +6 -0
  159. package/node_modules/es-object-atoms/package.json +80 -0
  160. package/node_modules/es-object-atoms/test/index.js +38 -0
  161. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  162. package/node_modules/for-each/.eslintrc +16 -2
  163. package/node_modules/{has-proto → for-each}/.github/FUNDING.yml +1 -1
  164. package/node_modules/for-each/.github/SECURITY.md +3 -0
  165. package/node_modules/for-each/.nycrc +8 -0
  166. package/node_modules/for-each/CHANGELOG.md +107 -0
  167. package/node_modules/for-each/README.md +0 -4
  168. package/node_modules/for-each/index.d.ts +35 -0
  169. package/node_modules/for-each/index.js +11 -4
  170. package/node_modules/for-each/package.json +47 -36
  171. package/node_modules/for-each/test/test.js +54 -12
  172. package/node_modules/for-each/tsconfig.json +8 -0
  173. package/node_modules/get-intrinsic/.eslintrc +4 -0
  174. package/node_modules/get-intrinsic/CHANGELOG.md +43 -0
  175. package/node_modules/get-intrinsic/index.js +40 -21
  176. package/node_modules/get-intrinsic/package.json +24 -20
  177. package/node_modules/get-intrinsic/test/GetIntrinsic.js +2 -2
  178. package/node_modules/get-proto/.eslintrc +10 -0
  179. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  180. package/node_modules/get-proto/.nycrc +9 -0
  181. package/node_modules/get-proto/CHANGELOG.md +21 -0
  182. package/node_modules/get-proto/LICENSE +21 -0
  183. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  184. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  185. package/node_modules/get-proto/README.md +50 -0
  186. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  187. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  188. package/node_modules/get-proto/index.d.ts +5 -0
  189. package/node_modules/get-proto/index.js +27 -0
  190. package/node_modules/{has-proto → get-proto}/package.json +33 -26
  191. package/node_modules/get-proto/test/index.js +68 -0
  192. package/node_modules/get-proto/tsconfig.json +9 -0
  193. package/node_modules/gopd/CHANGELOG.md +20 -0
  194. package/node_modules/gopd/gOPD.d.ts +1 -0
  195. package/node_modules/gopd/gOPD.js +4 -0
  196. package/node_modules/gopd/index.d.ts +5 -0
  197. package/node_modules/gopd/index.js +2 -3
  198. package/node_modules/gopd/package.json +16 -10
  199. package/node_modules/gopd/test/index.js +2 -1
  200. package/node_modules/gopd/tsconfig.json +9 -0
  201. package/node_modules/has-symbols/CHANGELOG.md +16 -0
  202. package/node_modules/has-symbols/index.d.ts +3 -0
  203. package/node_modules/has-symbols/index.js +1 -0
  204. package/node_modules/has-symbols/package.json +19 -9
  205. package/node_modules/has-symbols/shams.d.ts +3 -0
  206. package/node_modules/has-symbols/shams.js +5 -2
  207. package/node_modules/has-symbols/test/shams/core-js.js +1 -0
  208. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +1 -0
  209. package/node_modules/has-symbols/test/tests.js +4 -2
  210. package/node_modules/has-symbols/tsconfig.json +10 -0
  211. package/node_modules/has-tostringtag/.eslintrc +0 -6
  212. package/node_modules/has-tostringtag/.nycrc +13 -0
  213. package/node_modules/has-tostringtag/CHANGELOG.md +22 -0
  214. package/node_modules/has-tostringtag/index.d.ts +3 -0
  215. package/node_modules/has-tostringtag/index.js +1 -0
  216. package/node_modules/has-tostringtag/package.json +37 -13
  217. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  218. package/node_modules/has-tostringtag/shams.js +1 -0
  219. package/node_modules/has-tostringtag/test/shams/core-js.js +3 -0
  220. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +2 -0
  221. package/node_modules/has-tostringtag/test/tests.js +2 -1
  222. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  223. package/node_modules/hash-base/README.md +15 -15
  224. package/node_modules/hash-base/index.js +52 -9
  225. package/node_modules/hash-base/package.json +40 -40
  226. package/node_modules/hasown/CHANGELOG.md +20 -0
  227. package/node_modules/hasown/index.d.ts +3 -3
  228. package/node_modules/hasown/index.js +1 -1
  229. package/node_modules/hasown/package.json +16 -15
  230. package/node_modules/hasown/tsconfig.json +3 -46
  231. package/node_modules/is-arguments/.eslintrc +0 -1
  232. package/node_modules/is-arguments/CHANGELOG.md +22 -0
  233. package/node_modules/is-arguments/README.md +11 -11
  234. package/node_modules/is-arguments/index.d.ts +6 -0
  235. package/node_modules/is-arguments/index.js +19 -8
  236. package/node_modules/is-arguments/package.json +25 -11
  237. package/node_modules/is-arguments/test/index.js +4 -1
  238. package/node_modules/is-arguments/tsconfig.json +9 -0
  239. package/node_modules/is-generator-function/.eslintrc +1 -1
  240. package/node_modules/is-generator-function/CHANGELOG.md +21 -0
  241. package/node_modules/is-generator-function/index.d.ts +3 -0
  242. package/node_modules/is-generator-function/index.js +16 -7
  243. package/node_modules/is-generator-function/package.json +30 -11
  244. package/node_modules/is-generator-function/test/corejs.js +1 -0
  245. package/node_modules/is-generator-function/test/index.js +4 -7
  246. package/node_modules/is-generator-function/test/uglified.js +1 -0
  247. package/node_modules/is-generator-function/tsconfig.json +9 -0
  248. package/node_modules/is-regex/.editorconfig +23 -0
  249. package/node_modules/is-regex/.eslintrc +10 -0
  250. package/node_modules/is-regex/.nycrc +10 -0
  251. package/node_modules/is-regex/CHANGELOG.md +233 -0
  252. package/node_modules/is-regex/LICENSE +20 -0
  253. package/node_modules/is-regex/README.md +52 -0
  254. package/node_modules/is-regex/index.d.ts +3 -0
  255. package/node_modules/is-regex/index.js +69 -0
  256. package/node_modules/is-regex/package.json +104 -0
  257. package/node_modules/is-regex/test/index.js +121 -0
  258. package/node_modules/is-regex/tsconfig.json +9 -0
  259. package/node_modules/is-typed-array/CHANGELOG.md +32 -0
  260. package/node_modules/is-typed-array/index.d.ts +9 -0
  261. package/node_modules/is-typed-array/index.js +1 -0
  262. package/node_modules/is-typed-array/package.json +23 -10
  263. package/node_modules/is-typed-array/test/index.js +9 -1
  264. package/node_modules/is-typed-array/tsconfig.json +6 -0
  265. package/node_modules/math-intrinsics/.eslintrc +16 -0
  266. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  267. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  268. package/node_modules/math-intrinsics/LICENSE +21 -0
  269. package/node_modules/math-intrinsics/README.md +50 -0
  270. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  271. package/node_modules/math-intrinsics/abs.js +4 -0
  272. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  273. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  274. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  275. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  276. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  277. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  278. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  279. package/node_modules/math-intrinsics/floor.js +4 -0
  280. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  281. package/node_modules/math-intrinsics/isFinite.js +12 -0
  282. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  283. package/node_modules/math-intrinsics/isInteger.js +16 -0
  284. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  285. package/node_modules/math-intrinsics/isNaN.js +6 -0
  286. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  287. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  288. package/node_modules/math-intrinsics/max.d.ts +1 -0
  289. package/node_modules/math-intrinsics/max.js +4 -0
  290. package/node_modules/math-intrinsics/min.d.ts +1 -0
  291. package/node_modules/math-intrinsics/min.js +4 -0
  292. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  293. package/node_modules/math-intrinsics/mod.js +9 -0
  294. package/node_modules/math-intrinsics/package.json +86 -0
  295. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  296. package/node_modules/math-intrinsics/pow.js +4 -0
  297. package/node_modules/math-intrinsics/round.d.ts +1 -0
  298. package/node_modules/math-intrinsics/round.js +4 -0
  299. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  300. package/node_modules/math-intrinsics/sign.js +11 -0
  301. package/node_modules/math-intrinsics/test/index.js +192 -0
  302. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  303. package/node_modules/miller-rabin/node_modules/bn.js/lib/bn.js +6 -5
  304. package/node_modules/miller-rabin/node_modules/bn.js/package.json +1 -1
  305. package/node_modules/miller-rabin/node_modules/bn.js/util/genCombMulTo.js +65 -0
  306. package/node_modules/miller-rabin/node_modules/bn.js/util/genCombMulTo10.js +65 -0
  307. package/node_modules/object-inspect/CHANGELOG.md +20 -0
  308. package/node_modules/object-inspect/index.js +27 -10
  309. package/node_modules/object-inspect/package.json +9 -8
  310. package/node_modules/object-inspect/test/quoteStyle.js +9 -0
  311. package/node_modules/object-inspect/test/values.js +50 -0
  312. package/node_modules/object-is/.eslintrc +1 -1
  313. package/node_modules/object-is/.nycrc +0 -4
  314. package/node_modules/object-is/CHANGELOG.md +25 -0
  315. package/node_modules/object-is/README.md +20 -20
  316. package/node_modules/object-is/package.json +23 -14
  317. package/node_modules/object.assign/CHANGELOG.md +21 -0
  318. package/node_modules/object.assign/dist/browser.js +495 -135
  319. package/node_modules/object.assign/implementation.js +6 -6
  320. package/node_modules/object.assign/package.json +14 -14
  321. package/node_modules/object.assign/test/tests.js +2 -2
  322. package/node_modules/possible-typed-array-names/.eslintrc +5 -0
  323. package/node_modules/possible-typed-array-names/.github/FUNDING.yml +12 -0
  324. package/node_modules/possible-typed-array-names/CHANGELOG.md +29 -0
  325. package/node_modules/possible-typed-array-names/LICENSE +21 -0
  326. package/node_modules/possible-typed-array-names/README.md +50 -0
  327. package/node_modules/possible-typed-array-names/index.d.ts +16 -0
  328. package/node_modules/possible-typed-array-names/index.js +17 -0
  329. package/node_modules/possible-typed-array-names/package.json +84 -0
  330. package/node_modules/possible-typed-array-names/test/index.js +19 -0
  331. package/node_modules/possible-typed-array-names/tsconfig.json +9 -0
  332. package/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js +6 -5
  333. package/node_modules/public-encrypt/node_modules/bn.js/package.json +1 -1
  334. package/node_modules/public-encrypt/node_modules/bn.js/util/genCombMulTo.js +65 -0
  335. package/node_modules/public-encrypt/node_modules/bn.js/util/genCombMulTo10.js +65 -0
  336. package/node_modules/qs/.eslintrc +1 -0
  337. package/node_modules/qs/CHANGELOG.md +22 -0
  338. package/node_modules/qs/README.md +25 -1
  339. package/node_modules/qs/dist/qs.js +95 -44
  340. package/node_modules/qs/lib/parse.js +44 -12
  341. package/node_modules/qs/lib/stringify.js +11 -6
  342. package/node_modules/qs/lib/utils.js +7 -4
  343. package/node_modules/qs/package.json +9 -7
  344. package/node_modules/qs/test/parse.js +133 -27
  345. package/node_modules/qs/test/stringify.js +19 -11
  346. package/node_modules/qs/test/utils.js +126 -0
  347. package/node_modules/safe-regex-test/.eslintrc +9 -0
  348. package/node_modules/safe-regex-test/.github/FUNDING.yml +12 -0
  349. package/node_modules/safe-regex-test/.nycrc +13 -0
  350. package/node_modules/safe-regex-test/CHANGELOG.md +55 -0
  351. package/node_modules/safe-regex-test/LICENSE +21 -0
  352. package/node_modules/safe-regex-test/README.md +46 -0
  353. package/node_modules/safe-regex-test/index.d.ts +3 -0
  354. package/node_modules/safe-regex-test/index.js +17 -0
  355. package/node_modules/safe-regex-test/package.json +87 -0
  356. package/node_modules/safe-regex-test/test/index.js +41 -0
  357. package/node_modules/safe-regex-test/tsconfig.json +9 -0
  358. package/node_modules/side-channel/.eslintrc +1 -0
  359. package/node_modules/side-channel/CHANGELOG.md +15 -0
  360. package/node_modules/side-channel/README.md +60 -1
  361. package/node_modules/side-channel/index.d.ts +9 -22
  362. package/node_modules/side-channel/index.js +20 -106
  363. package/node_modules/side-channel/package.json +20 -19
  364. package/node_modules/side-channel/test/index.js +76 -55
  365. package/node_modules/side-channel/tsconfig.json +2 -43
  366. package/node_modules/side-channel-list/.editorconfig +9 -0
  367. package/node_modules/side-channel-list/.eslintrc +11 -0
  368. package/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
  369. package/node_modules/side-channel-list/.nycrc +13 -0
  370. package/node_modules/side-channel-list/CHANGELOG.md +15 -0
  371. package/node_modules/side-channel-list/LICENSE +21 -0
  372. package/node_modules/side-channel-list/README.md +62 -0
  373. package/node_modules/side-channel-list/index.d.ts +13 -0
  374. package/node_modules/side-channel-list/index.js +113 -0
  375. package/node_modules/side-channel-list/list.d.ts +14 -0
  376. package/node_modules/side-channel-list/package.json +77 -0
  377. package/node_modules/side-channel-list/test/index.js +104 -0
  378. package/node_modules/side-channel-list/tsconfig.json +9 -0
  379. package/node_modules/side-channel-map/.editorconfig +9 -0
  380. package/node_modules/side-channel-map/.eslintrc +11 -0
  381. package/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
  382. package/node_modules/side-channel-map/.nycrc +13 -0
  383. package/node_modules/side-channel-map/CHANGELOG.md +22 -0
  384. package/node_modules/side-channel-map/LICENSE +21 -0
  385. package/node_modules/side-channel-map/README.md +62 -0
  386. package/node_modules/side-channel-map/index.d.ts +15 -0
  387. package/node_modules/side-channel-map/index.js +68 -0
  388. package/node_modules/side-channel-map/package.json +80 -0
  389. package/node_modules/side-channel-map/test/index.js +114 -0
  390. package/node_modules/side-channel-map/tsconfig.json +9 -0
  391. package/node_modules/side-channel-weakmap/.editorconfig +9 -0
  392. package/node_modules/side-channel-weakmap/.eslintrc +12 -0
  393. package/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
  394. package/node_modules/side-channel-weakmap/.nycrc +13 -0
  395. package/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
  396. package/node_modules/side-channel-weakmap/LICENSE +21 -0
  397. package/node_modules/side-channel-weakmap/README.md +62 -0
  398. package/node_modules/side-channel-weakmap/index.d.ts +15 -0
  399. package/node_modules/side-channel-weakmap/index.js +84 -0
  400. package/node_modules/side-channel-weakmap/package.json +87 -0
  401. package/node_modules/side-channel-weakmap/test/index.js +114 -0
  402. package/node_modules/side-channel-weakmap/tsconfig.json +9 -0
  403. package/node_modules/which-typed-array/.eslintrc +1 -0
  404. package/node_modules/which-typed-array/CHANGELOG.md +57 -0
  405. package/node_modules/which-typed-array/index.d.ts +62 -0
  406. package/node_modules/which-typed-array/index.js +50 -25
  407. package/node_modules/which-typed-array/package.json +28 -13
  408. package/node_modules/which-typed-array/test/index.js +7 -1
  409. package/node_modules/which-typed-array/tsconfig.json +9 -0
  410. package/package.json +2 -3
  411. package/node_modules/@meteorjs/browserify-sign/node_modules/bn.js/README.md +0 -214
  412. package/node_modules/@meteorjs/browserify-sign/node_modules/bn.js/lib/bn.js +0 -3547
  413. package/node_modules/@meteorjs/browserify-sign/node_modules/bn.js/package.json +0 -39
  414. package/node_modules/@meteorjs/browserify-sign/node_modules/hash-base/LICENSE +0 -21
  415. package/node_modules/@meteorjs/browserify-sign/node_modules/hash-base/README.md +0 -48
  416. package/node_modules/@meteorjs/browserify-sign/node_modules/hash-base/index.js +0 -138
  417. package/node_modules/@meteorjs/browserify-sign/node_modules/hash-base/package.json +0 -42
  418. package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/README.md +0 -48
  419. package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/index.js +0 -95
  420. package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/package.json +0 -41
  421. package/node_modules/available-typed-arrays/.eslintignore +0 -1
  422. package/node_modules/bn.js/CHANGELOG.md +0 -51
  423. package/node_modules/cipher-base/.npmignore +0 -1
  424. package/node_modules/cipher-base/.travis.yml +0 -6
  425. package/node_modules/cipher-base/test.js +0 -111
  426. package/node_modules/elliptic/node_modules/bn.js/README.md +0 -200
  427. package/node_modules/elliptic/node_modules/bn.js/lib/bn.js +0 -3446
  428. package/node_modules/elliptic/node_modules/bn.js/package.json +0 -36
  429. package/node_modules/elliptic/package.json +0 -56
  430. package/node_modules/for-each/.travis.yml +0 -45
  431. package/node_modules/for-each/test/.eslintrc +0 -8
  432. package/node_modules/has-proto/CHANGELOG.md +0 -23
  433. package/node_modules/has-proto/README.md +0 -38
  434. package/node_modules/has-proto/index.js +0 -11
  435. package/node_modules/has-proto/test/index.js +0 -19
  436. package/node_modules/hasown/index.d.ts.map +0 -1
  437. package/node_modules/is-arguments/.eslintignore +0 -1
  438. package/node_modules/is-generator-function/.eslintignore +0 -1
  439. package/node_modules/object-is/.eslintignore +0 -1
  440. package/node_modules/object.assign/test.html +0 -18458
  441. package/node_modules/parse-asn1/node_modules/hash-base/LICENSE +0 -21
  442. package/node_modules/parse-asn1/node_modules/hash-base/README.md +0 -48
  443. package/node_modules/parse-asn1/node_modules/hash-base/index.js +0 -95
  444. package/node_modules/parse-asn1/node_modules/hash-base/package.json +0 -41
  445. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/README.md +0 -0
  446. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/curve/base.js +0 -0
  447. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/curve/edwards.js +0 -0
  448. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/curve/index.js +0 -0
  449. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/curve/mont.js +0 -0
  450. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/curve/short.js +0 -0
  451. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/curves.js +0 -0
  452. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/ec/index.js +0 -0
  453. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/ec/key.js +0 -0
  454. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/ec/signature.js +0 -0
  455. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/eddsa/index.js +0 -0
  456. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/eddsa/key.js +0 -0
  457. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/eddsa/signature.js +0 -0
  458. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/precomputed/secp256k1.js +0 -0
  459. /package/node_modules/{elliptic → @meteorjs/browserify-sign/elliptic}/lib/elliptic/utils.js +0 -0
  460. /package/node_modules/{has-proto → dunder-proto}/.eslintrc +0 -0
@@ -3,25 +3,25 @@
3
3
  // modified from https://github.com/es-shims/es6-shim
4
4
  var objectKeys = require('object-keys');
5
5
  var hasSymbols = require('has-symbols/shams')();
6
- var callBound = require('call-bind/callBound');
7
- var toObject = Object;
6
+ var callBound = require('call-bound');
7
+ var $Object = require('es-object-atoms');
8
8
  var $push = callBound('Array.prototype.push');
9
9
  var $propIsEnumerable = callBound('Object.prototype.propertyIsEnumerable');
10
- var originalGetSymbols = hasSymbols ? Object.getOwnPropertySymbols : null;
10
+ var originalGetSymbols = hasSymbols ? $Object.getOwnPropertySymbols : null;
11
11
 
12
12
  // eslint-disable-next-line no-unused-vars
13
13
  module.exports = function assign(target, source1) {
14
14
  if (target == null) { throw new TypeError('target must be an object'); }
15
- var to = toObject(target); // step 1
15
+ var to = $Object(target); // step 1
16
16
  if (arguments.length === 1) {
17
17
  return to; // step 2
18
18
  }
19
19
  for (var s = 1; s < arguments.length; ++s) {
20
- var from = toObject(arguments[s]); // step 3.a.i
20
+ var from = $Object(arguments[s]); // step 3.a.i
21
21
 
22
22
  // step 3.a.ii:
23
23
  var keys = objectKeys(from);
24
- var getSymbols = hasSymbols && (Object.getOwnPropertySymbols || originalGetSymbols);
24
+ var getSymbols = hasSymbols && ($Object.getOwnPropertySymbols || originalGetSymbols);
25
25
  if (getSymbols) {
26
26
  var syms = getSymbols(from);
27
27
  for (var j = 0; j < syms.length; ++j) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "object.assign",
3
- "version": "4.1.4",
3
+ "version": "4.1.7",
4
4
  "author": "Jordan Harband",
5
5
  "funding": {
6
6
  "url": "https://github.com/sponsors/ljharb"
@@ -12,7 +12,7 @@
12
12
  "prepack": "npmignore --auto --commentLines=autogenerated",
13
13
  "pretest": "npm run lint && es-shim-api --bound",
14
14
  "test": "npm run tests-only && npm run test:ses",
15
- "posttest": "aud --production",
15
+ "posttest": "npx npm@'>=10.2' audit --production",
16
16
  "tests-only": "npm run test:implementation && npm run test:shim",
17
17
  "test:native": "nyc node test/native",
18
18
  "test:shim": "nyc node test/shimmed",
@@ -41,28 +41,28 @@
41
41
  "shim"
42
42
  ],
43
43
  "dependencies": {
44
- "call-bind": "^1.0.2",
45
- "define-properties": "^1.1.4",
46
- "has-symbols": "^1.0.3",
44
+ "call-bind": "^1.0.8",
45
+ "call-bound": "^1.0.3",
46
+ "define-properties": "^1.2.1",
47
+ "es-object-atoms": "^1.0.0",
48
+ "has-symbols": "^1.1.0",
47
49
  "object-keys": "^1.1.1"
48
50
  },
49
51
  "devDependencies": {
50
- "@es-shims/api": "^2.2.3",
51
- "@ljharb/eslint-config": "^21.0.0",
52
- "aud": "^2.0.0",
52
+ "@es-shims/api": "^2.5.1",
53
+ "@ljharb/eslint-config": "^21.1.1",
53
54
  "browserify": "^16.5.2",
54
55
  "eslint": "=8.8.0",
55
56
  "for-each": "^0.3.3",
56
57
  "functions-have-names": "^1.2.3",
57
- "has": "^1.0.3",
58
58
  "has-strict-mode": "^1.0.1",
59
- "is": "^3.3.0",
60
- "mock-property": "^1.0.0",
61
- "npmignore": "^0.3.0",
59
+ "hasown": "^2.0.2",
60
+ "mock-property": "^1.1.0",
61
+ "npmignore": "^0.3.1",
62
62
  "nyc": "^10.3.2",
63
63
  "safe-publish-latest": "^2.0.0",
64
- "ses": "^0.11.1",
65
- "tape": "^5.5.3"
64
+ "ses": "^1.10.0",
65
+ "tape": "^5.9.0"
66
66
  },
67
67
  "testling": {
68
68
  "files": "test/index.js",
@@ -2,7 +2,7 @@
2
2
 
3
3
  var hasSymbols = require('has-symbols/shams')();
4
4
  var forEach = require('for-each');
5
- var has = require('has');
5
+ var hasOwn = require('hasown');
6
6
  var mockProperty = require('mock-property');
7
7
 
8
8
  module.exports = function (assign, t) {
@@ -110,7 +110,7 @@ module.exports = function (assign, t) {
110
110
  var target = {};
111
111
  assign(target, window.location);
112
112
  for (var prop in window.location) {
113
- if (has(window.location, prop)) {
113
+ if (hasOwn(window.location, prop)) {
114
114
  st.deepEqual(target[prop], window.location[prop], prop + ' is copied');
115
115
  }
116
116
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+ }
@@ -0,0 +1,12 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [ljharb]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: npm/possible-typed-array-names
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ custom: # Replace with a single custom sponsorship URL
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.1.0](https://github.com/ljharb/possible-typed-array-names/compare/v1.0.0...v1.1.0) - 2025-02-06
9
+
10
+ ### Commits
11
+
12
+ - [types] use shared tsconfig [`7d3057f`](https://github.com/ljharb/possible-typed-array-names/commit/7d3057f723d221c032951e618f45ad9044cae80d)
13
+ - [actions] split out node 10-20, and 20+ [`3cc8138`](https://github.com/ljharb/possible-typed-array-names/commit/3cc81385d6af59c096475080d76a4c78e6fef664)
14
+ - [actions] remove redundant finisher; use reusable workflows [`b46fe5d`](https://github.com/ljharb/possible-typed-array-names/commit/b46fe5d2d47054922f7be81acc0f3c2b7882ddab)
15
+ - [New] add `Float16Array` [`77df613`](https://github.com/ljharb/possible-typed-array-names/commit/77df61313d3491acfd23da0d4452673cca476644)
16
+ - [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/tape`, `auto-changelog`, `tape` [`85bba2e`](https://github.com/ljharb/possible-typed-array-names/commit/85bba2e359add86b19ef058d4a0560d369bf55a2)
17
+ - [Tests] tiny refactor [`b2ddd5a`](https://github.com/ljharb/possible-typed-array-names/commit/b2ddd5a9bc86b63631d9f2c17f21f0503492dbb3)
18
+ - [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape` [`ed4447f`](https://github.com/ljharb/possible-typed-array-names/commit/ed4447f9ef1ad8657186282140a74ab474240d4e)
19
+ - [Tests] add attw; `postlint` [`b5b808c`](https://github.com/ljharb/possible-typed-array-names/commit/b5b808cebf0bc0bdb8636f4981cc8ffabb58bbbb)
20
+ - [Tests] replace `aud` with `npm audit` [`ce71c4e`](https://github.com/ljharb/possible-typed-array-names/commit/ce71c4e993e03b41034a4ca96fb8531dd8b8cc14)
21
+
22
+ ## v1.0.0 - 2024-02-19
23
+
24
+ ### Commits
25
+
26
+ - Initial implementation, tests, readme, types [`c279f55`](https://github.com/ljharb/possible-typed-array-names/commit/c279f550021896afa50c1169b3111618a96cf898)
27
+ - Initial commit [`0f22bf2`](https://github.com/ljharb/possible-typed-array-names/commit/0f22bf24d16fc8ea29483ed7ed378afb3758a4df)
28
+ - npm init [`25d6cff`](https://github.com/ljharb/possible-typed-array-names/commit/25d6cffe4091921e4e210704dabed37ae3d7b261)
29
+ - Only apps should have lockfiles [`a1bd592`](https://github.com/ljharb/possible-typed-array-names/commit/a1bd592fa037430d401b1d6d26cfea2c2d6789db)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,50 @@
1
+ # possible-typed-array-names <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![License][license-image]][license-url]
6
+ [![Downloads][downloads-image]][downloads-url]
7
+
8
+ [![npm badge][npm-badge-png]][package-url]
9
+
10
+ A simple list of possible Typed Array names.
11
+
12
+ ## Example
13
+
14
+ ```js
15
+ const assert = require('assert');
16
+
17
+ const names = require('possible-typed-array-names');
18
+
19
+ assert(Array.isArray(names));
20
+ assert(names.every(name => (
21
+ typeof name === 'string'
22
+ && ((
23
+ typeof globalThis[name] === 'function'
24
+ && globalThis[name].name === name
25
+ ) || typeof globalThis[name] === 'undefined')
26
+ )));
27
+ ```
28
+
29
+ ## Tests
30
+ Simply clone the repo, `npm install`, and run `npm test`
31
+
32
+ ## Security
33
+
34
+ Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.
35
+
36
+ [package-url]: https://npmjs.org/package/possible-typed-array-names
37
+ [npm-version-svg]: https://versionbadg.es/ljharb/possible-typed-array-names.svg
38
+ [deps-svg]: https://david-dm.org/ljharb/possible-typed-array-names.svg
39
+ [deps-url]: https://david-dm.org/ljharb/possible-typed-array-names
40
+ [dev-deps-svg]: https://david-dm.org/ljharb/possible-typed-array-names/dev-status.svg
41
+ [dev-deps-url]: https://david-dm.org/ljharb/possible-typed-array-names#info=devDependencies
42
+ [npm-badge-png]: https://nodei.co/npm/possible-typed-array-names.png?downloads=true&stars=true
43
+ [license-image]: https://img.shields.io/npm/l/possible-typed-array-names.svg
44
+ [license-url]: LICENSE
45
+ [downloads-image]: https://img.shields.io/npm/dm/possible-typed-array-names.svg
46
+ [downloads-url]: https://npm-stat.com/charts.html?package=possible-typed-array-names
47
+ [codecov-image]: https://codecov.io/gh/ljharb/possible-typed-array-names/branch/main/graphs/badge.svg
48
+ [codecov-url]: https://app.codecov.io/gh/ljharb/possible-typed-array-names/
49
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/possible-typed-array-names
50
+ [actions-url]: https://github.com/ljharb/possible-typed-array-names/actions
@@ -0,0 +1,16 @@
1
+ declare const names: [
2
+ 'Float16Array',
3
+ 'Float32Array',
4
+ 'Float64Array',
5
+ 'Int8Array',
6
+ 'Int16Array',
7
+ 'Int32Array',
8
+ 'Uint8Array',
9
+ 'Uint8ClampedArray',
10
+ 'Uint16Array',
11
+ 'Uint32Array',
12
+ 'BigInt64Array',
13
+ 'BigUint64Array'
14
+ ];
15
+
16
+ export = names;
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ /** @type {import('.')} */
4
+ module.exports = [
5
+ 'Float16Array',
6
+ 'Float32Array',
7
+ 'Float64Array',
8
+ 'Int8Array',
9
+ 'Int16Array',
10
+ 'Int32Array',
11
+ 'Uint8Array',
12
+ 'Uint8ClampedArray',
13
+ 'Uint16Array',
14
+ 'Uint32Array',
15
+ 'BigInt64Array',
16
+ 'BigUint64Array'
17
+ ];
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "possible-typed-array-names",
3
+ "version": "1.1.0",
4
+ "description": "A simple list of possible Typed Array names.",
5
+ "main": "index.js",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./package.json": "./package.json"
9
+ },
10
+ "types": "./index.d.ts",
11
+ "sideEffects": false,
12
+ "scripts": {
13
+ "prepack": "npmignore --auto --commentLines=autogenerated",
14
+ "prepublishOnly": "safe-publish-latest",
15
+ "prepublish": "not-in-publish || npm run prepublishOnly",
16
+ "pretest": "npm run lint",
17
+ "test": "npm run tests-only",
18
+ "tests-only": "nyc tape 'test/**/*.js'",
19
+ "posttest": "npx npm@'>= 10.2' audit --production",
20
+ "prelint": "evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
21
+ "lint": "eslint --ext=js,mjs .",
22
+ "postlint": "tsc && attw -P",
23
+ "version": "auto-changelog && git add CHANGELOG.md",
24
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/ljharb/possible-typed-array-names.git"
29
+ },
30
+ "keywords": [
31
+ "typed",
32
+ "array",
33
+ "typedarray",
34
+ "Float32Array",
35
+ "Float64Array",
36
+ "Int8Array",
37
+ "Int16Array",
38
+ "Int32Array",
39
+ "Uint8Array",
40
+ "Uint8ClampedArray",
41
+ "Uint16Array",
42
+ "Uint32Array",
43
+ "BigInt64Array",
44
+ "BigUint64Array"
45
+ ],
46
+ "author": "Jordan Harband <ljharb@gmail.com>",
47
+ "license": "MIT",
48
+ "bugs": {
49
+ "url": "https://github.com/ljharb/possible-typed-array-names/issues"
50
+ },
51
+ "homepage": "https://github.com/ljharb/possible-typed-array-names#readme",
52
+ "devDependencies": {
53
+ "@arethetypeswrong/cli": "^0.17.3",
54
+ "@ljharb/eslint-config": "^21.1.1",
55
+ "@ljharb/tsconfig": "^0.2.3",
56
+ "@types/tape": "^5.8.1",
57
+ "auto-changelog": "^2.5.0",
58
+ "eclint": "^2.8.1",
59
+ "eslint": "=8.8.0",
60
+ "evalmd": "^0.0.19",
61
+ "in-publish": "^2.0.1",
62
+ "npmignore": "^0.3.1",
63
+ "nyc": "^10.3.2",
64
+ "safe-publish-latest": "^2.0.0",
65
+ "tape": "^5.9.0",
66
+ "typescript": "next"
67
+ },
68
+ "auto-changelog": {
69
+ "output": "CHANGELOG.md",
70
+ "template": "keepachangelog",
71
+ "unreleased": false,
72
+ "commitLimit": false,
73
+ "backfillLimit": false,
74
+ "hideCredit": true
75
+ },
76
+ "publishConfig": {
77
+ "ignore": [
78
+ ".github/workflows"
79
+ ]
80
+ },
81
+ "engines": {
82
+ "node": ">= 0.4"
83
+ }
84
+ }
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+
3
+ var test = require('tape');
4
+
5
+ var names = require('../');
6
+
7
+ test('typed array names', function (t) {
8
+ for (var i = 0; i < names.length; i++) {
9
+ var name = names[i];
10
+
11
+ t.equal(typeof name, 'string', 'is string');
12
+ t.equal(names.indexOf(name), i, 'is unique (from start)');
13
+ t.equal(names.lastIndexOf(name), i, 'is unique (from end)');
14
+
15
+ t.match(typeof global[name], /^(?:function|undefined)$/, 'is a global function, or `undefined`');
16
+ }
17
+
18
+ t.end();
19
+ });
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "@ljharb/tsconfig",
3
+ "compilerOptions": {
4
+ "target": "ESNext",
5
+ },
6
+ "exclude": [
7
+ "coverage",
8
+ ],
9
+ }
@@ -452,16 +452,16 @@
452
452
  var w = this.words[i];
453
453
  var word = (((w << off) | carry) & 0xffffff).toString(16);
454
454
  carry = (w >>> (24 - off)) & 0xffffff;
455
- if (carry !== 0 || i !== this.length - 1) {
456
- out = zeros[6 - word.length] + word + out;
457
- } else {
458
- out = word + out;
459
- }
460
455
  off += 2;
461
456
  if (off >= 26) {
462
457
  off -= 26;
463
458
  i--;
464
459
  }
460
+ if (carry !== 0 || i !== this.length - 1) {
461
+ out = zeros[6 - word.length] + word + out;
462
+ } else {
463
+ out = word + out;
464
+ }
465
465
  }
466
466
  if (carry !== 0) {
467
467
  out = carry.toString(16) + out;
@@ -1921,6 +1921,7 @@
1921
1921
  this.words[i] = carry;
1922
1922
  this.length++;
1923
1923
  }
1924
+ this.length = num === 0 ? 1 : this.length;
1924
1925
 
1925
1926
  return this;
1926
1927
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bn.js",
3
- "version": "4.12.0",
3
+ "version": "4.12.2",
4
4
  "description": "Big number implementation in pure javascript",
5
5
  "main": "lib/bn.js",
6
6
  "scripts": {
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ // NOTE: This could be potentionally used to generate loop-less multiplications
4
+ function genCombMulTo (alen, blen) {
5
+ var len = alen + blen - 1;
6
+ var src = [
7
+ 'var a = self.words;',
8
+ 'var b = num.words;',
9
+ 'var o = out.words;',
10
+ 'var c = 0;',
11
+ 'var lo;',
12
+ 'var mid;',
13
+ 'var hi;'
14
+ ];
15
+ for (var i = 0; i < alen; i++) {
16
+ src.push('var a' + i + ' = a[' + i + '] | 0;');
17
+ src.push('var al' + i + ' = a' + i + ' & 0x1fff;');
18
+ src.push('var ah' + i + ' = a' + i + ' >>> 13;');
19
+ }
20
+ for (i = 0; i < blen; i++) {
21
+ src.push('var b' + i + ' = b[' + i + '] | 0;');
22
+ src.push('var bl' + i + ' = b' + i + ' & 0x1fff;');
23
+ src.push('var bh' + i + ' = b' + i + ' >>> 13;');
24
+ }
25
+ src.push('');
26
+ src.push('out.negative = self.negative ^ num.negative;');
27
+ src.push('out.length = ' + len + ';');
28
+
29
+ for (var k = 0; k < len; k++) {
30
+ var minJ = Math.max(0, k - alen + 1);
31
+ var maxJ = Math.min(k, blen - 1);
32
+
33
+ src.push('\/* k = ' + k + ' *\/');
34
+ src.push('var w' + k + ' = c;');
35
+ src.push('c = 0;');
36
+ for (var j = minJ; j <= maxJ; j++) {
37
+ i = k - j;
38
+
39
+ src.push('lo = Math.imul(al' + i + ', bl' + j + ');');
40
+ src.push('mid = Math.imul(al' + i + ', bh' + j + ');');
41
+ src.push('mid = (mid + Math.imul(ah' + i + ', bl' + j + ')) | 0;');
42
+ src.push('hi = Math.imul(ah' + i + ', bh' + j + ');');
43
+
44
+ src.push('w' + k + ' = (w' + k + ' + lo) | 0;');
45
+ src.push('w' + k + ' = (w' + k + ' + ((mid & 0x1fff) << 13)) | 0;');
46
+ src.push('c = (c + hi) | 0;');
47
+ src.push('c = (c + (mid >>> 13)) | 0;');
48
+ src.push('c = (c + (w' + k + ' >>> 26)) | 0;');
49
+ src.push('w' + k + ' &= 0x3ffffff;');
50
+ }
51
+ }
52
+ // Store in separate step for better memory access
53
+ for (k = 0; k < len; k++) {
54
+ src.push('o[' + k + '] = w' + k + ';');
55
+ }
56
+ src.push('if (c !== 0) {',
57
+ ' o[' + k + '] = c;',
58
+ ' out.length++;',
59
+ '}',
60
+ 'return out;');
61
+
62
+ return src.join('\n');
63
+ }
64
+
65
+ console.log(genCombMulTo(10, 10));
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ function genCombMulTo (alen, blen) {
4
+ var len = alen + blen - 1;
5
+ var src = [
6
+ 'var a = self.words;',
7
+ 'var b = num.words;',
8
+ 'var o = out.words;',
9
+ 'var c = 0;',
10
+ 'var lo;',
11
+ 'var mid;',
12
+ 'var hi;'
13
+ ];
14
+ for (var i = 0; i < alen; i++) {
15
+ src.push('var a' + i + ' = a[' + i + '] | 0;');
16
+ src.push('var al' + i + ' = a' + i + ' & 0x1fff;');
17
+ src.push('var ah' + i + ' = a' + i + ' >>> 13;');
18
+ }
19
+ for (i = 0; i < blen; i++) {
20
+ src.push('var b' + i + ' = b[' + i + '] | 0;');
21
+ src.push('var bl' + i + ' = b' + i + ' & 0x1fff;');
22
+ src.push('var bh' + i + ' = b' + i + ' >>> 13;');
23
+ }
24
+ src.push('');
25
+ src.push('out.negative = self.negative ^ num.negative;');
26
+ src.push('out.length = ' + len + ';');
27
+
28
+ for (var k = 0; k < len; k++) {
29
+ var minJ = Math.max(0, k - alen + 1);
30
+ var maxJ = Math.min(k, blen - 1);
31
+
32
+ src.push('\/* k = ' + k + ' *\/');
33
+ src.push('lo = Math.imul(al' + (k - minJ) + ', bl' + minJ + ');');
34
+ src.push('mid = Math.imul(al' + (k - minJ) + ', bh' + minJ + ');');
35
+ src.push(
36
+ 'mid = (mid + Math.imul(ah' + (k - minJ) + ', bl' + minJ + ')) | 0;');
37
+ src.push('hi = Math.imul(ah' + (k - minJ) + ', bh' + minJ + ');');
38
+
39
+ for (var j = minJ + 1; j <= maxJ; j++) {
40
+ i = k - j;
41
+
42
+ src.push('lo = (lo + Math.imul(al' + i + ', bl' + j + ')) | 0;');
43
+ src.push('mid = (mid + Math.imul(al' + i + ', bh' + j + ')) | 0;');
44
+ src.push('mid = (mid + Math.imul(ah' + i + ', bl' + j + ')) | 0;');
45
+ src.push('hi = (hi + Math.imul(ah' + i + ', bh' + j + ')) | 0;');
46
+ }
47
+
48
+ src.push('var w' + k + ' = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0;');
49
+ src.push('c = (((hi + (mid >>> 13)) | 0) + (w' + k + ' >>> 26)) | 0;');
50
+ src.push('w' + k + ' &= 0x3ffffff;');
51
+ }
52
+ // Store in separate step for better memory access
53
+ for (k = 0; k < len; k++) {
54
+ src.push('o[' + k + '] = w' + k + ';');
55
+ }
56
+ src.push('if (c !== 0) {',
57
+ ' o[' + k + '] = c;',
58
+ ' out.length++;',
59
+ '}',
60
+ 'return out;');
61
+
62
+ return src.join('\n');
63
+ }
64
+
65
+ console.log(genCombMulTo(10, 10));
@@ -13,6 +13,7 @@
13
13
  "func-name-matching": 0,
14
14
  "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
15
15
  "indent": [2, 4],
16
+ "max-lines": 0,
16
17
  "max-lines-per-function": [2, { "max": 150 }],
17
18
  "max-params": [2, 18],
18
19
  "max-statements": [2, 100],
@@ -1,3 +1,25 @@
1
+ ## **6.14.0**
2
+ - [New] `parse`: add `throwOnParameterLimitExceeded` option (#517)
3
+ - [Refactor] `parse`: use `utils.combine` more
4
+ - [patch] `parse`: add explicit `throwOnLimitExceeded` default
5
+ - [actions] use shared action; re-add finishers
6
+ - [meta] Fix changelog formatting bug
7
+ - [Deps] update `side-channel`
8
+ - [Dev Deps] update `es-value-fixtures`, `has-bigints`, `has-proto`, `has-symbols`
9
+ - [Tests] increase coverage
10
+
11
+ ## **6.13.1**
12
+ - [Fix] `stringify`: avoid a crash when a `filter` key is `null`
13
+ - [Fix] `utils.merge`: functions should not be stringified into keys
14
+ - [Fix] `parse`: avoid a crash with interpretNumericEntities: true, comma: true, and iso charset
15
+ - [Fix] `stringify`: ensure a non-string `filter` does not crash
16
+ - [Refactor] use `__proto__` syntax instead of `Object.create` for null objects
17
+ - [Refactor] misc cleanup
18
+ - [Tests] `utils.merge`: add some coverage
19
+ - [Tests] fix a test case
20
+ - [actions] split out node 10-20, and 20+
21
+ - [Dev Deps] update `es-value-fixtures`, `mock-property`, `object-inspect`, `tape`
22
+
1
23
  ## **6.13.0**
2
24
  - [New] `parse`: add `strictDepth` option (#511)
3
25
  - [Tests] use `npm audit` instead of `aud`
@@ -49,7 +49,7 @@ assert.deepEqual(qs.parse('foo[bar]=baz'), {
49
49
  });
50
50
  ```
51
51
 
52
- When using the `plainObjects` option the parsed value is returned as a null object, created via `Object.create(null)` and as such you should be aware that prototype methods will not exist on it and a user may set those names to whatever value they like:
52
+ When using the `plainObjects` option the parsed value is returned as a null object, created via `{ __proto__: null }` and as such you should be aware that prototype methods will not exist on it and a user may set those names to whatever value they like:
53
53
 
54
54
  ```javascript
55
55
  var nullObject = qs.parse('a[hasOwnProperty]=b', { plainObjects: true });
@@ -135,6 +135,18 @@ var limited = qs.parse('a=b&c=d', { parameterLimit: 1 });
135
135
  assert.deepEqual(limited, { a: 'b' });
136
136
  ```
137
137
 
138
+ If you want an error to be thrown whenever the a limit is exceeded (eg, `parameterLimit`, `arrayLimit`), set the `throwOnLimitExceeded` option to `true`. This option will generate a descriptive error if the query string exceeds a configured limit.
139
+ ```javascript
140
+ try {
141
+ qs.parse('a=1&b=2&c=3&d=4', { parameterLimit: 3, throwOnLimitExceeded: true });
142
+ } catch (err) {
143
+ assert(err instanceof Error);
144
+ assert.strictEqual(err.message, 'Parameter limit exceeded. Only 3 parameters allowed.');
145
+ }
146
+ ```
147
+
148
+ When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `parameterLimit` and ignore the rest without throwing an error.
149
+
138
150
  To bypass the leading question mark, use `ignoreQueryPrefix`:
139
151
 
140
152
  ```javascript
@@ -286,6 +298,18 @@ var withArrayLimit = qs.parse('a[1]=b', { arrayLimit: 0 });
286
298
  assert.deepEqual(withArrayLimit, { a: { '1': 'b' } });
287
299
  ```
288
300
 
301
+ If you want to throw an error whenever the array limit is exceeded, set the `throwOnLimitExceeded` option to `true`. This option will generate a descriptive error if the query string exceeds a configured limit.
302
+ ```javascript
303
+ try {
304
+ qs.parse('a[1]=b', { arrayLimit: 0, throwOnLimitExceeded: true });
305
+ } catch (err) {
306
+ assert(err instanceof Error);
307
+ assert.strictEqual(err.message, 'Array limit exceeded. Only 0 elements allowed in an array.');
308
+ }
309
+ ```
310
+
311
+ When `throwOnLimitExceeded` is set to `false` (default), **qs** will parse up to the specified `arrayLimit` and if the limit is exceeded, the array will instead be converted to an object with the index as the key
312
+
289
313
  To disable array parsing entirely, set `parseArrays` to `false`.
290
314
 
291
315
  ```javascript