meteor-node-stubs 1.2.14 → 1.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +29 -4
- package/node_modules/@meteorjs/crypto-browserify/.eslintrc +0 -24
- package/node_modules/@meteorjs/crypto-browserify/.github/FUNDING.yml +0 -12
- package/node_modules/@meteorjs/crypto-browserify/.github/workflows/node-aught.yml +0 -12
- package/node_modules/@meteorjs/crypto-browserify/.github/workflows/node-pretest.yml +0 -9
- package/node_modules/@meteorjs/crypto-browserify/.github/workflows/node-tens.yml +0 -11
- package/node_modules/@meteorjs/crypto-browserify/.github/workflows/rebase.yml +0 -9
- package/node_modules/@meteorjs/crypto-browserify/.github/workflows/require-allow-edits.yml +0 -12
- package/node_modules/@meteorjs/crypto-browserify/.travis.yml +0 -18
- package/node_modules/@meteorjs/crypto-browserify/LICENSE +0 -24
- package/node_modules/@meteorjs/crypto-browserify/README.md +0 -69
- package/node_modules/@meteorjs/crypto-browserify/example/bundle.js +0 -605
- package/node_modules/@meteorjs/crypto-browserify/example/index.html +0 -12
- package/node_modules/@meteorjs/crypto-browserify/example/test.js +0 -6
- package/node_modules/@meteorjs/crypto-browserify/index.js +0 -103
- package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/LICENSE +0 -21
- package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/README.md +0 -48
- package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/index.js +0 -95
- package/node_modules/@meteorjs/crypto-browserify/node_modules/hash-base/package.json +0 -41
- package/node_modules/@meteorjs/crypto-browserify/package.json +0 -62
- package/node_modules/@meteorjs/crypto-browserify/test/aes.js +0 -53
- package/node_modules/@meteorjs/crypto-browserify/test/create-hash.js +0 -51
- package/node_modules/@meteorjs/crypto-browserify/test/create-hmac.js +0 -54
- package/node_modules/@meteorjs/crypto-browserify/test/dh.js +0 -60
- package/node_modules/@meteorjs/crypto-browserify/test/ecdh.js +0 -62
- package/node_modules/@meteorjs/crypto-browserify/test/index.js +0 -22
- package/node_modules/@meteorjs/crypto-browserify/test/node/dh.js +0 -69
- package/node_modules/@meteorjs/crypto-browserify/test/pbkdf2.js +0 -23
- package/node_modules/@meteorjs/crypto-browserify/test/public-encrypt.js +0 -39
- package/node_modules/@meteorjs/crypto-browserify/test/random-bytes.js +0 -65
- package/node_modules/@meteorjs/crypto-browserify/test/random-fill.js +0 -55
- package/node_modules/@meteorjs/crypto-browserify/test/sign.js +0 -61
- package/node_modules/asn1.js/README.md +0 -100
- package/node_modules/asn1.js/lib/asn1/api.js +0 -61
- package/node_modules/asn1.js/lib/asn1/base/buffer.js +0 -116
- package/node_modules/asn1.js/lib/asn1/base/index.js +0 -6
- package/node_modules/asn1.js/lib/asn1/base/node.js +0 -634
- package/node_modules/asn1.js/lib/asn1/base/reporter.js +0 -121
- package/node_modules/asn1.js/lib/asn1/constants/der.js +0 -42
- package/node_modules/asn1.js/lib/asn1/constants/index.js +0 -19
- package/node_modules/asn1.js/lib/asn1/decoders/der.js +0 -324
- package/node_modules/asn1.js/lib/asn1/decoders/index.js +0 -4
- package/node_modules/asn1.js/lib/asn1/decoders/pem.js +0 -49
- package/node_modules/asn1.js/lib/asn1/encoders/der.js +0 -295
- package/node_modules/asn1.js/lib/asn1/encoders/index.js +0 -4
- package/node_modules/asn1.js/lib/asn1/encoders/pem.js +0 -21
- package/node_modules/asn1.js/lib/asn1.js +0 -9
- package/node_modules/asn1.js/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/asn1.js/node_modules/bn.js/README.md +0 -200
- package/node_modules/asn1.js/node_modules/bn.js/lib/bn.js +0 -3446
- package/node_modules/asn1.js/node_modules/bn.js/package.json +0 -36
- package/node_modules/asn1.js/package.json +0 -31
- package/node_modules/assert/LICENSE +0 -18
- package/node_modules/assert/README.md +0 -75
- package/node_modules/assert/build/assert.js +0 -590
- package/node_modules/assert/build/internal/assert/assertion_error.js +0 -445
- package/node_modules/assert/build/internal/errors.js +0 -171
- package/node_modules/assert/build/internal/util/comparisons.js +0 -575
- package/node_modules/assert/package.json +0 -46
- package/node_modules/available-typed-arrays/.eslintignore +0 -1
- package/node_modules/available-typed-arrays/.eslintrc +0 -9
- package/node_modules/available-typed-arrays/.github/FUNDING.yml +0 -12
- package/node_modules/available-typed-arrays/.nycrc +0 -9
- package/node_modules/available-typed-arrays/CHANGELOG.md +0 -79
- package/node_modules/available-typed-arrays/LICENSE +0 -21
- package/node_modules/available-typed-arrays/README.md +0 -52
- package/node_modules/available-typed-arrays/index.js +0 -27
- package/node_modules/available-typed-arrays/package.json +0 -82
- package/node_modules/available-typed-arrays/test/index.js +0 -18
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/base64js.min.js +0 -1
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/base64-js/index.js +0 -150
- package/node_modules/base64-js/package.json +0 -47
- package/node_modules/bn.js/CHANGELOG.md +0 -51
- package/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/bn.js/README.md +0 -208
- package/node_modules/bn.js/lib/bn.js +0 -3547
- package/node_modules/bn.js/package.json +0 -39
- package/node_modules/brorand/.npmignore +0 -2
- package/node_modules/brorand/README.md +0 -26
- package/node_modules/brorand/index.js +0 -65
- package/node_modules/brorand/package.json +0 -31
- package/node_modules/brorand/test/api-test.js +0 -8
- package/node_modules/browserify-aes/.travis.yml +0 -15
- package/node_modules/browserify-aes/LICENSE +0 -21
- package/node_modules/browserify-aes/README.md +0 -19
- package/node_modules/browserify-aes/aes.js +0 -228
- package/node_modules/browserify-aes/authCipher.js +0 -117
- package/node_modules/browserify-aes/browser.js +0 -13
- package/node_modules/browserify-aes/decrypter.js +0 -124
- package/node_modules/browserify-aes/encrypter.js +0 -114
- package/node_modules/browserify-aes/ghash.js +0 -89
- package/node_modules/browserify-aes/incr32.js +0 -15
- package/node_modules/browserify-aes/index.js +0 -7
- package/node_modules/browserify-aes/modes/cbc.js +0 -17
- package/node_modules/browserify-aes/modes/cfb.js +0 -33
- package/node_modules/browserify-aes/modes/cfb1.js +0 -42
- package/node_modules/browserify-aes/modes/cfb8.js +0 -25
- package/node_modules/browserify-aes/modes/ctr.js +0 -30
- package/node_modules/browserify-aes/modes/ecb.js +0 -7
- package/node_modules/browserify-aes/modes/index.js +0 -18
- package/node_modules/browserify-aes/modes/list.json +0 -191
- package/node_modules/browserify-aes/modes/ofb.js +0 -16
- package/node_modules/browserify-aes/package.json +0 -43
- package/node_modules/browserify-aes/streamCipher.js +0 -27
- package/node_modules/browserify-cipher/.travis.yml +0 -14
- package/node_modules/browserify-cipher/LICENSE +0 -21
- package/node_modules/browserify-cipher/README.md +0 -7
- package/node_modules/browserify-cipher/browser.js +0 -67
- package/node_modules/browserify-cipher/index.js +0 -7
- package/node_modules/browserify-cipher/package.json +0 -26
- package/node_modules/browserify-cipher/test.js +0 -55
- package/node_modules/browserify-des/.travis.yml +0 -8
- package/node_modules/browserify-des/index.js +0 -50
- package/node_modules/browserify-des/license +0 -21
- package/node_modules/browserify-des/modes.js +0 -24
- package/node_modules/browserify-des/package.json +0 -30
- package/node_modules/browserify-des/readme.md +0 -6
- package/node_modules/browserify-des/test.js +0 -81
- package/node_modules/browserify-rsa/LICENSE +0 -21
- package/node_modules/browserify-rsa/README.md +0 -17
- package/node_modules/browserify-rsa/index.js +0 -35
- package/node_modules/browserify-rsa/package.json +0 -31
- package/node_modules/browserify-sign/LICENSE +0 -13
- package/node_modules/browserify-sign/README.md +0 -13
- package/node_modules/browserify-sign/algos.js +0 -3
- package/node_modules/browserify-sign/browser/algorithms.json +0 -152
- package/node_modules/browserify-sign/browser/curves.json +0 -8
- package/node_modules/browserify-sign/browser/index.js +0 -92
- package/node_modules/browserify-sign/browser/sign.js +0 -150
- package/node_modules/browserify-sign/browser/verify.js +0 -86
- package/node_modules/browserify-sign/index.js +0 -9
- package/node_modules/browserify-sign/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/browserify-sign/node_modules/bn.js/README.md +0 -214
- package/node_modules/browserify-sign/node_modules/bn.js/lib/bn.js +0 -3547
- package/node_modules/browserify-sign/node_modules/bn.js/package.json +0 -39
- package/node_modules/browserify-sign/node_modules/hash-base/LICENSE +0 -21
- package/node_modules/browserify-sign/node_modules/hash-base/README.md +0 -48
- package/node_modules/browserify-sign/node_modules/hash-base/index.js +0 -138
- package/node_modules/browserify-sign/node_modules/hash-base/package.json +0 -42
- package/node_modules/browserify-sign/node_modules/readable-stream/.travis.yml +0 -34
- package/node_modules/browserify-sign/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/browserify-sign/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/browserify-sign/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/browserify-sign/node_modules/readable-stream/README.md +0 -58
- package/node_modules/browserify-sign/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- package/node_modules/browserify-sign/node_modules/readable-stream/duplex-browser.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/duplex.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js +0 -685
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -78
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -84
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/index.js +0 -62
- package/node_modules/browserify-sign/node_modules/readable-stream/node_modules/safe-buffer/package.json +0 -37
- package/node_modules/browserify-sign/node_modules/readable-stream/package.json +0 -52
- package/node_modules/browserify-sign/node_modules/readable-stream/passthrough.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js +0 -7
- package/node_modules/browserify-sign/node_modules/readable-stream/readable.js +0 -19
- package/node_modules/browserify-sign/node_modules/readable-stream/transform.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/writable-browser.js +0 -1
- package/node_modules/browserify-sign/node_modules/readable-stream/writable.js +0 -8
- package/node_modules/browserify-sign/node_modules/string_decoder/.travis.yml +0 -50
- package/node_modules/browserify-sign/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/browserify-sign/node_modules/string_decoder/README.md +0 -47
- package/node_modules/browserify-sign/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/index.js +0 -62
- package/node_modules/browserify-sign/node_modules/string_decoder/node_modules/safe-buffer/package.json +0 -37
- package/node_modules/browserify-sign/node_modules/string_decoder/package.json +0 -31
- package/node_modules/browserify-sign/package.json +0 -72
- package/node_modules/browserify-zlib/.npmignore +0 -7
- package/node_modules/browserify-zlib/.travis.yml +0 -16
- package/node_modules/browserify-zlib/LICENSE +0 -70
- package/node_modules/browserify-zlib/README.md +0 -24
- package/node_modules/browserify-zlib/karma.conf.js +0 -11
- package/node_modules/browserify-zlib/lib/binding.js +0 -409
- package/node_modules/browserify-zlib/lib/index.js +0 -609
- package/node_modules/browserify-zlib/package.json +0 -64
- package/node_modules/browserify-zlib/src/binding.js +0 -432
- package/node_modules/browserify-zlib/src/index.js +0 -650
- package/node_modules/buffer/AUTHORS.md +0 -70
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -186
- package/node_modules/buffer/index.js +0 -1817
- package/node_modules/buffer/package.json +0 -96
- package/node_modules/buffer-xor/.npmignore +0 -1
- package/node_modules/buffer-xor/.travis.yml +0 -9
- package/node_modules/buffer-xor/LICENSE +0 -21
- package/node_modules/buffer-xor/README.md +0 -41
- package/node_modules/buffer-xor/index.js +0 -10
- package/node_modules/buffer-xor/inline.js +0 -1
- package/node_modules/buffer-xor/inplace.js +0 -9
- package/node_modules/buffer-xor/package.json +0 -37
- package/node_modules/buffer-xor/test/fixtures.json +0 -23
- package/node_modules/buffer-xor/test/index.js +0 -38
- package/node_modules/builtin-status-codes/browser.js +0 -64
- package/node_modules/builtin-status-codes/build.js +0 -8
- package/node_modules/builtin-status-codes/index.js +0 -3
- package/node_modules/builtin-status-codes/license +0 -21
- package/node_modules/builtin-status-codes/package.json +0 -39
- package/node_modules/builtin-status-codes/readme.md +0 -31
- package/node_modules/call-bind/.eslintignore +0 -1
- package/node_modules/call-bind/.eslintrc +0 -16
- package/node_modules/call-bind/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind/.nycrc +0 -9
- package/node_modules/call-bind/CHANGELOG.md +0 -93
- package/node_modules/call-bind/LICENSE +0 -21
- package/node_modules/call-bind/README.md +0 -64
- package/node_modules/call-bind/callBound.js +0 -15
- package/node_modules/call-bind/index.js +0 -35
- package/node_modules/call-bind/package.json +0 -95
- package/node_modules/call-bind/test/callBound.js +0 -54
- package/node_modules/call-bind/test/index.js +0 -80
- package/node_modules/cipher-base/.eslintrc +0 -3
- package/node_modules/cipher-base/.npmignore +0 -1
- package/node_modules/cipher-base/.travis.yml +0 -6
- package/node_modules/cipher-base/LICENSE +0 -21
- package/node_modules/cipher-base/README.md +0 -17
- package/node_modules/cipher-base/index.js +0 -99
- package/node_modules/cipher-base/package.json +0 -32
- package/node_modules/cipher-base/test.js +0 -111
- package/node_modules/console-browserify/.testem.json +0 -14
- package/node_modules/console-browserify/.travis.yml +0 -11
- package/node_modules/console-browserify/CHANGELOG.md +0 -10
- package/node_modules/console-browserify/LICENCE +0 -19
- package/node_modules/console-browserify/README.md +0 -42
- package/node_modules/console-browserify/index.js +0 -87
- package/node_modules/console-browserify/package.json +0 -59
- package/node_modules/console-browserify/test/index.js +0 -67
- package/node_modules/console-browserify/test/static/index.html +0 -12
- package/node_modules/console-browserify/test/static/test-adapter.js +0 -53
- package/node_modules/constants-browserify/README.md +0 -54
- package/node_modules/constants-browserify/build.sh +0 -1
- package/node_modules/constants-browserify/constants.json +0 -209
- package/node_modules/constants-browserify/package.json +0 -34
- package/node_modules/constants-browserify/test.js +0 -18
- package/node_modules/core-util-is/LICENSE +0 -19
- package/node_modules/core-util-is/README.md +0 -3
- package/node_modules/core-util-is/lib/util.js +0 -107
- package/node_modules/core-util-is/package.json +0 -38
- package/node_modules/create-ecdh/.travis.yml +0 -7
- package/node_modules/create-ecdh/LICENSE +0 -21
- package/node_modules/create-ecdh/browser.js +0 -124
- package/node_modules/create-ecdh/index.js +0 -3
- package/node_modules/create-ecdh/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/create-ecdh/node_modules/bn.js/README.md +0 -200
- package/node_modules/create-ecdh/node_modules/bn.js/lib/bn.js +0 -3446
- package/node_modules/create-ecdh/node_modules/bn.js/package.json +0 -36
- package/node_modules/create-ecdh/node_modules/bn.js/util/genCombMulTo.js +0 -65
- package/node_modules/create-ecdh/node_modules/bn.js/util/genCombMulTo10.js +0 -65
- package/node_modules/create-ecdh/package.json +0 -35
- package/node_modules/create-ecdh/readme.md +0 -4
- package/node_modules/create-hash/.travis.yml +0 -17
- package/node_modules/create-hash/LICENSE +0 -21
- package/node_modules/create-hash/README.md +0 -19
- package/node_modules/create-hash/browser.js +0 -30
- package/node_modules/create-hash/index.js +0 -1
- package/node_modules/create-hash/md5.js +0 -5
- package/node_modules/create-hash/package.json +0 -39
- package/node_modules/create-hash/test.js +0 -41
- package/node_modules/create-hmac/LICENSE +0 -21
- package/node_modules/create-hmac/README.md +0 -20
- package/node_modules/create-hmac/browser.js +0 -62
- package/node_modules/create-hmac/index.js +0 -1
- package/node_modules/create-hmac/legacy.js +0 -46
- package/node_modules/create-hmac/package.json +0 -45
- package/node_modules/define-data-property/.eslintrc +0 -24
- package/node_modules/define-data-property/.github/FUNDING.yml +0 -12
- package/node_modules/define-data-property/.nycrc +0 -13
- package/node_modules/define-data-property/CHANGELOG.md +0 -70
- package/node_modules/define-data-property/LICENSE +0 -21
- package/node_modules/define-data-property/README.md +0 -67
- package/node_modules/define-data-property/index.d.ts +0 -12
- package/node_modules/define-data-property/index.js +0 -56
- package/node_modules/define-data-property/package.json +0 -106
- package/node_modules/define-data-property/test/index.js +0 -392
- package/node_modules/define-data-property/tsconfig.json +0 -59
- package/node_modules/define-properties/.editorconfig +0 -13
- package/node_modules/define-properties/.eslintrc +0 -19
- package/node_modules/define-properties/.github/FUNDING.yml +0 -12
- package/node_modules/define-properties/.nycrc +0 -9
- package/node_modules/define-properties/CHANGELOG.md +0 -91
- package/node_modules/define-properties/LICENSE +0 -21
- package/node_modules/define-properties/README.md +0 -84
- package/node_modules/define-properties/index.js +0 -47
- package/node_modules/define-properties/package.json +0 -88
- package/node_modules/des.js/.jscsrc +0 -46
- package/node_modules/des.js/.jshintrc +0 -89
- package/node_modules/des.js/README.md +0 -26
- package/node_modules/des.js/lib/des/cbc.js +0 -65
- package/node_modules/des.js/lib/des/cipher.js +0 -141
- package/node_modules/des.js/lib/des/des.js +0 -142
- package/node_modules/des.js/lib/des/ede.js +0 -54
- package/node_modules/des.js/lib/des/utils.js +0 -256
- package/node_modules/des.js/lib/des.js +0 -7
- package/node_modules/des.js/package.json +0 -34
- package/node_modules/des.js/test/cbc-test.js +0 -73
- package/node_modules/des.js/test/des-test.js +0 -139
- package/node_modules/des.js/test/ede-test.js +0 -73
- package/node_modules/des.js/test/fixtures.js +0 -5
- package/node_modules/des.js/test/utils-test.js +0 -169
- package/node_modules/diffie-hellman/.travis.yml +0 -10
- package/node_modules/diffie-hellman/LICENSE +0 -19
- package/node_modules/diffie-hellman/browser.js +0 -42
- package/node_modules/diffie-hellman/index.js +0 -10
- package/node_modules/diffie-hellman/lib/dh.js +0 -164
- package/node_modules/diffie-hellman/lib/generatePrime.js +0 -105
- package/node_modules/diffie-hellman/lib/primes.json +0 -34
- package/node_modules/diffie-hellman/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/diffie-hellman/node_modules/bn.js/README.md +0 -200
- package/node_modules/diffie-hellman/node_modules/bn.js/lib/bn.js +0 -3446
- package/node_modules/diffie-hellman/node_modules/bn.js/package.json +0 -36
- package/node_modules/diffie-hellman/package.json +0 -35
- package/node_modules/diffie-hellman/readme.md +0 -4
- package/node_modules/domain-browser/.prettierignore +0 -57
- package/node_modules/domain-browser/LICENSE.md +0 -101
- package/node_modules/domain-browser/README.md +0 -126
- package/node_modules/domain-browser/package.json +0 -135
- package/node_modules/domain-browser/source/index.js +0 -66
- package/node_modules/elliptic/README.md +0 -238
- package/node_modules/elliptic/lib/elliptic/curve/base.js +0 -381
- package/node_modules/elliptic/lib/elliptic/curve/edwards.js +0 -435
- package/node_modules/elliptic/lib/elliptic/curve/index.js +0 -8
- package/node_modules/elliptic/lib/elliptic/curve/mont.js +0 -178
- package/node_modules/elliptic/lib/elliptic/curve/short.js +0 -938
- package/node_modules/elliptic/lib/elliptic/curves.js +0 -206
- package/node_modules/elliptic/lib/elliptic/ec/index.js +0 -278
- package/node_modules/elliptic/lib/elliptic/ec/key.js +0 -121
- package/node_modules/elliptic/lib/elliptic/ec/signature.js +0 -176
- package/node_modules/elliptic/lib/elliptic/eddsa/index.js +0 -121
- package/node_modules/elliptic/lib/elliptic/eddsa/key.js +0 -95
- package/node_modules/elliptic/lib/elliptic/eddsa/signature.js +0 -66
- package/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js +0 -780
- package/node_modules/elliptic/lib/elliptic/utils.js +0 -122
- package/node_modules/elliptic/lib/elliptic.js +0 -13
- package/node_modules/elliptic/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/elliptic/node_modules/bn.js/README.md +0 -200
- package/node_modules/elliptic/node_modules/bn.js/lib/bn.js +0 -3446
- package/node_modules/elliptic/node_modules/bn.js/package.json +0 -36
- package/node_modules/elliptic/package.json +0 -56
- package/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/es-define-property/CHANGELOG.md +0 -15
- package/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/es-define-property/README.md +0 -49
- package/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/es-define-property/index.js +0 -16
- package/node_modules/es-define-property/package.json +0 -81
- package/node_modules/es-define-property/test/index.js +0 -55
- package/node_modules/es-define-property/tsconfig.json +0 -50
- package/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/es-errors/README.md +0 -55
- package/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/es-errors/eval.js +0 -4
- package/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/es-errors/index.js +0 -4
- package/node_modules/es-errors/package.json +0 -80
- package/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/es-errors/range.js +0 -4
- package/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/es-errors/ref.js +0 -4
- package/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/es-errors/type.js +0 -4
- package/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/es-errors/uri.js +0 -4
- package/node_modules/events/.airtap.yml +0 -15
- package/node_modules/events/.github/FUNDING.yml +0 -12
- package/node_modules/events/.travis.yml +0 -18
- package/node_modules/events/History.md +0 -118
- package/node_modules/events/LICENSE +0 -22
- package/node_modules/events/Readme.md +0 -50
- package/node_modules/events/events.js +0 -497
- package/node_modules/events/package.json +0 -37
- package/node_modules/events/security.md +0 -10
- package/node_modules/events/tests/add-listeners.js +0 -111
- package/node_modules/events/tests/check-listener-leaks.js +0 -101
- package/node_modules/events/tests/common.js +0 -104
- package/node_modules/events/tests/errors.js +0 -13
- package/node_modules/events/tests/events-list.js +0 -28
- package/node_modules/events/tests/events-once.js +0 -234
- package/node_modules/events/tests/index.js +0 -64
- package/node_modules/events/tests/legacy-compat.js +0 -16
- package/node_modules/events/tests/listener-count.js +0 -37
- package/node_modules/events/tests/listeners-side-effects.js +0 -56
- package/node_modules/events/tests/listeners.js +0 -168
- package/node_modules/events/tests/max-listeners.js +0 -47
- package/node_modules/events/tests/method-names.js +0 -35
- package/node_modules/events/tests/modify-in-emit.js +0 -90
- package/node_modules/events/tests/num-args.js +0 -60
- package/node_modules/events/tests/once.js +0 -83
- package/node_modules/events/tests/prepend.js +0 -31
- package/node_modules/events/tests/remove-all-listeners.js +0 -133
- package/node_modules/events/tests/remove-listeners.js +0 -212
- package/node_modules/events/tests/set-max-listeners-side-effects.js +0 -31
- package/node_modules/events/tests/special-event-names.js +0 -45
- package/node_modules/events/tests/subclass.js +0 -66
- package/node_modules/events/tests/symbols.js +0 -25
- package/node_modules/evp_bytestokey/LICENSE +0 -21
- package/node_modules/evp_bytestokey/README.md +0 -51
- package/node_modules/evp_bytestokey/index.js +0 -45
- package/node_modules/evp_bytestokey/package.json +0 -45
- package/node_modules/for-each/.editorconfig +0 -20
- package/node_modules/for-each/.eslintrc +0 -16
- package/node_modules/for-each/.travis.yml +0 -45
- package/node_modules/for-each/LICENSE +0 -22
- package/node_modules/for-each/README.md +0 -43
- package/node_modules/for-each/index.js +0 -62
- package/node_modules/for-each/package.json +0 -65
- package/node_modules/for-each/test/.eslintrc +0 -8
- package/node_modules/for-each/test/test.js +0 -182
- package/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/function-bind/README.md +0 -46
- package/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/function-bind/index.js +0 -5
- package/node_modules/function-bind/package.json +0 -87
- package/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/get-intrinsic/.eslintrc +0 -38
- package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/get-intrinsic/CHANGELOG.md +0 -143
- package/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/get-intrinsic/index.js +0 -359
- package/node_modules/get-intrinsic/package.json +0 -93
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/gopd/CHANGELOG.md +0 -25
- package/node_modules/gopd/LICENSE +0 -21
- package/node_modules/gopd/README.md +0 -40
- package/node_modules/gopd/index.js +0 -16
- package/node_modules/gopd/package.json +0 -71
- package/node_modules/gopd/test/index.js +0 -35
- package/node_modules/has-property-descriptors/.eslintrc +0 -13
- package/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
- package/node_modules/has-property-descriptors/.nycrc +0 -9
- package/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
- package/node_modules/has-property-descriptors/LICENSE +0 -21
- package/node_modules/has-property-descriptors/README.md +0 -43
- package/node_modules/has-property-descriptors/index.js +0 -22
- package/node_modules/has-property-descriptors/package.json +0 -77
- package/node_modules/has-property-descriptors/test/index.js +0 -57
- package/node_modules/has-proto/.eslintrc +0 -5
- package/node_modules/has-proto/.github/FUNDING.yml +0 -12
- package/node_modules/has-proto/CHANGELOG.md +0 -23
- package/node_modules/has-proto/LICENSE +0 -21
- package/node_modules/has-proto/README.md +0 -38
- package/node_modules/has-proto/index.js +0 -11
- package/node_modules/has-proto/package.json +0 -74
- package/node_modules/has-proto/test/index.js +0 -19
- package/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-symbols/CHANGELOG.md +0 -75
- package/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/has-symbols/README.md +0 -46
- package/node_modules/has-symbols/index.js +0 -13
- package/node_modules/has-symbols/package.json +0 -101
- package/node_modules/has-symbols/shams.js +0 -42
- package/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/has-symbols/test/shams/core-js.js +0 -28
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -28
- package/node_modules/has-symbols/test/tests.js +0 -56
- package/node_modules/has-tostringtag/.eslintrc +0 -11
- package/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/node_modules/has-tostringtag/CHANGELOG.md +0 -20
- package/node_modules/has-tostringtag/LICENSE +0 -21
- package/node_modules/has-tostringtag/README.md +0 -46
- package/node_modules/has-tostringtag/index.js +0 -7
- package/node_modules/has-tostringtag/package.json +0 -84
- package/node_modules/has-tostringtag/shams.js +0 -7
- package/node_modules/has-tostringtag/test/index.js +0 -21
- package/node_modules/has-tostringtag/test/shams/core-js.js +0 -28
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -28
- package/node_modules/has-tostringtag/test/tests.js +0 -14
- package/node_modules/hash-base/LICENSE +0 -21
- package/node_modules/hash-base/README.md +0 -48
- package/node_modules/hash-base/index.js +0 -95
- package/node_modules/hash-base/package.json +0 -42
- package/node_modules/hash.js/.eslintrc.js +0 -41
- package/node_modules/hash.js/.travis.yml +0 -10
- package/node_modules/hash.js/README.md +0 -48
- package/node_modules/hash.js/lib/hash/common.js +0 -92
- package/node_modules/hash.js/lib/hash/hmac.js +0 -47
- package/node_modules/hash.js/lib/hash/ripemd.js +0 -146
- package/node_modules/hash.js/lib/hash/sha/1.js +0 -74
- package/node_modules/hash.js/lib/hash/sha/224.js +0 -30
- package/node_modules/hash.js/lib/hash/sha/256.js +0 -105
- package/node_modules/hash.js/lib/hash/sha/384.js +0 -35
- package/node_modules/hash.js/lib/hash/sha/512.js +0 -330
- package/node_modules/hash.js/lib/hash/sha/common.js +0 -49
- package/node_modules/hash.js/lib/hash/sha.js +0 -7
- package/node_modules/hash.js/lib/hash/utils.js +0 -278
- package/node_modules/hash.js/lib/hash.d.ts +0 -106
- package/node_modules/hash.js/lib/hash.js +0 -15
- package/node_modules/hash.js/package.json +0 -35
- package/node_modules/hash.js/test/hash-test.js +0 -140
- package/node_modules/hash.js/test/hmac-test.js +0 -62
- package/node_modules/hasown/.eslintrc +0 -5
- package/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/hasown/.nycrc +0 -13
- package/node_modules/hasown/CHANGELOG.md +0 -20
- package/node_modules/hasown/LICENSE +0 -21
- package/node_modules/hasown/README.md +0 -40
- package/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/hasown/index.d.ts.map +0 -1
- package/node_modules/hasown/index.js +0 -8
- package/node_modules/hasown/package.json +0 -91
- package/node_modules/hasown/tsconfig.json +0 -49
- package/node_modules/hmac-drbg/.npmignore +0 -2
- package/node_modules/hmac-drbg/.travis.yml +0 -11
- package/node_modules/hmac-drbg/README.md +0 -48
- package/node_modules/hmac-drbg/lib/hmac-drbg.js +0 -113
- package/node_modules/hmac-drbg/package.json +0 -32
- package/node_modules/hmac-drbg/test/drbg-test.js +0 -91
- package/node_modules/hmac-drbg/test/fixtures/hmac-drbg-nist.json +0 -332
- package/node_modules/https-browserify/LICENSE +0 -20
- package/node_modules/https-browserify/index.js +0 -31
- package/node_modules/https-browserify/package.json +0 -28
- package/node_modules/https-browserify/readme.markdown +0 -22
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/ieee754/index.js +0 -85
- package/node_modules/ieee754/package.json +0 -52
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/inherits/inherits.js +0 -9
- package/node_modules/inherits/inherits_browser.js +0 -27
- package/node_modules/inherits/package.json +0 -29
- package/node_modules/is-arguments/.editorconfig +0 -20
- package/node_modules/is-arguments/.eslintignore +0 -1
- package/node_modules/is-arguments/.eslintrc +0 -10
- package/node_modules/is-arguments/.github/FUNDING.yml +0 -12
- package/node_modules/is-arguments/.nycrc +0 -9
- package/node_modules/is-arguments/CHANGELOG.md +0 -179
- package/node_modules/is-arguments/LICENSE +0 -20
- package/node_modules/is-arguments/README.md +0 -47
- package/node_modules/is-arguments/index.js +0 -33
- package/node_modules/is-arguments/package.json +0 -91
- package/node_modules/is-arguments/test/index.js +0 -44
- package/node_modules/is-callable/.editorconfig +0 -31
- package/node_modules/is-callable/.eslintrc +0 -10
- package/node_modules/is-callable/.github/FUNDING.yml +0 -12
- package/node_modules/is-callable/.nycrc +0 -9
- package/node_modules/is-callable/CHANGELOG.md +0 -158
- package/node_modules/is-callable/LICENSE +0 -22
- package/node_modules/is-callable/README.md +0 -83
- package/node_modules/is-callable/index.js +0 -101
- package/node_modules/is-callable/package.json +0 -106
- package/node_modules/is-callable/test/index.js +0 -244
- package/node_modules/is-generator-function/.eslintignore +0 -1
- package/node_modules/is-generator-function/.eslintrc +0 -9
- package/node_modules/is-generator-function/.nvmrc +0 -1
- package/node_modules/is-generator-function/.nycrc +0 -9
- package/node_modules/is-generator-function/CHANGELOG.md +0 -216
- package/node_modules/is-generator-function/LICENSE +0 -20
- package/node_modules/is-generator-function/README.md +0 -40
- package/node_modules/is-generator-function/index.js +0 -38
- package/node_modules/is-generator-function/package.json +0 -87
- package/node_modules/is-generator-function/test/corejs.js +0 -5
- package/node_modules/is-generator-function/test/index.js +0 -83
- package/node_modules/is-generator-function/test/uglified.js +0 -8
- package/node_modules/is-nan/.eslintignore +0 -1
- package/node_modules/is-nan/.eslintrc +0 -5
- package/node_modules/is-nan/.github/FUNDING.yml +0 -12
- package/node_modules/is-nan/.nycrc +0 -13
- package/node_modules/is-nan/CHANGELOG.md +0 -56
- package/node_modules/is-nan/LICENSE +0 -20
- package/node_modules/is-nan/README.md +0 -49
- package/node_modules/is-nan/auto.js +0 -3
- package/node_modules/is-nan/implementation.js +0 -7
- package/node_modules/is-nan/index.js +0 -20
- package/node_modules/is-nan/package.json +0 -77
- package/node_modules/is-nan/polyfill.js +0 -10
- package/node_modules/is-nan/shim.js +0 -16
- package/node_modules/is-nan/test/index.js +0 -11
- package/node_modules/is-nan/test/shimmed.js +0 -30
- package/node_modules/is-nan/test/tests.js +0 -40
- package/node_modules/is-typed-array/.editorconfig +0 -20
- package/node_modules/is-typed-array/.eslintrc +0 -13
- package/node_modules/is-typed-array/.github/FUNDING.yml +0 -12
- package/node_modules/is-typed-array/.nycrc +0 -9
- package/node_modules/is-typed-array/CHANGELOG.md +0 -134
- package/node_modules/is-typed-array/LICENSE +0 -22
- package/node_modules/is-typed-array/README.md +0 -70
- package/node_modules/is-typed-array/index.js +0 -7
- package/node_modules/is-typed-array/package.json +0 -116
- package/node_modules/is-typed-array/test/index.js +0 -103
- package/node_modules/isarray/.npmignore +0 -1
- package/node_modules/isarray/.travis.yml +0 -4
- package/node_modules/isarray/Makefile +0 -6
- package/node_modules/isarray/README.md +0 -60
- package/node_modules/isarray/component.json +0 -19
- package/node_modules/isarray/index.js +0 -5
- package/node_modules/isarray/package.json +0 -45
- package/node_modules/isarray/test.js +0 -20
- package/node_modules/md5.js/LICENSE +0 -21
- package/node_modules/md5.js/README.md +0 -29
- package/node_modules/md5.js/index.js +0 -146
- package/node_modules/md5.js/package.json +0 -38
- package/node_modules/miller-rabin/.npmignore +0 -2
- package/node_modules/miller-rabin/1.js +0 -7
- package/node_modules/miller-rabin/README.md +0 -26
- package/node_modules/miller-rabin/bin/miller-rabin +0 -29
- package/node_modules/miller-rabin/lib/mr.js +0 -115
- package/node_modules/miller-rabin/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/miller-rabin/node_modules/bn.js/README.md +0 -200
- package/node_modules/miller-rabin/node_modules/bn.js/lib/bn.js +0 -3446
- package/node_modules/miller-rabin/node_modules/bn.js/package.json +0 -36
- package/node_modules/miller-rabin/package.json +0 -32
- package/node_modules/miller-rabin/test/api-test.js +0 -18
- package/node_modules/miller-rabin/test.js +0 -25
- package/node_modules/minimalistic-assert/LICENSE +0 -13
- package/node_modules/minimalistic-assert/index.js +0 -11
- package/node_modules/minimalistic-assert/package.json +0 -19
- package/node_modules/minimalistic-assert/readme.md +0 -4
- package/node_modules/minimalistic-crypto-utils/.npmignore +0 -2
- package/node_modules/minimalistic-crypto-utils/.travis.yml +0 -11
- package/node_modules/minimalistic-crypto-utils/README.md +0 -47
- package/node_modules/minimalistic-crypto-utils/lib/utils.js +0 -58
- package/node_modules/minimalistic-crypto-utils/package.json +0 -27
- package/node_modules/minimalistic-crypto-utils/test/utils-test.js +0 -28
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -404
- package/node_modules/object-inspect/LICENSE +0 -21
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/index.js +0 -527
- package/node_modules/object-inspect/package-support.json +0 -20
- package/node_modules/object-inspect/package.json +0 -104
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -17
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -211
- package/node_modules/object-inspect/test-core-js.js +0 -26
- package/node_modules/object-inspect/util.inspect.js +0 -1
- package/node_modules/object-is/.eslintignore +0 -1
- package/node_modules/object-is/.eslintrc +0 -5
- package/node_modules/object-is/.nycrc +0 -13
- package/node_modules/object-is/CHANGELOG.md +0 -150
- package/node_modules/object-is/LICENSE +0 -20
- package/node_modules/object-is/README.md +0 -60
- package/node_modules/object-is/auto.js +0 -3
- package/node_modules/object-is/implementation.js +0 -19
- package/node_modules/object-is/index.js +0 -18
- package/node_modules/object-is/package.json +0 -87
- package/node_modules/object-is/polyfill.js +0 -7
- package/node_modules/object-is/shim.js +0 -14
- package/node_modules/object-is/test/implementation.js +0 -12
- package/node_modules/object-is/test/index.js +0 -12
- package/node_modules/object-is/test/shimmed.js +0 -28
- package/node_modules/object-is/test/tests.js +0 -57
- package/node_modules/object-keys/.editorconfig +0 -13
- package/node_modules/object-keys/.eslintrc +0 -17
- package/node_modules/object-keys/.travis.yml +0 -277
- package/node_modules/object-keys/CHANGELOG.md +0 -232
- package/node_modules/object-keys/LICENSE +0 -21
- package/node_modules/object-keys/README.md +0 -76
- package/node_modules/object-keys/implementation.js +0 -122
- package/node_modules/object-keys/index.js +0 -32
- package/node_modules/object-keys/isArguments.js +0 -17
- package/node_modules/object-keys/package.json +0 -88
- package/node_modules/object-keys/test/index.js +0 -5
- package/node_modules/object.assign/.editorconfig +0 -20
- package/node_modules/object.assign/.eslintrc +0 -28
- package/node_modules/object.assign/.github/FUNDING.yml +0 -12
- package/node_modules/object.assign/.nycrc +0 -9
- package/node_modules/object.assign/CHANGELOG.md +0 -225
- package/node_modules/object.assign/LICENSE +0 -21
- package/node_modules/object.assign/README.md +0 -136
- package/node_modules/object.assign/auto.js +0 -3
- package/node_modules/object.assign/dist/browser.js +0 -944
- package/node_modules/object.assign/hasSymbols.js +0 -43
- package/node_modules/object.assign/implementation.js +0 -46
- package/node_modules/object.assign/index.js +0 -22
- package/node_modules/object.assign/package.json +0 -96
- package/node_modules/object.assign/polyfill.js +0 -55
- package/node_modules/object.assign/shim.js +0 -14
- package/node_modules/object.assign/test/implementation.js +0 -19
- package/node_modules/object.assign/test/index.js +0 -17
- package/node_modules/object.assign/test/native.js +0 -49
- package/node_modules/object.assign/test/ses-compat.js +0 -12
- package/node_modules/object.assign/test/shimmed.js +0 -52
- package/node_modules/object.assign/test/tests.js +0 -232
- package/node_modules/object.assign/test.html +0 -18458
- package/node_modules/os-browserify/.npmignore +0 -14
- package/node_modules/os-browserify/LICENSE +0 -21
- package/node_modules/os-browserify/README.md +0 -5
- package/node_modules/os-browserify/browser.js +0 -49
- package/node_modules/os-browserify/main.js +0 -1
- package/node_modules/os-browserify/package.json +0 -20
- package/node_modules/pako/CHANGELOG.md +0 -164
- package/node_modules/pako/LICENSE +0 -21
- package/node_modules/pako/README.md +0 -191
- package/node_modules/pako/dist/pako.js +0 -6818
- package/node_modules/pako/dist/pako.min.js +0 -1
- package/node_modules/pako/dist/pako_deflate.js +0 -3997
- package/node_modules/pako/dist/pako_deflate.min.js +0 -1
- package/node_modules/pako/dist/pako_inflate.js +0 -3300
- package/node_modules/pako/dist/pako_inflate.min.js +0 -1
- package/node_modules/pako/index.js +0 -14
- package/node_modules/pako/lib/deflate.js +0 -400
- package/node_modules/pako/lib/inflate.js +0 -423
- package/node_modules/pako/lib/utils/common.js +0 -105
- package/node_modules/pako/lib/utils/strings.js +0 -187
- package/node_modules/pako/lib/zlib/README +0 -59
- package/node_modules/pako/lib/zlib/adler32.js +0 -51
- package/node_modules/pako/lib/zlib/constants.js +0 -68
- package/node_modules/pako/lib/zlib/crc32.js +0 -59
- package/node_modules/pako/lib/zlib/deflate.js +0 -1874
- package/node_modules/pako/lib/zlib/gzheader.js +0 -58
- package/node_modules/pako/lib/zlib/inffast.js +0 -345
- package/node_modules/pako/lib/zlib/inflate.js +0 -1556
- package/node_modules/pako/lib/zlib/inftrees.js +0 -343
- package/node_modules/pako/lib/zlib/messages.js +0 -32
- package/node_modules/pako/lib/zlib/trees.js +0 -1222
- package/node_modules/pako/lib/zlib/zstream.js +0 -47
- package/node_modules/pako/package.json +0 -44
- package/node_modules/parse-asn1/.eslintrc +0 -34
- package/node_modules/parse-asn1/.github/FUNDING.yml +0 -12
- package/node_modules/parse-asn1/CHANGELOG.md +0 -188
- package/node_modules/parse-asn1/LICENSE +0 -13
- package/node_modules/parse-asn1/README.md +0 -8
- package/node_modules/parse-asn1/aesid.json +0 -13
- package/node_modules/parse-asn1/asn1.js +0 -123
- package/node_modules/parse-asn1/certificate.js +0 -89
- package/node_modules/parse-asn1/fixProc.js +0 -33
- package/node_modules/parse-asn1/index.js +0 -111
- package/node_modules/parse-asn1/node_modules/hash-base/LICENSE +0 -21
- package/node_modules/parse-asn1/node_modules/hash-base/README.md +0 -48
- package/node_modules/parse-asn1/node_modules/hash-base/index.js +0 -95
- package/node_modules/parse-asn1/node_modules/hash-base/package.json +0 -41
- package/node_modules/parse-asn1/package.json +0 -59
- package/node_modules/path-browserify/.github/FUNDING.yml +0 -12
- package/node_modules/path-browserify/.travis.yml +0 -16
- package/node_modules/path-browserify/CHANGELOG.md +0 -20
- package/node_modules/path-browserify/LICENSE +0 -20
- package/node_modules/path-browserify/README.md +0 -45
- package/node_modules/path-browserify/index.js +0 -529
- package/node_modules/path-browserify/package.json +0 -30
- package/node_modules/path-browserify/security.md +0 -10
- package/node_modules/path-browserify/test/index.js +0 -9
- package/node_modules/path-browserify/test/test-path-basename.js +0 -79
- package/node_modules/path-browserify/test/test-path-dirname.js +0 -58
- package/node_modules/path-browserify/test/test-path-extname.js +0 -96
- package/node_modules/path-browserify/test/test-path-isabsolute.js +0 -33
- package/node_modules/path-browserify/test/test-path-join.js +0 -126
- package/node_modules/path-browserify/test/test-path-parse-format.js +0 -235
- package/node_modules/path-browserify/test/test-path-relative.js +0 -66
- package/node_modules/path-browserify/test/test-path-resolve.js +0 -45
- package/node_modules/path-browserify/test/test-path-zero-length-strings.js +0 -53
- package/node_modules/path-browserify/test/test-path.js +0 -107
- package/node_modules/pbkdf2/LICENSE +0 -21
- package/node_modules/pbkdf2/README.md +0 -30
- package/node_modules/pbkdf2/browser.js +0 -2
- package/node_modules/pbkdf2/index.js +0 -38
- package/node_modules/pbkdf2/lib/async.js +0 -118
- package/node_modules/pbkdf2/lib/default-encoding.js +0 -12
- package/node_modules/pbkdf2/lib/precondition.js +0 -19
- package/node_modules/pbkdf2/lib/sync-browser.js +0 -105
- package/node_modules/pbkdf2/lib/sync.js +0 -52
- package/node_modules/pbkdf2/lib/to-buffer.js +0 -13
- package/node_modules/pbkdf2/package.json +0 -70
- package/node_modules/process/.eslintrc +0 -21
- package/node_modules/process/LICENSE +0 -22
- package/node_modules/process/README.md +0 -26
- package/node_modules/process/browser.js +0 -184
- package/node_modules/process/index.js +0 -2
- package/node_modules/process/package.json +0 -27
- package/node_modules/process/test.js +0 -199
- package/node_modules/process-nextick-args/index.js +0 -45
- package/node_modules/process-nextick-args/license.md +0 -19
- package/node_modules/process-nextick-args/package.json +0 -25
- package/node_modules/process-nextick-args/readme.md +0 -18
- package/node_modules/public-encrypt/.travis.yml +0 -6
- package/node_modules/public-encrypt/LICENSE +0 -19
- package/node_modules/public-encrypt/browser.js +0 -10
- package/node_modules/public-encrypt/index.js +0 -18
- package/node_modules/public-encrypt/mgf.js +0 -19
- package/node_modules/public-encrypt/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/public-encrypt/node_modules/bn.js/README.md +0 -200
- package/node_modules/public-encrypt/node_modules/bn.js/lib/bn.js +0 -3446
- package/node_modules/public-encrypt/node_modules/bn.js/package.json +0 -36
- package/node_modules/public-encrypt/package.json +0 -37
- package/node_modules/public-encrypt/privateDecrypt.js +0 -105
- package/node_modules/public-encrypt/publicEncrypt.js +0 -88
- package/node_modules/public-encrypt/readme.md +0 -8
- package/node_modules/public-encrypt/test/1024.priv +0 -16
- package/node_modules/public-encrypt/test/1024.pub +0 -6
- package/node_modules/public-encrypt/test/ec.pass.priv +0 -7
- package/node_modules/public-encrypt/test/ec.priv +0 -5
- package/node_modules/public-encrypt/test/ec.pub +0 -4
- package/node_modules/public-encrypt/test/index.js +0 -113
- package/node_modules/public-encrypt/test/nodeTests.js +0 -51
- package/node_modules/public-encrypt/test/pass.1024.priv +0 -18
- package/node_modules/public-encrypt/test/pass.1024.pub +0 -6
- package/node_modules/public-encrypt/test/rsa.1024.priv +0 -15
- package/node_modules/public-encrypt/test/rsa.1024.pub +0 -5
- package/node_modules/public-encrypt/test/rsa.2028.priv +0 -27
- package/node_modules/public-encrypt/test/rsa.2028.pub +0 -8
- package/node_modules/public-encrypt/test/rsa.pass.priv +0 -30
- package/node_modules/public-encrypt/test/rsa.pass.pub +0 -9
- package/node_modules/public-encrypt/test/test_cert.pem +0 -20
- package/node_modules/public-encrypt/test/test_key.pem +0 -15
- package/node_modules/public-encrypt/test/test_rsa_privkey.pem +0 -15
- package/node_modules/public-encrypt/test/test_rsa_privkey_encrypted.pem +0 -18
- package/node_modules/public-encrypt/test/test_rsa_pubkey.pem +0 -6
- package/node_modules/public-encrypt/withPublic.js +0 -12
- package/node_modules/public-encrypt/xor.js +0 -8
- package/node_modules/punycode/LICENSE-MIT.txt +0 -20
- package/node_modules/punycode/README.md +0 -176
- package/node_modules/punycode/package.json +0 -60
- package/node_modules/punycode/punycode.js +0 -533
- package/node_modules/qs/.editorconfig +0 -46
- package/node_modules/qs/.eslintrc +0 -38
- package/node_modules/qs/.github/FUNDING.yml +0 -12
- package/node_modules/qs/.nycrc +0 -13
- package/node_modules/qs/CHANGELOG.md +0 -600
- package/node_modules/qs/LICENSE.md +0 -29
- package/node_modules/qs/README.md +0 -709
- package/node_modules/qs/dist/qs.js +0 -90
- package/node_modules/qs/lib/formats.js +0 -23
- package/node_modules/qs/lib/index.js +0 -11
- package/node_modules/qs/lib/parse.js +0 -296
- package/node_modules/qs/lib/stringify.js +0 -351
- package/node_modules/qs/lib/utils.js +0 -265
- package/node_modules/qs/package.json +0 -91
- package/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/node_modules/qs/test/parse.js +0 -1170
- package/node_modules/qs/test/stringify.js +0 -1298
- package/node_modules/qs/test/utils.js +0 -136
- package/node_modules/querystring-es3/.travis.yml +0 -4
- package/node_modules/querystring-es3/History.md +0 -20
- package/node_modules/querystring-es3/License.md +0 -19
- package/node_modules/querystring-es3/Readme.md +0 -15
- package/node_modules/querystring-es3/decode.js +0 -84
- package/node_modules/querystring-es3/encode.js +0 -85
- package/node_modules/querystring-es3/index.js +0 -4
- package/node_modules/querystring-es3/package.json +0 -65
- package/node_modules/querystring-es3/test/common-index.js +0 -3
- package/node_modules/querystring-es3/test/index.js +0 -210
- package/node_modules/querystring-es3/test/tap-index.js +0 -3
- package/node_modules/randombytes/.travis.yml +0 -15
- package/node_modules/randombytes/.zuul.yml +0 -1
- package/node_modules/randombytes/LICENSE +0 -21
- package/node_modules/randombytes/README.md +0 -14
- package/node_modules/randombytes/browser.js +0 -50
- package/node_modules/randombytes/index.js +0 -1
- package/node_modules/randombytes/package.json +0 -36
- package/node_modules/randombytes/test.js +0 -81
- package/node_modules/randomfill/.travis.yml +0 -15
- package/node_modules/randomfill/.zuul.yml +0 -1
- package/node_modules/randomfill/LICENSE +0 -21
- package/node_modules/randomfill/README.md +0 -15
- package/node_modules/randomfill/browser.js +0 -108
- package/node_modules/randomfill/index.js +0 -7
- package/node_modules/randomfill/package.json +0 -37
- package/node_modules/randomfill/test.js +0 -28
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/readable-stream/errors-browser.js +0 -127
- package/node_modules/readable-stream/errors.js +0 -116
- package/node_modules/readable-stream/experimentalWarning.js +0 -17
- package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
- package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
- package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
- package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
- package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
- package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
- package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- package/node_modules/readable-stream/package.json +0 -68
- package/node_modules/readable-stream/readable-browser.js +0 -9
- package/node_modules/readable-stream/readable.js +0 -16
- package/node_modules/ripemd160/CHANGELOG.md +0 -72
- package/node_modules/ripemd160/LICENSE +0 -21
- package/node_modules/ripemd160/README.md +0 -27
- package/node_modules/ripemd160/index.js +0 -163
- package/node_modules/ripemd160/package.json +0 -37
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/set-function-length/.eslintrc +0 -27
- package/node_modules/set-function-length/.github/FUNDING.yml +0 -12
- package/node_modules/set-function-length/.nycrc +0 -13
- package/node_modules/set-function-length/CHANGELOG.md +0 -70
- package/node_modules/set-function-length/LICENSE +0 -21
- package/node_modules/set-function-length/README.md +0 -56
- package/node_modules/set-function-length/env.d.ts +0 -9
- package/node_modules/set-function-length/env.js +0 -25
- package/node_modules/set-function-length/index.d.ts +0 -7
- package/node_modules/set-function-length/index.js +0 -42
- package/node_modules/set-function-length/package.json +0 -102
- package/node_modules/set-function-length/tsconfig.json +0 -9
- package/node_modules/setimmediate/LICENSE.txt +0 -20
- package/node_modules/setimmediate/package.json +0 -30
- package/node_modules/setimmediate/setImmediate.js +0 -186
- package/node_modules/sha.js/.travis.yml +0 -17
- package/node_modules/sha.js/LICENSE +0 -49
- package/node_modules/sha.js/README.md +0 -44
- package/node_modules/sha.js/bin.js +0 -41
- package/node_modules/sha.js/hash.js +0 -81
- package/node_modules/sha.js/index.js +0 -15
- package/node_modules/sha.js/package.json +0 -30
- package/node_modules/sha.js/sha.js +0 -94
- package/node_modules/sha.js/sha1.js +0 -99
- package/node_modules/sha.js/sha224.js +0 -53
- package/node_modules/sha.js/sha256.js +0 -135
- package/node_modules/sha.js/sha384.js +0 -57
- package/node_modules/sha.js/sha512.js +0 -260
- package/node_modules/sha.js/test/hash.js +0 -75
- package/node_modules/sha.js/test/test.js +0 -100
- package/node_modules/sha.js/test/vectors.js +0 -72
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -11
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -95
- package/node_modules/side-channel/LICENSE +0 -21
- package/node_modules/side-channel/README.md +0 -2
- package/node_modules/side-channel/index.d.ts +0 -27
- package/node_modules/side-channel/index.js +0 -129
- package/node_modules/side-channel/package.json +0 -84
- package/node_modules/side-channel/test/index.js +0 -83
- package/node_modules/side-channel/tsconfig.json +0 -50
- package/node_modules/stream-browserify/.airtap.yml +0 -20
- package/node_modules/stream-browserify/.github/FUNDING.yml +0 -12
- package/node_modules/stream-browserify/.travis.yml +0 -24
- package/node_modules/stream-browserify/CHANGELOG.md +0 -8
- package/node_modules/stream-browserify/LICENSE +0 -20
- package/node_modules/stream-browserify/index.js +0 -129
- package/node_modules/stream-browserify/package.json +0 -54
- package/node_modules/stream-browserify/readme.markdown +0 -32
- package/node_modules/stream-browserify/security.md +0 -10
- package/node_modules/stream-browserify/test/buf.js +0 -33
- package/node_modules/stream-browserify/test/index.js +0 -2
- package/node_modules/stream-browserify/test/pipeline.js +0 -38
- package/node_modules/stream-browserify/test/use-stream.js +0 -4
- package/node_modules/stream-http/LICENSE +0 -24
- package/node_modules/stream-http/README.md +0 -134
- package/node_modules/stream-http/index.js +0 -85
- package/node_modules/stream-http/lib/capability.js +0 -59
- package/node_modules/stream-http/lib/request.js +0 -352
- package/node_modules/stream-http/lib/response.js +0 -211
- package/node_modules/stream-http/package.json +0 -47
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/string_decoder/lib/string_decoder.js +0 -296
- package/node_modules/string_decoder/package.json +0 -34
- package/node_modules/timers-browserify/CHANGELOG.md +0 -153
- package/node_modules/timers-browserify/LICENSE.md +0 -46
- package/node_modules/timers-browserify/README.md +0 -40
- package/node_modules/timers-browserify/main.js +0 -63
- package/node_modules/timers-browserify/package.json +0 -53
- package/node_modules/tty-browserify/LICENSE +0 -18
- package/node_modules/tty-browserify/index.js +0 -11
- package/node_modules/tty-browserify/package.json +0 -29
- package/node_modules/tty-browserify/readme.markdown +0 -1
- package/node_modules/url/.eslintignore +0 -1
- package/node_modules/url/.eslintrc +0 -38
- package/node_modules/url/.nycrc +0 -9
- package/node_modules/url/LICENSE +0 -21
- package/node_modules/url/README.md +0 -108
- package/node_modules/url/package.json +0 -42
- package/node_modules/url/test/index.js +0 -2080
- package/node_modules/url/test/mocha.opts +0 -2
- package/node_modules/url/url.js +0 -776
- package/node_modules/util/LICENSE +0 -18
- package/node_modules/util/README.md +0 -48
- package/node_modules/util/package.json +0 -50
- package/node_modules/util/support/isBuffer.js +0 -3
- package/node_modules/util/support/isBufferBrowser.js +0 -6
- package/node_modules/util/support/types.js +0 -334
- package/node_modules/util/util.js +0 -715
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/util-deprecate/browser.js +0 -67
- package/node_modules/util-deprecate/node.js +0 -6
- package/node_modules/util-deprecate/package.json +0 -27
- package/node_modules/vm-browserify/.github/FUNDING.yml +0 -12
- package/node_modules/vm-browserify/.travis.yml +0 -8
- package/node_modules/vm-browserify/CHANGELOG.md +0 -23
- package/node_modules/vm-browserify/LICENSE +0 -18
- package/node_modules/vm-browserify/example/run/bundle.js +0 -160
- package/node_modules/vm-browserify/example/run/entry.js +0 -6
- package/node_modules/vm-browserify/example/run/index.html +0 -8
- package/node_modules/vm-browserify/example/run/server.js +0 -6
- package/node_modules/vm-browserify/index.js +0 -149
- package/node_modules/vm-browserify/package.json +0 -30
- package/node_modules/vm-browserify/readme.markdown +0 -66
- package/node_modules/vm-browserify/security.md +0 -10
- package/node_modules/vm-browserify/test/vm.js +0 -35
- package/node_modules/which-typed-array/.editorconfig +0 -20
- package/node_modules/which-typed-array/.eslintrc +0 -9
- package/node_modules/which-typed-array/.github/FUNDING.yml +0 -12
- package/node_modules/which-typed-array/.nycrc +0 -13
- package/node_modules/which-typed-array/CHANGELOG.md +0 -204
- package/node_modules/which-typed-array/LICENSE +0 -22
- package/node_modules/which-typed-array/README.md +0 -70
- package/node_modules/which-typed-array/index.js +0 -92
- package/node_modules/which-typed-array/package.json +0 -115
- package/node_modules/which-typed-array/test/index.js +0 -99
- package/node_modules/xtend/.jshintrc +0 -30
- package/node_modules/xtend/LICENSE +0 -20
- package/node_modules/xtend/README.md +0 -32
- package/node_modules/xtend/immutable.js +0 -19
- package/node_modules/xtend/mutable.js +0 -17
- package/node_modules/xtend/package.json +0 -55
- package/node_modules/xtend/test.js +0 -103
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# for-each [![build status][1]][2]
|
|
2
|
-
|
|
3
|
-
[![browser support][3]][4]
|
|
4
|
-
|
|
5
|
-
A better forEach.
|
|
6
|
-
|
|
7
|
-
## Example
|
|
8
|
-
|
|
9
|
-
Like `Array.prototype.forEach` but works on objects.
|
|
10
|
-
|
|
11
|
-
```js
|
|
12
|
-
var forEach = require("for-each")
|
|
13
|
-
|
|
14
|
-
forEach({ key: "value" }, function (value, key, object) {
|
|
15
|
-
/* code */
|
|
16
|
-
})
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
As a bonus, it's also a perfectly function shim/polyfill for arrays too!
|
|
20
|
-
|
|
21
|
-
```js
|
|
22
|
-
var forEach = require("for-each")
|
|
23
|
-
|
|
24
|
-
forEach([1, 2, 3], function (value, index, array) {
|
|
25
|
-
/* code */
|
|
26
|
-
})
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Installation
|
|
30
|
-
|
|
31
|
-
`npm install for-each`
|
|
32
|
-
|
|
33
|
-
## Contributors
|
|
34
|
-
|
|
35
|
-
- Raynos
|
|
36
|
-
|
|
37
|
-
## MIT Licenced
|
|
38
|
-
|
|
39
|
-
[1]: https://secure.travis-ci.org/Raynos/for-each.png
|
|
40
|
-
[2]: http://travis-ci.org/Raynos/for-each
|
|
41
|
-
[3]: https://ci.testling.com/Raynos/for-each.png
|
|
42
|
-
[4]: https://ci.testling.com/Raynos/for-each
|
|
43
|
-
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var isCallable = require('is-callable');
|
|
4
|
-
|
|
5
|
-
var toStr = Object.prototype.toString;
|
|
6
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
7
|
-
|
|
8
|
-
var forEachArray = function forEachArray(array, iterator, receiver) {
|
|
9
|
-
for (var i = 0, len = array.length; i < len; i++) {
|
|
10
|
-
if (hasOwnProperty.call(array, i)) {
|
|
11
|
-
if (receiver == null) {
|
|
12
|
-
iterator(array[i], i, array);
|
|
13
|
-
} else {
|
|
14
|
-
iterator.call(receiver, array[i], i, array);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var forEachString = function forEachString(string, iterator, receiver) {
|
|
21
|
-
for (var i = 0, len = string.length; i < len; i++) {
|
|
22
|
-
// no such thing as a sparse string.
|
|
23
|
-
if (receiver == null) {
|
|
24
|
-
iterator(string.charAt(i), i, string);
|
|
25
|
-
} else {
|
|
26
|
-
iterator.call(receiver, string.charAt(i), i, string);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
var forEachObject = function forEachObject(object, iterator, receiver) {
|
|
32
|
-
for (var k in object) {
|
|
33
|
-
if (hasOwnProperty.call(object, k)) {
|
|
34
|
-
if (receiver == null) {
|
|
35
|
-
iterator(object[k], k, object);
|
|
36
|
-
} else {
|
|
37
|
-
iterator.call(receiver, object[k], k, object);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
var forEach = function forEach(list, iterator, thisArg) {
|
|
44
|
-
if (!isCallable(iterator)) {
|
|
45
|
-
throw new TypeError('iterator must be a function');
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
var receiver;
|
|
49
|
-
if (arguments.length >= 3) {
|
|
50
|
-
receiver = thisArg;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
if (toStr.call(list) === '[object Array]') {
|
|
54
|
-
forEachArray(list, iterator, receiver);
|
|
55
|
-
} else if (typeof list === 'string') {
|
|
56
|
-
forEachString(list, iterator, receiver);
|
|
57
|
-
} else {
|
|
58
|
-
forEachObject(list, iterator, receiver);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
module.exports = forEach;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "for-each",
|
|
3
|
-
"version": "0.3.3",
|
|
4
|
-
"description": "A better forEach",
|
|
5
|
-
"keywords": [],
|
|
6
|
-
"author": "Raynos <raynos2@gmail.com>",
|
|
7
|
-
"repository": "git://github.com/Raynos/for-each.git",
|
|
8
|
-
"main": "index",
|
|
9
|
-
"homepage": "https://github.com/Raynos/for-each",
|
|
10
|
-
"contributors": [
|
|
11
|
-
{
|
|
12
|
-
"name": "Jake Verbaten"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "Jordan Harband",
|
|
16
|
-
"url": "https://github.com/ljharb"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://github.com/Raynos/for-each/issues",
|
|
21
|
-
"email": "raynos2@gmail.com"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"is-callable": "^1.1.3"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"@ljharb/eslint-config": "^12.2.1",
|
|
28
|
-
"eslint": "^4.19.1",
|
|
29
|
-
"nsp": "^3.2.1",
|
|
30
|
-
"tape": "^4.9.0"
|
|
31
|
-
},
|
|
32
|
-
"license": "MIT",
|
|
33
|
-
"licenses": [
|
|
34
|
-
{
|
|
35
|
-
"type": "MIT",
|
|
36
|
-
"url": "http://github.com/Raynos/for-each/raw/master/LICENSE"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"scripts": {
|
|
40
|
-
"pretest": "npm run lint",
|
|
41
|
-
"test": "npm run tests-only",
|
|
42
|
-
"tests-only": "node test/test",
|
|
43
|
-
"posttest": "npm run security",
|
|
44
|
-
"lint": "eslint *.js test/*.js",
|
|
45
|
-
"security": "nsp check"
|
|
46
|
-
},
|
|
47
|
-
"testling": {
|
|
48
|
-
"files": "test/test.js",
|
|
49
|
-
"browsers": [
|
|
50
|
-
"iexplore/6.0..latest",
|
|
51
|
-
"firefox/3.0..6.0",
|
|
52
|
-
"firefox/15.0..latest",
|
|
53
|
-
"firefox/nightly",
|
|
54
|
-
"chrome/4.0..10.0",
|
|
55
|
-
"chrome/20.0..latest",
|
|
56
|
-
"chrome/canary",
|
|
57
|
-
"opera/10.0..latest",
|
|
58
|
-
"opera/next",
|
|
59
|
-
"safari/4.0..latest",
|
|
60
|
-
"ipad/6.0..latest",
|
|
61
|
-
"iphone/6.0..latest",
|
|
62
|
-
"android-browser/4.2"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/* globals window */
|
|
4
|
-
|
|
5
|
-
var test = require('tape');
|
|
6
|
-
var forEach = require('../');
|
|
7
|
-
|
|
8
|
-
test('forEach calls each iterator', function (t) {
|
|
9
|
-
var count = 0;
|
|
10
|
-
t.plan(4);
|
|
11
|
-
forEach({ a: 1, b: 2 }, function (value, key) {
|
|
12
|
-
if (count === 0) {
|
|
13
|
-
t.equal(value, 1);
|
|
14
|
-
t.equal(key, 'a');
|
|
15
|
-
} else {
|
|
16
|
-
t.equal(value, 2);
|
|
17
|
-
t.equal(key, 'b');
|
|
18
|
-
}
|
|
19
|
-
count += 1;
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
test('forEach calls iterator with correct this value', function (t) {
|
|
24
|
-
var thisValue = {};
|
|
25
|
-
|
|
26
|
-
t.plan(1);
|
|
27
|
-
|
|
28
|
-
forEach([0], function () {
|
|
29
|
-
t.equal(this, thisValue);
|
|
30
|
-
}, thisValue);
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
test('second argument: iterator', function (t) {
|
|
34
|
-
var arr = [];
|
|
35
|
-
t['throws'](function () { forEach(arr); }, TypeError, 'undefined is not a function');
|
|
36
|
-
t['throws'](function () { forEach(arr, null); }, TypeError, 'null is not a function');
|
|
37
|
-
t['throws'](function () { forEach(arr, ''); }, TypeError, 'string is not a function');
|
|
38
|
-
t['throws'](function () { forEach(arr, /a/); }, TypeError, 'regex is not a function');
|
|
39
|
-
t['throws'](function () { forEach(arr, true); }, TypeError, 'true is not a function');
|
|
40
|
-
t['throws'](function () { forEach(arr, false); }, TypeError, 'false is not a function');
|
|
41
|
-
t['throws'](function () { forEach(arr, NaN); }, TypeError, 'NaN is not a function');
|
|
42
|
-
t['throws'](function () { forEach(arr, 42); }, TypeError, '42 is not a function');
|
|
43
|
-
t.doesNotThrow(function () { forEach(arr, function () {}); }, 'function is a function');
|
|
44
|
-
t.doesNotThrow(function () { forEach(arr, setTimeout); }, 'setTimeout is a function');
|
|
45
|
-
if (typeof window !== 'undefined') {
|
|
46
|
-
t.doesNotThrow(function () { forEach(arr, window.alert); }, 'alert is a function');
|
|
47
|
-
}
|
|
48
|
-
t.end();
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
test('array', function (t) {
|
|
52
|
-
var arr = [1, 2, 3];
|
|
53
|
-
|
|
54
|
-
t.test('iterates over every item', function (st) {
|
|
55
|
-
var index = 0;
|
|
56
|
-
forEach(arr, function () { index += 1; });
|
|
57
|
-
st.equal(index, arr.length, 'iterates ' + arr.length + ' times');
|
|
58
|
-
st.end();
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
t.test('first iterator argument', function (st) {
|
|
62
|
-
var index = 0;
|
|
63
|
-
st.plan(arr.length);
|
|
64
|
-
forEach(arr, function (item) {
|
|
65
|
-
st.equal(arr[index], item, 'item ' + index + ' is passed as first argument');
|
|
66
|
-
index += 1;
|
|
67
|
-
});
|
|
68
|
-
st.end();
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
t.test('second iterator argument', function (st) {
|
|
72
|
-
var counter = 0;
|
|
73
|
-
st.plan(arr.length);
|
|
74
|
-
forEach(arr, function (item, index) {
|
|
75
|
-
st.equal(counter, index, 'index ' + index + ' is passed as second argument');
|
|
76
|
-
counter += 1;
|
|
77
|
-
});
|
|
78
|
-
st.end();
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
t.test('third iterator argument', function (st) {
|
|
82
|
-
st.plan(arr.length);
|
|
83
|
-
forEach(arr, function (item, index, array) {
|
|
84
|
-
st.deepEqual(arr, array, 'array is passed as third argument');
|
|
85
|
-
});
|
|
86
|
-
st.end();
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
t.test('context argument', function (st) {
|
|
90
|
-
var context = {};
|
|
91
|
-
forEach([], function () {
|
|
92
|
-
st.equal(this, context, '"this" is the passed context');
|
|
93
|
-
}, context);
|
|
94
|
-
st.end();
|
|
95
|
-
});
|
|
96
|
-
|
|
97
|
-
t.end();
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
test('object', function (t) {
|
|
101
|
-
var obj = {
|
|
102
|
-
a: 1,
|
|
103
|
-
b: 2,
|
|
104
|
-
c: 3
|
|
105
|
-
};
|
|
106
|
-
var keys = ['a', 'b', 'c'];
|
|
107
|
-
|
|
108
|
-
var F = function F() {
|
|
109
|
-
this.a = 1;
|
|
110
|
-
this.b = 2;
|
|
111
|
-
};
|
|
112
|
-
F.prototype.c = 3;
|
|
113
|
-
var fKeys = ['a', 'b'];
|
|
114
|
-
|
|
115
|
-
t.test('iterates over every object literal key', function (st) {
|
|
116
|
-
var counter = 0;
|
|
117
|
-
forEach(obj, function () { counter += 1; });
|
|
118
|
-
st.equal(counter, keys.length, 'iterated ' + counter + ' times');
|
|
119
|
-
st.end();
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
t.test('iterates only over own keys', function (st) {
|
|
123
|
-
var counter = 0;
|
|
124
|
-
forEach(new F(), function () { counter += 1; });
|
|
125
|
-
st.equal(counter, fKeys.length, 'iterated ' + fKeys.length + ' times');
|
|
126
|
-
st.end();
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
t.test('first iterator argument', function (st) {
|
|
130
|
-
var index = 0;
|
|
131
|
-
st.plan(keys.length);
|
|
132
|
-
forEach(obj, function (item) {
|
|
133
|
-
st.equal(obj[keys[index]], item, 'item at key ' + keys[index] + ' is passed as first argument');
|
|
134
|
-
index += 1;
|
|
135
|
-
});
|
|
136
|
-
st.end();
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
t.test('second iterator argument', function (st) {
|
|
140
|
-
var counter = 0;
|
|
141
|
-
st.plan(keys.length);
|
|
142
|
-
forEach(obj, function (item, key) {
|
|
143
|
-
st.equal(keys[counter], key, 'key ' + key + ' is passed as second argument');
|
|
144
|
-
counter += 1;
|
|
145
|
-
});
|
|
146
|
-
st.end();
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
t.test('third iterator argument', function (st) {
|
|
150
|
-
st.plan(keys.length);
|
|
151
|
-
forEach(obj, function (item, key, object) {
|
|
152
|
-
st.deepEqual(obj, object, 'object is passed as third argument');
|
|
153
|
-
});
|
|
154
|
-
st.end();
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
t.test('context argument', function (st) {
|
|
158
|
-
var context = {};
|
|
159
|
-
forEach({}, function () {
|
|
160
|
-
st.equal(this, context, '"this" is the passed context');
|
|
161
|
-
}, context);
|
|
162
|
-
st.end();
|
|
163
|
-
});
|
|
164
|
-
|
|
165
|
-
t.end();
|
|
166
|
-
});
|
|
167
|
-
|
|
168
|
-
test('string', function (t) {
|
|
169
|
-
var str = 'str';
|
|
170
|
-
t.test('second iterator argument', function (st) {
|
|
171
|
-
var counter = 0;
|
|
172
|
-
st.plan((str.length * 2) + 1);
|
|
173
|
-
forEach(str, function (item, index) {
|
|
174
|
-
st.equal(counter, index, 'index ' + index + ' is passed as second argument');
|
|
175
|
-
st.equal(str.charAt(index), item);
|
|
176
|
-
counter += 1;
|
|
177
|
-
});
|
|
178
|
-
st.equal(counter, str.length, 'iterates ' + str.length + ' times');
|
|
179
|
-
st.end();
|
|
180
|
-
});
|
|
181
|
-
t.end();
|
|
182
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
|
|
4
|
-
"extends": "@ljharb",
|
|
5
|
-
|
|
6
|
-
"rules": {
|
|
7
|
-
"func-name-matching": 0,
|
|
8
|
-
"indent": [2, 4],
|
|
9
|
-
"no-new-func": [1],
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
"overrides": [
|
|
13
|
-
{
|
|
14
|
-
"files": "test/**",
|
|
15
|
-
"rules": {
|
|
16
|
-
"max-lines-per-function": 0,
|
|
17
|
-
"strict": [0]
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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/function-bind
|
|
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 up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
|
@@ -1,136 +0,0 @@
|
|
|
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.2](https://github.com/ljharb/function-bind/compare/v1.1.1...v1.1.2) - 2023-10-12
|
|
9
|
-
|
|
10
|
-
### Merged
|
|
11
|
-
|
|
12
|
-
- Point to the correct file [`#16`](https://github.com/ljharb/function-bind/pull/16)
|
|
13
|
-
|
|
14
|
-
### Commits
|
|
15
|
-
|
|
16
|
-
- [Tests] migrate tests to Github Actions [`4f8b57c`](https://github.com/ljharb/function-bind/commit/4f8b57c02f2011fe9ae353d5e74e8745f0988af8)
|
|
17
|
-
- [Tests] remove `jscs` [`90eb2ed`](https://github.com/ljharb/function-bind/commit/90eb2edbeefd5b76cd6c3a482ea3454db169b31f)
|
|
18
|
-
- [meta] update `.gitignore` [`53fcdc3`](https://github.com/ljharb/function-bind/commit/53fcdc371cd66634d6e9b71c836a50f437e89fed)
|
|
19
|
-
- [Tests] up to `node` `v11.10`, `v10.15`, `v9.11`, `v8.15`, `v6.16`, `v4.9`; use `nvm install-latest-npm`; run audit script in tests [`1fe8f6e`](https://github.com/ljharb/function-bind/commit/1fe8f6e9aed0dfa8d8b3cdbd00c7f5ea0cd2b36e)
|
|
20
|
-
- [meta] add `auto-changelog` [`1921fcb`](https://github.com/ljharb/function-bind/commit/1921fcb5b416b63ffc4acad051b6aad5722f777d)
|
|
21
|
-
- [Robustness] remove runtime dependency on all builtins except `.apply` [`f743e61`](https://github.com/ljharb/function-bind/commit/f743e61aa6bb2360358c04d4884c9db853d118b7)
|
|
22
|
-
- Docs: enable badges; update wording [`503cb12`](https://github.com/ljharb/function-bind/commit/503cb12d998b5f91822776c73332c7adcd6355dd)
|
|
23
|
-
- [readme] update badges [`290c5db`](https://github.com/ljharb/function-bind/commit/290c5dbbbda7264efaeb886552a374b869a4bb48)
|
|
24
|
-
- [Tests] switch to nyc for coverage [`ea360ba`](https://github.com/ljharb/function-bind/commit/ea360ba907fc2601ed18d01a3827fa2d3533cdf8)
|
|
25
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`cae5e9e`](https://github.com/ljharb/function-bind/commit/cae5e9e07a5578dc6df26c03ee22851ce05b943c)
|
|
26
|
-
- [meta] add `funding` field; create FUNDING.yml [`c9f4274`](https://github.com/ljharb/function-bind/commit/c9f4274aa80ea3aae9657a3938fdba41a3b04ca6)
|
|
27
|
-
- [Tests] fix eslint errors from #15 [`f69aaa2`](https://github.com/ljharb/function-bind/commit/f69aaa2beb2fdab4415bfb885760a699d0b9c964)
|
|
28
|
-
- [actions] fix permissions [`99a0cd9`](https://github.com/ljharb/function-bind/commit/99a0cd9f3b5bac223a0d572f081834cd73314be7)
|
|
29
|
-
- [meta] use `npmignore` to autogenerate an npmignore file [`f03b524`](https://github.com/ljharb/function-bind/commit/f03b524ca91f75a109a5d062f029122c86ecd1ae)
|
|
30
|
-
- [Dev Deps] update `@ljharb/eslint‑config`, `eslint`, `tape` [`7af9300`](https://github.com/ljharb/function-bind/commit/7af930023ae2ce7645489532821e4fbbcd7a2280)
|
|
31
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape` [`64a9127`](https://github.com/ljharb/function-bind/commit/64a9127ab0bd331b93d6572eaf6e9971967fc08c)
|
|
32
|
-
- [Tests] use `aud` instead of `npm audit` [`e75069c`](https://github.com/ljharb/function-bind/commit/e75069c50010a8fcce2a9ce2324934c35fdb4386)
|
|
33
|
-
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`d03555c`](https://github.com/ljharb/function-bind/commit/d03555ca59dea3b71ce710045e4303b9e2619e28)
|
|
34
|
-
- [meta] add `safe-publish-latest` [`9c8f809`](https://github.com/ljharb/function-bind/commit/9c8f8092aed027d7e80c94f517aa892385b64f09)
|
|
35
|
-
- [Dev Deps] update `@ljharb/eslint-config`, `tape` [`baf6893`](https://github.com/ljharb/function-bind/commit/baf6893e27f5b59abe88bc1995e6f6ed1e527397)
|
|
36
|
-
- [meta] create SECURITY.md [`4db1779`](https://github.com/ljharb/function-bind/commit/4db17799f1f28ae294cb95e0081ca2b591c3911b)
|
|
37
|
-
- [Tests] add `npm run audit` [`c8b38ec`](https://github.com/ljharb/function-bind/commit/c8b38ec40ed3f85dabdee40ed4148f1748375bc2)
|
|
38
|
-
- Revert "Point to the correct file" [`05cdf0f`](https://github.com/ljharb/function-bind/commit/05cdf0fa205c6a3c5ba40bbedd1dfa9874f915c9)
|
|
39
|
-
|
|
40
|
-
## [v1.1.1](https://github.com/ljharb/function-bind/compare/v1.1.0...v1.1.1) - 2017-08-28
|
|
41
|
-
|
|
42
|
-
### Commits
|
|
43
|
-
|
|
44
|
-
- [Tests] up to `node` `v8`; newer npm breaks on older node; fix scripts [`817f7d2`](https://github.com/ljharb/function-bind/commit/817f7d28470fdbff8ef608d4d565dd4d1430bc5e)
|
|
45
|
-
- [Dev Deps] update `eslint`, `jscs`, `tape`, `@ljharb/eslint-config` [`854288b`](https://github.com/ljharb/function-bind/commit/854288b1b6f5c555f89aceb9eff1152510262084)
|
|
46
|
-
- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`83e639f`](https://github.com/ljharb/function-bind/commit/83e639ff74e6cd6921285bccec22c1bcf72311bd)
|
|
47
|
-
- Only apps should have lockfiles [`5ed97f5`](https://github.com/ljharb/function-bind/commit/5ed97f51235c17774e0832e122abda0f3229c908)
|
|
48
|
-
- Use a SPDX-compliant “license” field. [`5feefea`](https://github.com/ljharb/function-bind/commit/5feefea0dc0193993e83e5df01ded424403a5381)
|
|
49
|
-
|
|
50
|
-
## [v1.1.0](https://github.com/ljharb/function-bind/compare/v1.0.2...v1.1.0) - 2016-02-14
|
|
51
|
-
|
|
52
|
-
### Commits
|
|
53
|
-
|
|
54
|
-
- Update `eslint`, `tape`; use my personal shared `eslint` config [`9c9062a`](https://github.com/ljharb/function-bind/commit/9c9062abbe9dd70b59ea2c3a3c3a81f29b457097)
|
|
55
|
-
- Add `npm run eslint` [`dd96c56`](https://github.com/ljharb/function-bind/commit/dd96c56720034a3c1ffee10b8a59a6f7c53e24ad)
|
|
56
|
-
- [New] return the native `bind` when available. [`82186e0`](https://github.com/ljharb/function-bind/commit/82186e03d73e580f95ff167e03f3582bed90ed72)
|
|
57
|
-
- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`a3dd767`](https://github.com/ljharb/function-bind/commit/a3dd76720c795cb7f4586b0544efabf8aa107b8b)
|
|
58
|
-
- Update `eslint` [`3dae2f7`](https://github.com/ljharb/function-bind/commit/3dae2f7423de30a2d20313ddb1edc19660142fe9)
|
|
59
|
-
- Update `tape`, `covert`, `jscs` [`a181eee`](https://github.com/ljharb/function-bind/commit/a181eee0cfa24eb229c6e843a971f36e060a2f6a)
|
|
60
|
-
- [Tests] up to `node` `v5.6`, `v4.3` [`964929a`](https://github.com/ljharb/function-bind/commit/964929a6a4ddb36fb128de2bcc20af5e4f22e1ed)
|
|
61
|
-
- Test up to `io.js` `v2.1` [`2be7310`](https://github.com/ljharb/function-bind/commit/2be7310f2f74886a7124ca925be411117d41d5ea)
|
|
62
|
-
- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`45f3d68`](https://github.com/ljharb/function-bind/commit/45f3d6865c6ca93726abcef54febe009087af101)
|
|
63
|
-
- [Dev Deps] update `tape`, `jscs` [`6e1340d`](https://github.com/ljharb/function-bind/commit/6e1340d94642deaecad3e717825db641af4f8b1f)
|
|
64
|
-
- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`d9bad2b`](https://github.com/ljharb/function-bind/commit/d9bad2b778b1b3a6dd2876087b88b3acf319f8cc)
|
|
65
|
-
- Update `eslint` [`935590c`](https://github.com/ljharb/function-bind/commit/935590caa024ab356102e4858e8fc315b2ccc446)
|
|
66
|
-
- [Dev Deps] update `jscs`, `eslint`, `@ljharb/eslint-config` [`8c9a1ef`](https://github.com/ljharb/function-bind/commit/8c9a1efd848e5167887aa8501857a0940a480c57)
|
|
67
|
-
- Test on `io.js` `v2.2` [`9a3a38c`](https://github.com/ljharb/function-bind/commit/9a3a38c92013aed6e108666e7bd40969b84ac86e)
|
|
68
|
-
- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`69afc26`](https://github.com/ljharb/function-bind/commit/69afc2617405b147dd2a8d8ae73ca9e9283f18b4)
|
|
69
|
-
- [Dev Deps] Update `tape`, `eslint` [`36c1be0`](https://github.com/ljharb/function-bind/commit/36c1be0ab12b45fe5df6b0fdb01a5d5137fd0115)
|
|
70
|
-
- Update `tape`, `jscs` [`98d8303`](https://github.com/ljharb/function-bind/commit/98d8303cd5ca1c6b8f985469f86b0d44d7d45f6e)
|
|
71
|
-
- Update `jscs` [`9633a4e`](https://github.com/ljharb/function-bind/commit/9633a4e9fbf82051c240855166e468ba8ba0846f)
|
|
72
|
-
- Update `tape`, `jscs` [`c80ef0f`](https://github.com/ljharb/function-bind/commit/c80ef0f46efc9791e76fa50de4414092ac147831)
|
|
73
|
-
- Test up to `io.js` `v3.0` [`7e2c853`](https://github.com/ljharb/function-bind/commit/7e2c8537d52ab9cf5a655755561d8917684c0df4)
|
|
74
|
-
- Test on `io.js` `v2.4` [`5a199a2`](https://github.com/ljharb/function-bind/commit/5a199a27ba46795ba5eaf0845d07d4b8232895c9)
|
|
75
|
-
- Test on `io.js` `v2.3` [`a511b88`](https://github.com/ljharb/function-bind/commit/a511b8896de0bddf3b56862daa416c701f4d0453)
|
|
76
|
-
- Fixing a typo from 822b4e1938db02dc9584aa434fd3a45cb20caf43 [`732d6b6`](https://github.com/ljharb/function-bind/commit/732d6b63a9b33b45230e630dbcac7a10855d3266)
|
|
77
|
-
- Update `jscs` [`da52a48`](https://github.com/ljharb/function-bind/commit/da52a4886c06d6490f46ae30b15e4163ba08905d)
|
|
78
|
-
- Lock covert to v1.0.0. [`d6150fd`](https://github.com/ljharb/function-bind/commit/d6150fda1e6f486718ebdeff823333d9e48e7430)
|
|
79
|
-
|
|
80
|
-
## [v1.0.2](https://github.com/ljharb/function-bind/compare/v1.0.1...v1.0.2) - 2014-10-04
|
|
81
|
-
|
|
82
|
-
## [v1.0.1](https://github.com/ljharb/function-bind/compare/v1.0.0...v1.0.1) - 2014-10-03
|
|
83
|
-
|
|
84
|
-
### Merged
|
|
85
|
-
|
|
86
|
-
- make CI build faster [`#3`](https://github.com/ljharb/function-bind/pull/3)
|
|
87
|
-
|
|
88
|
-
### Commits
|
|
89
|
-
|
|
90
|
-
- Using my standard jscs.json [`d8ee94c`](https://github.com/ljharb/function-bind/commit/d8ee94c993eff0a84cf5744fe6a29627f5cffa1a)
|
|
91
|
-
- Adding `npm run lint` [`7571ab7`](https://github.com/ljharb/function-bind/commit/7571ab7dfdbd99b25a1dbb2d232622bd6f4f9c10)
|
|
92
|
-
- Using consistent indentation [`e91a1b1`](https://github.com/ljharb/function-bind/commit/e91a1b13a61e99ec1e530e299b55508f74218a95)
|
|
93
|
-
- Updating jscs [`7e17892`](https://github.com/ljharb/function-bind/commit/7e1789284bc629bc9c1547a61c9b227bbd8c7a65)
|
|
94
|
-
- Using consistent quotes [`c50b57f`](https://github.com/ljharb/function-bind/commit/c50b57fcd1c5ec38320979c837006069ebe02b77)
|
|
95
|
-
- Adding keywords [`cb94631`](https://github.com/ljharb/function-bind/commit/cb946314eed35f21186a25fb42fc118772f9ee00)
|
|
96
|
-
- Directly export a function expression instead of using a declaration, and relying on hoisting. [`5a33c5f`](https://github.com/ljharb/function-bind/commit/5a33c5f45642de180e0d207110bf7d1843ceb87c)
|
|
97
|
-
- Naming npm URL and badge in README; use SVG [`2aef8fc`](https://github.com/ljharb/function-bind/commit/2aef8fcb79d54e63a58ae557c4e60949e05d5e16)
|
|
98
|
-
- Naming deps URLs in README [`04228d7`](https://github.com/ljharb/function-bind/commit/04228d766670ee45ca24e98345c1f6a7621065b5)
|
|
99
|
-
- Naming travis-ci URLs in README; using SVG [`62c810c`](https://github.com/ljharb/function-bind/commit/62c810c2f54ced956cd4d4ab7b793055addfe36e)
|
|
100
|
-
- Make sure functions are invoked correctly (also passing coverage tests) [`2b289b4`](https://github.com/ljharb/function-bind/commit/2b289b4dfbf037ffcfa4dc95eb540f6165e9e43a)
|
|
101
|
-
- Removing the strict mode pragmas; they make tests fail. [`1aa701d`](https://github.com/ljharb/function-bind/commit/1aa701d199ddc3782476e8f7eef82679be97b845)
|
|
102
|
-
- Adding myself as a contributor [`85fd57b`](https://github.com/ljharb/function-bind/commit/85fd57b0860e5a7af42de9a287f3f265fc6d72fc)
|
|
103
|
-
- Adding strict mode pragmas [`915b08e`](https://github.com/ljharb/function-bind/commit/915b08e084c86a722eafe7245e21db74aa21ca4c)
|
|
104
|
-
- Adding devDeps URLs to README [`4ccc731`](https://github.com/ljharb/function-bind/commit/4ccc73112c1769859e4ca3076caf4086b3cba2cd)
|
|
105
|
-
- Fixing the description. [`a7a472c`](https://github.com/ljharb/function-bind/commit/a7a472cf649af515c635cf560fc478fbe48999c8)
|
|
106
|
-
- Using a function expression instead of a function declaration. [`b5d3e4e`](https://github.com/ljharb/function-bind/commit/b5d3e4ea6aaffc63888953eeb1fbc7ff45f1fa14)
|
|
107
|
-
- Updating tape [`f086be6`](https://github.com/ljharb/function-bind/commit/f086be6029fb56dde61a258c1340600fa174d1e0)
|
|
108
|
-
- Updating jscs [`5f9bdb3`](https://github.com/ljharb/function-bind/commit/5f9bdb375ab13ba48f30852aab94029520c54d71)
|
|
109
|
-
- Updating jscs [`9b409ba`](https://github.com/ljharb/function-bind/commit/9b409ba6118e23395a4e5d83ef39152aab9d3bfc)
|
|
110
|
-
- Run coverage as part of tests. [`8e1b6d4`](https://github.com/ljharb/function-bind/commit/8e1b6d459f047d1bd4fee814e01247c984c80bd0)
|
|
111
|
-
- Run linter as part of tests [`c1ca83f`](https://github.com/ljharb/function-bind/commit/c1ca83f832df94587d09e621beba682fabfaa987)
|
|
112
|
-
- Updating covert [`701e837`](https://github.com/ljharb/function-bind/commit/701e83774b57b4d3ef631e1948143f43a72f4bb9)
|
|
113
|
-
|
|
114
|
-
## [v1.0.0](https://github.com/ljharb/function-bind/compare/v0.2.0...v1.0.0) - 2014-08-09
|
|
115
|
-
|
|
116
|
-
### Commits
|
|
117
|
-
|
|
118
|
-
- Make sure old and unstable nodes don't fail Travis [`27adca3`](https://github.com/ljharb/function-bind/commit/27adca34a4ab6ad67b6dfde43942a1b103ce4d75)
|
|
119
|
-
- Fixing an issue when the bound function is called as a constructor in ES3. [`e20122d`](https://github.com/ljharb/function-bind/commit/e20122d267d92ce553859b280cbbea5d27c07731)
|
|
120
|
-
- Adding `npm run coverage` [`a2e29c4`](https://github.com/ljharb/function-bind/commit/a2e29c4ecaef9e2f6cd1603e868c139073375502)
|
|
121
|
-
- Updating tape [`b741168`](https://github.com/ljharb/function-bind/commit/b741168b12b235b1717ff696087645526b69213c)
|
|
122
|
-
- Upgrading tape [`63631a0`](https://github.com/ljharb/function-bind/commit/63631a04c7fbe97cc2fa61829cc27246d6986f74)
|
|
123
|
-
- Updating tape [`363cb46`](https://github.com/ljharb/function-bind/commit/363cb46dafb23cb3e347729a22f9448051d78464)
|
|
124
|
-
|
|
125
|
-
## v0.2.0 - 2014-03-23
|
|
126
|
-
|
|
127
|
-
### Commits
|
|
128
|
-
|
|
129
|
-
- Updating test coverage to match es5-shim. [`aa94d44`](https://github.com/ljharb/function-bind/commit/aa94d44b8f9d7f69f10e060db7709aa7a694e5d4)
|
|
130
|
-
- initial [`942ee07`](https://github.com/ljharb/function-bind/commit/942ee07e94e542d91798137bc4b80b926137e066)
|
|
131
|
-
- Setting the bound function's length properly. [`079f46a`](https://github.com/ljharb/function-bind/commit/079f46a2d3515b7c0b308c2c13fceb641f97ca25)
|
|
132
|
-
- Ensuring that some older browsers will throw when given a regex. [`36ac55b`](https://github.com/ljharb/function-bind/commit/36ac55b87f460d4330253c92870aa26fbfe8227f)
|
|
133
|
-
- Removing npm scripts that don't have dependencies [`9d2be60`](https://github.com/ljharb/function-bind/commit/9d2be600002cb8bc8606f8f3585ad3e05868c750)
|
|
134
|
-
- Updating tape [`297a4ac`](https://github.com/ljharb/function-bind/commit/297a4acc5464db381940aafb194d1c88f4e678f3)
|
|
135
|
-
- Skipping length tests for now. [`d9891ea`](https://github.com/ljharb/function-bind/commit/d9891ea4d2aaffa69f408339cdd61ff740f70565)
|
|
136
|
-
- don't take my tea [`dccd930`](https://github.com/ljharb/function-bind/commit/dccd930bfd60ea10cb178d28c97550c3bc8c1e07)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2013 Raynos.
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
-
in the Software without restriction, including without limitation the rights
|
|
6
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
-
furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in
|
|
11
|
-
all copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
-
THE SOFTWARE.
|
|
20
|
-
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# function-bind <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
|
2
|
-
|
|
3
|
-
[![github actions][actions-image]][actions-url]
|
|
4
|
-
<!--[![coverage][codecov-image]][codecov-url]-->
|
|
5
|
-
[![dependency status][deps-svg]][deps-url]
|
|
6
|
-
[![dev dependency status][dev-deps-svg]][dev-deps-url]
|
|
7
|
-
[![License][license-image]][license-url]
|
|
8
|
-
[![Downloads][downloads-image]][downloads-url]
|
|
9
|
-
|
|
10
|
-
[![npm badge][npm-badge-png]][package-url]
|
|
11
|
-
|
|
12
|
-
Implementation of function.prototype.bind
|
|
13
|
-
|
|
14
|
-
Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support `Function.prototype.bind`.
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```js
|
|
19
|
-
Function.prototype.bind = require("function-bind")
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Installation
|
|
23
|
-
|
|
24
|
-
`npm install function-bind`
|
|
25
|
-
|
|
26
|
-
## Contributors
|
|
27
|
-
|
|
28
|
-
- Raynos
|
|
29
|
-
|
|
30
|
-
## MIT Licenced
|
|
31
|
-
|
|
32
|
-
[package-url]: https://npmjs.org/package/function-bind
|
|
33
|
-
[npm-version-svg]: https://versionbadg.es/Raynos/function-bind.svg
|
|
34
|
-
[deps-svg]: https://david-dm.org/Raynos/function-bind.svg
|
|
35
|
-
[deps-url]: https://david-dm.org/Raynos/function-bind
|
|
36
|
-
[dev-deps-svg]: https://david-dm.org/Raynos/function-bind/dev-status.svg
|
|
37
|
-
[dev-deps-url]: https://david-dm.org/Raynos/function-bind#info=devDependencies
|
|
38
|
-
[npm-badge-png]: https://nodei.co/npm/function-bind.png?downloads=true&stars=true
|
|
39
|
-
[license-image]: https://img.shields.io/npm/l/function-bind.svg
|
|
40
|
-
[license-url]: LICENSE
|
|
41
|
-
[downloads-image]: https://img.shields.io/npm/dm/function-bind.svg
|
|
42
|
-
[downloads-url]: https://npm-stat.com/charts.html?package=function-bind
|
|
43
|
-
[codecov-image]: https://codecov.io/gh/Raynos/function-bind/branch/main/graphs/badge.svg
|
|
44
|
-
[codecov-url]: https://app.codecov.io/gh/Raynos/function-bind/
|
|
45
|
-
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/Raynos/function-bind
|
|
46
|
-
[actions-url]: https://github.com/Raynos/function-bind/actions
|