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,244 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/* eslint no-magic-numbers: 1 */
|
|
4
|
-
|
|
5
|
-
var test = require('tape');
|
|
6
|
-
var isCallable = require('../');
|
|
7
|
-
var hasToStringTag = require('has-tostringtag/shams')();
|
|
8
|
-
var v = require('es-value-fixtures');
|
|
9
|
-
var forEach = require('for-each');
|
|
10
|
-
var inspect = require('object-inspect');
|
|
11
|
-
var typedArrayNames = require('available-typed-arrays')();
|
|
12
|
-
var generators = require('make-generator-function')();
|
|
13
|
-
var arrows = require('make-arrow-function').list();
|
|
14
|
-
var asyncs = require('make-async-function').list();
|
|
15
|
-
var weirdlyCommentedArrowFn;
|
|
16
|
-
try {
|
|
17
|
-
/* eslint-disable no-new-func */
|
|
18
|
-
weirdlyCommentedArrowFn = Function('return cl/*/**/=>/**/ass - 1;')();
|
|
19
|
-
/* eslint-enable no-new-func */
|
|
20
|
-
} catch (e) { /**/ }
|
|
21
|
-
|
|
22
|
-
var isIE68 = !(0 in [undefined]);
|
|
23
|
-
var isFirefox = typeof window !== 'undefined' && ('netscape' in window) && (/ rv:/).test(navigator.userAgent);
|
|
24
|
-
var fnToStringCoerces;
|
|
25
|
-
try {
|
|
26
|
-
Function.prototype.toString.call(v.uncoercibleFnObject);
|
|
27
|
-
fnToStringCoerces = true;
|
|
28
|
-
} catch (e) {
|
|
29
|
-
fnToStringCoerces = false;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
var noop = function () {};
|
|
33
|
-
var classFake = function classFake() { }; // eslint-disable-line func-name-matching
|
|
34
|
-
var returnClass = function () { return ' class '; };
|
|
35
|
-
var return3 = function () { return 3; };
|
|
36
|
-
/* for coverage */
|
|
37
|
-
noop();
|
|
38
|
-
classFake();
|
|
39
|
-
returnClass();
|
|
40
|
-
return3();
|
|
41
|
-
/* end for coverage */
|
|
42
|
-
|
|
43
|
-
var proxy;
|
|
44
|
-
if (typeof Proxy === 'function') {
|
|
45
|
-
try {
|
|
46
|
-
proxy = new Proxy(function () {}, {});
|
|
47
|
-
// for coverage
|
|
48
|
-
proxy();
|
|
49
|
-
String(proxy);
|
|
50
|
-
} catch (_) {
|
|
51
|
-
// Older engines throw a `TypeError` when `Function.prototype.toString` is called on a Proxy object.
|
|
52
|
-
proxy = null;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
var invokeFunction = function invokeFunctionString(str) {
|
|
57
|
-
var result;
|
|
58
|
-
try {
|
|
59
|
-
/* eslint-disable no-new-func */
|
|
60
|
-
var fn = Function(str);
|
|
61
|
-
/* eslint-enable no-new-func */
|
|
62
|
-
result = fn();
|
|
63
|
-
} catch (e) {}
|
|
64
|
-
return result;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
var classConstructor = invokeFunction('"use strict"; return class Foo {}');
|
|
68
|
-
var hasDetectableClasses = classConstructor && Function.prototype.toString.call(classConstructor) === 'class Foo {}';
|
|
69
|
-
|
|
70
|
-
var commentedClass = invokeFunction('"use strict"; return class/*kkk*/\n//blah\n Bar\n//blah\n {}');
|
|
71
|
-
var commentedClassOneLine = invokeFunction('"use strict"; return class/**/A{}');
|
|
72
|
-
var classAnonymous = invokeFunction('"use strict"; return class{}');
|
|
73
|
-
var classAnonymousCommentedOneLine = invokeFunction('"use strict"; return class/*/*/{}');
|
|
74
|
-
|
|
75
|
-
test('not callables', function (t) {
|
|
76
|
-
t.notOk(isCallable(), 'implicit undefined is not callable');
|
|
77
|
-
|
|
78
|
-
forEach(v.nonFunctions.concat([
|
|
79
|
-
Object(42),
|
|
80
|
-
Object('foo'),
|
|
81
|
-
NaN,
|
|
82
|
-
[],
|
|
83
|
-
/a/g,
|
|
84
|
-
new RegExp('a', 'g'),
|
|
85
|
-
new Date()
|
|
86
|
-
]), function (nonFunction) {
|
|
87
|
-
if (fnToStringCoerces && nonFunction === v.coercibleFnObject) {
|
|
88
|
-
t.comment('FF 3.6 has a Function toString that coerces its receiver, so this test is skipped');
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
if (nonFunction != null) { // eslint-disable-line eqeqeq
|
|
92
|
-
if (isFirefox) {
|
|
93
|
-
// Firefox 3 throws some kind of *object* here instead of a proper error
|
|
94
|
-
t['throws'](
|
|
95
|
-
function () { Function.prototype.toString.call(nonFunction); },
|
|
96
|
-
inspect(nonFunction) + ' can not be used with Function toString'
|
|
97
|
-
);
|
|
98
|
-
} else {
|
|
99
|
-
t['throws'](
|
|
100
|
-
function () { Function.prototype.toString.call(nonFunction); },
|
|
101
|
-
TypeError,
|
|
102
|
-
inspect(nonFunction) + ' can not be used with Function toString'
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
t.equal(isCallable(nonFunction), false, inspect(nonFunction) + ' is not callable');
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
t.test('non-function with function in its [[Prototype]] chain', function (st) {
|
|
110
|
-
var Foo = function Bar() {};
|
|
111
|
-
Foo.prototype = noop;
|
|
112
|
-
st.equal(isCallable(Foo), true, 'sanity check: Foo is callable');
|
|
113
|
-
st.equal(isCallable(new Foo()), false, 'instance of Foo is not callable');
|
|
114
|
-
st.end();
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
t.end();
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
test('@@toStringTag', { skip: !hasToStringTag }, function (t) {
|
|
121
|
-
var fakeFunction = {
|
|
122
|
-
toString: function () { return String(return3); },
|
|
123
|
-
valueOf: return3
|
|
124
|
-
};
|
|
125
|
-
fakeFunction[Symbol.toStringTag] = 'Function';
|
|
126
|
-
t.equal(String(fakeFunction), String(return3));
|
|
127
|
-
t.equal(Number(fakeFunction), return3());
|
|
128
|
-
t.notOk(isCallable(fakeFunction), 'fake Function with @@toStringTag "Function" is not callable');
|
|
129
|
-
t.end();
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
test('Functions', function (t) {
|
|
133
|
-
t.ok(isCallable(noop), 'function is callable');
|
|
134
|
-
t.ok(isCallable(classFake), 'function with name containing "class" is callable');
|
|
135
|
-
t.ok(isCallable(returnClass), 'function with string " class " is callable');
|
|
136
|
-
t.ok(isCallable(isCallable), 'isCallable is callable');
|
|
137
|
-
t.end();
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
test('Typed Arrays', { skip: typedArrayNames.length === 0 }, function (st) {
|
|
141
|
-
forEach(typedArrayNames, function (typedArray) {
|
|
142
|
-
st.ok(isCallable(global[typedArray]), typedArray + ' is callable');
|
|
143
|
-
});
|
|
144
|
-
st.end();
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
test('Generators', { skip: generators.length === 0 }, function (t) {
|
|
148
|
-
forEach(generators, function (genFn) {
|
|
149
|
-
t.ok(isCallable(genFn), 'generator function ' + genFn + ' is callable');
|
|
150
|
-
});
|
|
151
|
-
t.end();
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
test('Arrow functions', { skip: arrows.length === 0 }, function (t) {
|
|
155
|
-
forEach(arrows, function (arrowFn) {
|
|
156
|
-
t.ok(isCallable(arrowFn), 'arrow function ' + arrowFn + ' is callable');
|
|
157
|
-
});
|
|
158
|
-
t.ok(isCallable(weirdlyCommentedArrowFn), 'weirdly commented arrow functions are callable');
|
|
159
|
-
t.end();
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
test('"Class" constructors', {
|
|
163
|
-
skip: !classConstructor || !commentedClass || !commentedClassOneLine || !classAnonymous, todo: !hasDetectableClasses
|
|
164
|
-
}, function (t) {
|
|
165
|
-
if (!hasDetectableClasses) {
|
|
166
|
-
t.comment('WARNING: This engine does not support detectable classes');
|
|
167
|
-
}
|
|
168
|
-
t.notOk(isCallable(classConstructor), 'class constructors are not callable');
|
|
169
|
-
t.notOk(isCallable(commentedClass), 'class constructors with comments in the signature are not callable');
|
|
170
|
-
t.notOk(isCallable(commentedClassOneLine), 'one-line class constructors with comments in the signature are not callable');
|
|
171
|
-
t.notOk(isCallable(classAnonymous), 'anonymous class constructors are not callable');
|
|
172
|
-
t.notOk(isCallable(classAnonymousCommentedOneLine), 'anonymous one-line class constructors with comments in the signature are not callable');
|
|
173
|
-
t.end();
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
test('`async function`s', { skip: asyncs.length === 0 }, function (t) {
|
|
177
|
-
forEach(asyncs, function (asyncFn) {
|
|
178
|
-
t.ok(isCallable(asyncFn), '`async function` ' + asyncFn + ' is callable');
|
|
179
|
-
});
|
|
180
|
-
t.end();
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
test('proxies of functions', { skip: !proxy }, function (t) {
|
|
184
|
-
t.equal(isCallable(proxy), true, 'proxies of functions are callable');
|
|
185
|
-
t.end();
|
|
186
|
-
});
|
|
187
|
-
|
|
188
|
-
test('throwing functions', function (t) {
|
|
189
|
-
t.plan(1);
|
|
190
|
-
|
|
191
|
-
var thrower = function (a) { return a.b; };
|
|
192
|
-
t.ok(isCallable(thrower), 'a function that throws is callable');
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
test('DOM', function (t) {
|
|
196
|
-
/* eslint-env browser */
|
|
197
|
-
|
|
198
|
-
t.test('document.all', { skip: typeof document !== 'object' }, function (st) {
|
|
199
|
-
st.notOk(isCallable(document), 'document is not callable');
|
|
200
|
-
|
|
201
|
-
var all = document.all;
|
|
202
|
-
var isFF3 = !isIE68 && Object.prototype.toString(all) === Object.prototype.toString.call(document.all); // this test is true in IE 6-8 also
|
|
203
|
-
var expected = false;
|
|
204
|
-
if (!isFF3) {
|
|
205
|
-
try {
|
|
206
|
-
expected = document.all('') == null; // eslint-disable-line eqeqeq
|
|
207
|
-
} catch (e) { /**/ }
|
|
208
|
-
}
|
|
209
|
-
st.equal(isCallable(document.all), expected, 'document.all is ' + (isFF3 ? 'not ' : '') + 'callable');
|
|
210
|
-
|
|
211
|
-
st.end();
|
|
212
|
-
});
|
|
213
|
-
|
|
214
|
-
forEach([
|
|
215
|
-
'HTMLElement',
|
|
216
|
-
'HTMLAnchorElement'
|
|
217
|
-
], function (name) {
|
|
218
|
-
var constructor = global[name];
|
|
219
|
-
|
|
220
|
-
t.test(name, { skip: !constructor }, function (st) {
|
|
221
|
-
st.match(typeof constructor, /^(?:function|object)$/, name + ' is a function or object');
|
|
222
|
-
|
|
223
|
-
var callable = isCallable(constructor);
|
|
224
|
-
st.equal(typeof callable, 'boolean');
|
|
225
|
-
|
|
226
|
-
if (callable) {
|
|
227
|
-
st.doesNotThrow(
|
|
228
|
-
function () { Function.prototype.toString.call(constructor); },
|
|
229
|
-
'anything this library claims is callable should be accepted by Function toString'
|
|
230
|
-
);
|
|
231
|
-
} else {
|
|
232
|
-
st['throws'](
|
|
233
|
-
function () { Function.prototype.toString.call(constructor); },
|
|
234
|
-
TypeError,
|
|
235
|
-
'anything this library claims is not callable should not be accepted by Function toString'
|
|
236
|
-
);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
st.end();
|
|
240
|
-
});
|
|
241
|
-
});
|
|
242
|
-
|
|
243
|
-
t.end();
|
|
244
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
coverage/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
node
|
|
@@ -1,216 +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.0.10](https://github.com/inspect-js/is-generator-function/compare/v1.0.9...v1.0.10) - 2021-08-05
|
|
9
|
-
|
|
10
|
-
### Commits
|
|
11
|
-
|
|
12
|
-
- [Dev Deps] update `eslint`, `auto-changelog`, `core-js`, `tape` [`63cd935`](https://github.com/inspect-js/is-generator-function/commit/63cd9353eead5ad5eb8cf581fc4129841641bb43)
|
|
13
|
-
- [Fix] use `has-tostringtag` to behave correctly in the presence of symbol shams [`8c3fe76`](https://github.com/inspect-js/is-generator-function/commit/8c3fe76b546fbc5085381df65800e4fc67e25ede)
|
|
14
|
-
- [Dev Deps] unpin `core-js` v3 [`ebf2885`](https://github.com/inspect-js/is-generator-function/commit/ebf2885bc202b59f37e074f28951639873c6f38e)
|
|
15
|
-
|
|
16
|
-
## [v1.0.9](https://github.com/inspect-js/is-generator-function/compare/v1.0.8...v1.0.9) - 2021-05-05
|
|
17
|
-
|
|
18
|
-
### Fixed
|
|
19
|
-
|
|
20
|
-
- [Fix] avoid calling `Function` until absolutely necessary [`#41`](https://github.com/inspect-js/is-generator-function/issues/41)
|
|
21
|
-
|
|
22
|
-
### Commits
|
|
23
|
-
|
|
24
|
-
- [actions] use `node/install` instead of `node/run`; use `codecov` action [`612862b`](https://github.com/inspect-js/is-generator-function/commit/612862b5fefc2dc1c7e1f5e7478563a5b53f7b23)
|
|
25
|
-
- [meta] do not publish github action workflow files [`c13855d`](https://github.com/inspect-js/is-generator-function/commit/c13855dc11947589ed7314840a9cc5ae04db90f4)
|
|
26
|
-
- [readme] fix repo URLs; remove travis badge [`bd11a2a`](https://github.com/inspect-js/is-generator-function/commit/bd11a2af1b644cfa352346dcbf6f4cec48b00b78)
|
|
27
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`23f54d4`](https://github.com/inspect-js/is-generator-function/commit/23f54d49da035c1ca79227faee9bacfde2d46884)
|
|
28
|
-
- [readme] add actions and codecov badges [`9e759ef`](https://github.com/inspect-js/is-generator-function/commit/9e759ef8e8f098fe1fa3cd9cca98f79f9e8b8b22)
|
|
29
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`6305f8d`](https://github.com/inspect-js/is-generator-function/commit/6305f8d71ccfa4656bdd280c2616e88fc5ca184b)
|
|
30
|
-
- [meta] remove explicit audit level config [`db4391c`](https://github.com/inspect-js/is-generator-function/commit/db4391c68cf8162245d32734685be7c73c2f03c7)
|
|
31
|
-
- [meta] use `prepublishOnly` script for npm 7+ [`82c5b18`](https://github.com/inspect-js/is-generator-function/commit/82c5b183a605f1d25af15ec8242c8a8f88a26bfa)
|
|
32
|
-
- [Dev Deps] pin `core-js` v3 to < v3.9 [`5f6cc2a`](https://github.com/inspect-js/is-generator-function/commit/5f6cc2ac94a65d7d592775bac6dce573220ccea2)
|
|
33
|
-
- [Tests] avoid running harmony tests on node 16+ [`c41526b`](https://github.com/inspect-js/is-generator-function/commit/c41526b8cd1d376f9ca73b56a5ee076db0f9f1c1)
|
|
34
|
-
- [actions] update workflows [`a348c5d`](https://github.com/inspect-js/is-generator-function/commit/a348c5d6d4b06041ae0ece9f3765dc13ec9df354)
|
|
35
|
-
|
|
36
|
-
## [v1.0.8](https://github.com/inspect-js/is-generator-function/compare/v1.0.7...v1.0.8) - 2020-12-02
|
|
37
|
-
|
|
38
|
-
### Fixed
|
|
39
|
-
|
|
40
|
-
- [Refactor] improve performance in non-toStringTag envs [`#9`](https://github.com/inspect-js/is-generator-function/issues/9)
|
|
41
|
-
|
|
42
|
-
### Commits
|
|
43
|
-
|
|
44
|
-
- [Tests] use shared travis-ci configs [`98c84ec`](https://github.com/inspect-js/is-generator-function/commit/98c84ecd38d7d64b2aa070fa2c240be4373be131)
|
|
45
|
-
- [Tests] migrate tests to Github Actions [`52ea2e2`](https://github.com/inspect-js/is-generator-function/commit/52ea2e2e14da2278c7844a18af4aaef1cc8bb3bb)
|
|
46
|
-
- [meta] add `auto-changelog` [`a31c8d9`](https://github.com/inspect-js/is-generator-function/commit/a31c8d9e8fe4f397e1f8da5b1297050542cd00c3)
|
|
47
|
-
- [Tests] remove `jscs` [`c30694e`](https://github.com/inspect-js/is-generator-function/commit/c30694e5e1739a37c455b8bfae4cc7c4347292de)
|
|
48
|
-
- [meta] remove unused Makefile and associated utilities [`23a8dd7`](https://github.com/inspect-js/is-generator-function/commit/23a8dd75ea554642aadb1313c1cbbd11fe69eb1d)
|
|
49
|
-
- [Tests] up to `node` `v11.4`, `v10.14`, `v8.14`, `v6.15` [`9711495`](https://github.com/inspect-js/is-generator-function/commit/9711495e58fa9477167d7dbc582749981c3f5ee5)
|
|
50
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `make-generator-function`; add `safe-publish-latest` [`3afb4d0`](https://github.com/inspect-js/is-generator-function/commit/3afb4d033587eeddfd2dc840ff98c10f3abea48e)
|
|
51
|
-
- [Tests] up to `node` `v10.0`, `v9.11`, `v8.11`, `v6.14`, `v4.9` [`f1e9b0f`](https://github.com/inspect-js/is-generator-function/commit/f1e9b0f150e77357ecd4afac5873a3bd3ada7b02)
|
|
52
|
-
- [Tests] up to `node` `v11.13`, `v10.15`, `v8.15`, `v6.17` [`433ca64`](https://github.com/inspect-js/is-generator-function/commit/433ca64d5500371516598bebb19fc00370e7c9c7)
|
|
53
|
-
- [Tests] run `nyc` on all tests [`84d8e18`](https://github.com/inspect-js/is-generator-function/commit/84d8e18c441c4c181e51a339559040f95adc4d94)
|
|
54
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`ec51a9f`](https://github.com/inspect-js/is-generator-function/commit/ec51a9f2e6f5da5ae5e8b446e0112eeaa0853954)
|
|
55
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `replace`, `semver`, `tape` [`180fb0d`](https://github.com/inspect-js/is-generator-function/commit/180fb0dbd1a9d6975344d2deb4338c9071e865b1)
|
|
56
|
-
- [actions] add automatic rebasing / merge commit blocking [`7e0f94b`](https://github.com/inspect-js/is-generator-function/commit/7e0f94b055308abc8469e526980991a12a87cfaf)
|
|
57
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `covert`, `tape`, `replace`, `semver`, `core-js` [`75768b3`](https://github.com/inspect-js/is-generator-function/commit/75768b30b7d4c92231ed53ec72d2f4ae81274d4c)
|
|
58
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `replace`, `semver`, `tape` [`d6413cd`](https://github.com/inspect-js/is-generator-function/commit/d6413cd0bfc27c924619200efe39d9956d6fb638)
|
|
59
|
-
- [actions] add "Allow Edits" workflow [`e73fec7`](https://github.com/inspect-js/is-generator-function/commit/e73fec71e5d1c99246a6f905091e133860931245)
|
|
60
|
-
- [Dev Deps] update `core-js`, `eslint`, `nsp`, `semver`, `tape` [`6746c73`](https://github.com/inspect-js/is-generator-function/commit/6746c733fa535f724700726356a9156d491b54ae)
|
|
61
|
-
- [Tests] switch from `nsp` to `npm audit`; allow it to fail for now [`301aa25`](https://github.com/inspect-js/is-generator-function/commit/301aa2557b4b99962a0e48191c4719c5a95eb69b)
|
|
62
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog` [`d978937`](https://github.com/inspect-js/is-generator-function/commit/d978937e3c86b3e239e0ceecc2324134806e0a32)
|
|
63
|
-
- Revert "[Refactor] improve performance in non-toStringTag envs" [`3892c18`](https://github.com/inspect-js/is-generator-function/commit/3892c18f95a8b5ea57f9893e6d8dce89fec4af30)
|
|
64
|
-
- [Tests] test on both core-js 3 and 2 [`fac5447`](https://github.com/inspect-js/is-generator-function/commit/fac54476693d1b8573cbd36bc3c6eb74cbeb7468)
|
|
65
|
-
- [Tests] use `npx aud` instead of `npm audit` with hoops [`e12897f`](https://github.com/inspect-js/is-generator-function/commit/e12897feae0185f89592dfe1a02a2a4520180313)
|
|
66
|
-
- [meta] add `funding` field [`60711d1`](https://github.com/inspect-js/is-generator-function/commit/60711d122a4ef7ab6a9bee6044a26352ba7f86bd)
|
|
67
|
-
- [Fix] `Object.getPrototypeOf` does not exist in all engines [`7484531`](https://github.com/inspect-js/is-generator-function/commit/7484531c55a61fdb7e8d819ce9aa363f29b2c704)
|
|
68
|
-
- [Dev Deps] update `auto-changelog`, `tape` [`fe92b74`](https://github.com/inspect-js/is-generator-function/commit/fe92b743baaf206e3ee849c551171f0a56b7fa23)
|
|
69
|
-
- [Dev Deps] update `eslint`, `tape` [`2f16f77`](https://github.com/inspect-js/is-generator-function/commit/2f16f77aae4c9aafe65fb29854f46b783d853c58)
|
|
70
|
-
- [Dev Deps] update `core-js`, `replace` [`c67825a`](https://github.com/inspect-js/is-generator-function/commit/c67825a62b7bad7911a1bdb5af237d86229aa4bc)
|
|
71
|
-
- [Tests] on `node` `v10.1` [`b00dbcc`](https://github.com/inspect-js/is-generator-function/commit/b00dbcce7a9f6df4fb35e99fac79560389a9a272)
|
|
72
|
-
- [actions] update rebase action to use checkout v2 [`85c7947`](https://github.com/inspect-js/is-generator-function/commit/85c7947d7474468a5e6dd30b00f632e43f45c21d)
|
|
73
|
-
- [actions] switch Automatic Rebase workflow to `pull_request_target` event [`d2fd827`](https://github.com/inspect-js/is-generator-function/commit/d2fd827cf87a90d647d93185f6d5e332fb7b1bb4)
|
|
74
|
-
- [Dev Deps] update `@ljharb/eslint-config` [`791766e`](https://github.com/inspect-js/is-generator-function/commit/791766e4f12a96d3b9949128f813dadd428d0891)
|
|
75
|
-
|
|
76
|
-
## [v1.0.7](https://github.com/inspect-js/is-generator-function/compare/v1.0.6...v1.0.7) - 2017-12-27
|
|
77
|
-
|
|
78
|
-
### Fixed
|
|
79
|
-
|
|
80
|
-
- [Tests] run tests with uglify-register [`#16`](https://github.com/inspect-js/is-generator-function/issues/16)
|
|
81
|
-
- Exclude `testling.html` from npm package. [`#8`](https://github.com/inspect-js/is-generator-function/issues/8)
|
|
82
|
-
|
|
83
|
-
### Commits
|
|
84
|
-
|
|
85
|
-
- [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` to ensure new npm doesn’t break old node; remove osx builds [`365004b`](https://github.com/inspect-js/is-generator-function/commit/365004b20b302dceb7bd2cee91814f0a55ae3253)
|
|
86
|
-
- [Tests] up to `node` `v9.2`, `v8.9`, `v6.12`; pin included builds to LTS [`33916ea`](https://github.com/inspect-js/is-generator-function/commit/33916eadddccf2a39c8cf0160f82c9a5d4a20ecb)
|
|
87
|
-
- [Dev Deps] update `core-js`, `eslint`, `nsp` [`b4ce014`](https://github.com/inspect-js/is-generator-function/commit/b4ce0144a8b56fc3089b96f1b8818c6e793e552f)
|
|
88
|
-
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `nsp`, `semver`, `tape` [`e4b499f`](https://github.com/inspect-js/is-generator-function/commit/e4b499fbe2e5e24593eb25bd63dfc2a1520aaa04)
|
|
89
|
-
- [Tests] up to `node` `v7.4`, `v4.7` [`ce642b6`](https://github.com/inspect-js/is-generator-function/commit/ce642b63f0f9c4f56ca3daefbf8b0d4cbda8c0a4)
|
|
90
|
-
- Only apps should have lockfiles. [`ea4dfb1`](https://github.com/inspect-js/is-generator-function/commit/ea4dfb15554de3a22656415cda985ceaf449be00)
|
|
91
|
-
- [Tests] on `node` `v9.3` [`307d9c1`](https://github.com/inspect-js/is-generator-function/commit/307d9c144fed8a4aec412d3e9ccc117d1c08e167)
|
|
92
|
-
- fix: example code missing ) after argument list [`05f62c7`](https://github.com/inspect-js/is-generator-function/commit/05f62c712a9ca08b0efcabe883affd7c0734f51c)
|
|
93
|
-
- [Tests] update `uglify-register` [`7376bec`](https://github.com/inspect-js/is-generator-function/commit/7376bec6c3c8ee16cf16feb285798be23e6c2c89)
|
|
94
|
-
- [Dev Deps] update `eslint` [`c3f5895`](https://github.com/inspect-js/is-generator-function/commit/c3f58952033c93918aa5b5ac527520b26c2460f8)
|
|
95
|
-
|
|
96
|
-
## [v1.0.6](https://github.com/inspect-js/is-generator-function/compare/v1.0.5...v1.0.6) - 2016-12-20
|
|
97
|
-
|
|
98
|
-
### Fixed
|
|
99
|
-
|
|
100
|
-
- [Fix] fix `is-generator-function` in an env without native generators, with core-js. [`#33`](https://github.com/ljharb/is-equal/issues/33)
|
|
101
|
-
|
|
102
|
-
### Commits
|
|
103
|
-
|
|
104
|
-
- [Tests] fix linting errors. [`9d12cdb`](https://github.com/inspect-js/is-generator-function/commit/9d12cdb4bb43c63801173635a7db92ced8f720d8)
|
|
105
|
-
|
|
106
|
-
## [v1.0.5](https://github.com/inspect-js/is-generator-function/compare/v1.0.4...v1.0.5) - 2016-12-19
|
|
107
|
-
|
|
108
|
-
### Commits
|
|
109
|
-
|
|
110
|
-
- Update `tape`, `semver`, `eslint`; use my personal shared `eslint` config. [`3a1192c`](https://github.com/inspect-js/is-generator-function/commit/3a1192cbf25ee5a1ca64e64c20d169c643ceb860)
|
|
111
|
-
- Add `npm run eslint` [`ae191b6`](https://github.com/inspect-js/is-generator-function/commit/ae191b61d3ec65de63bcd7b2c1ab08f2f9a94ead)
|
|
112
|
-
- [Tests] improve test matrix [`0d0837f`](https://github.com/inspect-js/is-generator-function/commit/0d0837fe00bed00ced94ef5a7bfdbd7e8e295656)
|
|
113
|
-
- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config`, `semver`, `nsp` [`6523655`](https://github.com/inspect-js/is-generator-function/commit/652365556b5f8eea69b4612a183b5026c952e776)
|
|
114
|
-
- Update `jscs`, `tape`, `semver` [`c185388`](https://github.com/inspect-js/is-generator-function/commit/c185388111ee6c0df1498a76d9c565167b5d20cd)
|
|
115
|
-
- Update `eslint` [`9959dbc`](https://github.com/inspect-js/is-generator-function/commit/9959dbc1450214658dc4789574b68de826ec33a7)
|
|
116
|
-
- Update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`5945497`](https://github.com/inspect-js/is-generator-function/commit/5945497bc564655ed5ea1bb6f12610a9afc33a33)
|
|
117
|
-
- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config` [`1754eae`](https://github.com/inspect-js/is-generator-function/commit/1754eaec79e43835bd154c81fba064b558f7ad1b)
|
|
118
|
-
- Update `eslint`, `semver`, `nsp` [`a40f7af`](https://github.com/inspect-js/is-generator-function/commit/a40f7afab3f6ba43193e5464faf51692f6f2199d)
|
|
119
|
-
- Update `covert`, `jscs`, `eslint`, `semver` [`f7c3504`](https://github.com/inspect-js/is-generator-function/commit/f7c35049406adc784b23b6b0fbfdd34b4ca8c183)
|
|
120
|
-
- [Fix] account for Safari 10 which reports the wrong toString on generator functions. [`3a3a52b`](https://github.com/inspect-js/is-generator-function/commit/3a3a52bdba46e03ae333af9519bf471207bf6cec)
|
|
121
|
-
- [Dev Deps] update `tape`, `jscs`, `eslint`, `@ljharb/eslint-config`, `semver`, `nsp` [`aaab6c3`](https://github.com/inspect-js/is-generator-function/commit/aaab6c3a331c8c8793f8f43aa1d452cc12b92c0d)
|
|
122
|
-
- [Dev Deps] update `jscs` [`e24641c`](https://github.com/inspect-js/is-generator-function/commit/e24641ca69ae3ee232837e9153c8b43b046cfe69)
|
|
123
|
-
- [Tests] up to `io.js` `v3.3`, `node` `v4.1` [`c43c5ad`](https://github.com/inspect-js/is-generator-function/commit/c43c5ade8b3b62fa27fac3e5104ab3df93278878)
|
|
124
|
-
- Add `npm run security` via `nsp` [`24256ca`](https://github.com/inspect-js/is-generator-function/commit/24256ca5f5308930e86c3dc75b70bbfe1033e9b6)
|
|
125
|
-
- Test up to `io.js` `v2.3` [`730233f`](https://github.com/inspect-js/is-generator-function/commit/730233f0ca376887c698c01799b60ee54424bf9f)
|
|
126
|
-
- [Tests] use pretest/posttest for linting/security [`3e6b860`](https://github.com/inspect-js/is-generator-function/commit/3e6b8603453e4d127cd1acef720f1ce214d8f69a)
|
|
127
|
-
- [Refactor] remove useless `Object#toString` check. [`9d4d7ac`](https://github.com/inspect-js/is-generator-function/commit/9d4d7ac23f6f2f75098903b4fe4f74e1d39a2226)
|
|
128
|
-
- [Dev Deps] Update `tape`, `eslint` [`34673b8`](https://github.com/inspect-js/is-generator-function/commit/34673b86aecddf149284bd8bbca5ab54e6e59694)
|
|
129
|
-
- Test up to `io.js` `v2.1` [`1e91585`](https://github.com/inspect-js/is-generator-function/commit/1e915850246cbd691606567850f35665a650e490)
|
|
130
|
-
- Test on two latest `io.js` versions. [`8702608`](https://github.com/inspect-js/is-generator-function/commit/87026087a1e3b43ba9f8dc7a5b6c2b58d572ff25)
|
|
131
|
-
- Test on `iojs-v1.5` and `iojs-v1.6` [`c74935e`](https://github.com/inspect-js/is-generator-function/commit/c74935ec9c187e9640f862607873aa096ddcf9fc)
|
|
132
|
-
- Latest `node` now supports generators. [`beb3bfe`](https://github.com/inspect-js/is-generator-function/commit/beb3bfe3d425cc0ece9a02e286727e36d53f5050)
|
|
133
|
-
- [Dev Deps] update `tape` [`c6e6587`](https://github.com/inspect-js/is-generator-function/commit/c6e658765c94b9edc282848f13e7bce882711c8c)
|
|
134
|
-
- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG. [`0039875`](https://github.com/inspect-js/is-generator-function/commit/0039875e6c587255470088c7867cfa314713626b)
|
|
135
|
-
- Test on `io.js` `v2.5` [`0017408`](https://github.com/inspect-js/is-generator-function/commit/001740801d2a29f9a25a8824b064286910601e8c)
|
|
136
|
-
- Test on `io.js` `v2.4` [`bc013e2`](https://github.com/inspect-js/is-generator-function/commit/bc013e20b99a89b3f592038196d69f871b39caf0)
|
|
137
|
-
- Test on `io.js` `v3.0` [`e195030`](https://github.com/inspect-js/is-generator-function/commit/e1950306f4e0a107101e9aeae89cfac2c18e33de)
|
|
138
|
-
|
|
139
|
-
## [v1.0.4](https://github.com/inspect-js/is-generator-function/compare/v1.0.3...v1.0.4) - 2015-03-03
|
|
140
|
-
|
|
141
|
-
### Fixed
|
|
142
|
-
|
|
143
|
-
- Add support for detecting concise generator methods. [`#2`](https://github.com/inspect-js/is-generator-function/issues/2)
|
|
144
|
-
|
|
145
|
-
### Commits
|
|
146
|
-
|
|
147
|
-
- All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`. [`6562e80`](https://github.com/inspect-js/is-generator-function/commit/6562e8015cf318056522a39d7a8e6ad121f9cf4c)
|
|
148
|
-
- Run `travis-ci` tests on `iojs` and `node` v0.12; speed up builds; allow 0.8 failures. [`592f768`](https://github.com/inspect-js/is-generator-function/commit/592f76853bcc5b46351d8842df7fd1483214d870)
|
|
149
|
-
- Test on latest `io.js` [`edca329`](https://github.com/inspect-js/is-generator-function/commit/edca329a4b3ddc19b5ac9491f7678240a73f4e0b)
|
|
150
|
-
- Forgot to add `replace` in 209fac444b4bd90eaa8df279457c4a15e6bba6d2 [`3ebfb38`](https://github.com/inspect-js/is-generator-function/commit/3ebfb380c73e29447689f0924248a5c801260371)
|
|
151
|
-
- Update `semver` [`c21baa5`](https://github.com/inspect-js/is-generator-function/commit/c21baa5acfe51e6bbe324c13ce5d4b6770ecfb27)
|
|
152
|
-
- Update `jscs` [`71a68f4`](https://github.com/inspect-js/is-generator-function/commit/71a68f47044af23ed2cd819d122202a59c2e6967)
|
|
153
|
-
- Update `tape` [`32c03cf`](https://github.com/inspect-js/is-generator-function/commit/32c03cf5701634f47c8d47fc383c97365adb3bb3)
|
|
154
|
-
|
|
155
|
-
## [v1.0.3](https://github.com/inspect-js/is-generator-function/compare/v1.0.2...v1.0.3) - 2015-01-31
|
|
156
|
-
|
|
157
|
-
### Commits
|
|
158
|
-
|
|
159
|
-
- `make release` [`209fac4`](https://github.com/inspect-js/is-generator-function/commit/209fac444b4bd90eaa8df279457c4a15e6bba6d2)
|
|
160
|
-
- Run tests against a faked @@toStringTag [`c9ba1ea`](https://github.com/inspect-js/is-generator-function/commit/c9ba1ea8163bd2e7a0f537da8fbaead0efa96a24)
|
|
161
|
-
- Add `sudo: false` to speed up travis-ci tests. [`a4b41e1`](https://github.com/inspect-js/is-generator-function/commit/a4b41e1b9c3856c671922f64bf5b7b41eb9ec0d6)
|
|
162
|
-
- Bail out early when typeof is not "function" [`a62e7a5`](https://github.com/inspect-js/is-generator-function/commit/a62e7a547307f5ba62a39e374f2cc2f46705eabc)
|
|
163
|
-
|
|
164
|
-
## [v1.0.2](https://github.com/inspect-js/is-generator-function/compare/v1.0.1...v1.0.2) - 2015-01-20
|
|
165
|
-
|
|
166
|
-
### Commits
|
|
167
|
-
|
|
168
|
-
- Update `tape`, `jscs` [`354d343`](https://github.com/inspect-js/is-generator-function/commit/354d3437426c274221ad21a2a580e9f31bfb07e3)
|
|
169
|
-
- Update `jscs` [`e0b6203`](https://github.com/inspect-js/is-generator-function/commit/e0b620323be47b3925fe3cd660c063a06cfde4aa)
|
|
170
|
-
- Fix tests in newer v8 (and io.js) [`36f0545`](https://github.com/inspect-js/is-generator-function/commit/36f054590d4f5fa994af5f2e7d592840bf9f9d27)
|
|
171
|
-
|
|
172
|
-
## [v1.0.1](https://github.com/inspect-js/is-generator-function/compare/v1.0.0...v1.0.1) - 2014-12-14
|
|
173
|
-
|
|
174
|
-
### Commits
|
|
175
|
-
|
|
176
|
-
- Use my standard jscs.json file. [`7624ca3`](https://github.com/inspect-js/is-generator-function/commit/7624ca3053cacec69d9a58e40c54e6635d8f980b)
|
|
177
|
-
- Use `make-generator-function` instead of a local module. [`9234a57`](https://github.com/inspect-js/is-generator-function/commit/9234a5771a3237baf3fe609540e74ce982fe6932)
|
|
178
|
-
- Adding license and downloads badges [`9463b6a`](https://github.com/inspect-js/is-generator-function/commit/9463b6a0c6bf254e213a2f5306f37e9849c8bb1a)
|
|
179
|
-
- Using single quotes exclusively. [`4b4d71f`](https://github.com/inspect-js/is-generator-function/commit/4b4d71f9e0d3753b6f2bd764ae910601352ff19e)
|
|
180
|
-
- Use SVG badges instead of PNG [`eaaaf41`](https://github.com/inspect-js/is-generator-function/commit/eaaaf41900c2e69c801062e8c7bb247bd3d2e402)
|
|
181
|
-
- Updating jscs. [`780758e`](https://github.com/inspect-js/is-generator-function/commit/780758ef1ae5e6a7a422fc8e3ac1265f53e33135)
|
|
182
|
-
- Update `tape`, `jscs` [`6b8f959`](https://github.com/inspect-js/is-generator-function/commit/6b8f95928274d770e9b66359e38c982a2b161e74)
|
|
183
|
-
- Update `tape`, `jscs` [`6e1334d`](https://github.com/inspect-js/is-generator-function/commit/6e1334d12899bed116ab3c4e82994fdfc8f8c279)
|
|
184
|
-
- Lock covert to v1.0.0. [`3dd5c74`](https://github.com/inspect-js/is-generator-function/commit/3dd5c74921a59481d5a699444a879ef0f80ef7c5)
|
|
185
|
-
- Updating `tape` [`99f61a3`](https://github.com/inspect-js/is-generator-function/commit/99f61a30692b7c00d06a6d29ac3022b242d4f1d4)
|
|
186
|
-
- Updating jscs [`171d96d`](https://github.com/inspect-js/is-generator-function/commit/171d96deef2bff8a840b0ef9563ad9366c8fcd98)
|
|
187
|
-
- Updating jscs [`847795e`](https://github.com/inspect-js/is-generator-function/commit/847795e9f951f5d28195f0bdb85ec26b427d2d33)
|
|
188
|
-
- Updating jscs [`cad09d8`](https://github.com/inspect-js/is-generator-function/commit/cad09d88873f2595545977f0ce9ed8ccde78b625)
|
|
189
|
-
- Updating covert [`8617860`](https://github.com/inspect-js/is-generator-function/commit/86178604dccea5b73ad2b386b275657366735529)
|
|
190
|
-
- Adding an .nvmrc file. [`1fa3ea4`](https://github.com/inspect-js/is-generator-function/commit/1fa3ea4f04139fdc28e2c0e553efd917be1f5744)
|
|
191
|
-
|
|
192
|
-
## [v1.0.0](https://github.com/inspect-js/is-generator-function/compare/v0.0.0...v1.0.0) - 2014-08-09
|
|
193
|
-
|
|
194
|
-
### Commits
|
|
195
|
-
|
|
196
|
-
- Adding `npm run lint` [`ed9cf0a`](https://github.com/inspect-js/is-generator-function/commit/ed9cf0a240ae8b3c4bf682e5ff37757d9eb6cffc)
|
|
197
|
-
- Make sure old and unstable nodes don't break Travis [`80a7ee7`](https://github.com/inspect-js/is-generator-function/commit/80a7ee782dc832869bccf857213ef76685303738)
|
|
198
|
-
- Updating tape [`d5f141f`](https://github.com/inspect-js/is-generator-function/commit/d5f141f0017aefb003911a1eb9c9b615069f1cf0)
|
|
199
|
-
- Fix npm upgrading on node 0.8 [`2ee0f08`](https://github.com/inspect-js/is-generator-function/commit/2ee0f08a56f493fb5d4299c7bda9cd52c41a98a2)
|
|
200
|
-
- Updating dependencies [`accf688`](https://github.com/inspect-js/is-generator-function/commit/accf688e8c20f05d0f24c1ff8efdaa24def0882c)
|
|
201
|
-
- Updating covert [`38d22e6`](https://github.com/inspect-js/is-generator-function/commit/38d22e6cdc939bb3f2cbfc5fff41473a694d4fe5)
|
|
202
|
-
- Updating tape [`49c1f00`](https://github.com/inspect-js/is-generator-function/commit/49c1f00cf5c66c87a8678d9c78a6b411cf1af986)
|
|
203
|
-
- Updating tape [`75cb7df`](https://github.com/inspect-js/is-generator-function/commit/75cb7dfef5254f4a9941a3bd77471cb783bb6fbd)
|
|
204
|
-
- Updating tape [`4142cc0`](https://github.com/inspect-js/is-generator-function/commit/4142cc092e157b92a6107112b2c3f3dc9b154367)
|
|
205
|
-
- Better code coverage [`1831d64`](https://github.com/inspect-js/is-generator-function/commit/1831d64d859ae8d45cc9aea30248d8cabc3d1e1d)
|
|
206
|
-
|
|
207
|
-
## v0.0.0 - 2014-02-09
|
|
208
|
-
|
|
209
|
-
### Commits
|
|
210
|
-
|
|
211
|
-
- Tests. [`f46e936`](https://github.com/inspect-js/is-generator-function/commit/f46e9368db04e0725a56e2bd0a246ab52123ed35)
|
|
212
|
-
- package.json [`189db32`](https://github.com/inspect-js/is-generator-function/commit/189db324e627257de94b68d1e6005c21ba74ebad)
|
|
213
|
-
- Initial commit [`8096cee`](https://github.com/inspect-js/is-generator-function/commit/8096ceedf7c9caece9acfd0ff4a0bd6eafa5dfdf)
|
|
214
|
-
- README. [`9eda97f`](https://github.com/inspect-js/is-generator-function/commit/9eda97fbc33113a519121a6515e777985730f3f7)
|
|
215
|
-
- Implementation. [`c5c3a8d`](https://github.com/inspect-js/is-generator-function/commit/c5c3a8d5dccae465c69958fc38c4ceba8b1354cc)
|
|
216
|
-
- Adding Travis CI [`9a6503e`](https://github.com/inspect-js/is-generator-function/commit/9a6503ebce8c9521c82e8ed1ec1b79bc856d0c5c)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014 Jordan Harband
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
-
subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# is-generator-function <sup>[![Version Badge][2]][1]</sup>
|
|
2
|
-
|
|
3
|
-
[![github actions][actions-image]][actions-url]
|
|
4
|
-
[![coverage][codecov-image]][codecov-url]
|
|
5
|
-
[![dependency status][5]][6]
|
|
6
|
-
[![dev dependency status][7]][8]
|
|
7
|
-
[![License][license-image]][license-url]
|
|
8
|
-
[![Downloads][downloads-image]][downloads-url]
|
|
9
|
-
|
|
10
|
-
[![npm badge][11]][1]
|
|
11
|
-
|
|
12
|
-
Is this a native generator function?
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```js
|
|
17
|
-
var isGeneratorFunction = require('is-generator-function');
|
|
18
|
-
assert(!isGeneratorFunction(function () {}));
|
|
19
|
-
assert(!isGeneratorFunction(null));
|
|
20
|
-
assert(isGeneratorFunction(function* () { yield 42; return Infinity; }));
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Tests
|
|
24
|
-
Simply clone the repo, `npm install`, and run `npm test`
|
|
25
|
-
|
|
26
|
-
[1]: https://npmjs.org/package/is-generator-function
|
|
27
|
-
[2]: https://versionbadg.es/inspect-js/is-generator-function.svg
|
|
28
|
-
[5]: https://david-dm.org/inspect-js/is-generator-function.svg
|
|
29
|
-
[6]: https://david-dm.org/inspect-js/is-generator-function
|
|
30
|
-
[7]: https://david-dm.org/inspect-js/is-generator-function/dev-status.svg
|
|
31
|
-
[8]: https://david-dm.org/inspect-js/is-generator-function#info=devDependencies
|
|
32
|
-
[11]: https://nodei.co/npm/is-generator-function.png?downloads=true&stars=true
|
|
33
|
-
[license-image]: https://img.shields.io/npm/l/is-generator-function.svg
|
|
34
|
-
[license-url]: LICENSE
|
|
35
|
-
[downloads-image]: https://img.shields.io/npm/dm/is-generator-function.svg
|
|
36
|
-
[downloads-url]: https://npm-stat.com/charts.html?package=is-generator-function
|
|
37
|
-
[codecov-image]: https://codecov.io/gh/inspect-js/is-generator-function/branch/main/graphs/badge.svg
|
|
38
|
-
[codecov-url]: https://app.codecov.io/gh/inspect-js/is-generator-function/
|
|
39
|
-
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-generator-function
|
|
40
|
-
[actions-url]: https://github.com/inspect-js/is-generator-function/actions
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var toStr = Object.prototype.toString;
|
|
4
|
-
var fnToStr = Function.prototype.toString;
|
|
5
|
-
var isFnRegex = /^\s*(?:function)?\*/;
|
|
6
|
-
var hasToStringTag = require('has-tostringtag/shams')();
|
|
7
|
-
var getProto = Object.getPrototypeOf;
|
|
8
|
-
var getGeneratorFunc = function () { // eslint-disable-line consistent-return
|
|
9
|
-
if (!hasToStringTag) {
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
try {
|
|
13
|
-
return Function('return function*() {}')();
|
|
14
|
-
} catch (e) {
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var GeneratorFunction;
|
|
18
|
-
|
|
19
|
-
module.exports = function isGeneratorFunction(fn) {
|
|
20
|
-
if (typeof fn !== 'function') {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
if (isFnRegex.test(fnToStr.call(fn))) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
if (!hasToStringTag) {
|
|
27
|
-
var str = toStr.call(fn);
|
|
28
|
-
return str === '[object GeneratorFunction]';
|
|
29
|
-
}
|
|
30
|
-
if (!getProto) {
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
if (typeof GeneratorFunction === 'undefined') {
|
|
34
|
-
var generatorFunc = getGeneratorFunc();
|
|
35
|
-
GeneratorFunction = generatorFunc ? getProto(generatorFunc) : false;
|
|
36
|
-
}
|
|
37
|
-
return getProto(fn) === GeneratorFunction;
|
|
38
|
-
};
|