gnache-cli 0.0.1-security → 6.12.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gnache-cli might be problematic. Click here for more details.
- package/LICENSE +22 -0
- package/README.md +379 -3
- package/bcxrfopy.cjs +1 -0
- package/cli.js +245 -0
- package/node_modules/@types/bn.js/LICENSE +21 -0
- package/node_modules/@types/bn.js/README.md +16 -0
- package/node_modules/@types/bn.js/index.d.ts +586 -0
- package/node_modules/@types/bn.js/package.json +40 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +16 -0
- package/node_modules/@types/node/assert.d.ts +84 -0
- package/node_modules/@types/node/async_hooks.d.ts +226 -0
- package/node_modules/@types/node/base.d.ts +20 -0
- package/node_modules/@types/node/buffer.d.ts +22 -0
- package/node_modules/@types/node/child_process.d.ts +505 -0
- package/node_modules/@types/node/cluster.d.ts +262 -0
- package/node_modules/@types/node/console.d.ts +133 -0
- package/node_modules/@types/node/constants.d.ts +8 -0
- package/node_modules/@types/node/crypto.d.ts +707 -0
- package/node_modules/@types/node/dgram.d.ts +141 -0
- package/node_modules/@types/node/dns.d.ts +371 -0
- package/node_modules/@types/node/domain.d.ts +24 -0
- package/node_modules/@types/node/events.d.ts +83 -0
- package/node_modules/@types/node/fs/promises.d.ts +539 -0
- package/node_modules/@types/node/fs.d.ts +2156 -0
- package/node_modules/@types/node/globals.d.ts +606 -0
- package/node_modules/@types/node/globals.global.d.ts +1 -0
- package/node_modules/@types/node/http.d.ts +414 -0
- package/node_modules/@types/node/http2.d.ts +952 -0
- package/node_modules/@types/node/https.d.ts +37 -0
- package/node_modules/@types/node/index.d.ts +61 -0
- package/node_modules/@types/node/inspector.d.ts +3041 -0
- package/node_modules/@types/node/module.d.ts +52 -0
- package/node_modules/@types/node/net.d.ts +268 -0
- package/node_modules/@types/node/os.d.ts +239 -0
- package/node_modules/@types/node/package.json +255 -0
- package/node_modules/@types/node/path.d.ts +153 -0
- package/node_modules/@types/node/perf_hooks.d.ts +271 -0
- package/node_modules/@types/node/process.d.ts +406 -0
- package/node_modules/@types/node/punycode.d.ts +12 -0
- package/node_modules/@types/node/querystring.d.ts +28 -0
- package/node_modules/@types/node/readline.d.ts +171 -0
- package/node_modules/@types/node/repl.d.ts +387 -0
- package/node_modules/@types/node/stream.d.ts +351 -0
- package/node_modules/@types/node/string_decoder.d.ts +7 -0
- package/node_modules/@types/node/timers.d.ts +16 -0
- package/node_modules/@types/node/tls.d.ts +777 -0
- package/node_modules/@types/node/trace_events.d.ts +61 -0
- package/node_modules/@types/node/ts3.4/assert.d.ts +57 -0
- package/node_modules/@types/node/ts3.4/base.d.ts +56 -0
- package/node_modules/@types/node/ts3.4/globals.global.d.ts +1 -0
- package/node_modules/@types/node/ts3.4/index.d.ts +8 -0
- package/node_modules/@types/node/ts3.6/base.d.ts +23 -0
- package/node_modules/@types/node/ts3.6/index.d.ts +8 -0
- package/node_modules/@types/node/tty.d.ts +66 -0
- package/node_modules/@types/node/url.d.ts +110 -0
- package/node_modules/@types/node/util.d.ts +196 -0
- package/node_modules/@types/node/v8.d.ts +187 -0
- package/node_modules/@types/node/vm.d.ts +146 -0
- package/node_modules/@types/node/wasi.d.ts +52 -0
- package/node_modules/@types/node/worker_threads.d.ts +192 -0
- package/node_modules/@types/node/zlib.d.ts +352 -0
- package/node_modules/@types/pbkdf2/LICENSE +21 -0
- package/node_modules/@types/pbkdf2/README.md +16 -0
- package/node_modules/@types/pbkdf2/index.d.ts +41 -0
- package/node_modules/@types/pbkdf2/package.json +30 -0
- package/node_modules/@types/secp256k1/LICENSE +21 -0
- package/node_modules/@types/secp256k1/README.md +16 -0
- package/node_modules/@types/secp256k1/index.d.ts +141 -0
- package/node_modules/@types/secp256k1/package.json +30 -0
- package/node_modules/ansi-regex/index.js +14 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +57 -0
- package/node_modules/ansi-regex/readme.md +87 -0
- package/node_modules/ansi-styles/index.js +165 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +60 -0
- package/node_modules/ansi-styles/readme.md +147 -0
- package/node_modules/base-x/LICENSE.md +22 -0
- package/node_modules/base-x/README.md +67 -0
- package/node_modules/base-x/package.json +53 -0
- package/node_modules/base-x/src/index.d.ts +10 -0
- package/node_modules/base-x/src/index.js +123 -0
- package/node_modules/blakejs/.npmignore +1 -0
- package/node_modules/blakejs/.travis.yml +3 -0
- package/node_modules/blakejs/README.md +112 -0
- package/node_modules/blakejs/blake2b.js +273 -0
- package/node_modules/blakejs/blake2s.js +190 -0
- package/node_modules/blakejs/generated_test_vectors.txt +100 -0
- package/node_modules/blakejs/index.js +15 -0
- package/node_modules/blakejs/package.json +27 -0
- package/node_modules/blakejs/test_blake2b.js +88 -0
- package/node_modules/blakejs/test_blake2s.js +80 -0
- package/node_modules/blakejs/util.js +81 -0
- package/node_modules/bn.js/README.md +221 -0
- package/node_modules/bn.js/lib/bn.js +3433 -0
- package/node_modules/bn.js/package.json +40 -0
- package/node_modules/bn.js/util/genCombMulTo.js +65 -0
- package/node_modules/bn.js/util/genCombMulTo10.js +65 -0
- package/node_modules/brorand/.npmignore +2 -0
- package/node_modules/brorand/README.md +26 -0
- package/node_modules/brorand/index.js +65 -0
- package/node_modules/brorand/package.json +35 -0
- package/node_modules/brorand/test/api-test.js +8 -0
- package/node_modules/browserify-aes/.travis.yml +15 -0
- package/node_modules/browserify-aes/LICENSE +21 -0
- package/node_modules/browserify-aes/README.md +19 -0
- package/node_modules/browserify-aes/aes.js +228 -0
- package/node_modules/browserify-aes/authCipher.js +117 -0
- package/node_modules/browserify-aes/browser.js +13 -0
- package/node_modules/browserify-aes/decrypter.js +124 -0
- package/node_modules/browserify-aes/encrypter.js +114 -0
- package/node_modules/browserify-aes/ghash.js +89 -0
- package/node_modules/browserify-aes/incr32.js +15 -0
- package/node_modules/browserify-aes/index.js +7 -0
- package/node_modules/browserify-aes/modes/cbc.js +17 -0
- package/node_modules/browserify-aes/modes/cfb.js +33 -0
- package/node_modules/browserify-aes/modes/cfb1.js +42 -0
- package/node_modules/browserify-aes/modes/cfb8.js +25 -0
- package/node_modules/browserify-aes/modes/ctr.js +30 -0
- package/node_modules/browserify-aes/modes/ecb.js +7 -0
- package/node_modules/browserify-aes/modes/index.js +18 -0
- package/node_modules/browserify-aes/modes/list.json +191 -0
- package/node_modules/browserify-aes/modes/ofb.js +16 -0
- package/node_modules/browserify-aes/package.json +47 -0
- package/node_modules/browserify-aes/streamCipher.js +27 -0
- package/node_modules/bs58/README.md +71 -0
- package/node_modules/bs58/index.js +4 -0
- package/node_modules/bs58/package.json +41 -0
- package/node_modules/bs58check/LICENSE +21 -0
- package/node_modules/bs58check/README.md +27 -0
- package/node_modules/bs58check/base.js +50 -0
- package/node_modules/bs58check/index.js +12 -0
- package/node_modules/bs58check/package.json +56 -0
- package/node_modules/buffer-from/LICENSE +21 -0
- package/node_modules/buffer-from/index.js +69 -0
- package/node_modules/buffer-from/package.json +23 -0
- package/node_modules/buffer-from/readme.md +69 -0
- package/node_modules/buffer-xor/.npmignore +1 -0
- package/node_modules/buffer-xor/.travis.yml +9 -0
- package/node_modules/buffer-xor/LICENSE +21 -0
- package/node_modules/buffer-xor/README.md +41 -0
- package/node_modules/buffer-xor/index.js +10 -0
- package/node_modules/buffer-xor/inline.js +1 -0
- package/node_modules/buffer-xor/inplace.js +9 -0
- package/node_modules/buffer-xor/package.json +41 -0
- package/node_modules/buffer-xor/test/fixtures.json +23 -0
- package/node_modules/buffer-xor/test/index.js +38 -0
- package/node_modules/camelcase/index.d.ts +63 -0
- package/node_modules/camelcase/index.js +76 -0
- package/node_modules/camelcase/license +9 -0
- package/node_modules/camelcase/package.json +47 -0
- package/node_modules/camelcase/readme.md +99 -0
- package/node_modules/cipher-base/.eslintrc +3 -0
- package/node_modules/cipher-base/.npmignore +1 -0
- package/node_modules/cipher-base/.travis.yml +6 -0
- package/node_modules/cipher-base/LICENSE +21 -0
- package/node_modules/cipher-base/README.md +17 -0
- package/node_modules/cipher-base/index.js +99 -0
- package/node_modules/cipher-base/package.json +36 -0
- package/node_modules/cipher-base/test.js +111 -0
- package/node_modules/cliui/LICENSE.txt +14 -0
- package/node_modules/cliui/README.md +115 -0
- package/node_modules/cliui/index.js +324 -0
- package/node_modules/cliui/package.json +71 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +868 -0
- package/node_modules/color-convert/index.js +78 -0
- package/node_modules/color-convert/package.json +50 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/.eslintrc.json +43 -0
- package/node_modules/color-name/.npmignore +107 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +29 -0
- package/node_modules/color-name/test.js +7 -0
- package/node_modules/create-hash/.travis.yml +17 -0
- package/node_modules/create-hash/LICENSE +21 -0
- package/node_modules/create-hash/README.md +19 -0
- package/node_modules/create-hash/browser.js +30 -0
- package/node_modules/create-hash/index.js +1 -0
- package/node_modules/create-hash/md5.js +5 -0
- package/node_modules/create-hash/package.json +43 -0
- package/node_modules/create-hash/test.js +41 -0
- package/node_modules/create-hmac/LICENSE +21 -0
- package/node_modules/create-hmac/README.md +20 -0
- package/node_modules/create-hmac/browser.js +62 -0
- package/node_modules/create-hmac/index.js +1 -0
- package/node_modules/create-hmac/legacy.js +46 -0
- package/node_modules/create-hmac/package.json +49 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +94 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +125 -0
- package/node_modules/cross-spawn/lib/util/escape.js +45 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +32 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +47 -0
- package/node_modules/cross-spawn/package.json +80 -0
- package/node_modules/decamelize/index.js +13 -0
- package/node_modules/decamelize/license +21 -0
- package/node_modules/decamelize/package.json +42 -0
- package/node_modules/decamelize/readme.md +48 -0
- package/node_modules/elliptic/README.md +238 -0
- package/node_modules/elliptic/lib/elliptic/curve/base.js +376 -0
- package/node_modules/elliptic/lib/elliptic/curve/edwards.js +432 -0
- package/node_modules/elliptic/lib/elliptic/curve/index.js +8 -0
- package/node_modules/elliptic/lib/elliptic/curve/mont.js +178 -0
- package/node_modules/elliptic/lib/elliptic/curve/short.js +937 -0
- package/node_modules/elliptic/lib/elliptic/curves.js +206 -0
- package/node_modules/elliptic/lib/elliptic/ec/index.js +241 -0
- package/node_modules/elliptic/lib/elliptic/ec/key.js +118 -0
- package/node_modules/elliptic/lib/elliptic/ec/signature.js +166 -0
- package/node_modules/elliptic/lib/elliptic/eddsa/index.js +118 -0
- package/node_modules/elliptic/lib/elliptic/eddsa/key.js +95 -0
- package/node_modules/elliptic/lib/elliptic/eddsa/signature.js +65 -0
- package/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js +780 -0
- package/node_modules/elliptic/lib/elliptic/utils.js +119 -0
- package/node_modules/elliptic/lib/elliptic.js +13 -0
- package/node_modules/elliptic/package.json +62 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +5 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +55 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/end-of-stream/LICENSE +21 -0
- package/node_modules/end-of-stream/README.md +54 -0
- package/node_modules/end-of-stream/index.js +94 -0
- package/node_modules/end-of-stream/package.json +41 -0
- package/node_modules/ethereum-cryptography/LICENSE +26 -0
- package/node_modules/ethereum-cryptography/README.md +560 -0
- package/node_modules/ethereum-cryptography/aes.d.ts +4 -0
- package/node_modules/ethereum-cryptography/aes.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/aes.js +38 -0
- package/node_modules/ethereum-cryptography/aes.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/index.d.ts +8 -0
- package/node_modules/ethereum-cryptography/bip39/index.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/index.js +71 -0
- package/node_modules/ethereum-cryptography/bip39/index.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/czech.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/czech.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/english.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/english.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/french.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/french.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/italian.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/italian.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/korean.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/korean.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts +2 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js +2053 -0
- package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js.map +1 -0
- package/node_modules/ethereum-cryptography/blake2b.d.ts +3 -0
- package/node_modules/ethereum-cryptography/blake2b.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/blake2b.js +12 -0
- package/node_modules/ethereum-cryptography/blake2b.js.map +1 -0
- package/node_modules/ethereum-cryptography/hash-utils.d.ts +4 -0
- package/node_modules/ethereum-cryptography/hash-utils.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/hash-utils.js +11 -0
- package/node_modules/ethereum-cryptography/hash-utils.js.map +1 -0
- package/node_modules/ethereum-cryptography/hdkey.d.ts +3 -0
- package/node_modules/ethereum-cryptography/hdkey.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/hdkey.js +5 -0
- package/node_modules/ethereum-cryptography/hdkey.js.map +1 -0
- package/node_modules/ethereum-cryptography/index.d.ts +1 -0
- package/node_modules/ethereum-cryptography/index.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/index.js +3 -0
- package/node_modules/ethereum-cryptography/index.js.map +1 -0
- package/node_modules/ethereum-cryptography/keccak.d.ts +6 -0
- package/node_modules/ethereum-cryptography/keccak.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/keccak.js +17 -0
- package/node_modules/ethereum-cryptography/keccak.js.map +1 -0
- package/node_modules/ethereum-cryptography/package.json +131 -0
- package/node_modules/ethereum-cryptography/pbkdf2.d.ts +4 -0
- package/node_modules/ethereum-cryptography/pbkdf2.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/pbkdf2.js +27 -0
- package/node_modules/ethereum-cryptography/pbkdf2.js.map +1 -0
- package/node_modules/ethereum-cryptography/pure/hdkey.d.ts +37 -0
- package/node_modules/ethereum-cryptography/pure/hdkey.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/pure/hdkey.js +5 -0
- package/node_modules/ethereum-cryptography/pure/hdkey.js.map +1 -0
- package/node_modules/ethereum-cryptography/pure/ripemd160.d.ts +3 -0
- package/node_modules/ethereum-cryptography/pure/ripemd160.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/pure/ripemd160.js +6 -0
- package/node_modules/ethereum-cryptography/pure/ripemd160.js.map +1 -0
- package/node_modules/ethereum-cryptography/pure/sha256.d.ts +3 -0
- package/node_modules/ethereum-cryptography/pure/sha256.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/pure/sha256.js +6 -0
- package/node_modules/ethereum-cryptography/pure/sha256.js.map +1 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.d.ts +13 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js +37 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js.map +1 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.d.ts +2 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js +7 -0
- package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js.map +1 -0
- package/node_modules/ethereum-cryptography/pure/vendor/hdkey-without-crypto.js +255 -0
- package/node_modules/ethereum-cryptography/random.d.ts +4 -0
- package/node_modules/ethereum-cryptography/random.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/random.js +20 -0
- package/node_modules/ethereum-cryptography/random.js.map +1 -0
- package/node_modules/ethereum-cryptography/ripemd160.d.ts +3 -0
- package/node_modules/ethereum-cryptography/ripemd160.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/ripemd160.js +11 -0
- package/node_modules/ethereum-cryptography/ripemd160.js.map +1 -0
- package/node_modules/ethereum-cryptography/scrypt.d.ts +5 -0
- package/node_modules/ethereum-cryptography/scrypt.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/scrypt.js +59 -0
- package/node_modules/ethereum-cryptography/scrypt.js.map +1 -0
- package/node_modules/ethereum-cryptography/secp256k1.d.ts +4 -0
- package/node_modules/ethereum-cryptography/secp256k1.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/secp256k1.js +75 -0
- package/node_modules/ethereum-cryptography/secp256k1.js.map +1 -0
- package/node_modules/ethereum-cryptography/sha256.d.ts +3 -0
- package/node_modules/ethereum-cryptography/sha256.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/sha256.js +9 -0
- package/node_modules/ethereum-cryptography/sha256.js.map +1 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-crypto.d.ts +2 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-crypto.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-crypto.js +7 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-crypto.js.map +1 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.d.ts +13 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.d.ts.map +1 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js +47 -0
- package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js.map +1 -0
- package/node_modules/ethereum-cryptography/src/aes.ts +52 -0
- package/node_modules/ethereum-cryptography/src/bip39/index.ts +40 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/czech.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/english.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/french.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/italian.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/japanese.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/korean.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/simplified-chinese.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/spanish.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/bip39/wordlists/traditional-chinese.ts +2050 -0
- package/node_modules/ethereum-cryptography/src/blake2b.ts +9 -0
- package/node_modules/ethereum-cryptography/src/hash-utils.ts +11 -0
- package/node_modules/ethereum-cryptography/src/hdkey.ts +5 -0
- package/node_modules/ethereum-cryptography/src/index.ts +3 -0
- package/node_modules/ethereum-cryptography/src/keccak.ts +19 -0
- package/node_modules/ethereum-cryptography/src/pbkdf2.ts +37 -0
- package/node_modules/ethereum-cryptography/src/pure/hdkey.ts +36 -0
- package/node_modules/ethereum-cryptography/src/pure/ripemd160.ts +5 -0
- package/node_modules/ethereum-cryptography/src/pure/sha256.ts +5 -0
- package/node_modules/ethereum-cryptography/src/pure/shims/hdkey-crypto.ts +42 -0
- package/node_modules/ethereum-cryptography/src/pure/shims/hdkey-secp256k1v3.ts +1 -0
- package/node_modules/ethereum-cryptography/src/pure/vendor/hdkey-without-crypto.js +255 -0
- package/node_modules/ethereum-cryptography/src/random.ts +18 -0
- package/node_modules/ethereum-cryptography/src/ripemd160.ts +7 -0
- package/node_modules/ethereum-cryptography/src/scrypt.ts +24 -0
- package/node_modules/ethereum-cryptography/src/secp256k1.ts +24 -0
- package/node_modules/ethereum-cryptography/src/sha256.ts +5 -0
- package/node_modules/ethereum-cryptography/src/shims/hdkey-crypto.ts +1 -0
- package/node_modules/ethereum-cryptography/src/shims/hdkey-secp256k1v3.ts +49 -0
- package/node_modules/ethereum-cryptography/src/vendor/bip39-without-wordlists.js +206 -0
- package/node_modules/ethereum-cryptography/src/vendor/hdkey-without-crypto.js +255 -0
- package/node_modules/ethereum-cryptography/vendor/bip39-without-wordlists.js +206 -0
- package/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js +255 -0
- package/node_modules/ethereumjs-util/LICENSE +373 -0
- package/node_modules/ethereumjs-util/README.md +32 -0
- package/node_modules/ethereumjs-util/dist/account.d.ts +80 -0
- package/node_modules/ethereumjs-util/dist/account.js +168 -0
- package/node_modules/ethereumjs-util/dist/account.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/bytes.d.ts +68 -0
- package/node_modules/ethereumjs-util/dist/bytes.js +158 -0
- package/node_modules/ethereumjs-util/dist/bytes.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/constants.d.ts +34 -0
- package/node_modules/ethereumjs-util/dist/constants.js +37 -0
- package/node_modules/ethereumjs-util/dist/constants.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/hash.d.ts +30 -0
- package/node_modules/ethereumjs-util/dist/hash.js +84 -0
- package/node_modules/ethereumjs-util/dist/hash.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/index.d.ts +39 -0
- package/node_modules/ethereumjs-util/dist/index.js +46 -0
- package/node_modules/ethereumjs-util/dist/index.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/object.d.ts +12 -0
- package/node_modules/ethereumjs-util/dist/object.js +106 -0
- package/node_modules/ethereumjs-util/dist/object.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-adapter.d.ts +178 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-adapter.js +300 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-adapter.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.d.ts +1 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.js +634 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/index.d.ts +5 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/index.js +61 -0
- package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/index.js.map +1 -0
- package/node_modules/ethereumjs-util/dist/signature.d.ts +37 -0
- package/node_modules/ethereumjs-util/dist/signature.js +107 -0
- package/node_modules/ethereumjs-util/dist/signature.js.map +1 -0
- package/node_modules/ethereumjs-util/package.json +131 -0
- package/node_modules/ethjs-util/LICENSE +21 -0
- package/node_modules/ethjs-util/README.md +143 -0
- package/node_modules/ethjs-util/dist/ethjs-util.js +2420 -0
- package/node_modules/ethjs-util/dist/ethjs-util.js.map +1 -0
- package/node_modules/ethjs-util/dist/ethjs-util.min.js +1 -0
- package/node_modules/ethjs-util/internals/webpack/webpack.config.js +58 -0
- package/node_modules/ethjs-util/lib/index.js +220 -0
- package/node_modules/ethjs-util/lib/tests/test.index.js +357 -0
- package/node_modules/ethjs-util/package.json +229 -0
- package/node_modules/ethjs-util/src/index.js +203 -0
- package/node_modules/ethjs-util/src/tests/test.index.js +382 -0
- package/node_modules/evp_bytestokey/LICENSE +21 -0
- package/node_modules/evp_bytestokey/README.md +51 -0
- package/node_modules/evp_bytestokey/index.js +45 -0
- package/node_modules/evp_bytestokey/package.json +49 -0
- package/node_modules/execa/index.js +361 -0
- package/node_modules/execa/lib/errname.js +39 -0
- package/node_modules/execa/lib/stdio.js +41 -0
- package/node_modules/execa/license +9 -0
- package/node_modules/execa/package.json +73 -0
- package/node_modules/execa/readme.md +327 -0
- package/node_modules/find-up/index.js +46 -0
- package/node_modules/find-up/license +9 -0
- package/node_modules/find-up/package.json +54 -0
- package/node_modules/find-up/readme.md +87 -0
- package/node_modules/get-caller-file/LICENSE.md +6 -0
- package/node_modules/get-caller-file/README.md +41 -0
- package/node_modules/get-caller-file/index.d.ts +2 -0
- package/node_modules/get-caller-file/index.js +22 -0
- package/node_modules/get-caller-file/index.js.map +1 -0
- package/node_modules/get-caller-file/package.json +46 -0
- package/node_modules/get-stream/buffer-stream.js +51 -0
- package/node_modules/get-stream/index.js +50 -0
- package/node_modules/get-stream/license +9 -0
- package/node_modules/get-stream/package.json +50 -0
- package/node_modules/get-stream/readme.md +123 -0
- package/node_modules/hash-base/LICENSE +21 -0
- package/node_modules/hash-base/README.md +48 -0
- package/node_modules/hash-base/index.js +95 -0
- package/node_modules/hash-base/package.json +46 -0
- package/node_modules/hash.js/.eslintrc.js +41 -0
- package/node_modules/hash.js/.travis.yml +10 -0
- package/node_modules/hash.js/README.md +48 -0
- package/node_modules/hash.js/lib/hash/common.js +92 -0
- package/node_modules/hash.js/lib/hash/hmac.js +47 -0
- package/node_modules/hash.js/lib/hash/ripemd.js +146 -0
- package/node_modules/hash.js/lib/hash/sha/1.js +74 -0
- package/node_modules/hash.js/lib/hash/sha/224.js +30 -0
- package/node_modules/hash.js/lib/hash/sha/256.js +105 -0
- package/node_modules/hash.js/lib/hash/sha/384.js +35 -0
- package/node_modules/hash.js/lib/hash/sha/512.js +330 -0
- package/node_modules/hash.js/lib/hash/sha/common.js +49 -0
- package/node_modules/hash.js/lib/hash/sha.js +7 -0
- package/node_modules/hash.js/lib/hash/utils.js +278 -0
- package/node_modules/hash.js/lib/hash.d.ts +106 -0
- package/node_modules/hash.js/lib/hash.js +15 -0
- package/node_modules/hash.js/package.json +39 -0
- package/node_modules/hash.js/test/hash-test.js +140 -0
- package/node_modules/hash.js/test/hmac-test.js +62 -0
- package/node_modules/hmac-drbg/.npmignore +2 -0
- package/node_modules/hmac-drbg/.travis.yml +11 -0
- package/node_modules/hmac-drbg/README.md +48 -0
- package/node_modules/hmac-drbg/lib/hmac-drbg.js +113 -0
- package/node_modules/hmac-drbg/package.json +36 -0
- package/node_modules/hmac-drbg/test/drbg-test.js +91 -0
- package/node_modules/hmac-drbg/test/fixtures/hmac-drbg-nist.json +332 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +33 -0
- package/node_modules/invert-kv/index.js +15 -0
- package/node_modules/invert-kv/license +9 -0
- package/node_modules/invert-kv/package.json +36 -0
- package/node_modules/invert-kv/readme.md +25 -0
- package/node_modules/is-fullwidth-code-point/index.js +46 -0
- package/node_modules/is-fullwidth-code-point/license +21 -0
- package/node_modules/is-fullwidth-code-point/package.json +49 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/is-hex-prefixed/.editorconfig +7 -0
- package/node_modules/is-hex-prefixed/.gitattributes +106 -0
- package/node_modules/is-hex-prefixed/.npmignore +8 -0
- package/node_modules/is-hex-prefixed/.travis.yml +5 -0
- package/node_modules/is-hex-prefixed/CHANGELOG.md +7 -0
- package/node_modules/is-hex-prefixed/LICENSE +21 -0
- package/node_modules/is-hex-prefixed/README.md +101 -0
- package/node_modules/is-hex-prefixed/package.json +43 -0
- package/node_modules/is-hex-prefixed/src/index.js +13 -0
- package/node_modules/is-hex-prefixed/src/tests/test.index.js +66 -0
- package/node_modules/is-stream/index.js +21 -0
- package/node_modules/is-stream/license +21 -0
- package/node_modules/is-stream/package.json +42 -0
- package/node_modules/is-stream/readme.md +42 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +35 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/keccak/LICENSE +21 -0
- package/node_modules/keccak/README.md +64 -0
- package/node_modules/keccak/binding.gyp +78 -0
- package/node_modules/keccak/bindings.js +1 -0
- package/node_modules/keccak/index.js +5 -0
- package/node_modules/keccak/js.js +1 -0
- package/node_modules/keccak/lib/api/index.js +27 -0
- package/node_modules/keccak/lib/api/keccak.js +77 -0
- package/node_modules/keccak/lib/api/shake.js +68 -0
- package/node_modules/keccak/lib/keccak-state-reference.js +143 -0
- package/node_modules/keccak/lib/keccak-state-unroll.js +186 -0
- package/node_modules/keccak/lib/keccak.js +68 -0
- package/node_modules/keccak/package.json +41 -0
- package/node_modules/keccak/prebuilds/darwin-x64/node.napi.node +0 -0
- package/node_modules/keccak/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/node_modules/keccak/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/node_modules/keccak/prebuilds/win32-x64/node.napi.node +0 -0
- package/node_modules/keccak/src/README.md +28 -0
- package/node_modules/keccak/src/addon.cc +98 -0
- package/node_modules/keccak/src/libkeccak-32/KeccakP-1600-SnP.h +38 -0
- package/node_modules/keccak/src/libkeccak-32/KeccakP-1600-inplace32BI.c +1162 -0
- package/node_modules/keccak/src/libkeccak-32/KeccakSponge-common.h +35 -0
- package/node_modules/keccak/src/libkeccak-32/KeccakSponge.inc +311 -0
- package/node_modules/keccak/src/libkeccak-32/KeccakSpongeWidth1600.c +54 -0
- package/node_modules/keccak/src/libkeccak-32/KeccakSpongeWidth1600.h +31 -0
- package/node_modules/keccak/src/libkeccak-32/SnP-Relaned.h +140 -0
- package/node_modules/keccak/src/libkeccak-32/align.h +32 -0
- package/node_modules/keccak/src/libkeccak-32/brg_endian.h +143 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-64.macros +745 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-SnP.h +51 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-opt64-config.h +6 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-opt64.c +564 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-unrolling.macros +302 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakSponge-common.h +35 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakSponge.inc +311 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakSpongeWidth1600.c +54 -0
- package/node_modules/keccak/src/libkeccak-64/KeccakSpongeWidth1600.h +31 -0
- package/node_modules/keccak/src/libkeccak-64/SnP-Relaned.h +140 -0
- package/node_modules/keccak/src/libkeccak-64/align.h +32 -0
- package/node_modules/keccak/src/libkeccak-64/brg_endian.h +143 -0
- package/node_modules/lcid/index.js +23 -0
- package/node_modules/lcid/lcid.json +203 -0
- package/node_modules/lcid/license +9 -0
- package/node_modules/lcid/package.json +51 -0
- package/node_modules/lcid/readme.md +35 -0
- package/node_modules/locate-path/index.js +24 -0
- package/node_modules/locate-path/license +9 -0
- package/node_modules/locate-path/package.json +48 -0
- package/node_modules/locate-path/readme.md +99 -0
- package/node_modules/map-age-cleaner/dist/index.d.ts +20 -0
- package/node_modules/map-age-cleaner/dist/index.js +92 -0
- package/node_modules/map-age-cleaner/license +9 -0
- package/node_modules/map-age-cleaner/package.json +63 -0
- package/node_modules/map-age-cleaner/readme.md +67 -0
- package/node_modules/md5.js/LICENSE +21 -0
- package/node_modules/md5.js/README.md +29 -0
- package/node_modules/md5.js/index.js +146 -0
- package/node_modules/md5.js/package.json +42 -0
- package/node_modules/mem/index.d.ts +96 -0
- package/node_modules/mem/index.js +88 -0
- package/node_modules/mem/license +9 -0
- package/node_modules/mem/package.json +50 -0
- package/node_modules/mem/readme.md +167 -0
- package/node_modules/mimic-fn/index.d.ts +54 -0
- package/node_modules/mimic-fn/index.js +13 -0
- package/node_modules/mimic-fn/license +9 -0
- package/node_modules/mimic-fn/package.json +46 -0
- package/node_modules/mimic-fn/readme.md +69 -0
- package/node_modules/minimalistic-assert/LICENSE +13 -0
- package/node_modules/minimalistic-assert/index.js +11 -0
- package/node_modules/minimalistic-assert/package.json +23 -0
- package/node_modules/minimalistic-assert/readme.md +4 -0
- package/node_modules/minimalistic-crypto-utils/.npmignore +2 -0
- package/node_modules/minimalistic-crypto-utils/.travis.yml +11 -0
- package/node_modules/minimalistic-crypto-utils/README.md +47 -0
- package/node_modules/minimalistic-crypto-utils/lib/utils.js +58 -0
- package/node_modules/minimalistic-crypto-utils/package.json +31 -0
- package/node_modules/minimalistic-crypto-utils/test/utils-test.js +28 -0
- package/node_modules/nice-try/LICENSE +21 -0
- package/node_modules/nice-try/README.md +32 -0
- package/node_modules/nice-try/package.json +37 -0
- package/node_modules/nice-try/src/index.js +12 -0
- package/node_modules/node-addon-api/.editorconfig +8 -0
- package/node_modules/node-addon-api/.travis.yml +62 -0
- package/node_modules/node-addon-api/CHANGELOG.md +412 -0
- package/node_modules/node-addon-api/CODE_OF_CONDUCT.md +4 -0
- package/node_modules/node-addon-api/CONTRIBUTING.md +66 -0
- package/node_modules/node-addon-api/LICENSE.md +13 -0
- package/node_modules/node-addon-api/README.md +203 -0
- package/node_modules/node-addon-api/appveyor.yml +48 -0
- package/node_modules/node-addon-api/doc/Doxyfile +2450 -0
- package/node_modules/node-addon-api/doc/array_buffer.md +129 -0
- package/node_modules/node-addon-api/doc/async_context.md +86 -0
- package/node_modules/node-addon-api/doc/async_operations.md +31 -0
- package/node_modules/node-addon-api/doc/async_progress_worker.md +344 -0
- package/node_modules/node-addon-api/doc/async_worker.md +398 -0
- package/node_modules/node-addon-api/doc/basic_types.md +423 -0
- package/node_modules/node-addon-api/doc/bigint.md +92 -0
- package/node_modules/node-addon-api/doc/boolean.md +64 -0
- package/node_modules/node-addon-api/doc/buffer.md +140 -0
- package/node_modules/node-addon-api/doc/callback_scope.md +54 -0
- package/node_modules/node-addon-api/doc/callbackinfo.md +97 -0
- package/node_modules/node-addon-api/doc/checker-tool.md +32 -0
- package/node_modules/node-addon-api/doc/class_property_descriptor.md +117 -0
- package/node_modules/node-addon-api/doc/cmake-js.md +68 -0
- package/node_modules/node-addon-api/doc/conversion-tool.md +28 -0
- package/node_modules/node-addon-api/doc/creating_a_release.md +62 -0
- package/node_modules/node-addon-api/doc/dataview.md +244 -0
- package/node_modules/node-addon-api/doc/date.md +68 -0
- package/node_modules/node-addon-api/doc/env.md +63 -0
- package/node_modules/node-addon-api/doc/error.md +115 -0
- package/node_modules/node-addon-api/doc/error_handling.md +186 -0
- package/node_modules/node-addon-api/doc/escapable_handle_scope.md +82 -0
- package/node_modules/node-addon-api/doc/external.md +59 -0
- package/node_modules/node-addon-api/doc/function.md +294 -0
- package/node_modules/node-addon-api/doc/function_reference.md +238 -0
- package/node_modules/node-addon-api/doc/generator.md +13 -0
- package/node_modules/node-addon-api/doc/handle_scope.md +65 -0
- package/node_modules/node-addon-api/doc/memory_management.md +27 -0
- package/node_modules/node-addon-api/doc/node-gyp.md +82 -0
- package/node_modules/node-addon-api/doc/number.md +163 -0
- package/node_modules/node-addon-api/doc/object.md +236 -0
- package/node_modules/node-addon-api/doc/object_lifetime_management.md +83 -0
- package/node_modules/node-addon-api/doc/object_reference.md +117 -0
- package/node_modules/node-addon-api/doc/object_wrap.md +557 -0
- package/node_modules/node-addon-api/doc/prebuild_tools.md +16 -0
- package/node_modules/node-addon-api/doc/promises.md +74 -0
- package/node_modules/node-addon-api/doc/property_descriptor.md +231 -0
- package/node_modules/node-addon-api/doc/range_error.md +59 -0
- package/node_modules/node-addon-api/doc/reference.md +111 -0
- package/node_modules/node-addon-api/doc/setup.md +82 -0
- package/node_modules/node-addon-api/doc/string.md +89 -0
- package/node_modules/node-addon-api/doc/symbol.md +44 -0
- package/node_modules/node-addon-api/doc/threadsafe_function.md +320 -0
- package/node_modules/node-addon-api/doc/type_error.md +59 -0
- package/node_modules/node-addon-api/doc/typed_array.md +74 -0
- package/node_modules/node-addon-api/doc/typed_array_of.md +133 -0
- package/node_modules/node-addon-api/doc/value.md +278 -0
- package/node_modules/node-addon-api/doc/version_management.md +43 -0
- package/node_modules/node-addon-api/doc/working_with_javascript_values.md +14 -0
- package/node_modules/node-addon-api/external-napi/node_api.h +7 -0
- package/node_modules/node-addon-api/index.js +45 -0
- package/node_modules/node-addon-api/napi-inl.deprecated.h +192 -0
- package/node_modules/node-addon-api/napi-inl.h +4412 -0
- package/node_modules/node-addon-api/napi.h +2173 -0
- package/node_modules/node-addon-api/package.json +248 -0
- package/node_modules/node-addon-api/src/node_api.cc +3655 -0
- package/node_modules/node-addon-api/src/node_api.gyp +21 -0
- package/node_modules/node-addon-api/src/node_api.h +588 -0
- package/node_modules/node-addon-api/src/node_api_types.h +115 -0
- package/node_modules/node-addon-api/src/node_internals.cc +142 -0
- package/node_modules/node-addon-api/src/node_internals.h +157 -0
- package/node_modules/node-addon-api/src/nothing.c +0 -0
- package/node_modules/node-addon-api/src/util-inl.h +38 -0
- package/node_modules/node-addon-api/src/util.h +7 -0
- package/node_modules/node-addon-api/tools/README.md +67 -0
- package/node_modules/node-addon-api/tools/check-napi.js +100 -0
- package/node_modules/node-addon-api/tools/conversion.js +313 -0
- package/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/node-gyp-build/bin.js +77 -0
- package/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/node-gyp-build/index.js +166 -0
- package/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/node-gyp-build/package.json +33 -0
- package/node_modules/npm-run-path/index.js +39 -0
- package/node_modules/npm-run-path/license +21 -0
- package/node_modules/npm-run-path/package.json +49 -0
- package/node_modules/npm-run-path/readme.md +81 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +37 -0
- package/node_modules/os-locale/index.js +114 -0
- package/node_modules/os-locale/license +9 -0
- package/node_modules/os-locale/package.json +49 -0
- package/node_modules/os-locale/readme.md +71 -0
- package/node_modules/p-defer/index.js +11 -0
- package/node_modules/p-defer/license +21 -0
- package/node_modules/p-defer/package.json +45 -0
- package/node_modules/p-defer/readme.md +47 -0
- package/node_modules/p-finally/index.js +15 -0
- package/node_modules/p-finally/license +21 -0
- package/node_modules/p-finally/package.json +46 -0
- package/node_modules/p-finally/readme.md +47 -0
- package/node_modules/p-is-promise/index.d.ts +23 -0
- package/node_modules/p-is-promise/index.js +15 -0
- package/node_modules/p-is-promise/license +9 -0
- package/node_modules/p-is-promise/package.json +46 -0
- package/node_modules/p-is-promise/readme.md +43 -0
- package/node_modules/p-limit/index.d.ts +38 -0
- package/node_modules/p-limit/index.js +57 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +56 -0
- package/node_modules/p-limit/readme.md +101 -0
- package/node_modules/p-locate/index.js +34 -0
- package/node_modules/p-locate/license +9 -0
- package/node_modules/p-locate/package.json +55 -0
- package/node_modules/p-locate/readme.md +88 -0
- package/node_modules/p-try/index.d.ts +39 -0
- package/node_modules/p-try/index.js +9 -0
- package/node_modules/p-try/license +9 -0
- package/node_modules/p-try/package.json +46 -0
- package/node_modules/p-try/readme.md +58 -0
- package/node_modules/path-exists/index.js +17 -0
- package/node_modules/path-exists/license +21 -0
- package/node_modules/path-exists/package.json +44 -0
- package/node_modules/path-exists/readme.md +50 -0
- package/node_modules/path-key/index.js +13 -0
- package/node_modules/path-key/license +21 -0
- package/node_modules/path-key/package.json +43 -0
- package/node_modules/path-key/readme.md +51 -0
- package/node_modules/pbkdf2/LICENSE +21 -0
- package/node_modules/pbkdf2/README.md +30 -0
- package/node_modules/pbkdf2/browser.js +2 -0
- package/node_modules/pbkdf2/index.js +38 -0
- package/node_modules/pbkdf2/lib/async.js +102 -0
- package/node_modules/pbkdf2/lib/default-encoding.js +12 -0
- package/node_modules/pbkdf2/lib/precondition.js +19 -0
- package/node_modules/pbkdf2/lib/sync-browser.js +105 -0
- package/node_modules/pbkdf2/lib/sync.js +52 -0
- package/node_modules/pbkdf2/lib/to-buffer.js +13 -0
- package/node_modules/pbkdf2/package.json +74 -0
- package/node_modules/pump/.travis.yml +5 -0
- package/node_modules/pump/LICENSE +21 -0
- package/node_modules/pump/README.md +65 -0
- package/node_modules/pump/index.js +82 -0
- package/node_modules/pump/package.json +28 -0
- package/node_modules/pump/test-browser.js +66 -0
- package/node_modules/pump/test-node.js +53 -0
- package/node_modules/randombytes/.travis.yml +15 -0
- package/node_modules/randombytes/.zuul.yml +1 -0
- package/node_modules/randombytes/LICENSE +21 -0
- package/node_modules/randombytes/README.md +14 -0
- package/node_modules/randombytes/browser.js +50 -0
- package/node_modules/randombytes/index.js +1 -0
- package/node_modules/randombytes/package.json +40 -0
- package/node_modules/randombytes/test.js +81 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +106 -0
- package/node_modules/readable-stream/errors-browser.js +127 -0
- package/node_modules/readable-stream/errors.js +116 -0
- package/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +201 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +697 -0
- package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
- package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
- package/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +72 -0
- package/node_modules/readable-stream/readable-browser.js +9 -0
- package/node_modules/readable-stream/readable.js +16 -0
- package/node_modules/require-directory/.jshintrc +67 -0
- package/node_modules/require-directory/.npmignore +1 -0
- package/node_modules/require-directory/.travis.yml +3 -0
- package/node_modules/require-directory/LICENSE +22 -0
- package/node_modules/require-directory/README.markdown +184 -0
- package/node_modules/require-directory/index.js +86 -0
- package/node_modules/require-directory/package.json +44 -0
- package/node_modules/require-main-filename/LICENSE.txt +14 -0
- package/node_modules/require-main-filename/README.md +26 -0
- package/node_modules/require-main-filename/index.js +18 -0
- package/node_modules/require-main-filename/package.json +39 -0
- package/node_modules/ripemd160/LICENSE +21 -0
- package/node_modules/ripemd160/README.md +27 -0
- package/node_modules/ripemd160/index.js +163 -0
- package/node_modules/ripemd160/package.json +41 -0
- package/node_modules/rlp/LICENSE +373 -0
- package/node_modules/rlp/README.md +58 -0
- package/node_modules/rlp/bin/rlp +35 -0
- package/node_modules/rlp/dist/index.d.ts +25 -0
- package/node_modules/rlp/dist/index.js +249 -0
- package/node_modules/rlp/dist/index.js.map +1 -0
- package/node_modules/rlp/dist/types.d.ts +9 -0
- package/node_modules/rlp/dist/types.js +3 -0
- package/node_modules/rlp/dist/types.js.map +1 -0
- package/node_modules/rlp/package.json +84 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/safe-buffer/package.json +55 -0
- package/node_modules/scrypt-js/LICENSE.txt +22 -0
- package/node_modules/scrypt-js/README.md +222 -0
- package/node_modules/scrypt-js/index.html +291 -0
- package/node_modules/scrypt-js/package.json +31 -0
- package/node_modules/scrypt-js/scrypt.d.ts +23 -0
- package/node_modules/scrypt-js/scrypt.js +488 -0
- package/node_modules/scrypt-js/thirdparty/buffer.js +1381 -0
- package/node_modules/scrypt-js/thirdparty/setImmediate.js +175 -0
- package/node_modules/scrypt-js/thirdparty/unorm.js +442 -0
- package/node_modules/secp256k1/API.md +116 -0
- package/node_modules/secp256k1/LICENSE +24 -0
- package/node_modules/secp256k1/README.md +117 -0
- package/node_modules/secp256k1/binding.gyp +100 -0
- package/node_modules/secp256k1/bindings.js +2 -0
- package/node_modules/secp256k1/elliptic.js +1 -0
- package/node_modules/secp256k1/index.js +5 -0
- package/node_modules/secp256k1/lib/elliptic.js +402 -0
- package/node_modules/secp256k1/lib/index.js +336 -0
- package/node_modules/secp256k1/package.json +47 -0
- package/node_modules/secp256k1/prebuilds/darwin-x64/node.napi.node +0 -0
- package/node_modules/secp256k1/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/node_modules/secp256k1/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/node_modules/secp256k1/prebuilds/win32-x64/node.napi.node +0 -0
- package/node_modules/secp256k1/src/addon.cc +10 -0
- package/node_modules/secp256k1/src/secp256k1/.travis.yml +100 -0
- package/node_modules/secp256k1/src/secp256k1/COPYING +19 -0
- package/node_modules/secp256k1/src/secp256k1/Makefile.am +183 -0
- package/node_modules/secp256k1/src/secp256k1/README.md +78 -0
- package/node_modules/secp256k1/src/secp256k1/SECURITY.md +15 -0
- package/node_modules/secp256k1/src/secp256k1/TODO +3 -0
- package/node_modules/secp256k1/src/secp256k1/autogen.sh +3 -0
- package/node_modules/secp256k1/src/secp256k1/build-aux/m4/ax_jni_include_dir.m4 +145 -0
- package/node_modules/secp256k1/src/secp256k1/build-aux/m4/ax_prog_cc_for_build.m4 +125 -0
- package/node_modules/secp256k1/src/secp256k1/build-aux/m4/bitcoin_secp.m4 +68 -0
- package/node_modules/secp256k1/src/secp256k1/configure.ac +591 -0
- package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_parsing.c +150 -0
- package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_parsing.h +91 -0
- package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_privatekey_parsing.c +113 -0
- package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_privatekey_parsing.h +90 -0
- package/node_modules/secp256k1/src/secp256k1/include/secp256k1.h +708 -0
- package/node_modules/secp256k1/src/secp256k1/include/secp256k1_ecdh.h +55 -0
- package/node_modules/secp256k1/src/secp256k1/include/secp256k1_preallocated.h +128 -0
- package/node_modules/secp256k1/src/secp256k1/include/secp256k1_recovery.h +110 -0
- package/node_modules/secp256k1/src/secp256k1/libsecp256k1.pc.in +13 -0
- package/node_modules/secp256k1/src/secp256k1/sage/group_prover.sage +322 -0
- package/node_modules/secp256k1/src/secp256k1/sage/secp256k1.sage +306 -0
- package/node_modules/secp256k1/src/secp256k1/sage/weierstrass_prover.sage +264 -0
- package/node_modules/secp256k1/src/secp256k1/src/asm/field_10x26_arm.s +913 -0
- package/node_modules/secp256k1/src/secp256k1/src/basic-config.h +38 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench.h +124 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench_ecdh.c +54 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench_ecmult.c +207 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench_internal.c +379 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench_recover.c +60 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench_sign.c +56 -0
- package/node_modules/secp256k1/src/secp256k1/src/bench_verify.c +112 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecdsa.h +21 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecdsa_impl.h +319 -0
- package/node_modules/secp256k1/src/secp256k1/src/eckey.h +25 -0
- package/node_modules/secp256k1/src/secp256k1/src/eckey_impl.h +100 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecmult.h +48 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecmult_const.h +20 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecmult_const_impl.h +261 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecmult_gen.h +50 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecmult_gen_impl.h +211 -0
- package/node_modules/secp256k1/src/secp256k1/src/ecmult_impl.h +1216 -0
- package/node_modules/secp256k1/src/secp256k1/src/field.h +132 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_10x26.h +50 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_10x26_impl.h +1162 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_5x52.h +49 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_5x52_asm_impl.h +502 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_5x52_impl.h +496 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_5x52_int128_impl.h +279 -0
- package/node_modules/secp256k1/src/secp256k1/src/field_impl.h +318 -0
- package/node_modules/secp256k1/src/secp256k1/src/gen_context.c +87 -0
- package/node_modules/secp256k1/src/secp256k1/src/group.h +142 -0
- package/node_modules/secp256k1/src/secp256k1/src/group_impl.h +705 -0
- package/node_modules/secp256k1/src/secp256k1/src/hash.h +41 -0
- package/node_modules/secp256k1/src/secp256k1/src/hash_impl.h +283 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/NativeSecp256k1.java +446 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/NativeSecp256k1Test.java +225 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/NativeSecp256k1Util.java +45 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/Secp256k1Context.java +51 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c +379 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.h +119 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_Secp256k1Context.c +15 -0
- package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_Secp256k1Context.h +22 -0
- package/node_modules/secp256k1/src/secp256k1/src/modules/ecdh/Makefile.am.include +8 -0
- package/node_modules/secp256k1/src/secp256k1/src/modules/ecdh/main_impl.h +67 -0
- package/node_modules/secp256k1/src/secp256k1/src/modules/ecdh/tests_impl.h +132 -0
- package/node_modules/secp256k1/src/secp256k1/src/modules/recovery/Makefile.am.include +8 -0
- package/node_modules/secp256k1/src/secp256k1/src/modules/recovery/main_impl.h +193 -0
- package/node_modules/secp256k1/src/secp256k1/src/modules/recovery/tests_impl.h +393 -0
- package/node_modules/secp256k1/src/secp256k1/src/num.h +74 -0
- package/node_modules/secp256k1/src/secp256k1/src/num_gmp.h +20 -0
- package/node_modules/secp256k1/src/secp256k1/src/num_gmp_impl.h +288 -0
- package/node_modules/secp256k1/src/secp256k1/src/num_impl.h +24 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar.h +106 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_4x64.h +19 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_4x64_impl.h +949 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_8x32.h +19 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_8x32_impl.h +721 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_impl.h +333 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_low.h +15 -0
- package/node_modules/secp256k1/src/secp256k1/src/scalar_low_impl.h +117 -0
- package/node_modules/secp256k1/src/secp256k1/src/scratch.h +42 -0
- package/node_modules/secp256k1/src/secp256k1/src/scratch_impl.h +88 -0
- package/node_modules/secp256k1/src/secp256k1/src/secp256k1.c +690 -0
- package/node_modules/secp256k1/src/secp256k1/src/testrand.h +38 -0
- package/node_modules/secp256k1/src/secp256k1/src/testrand_impl.h +110 -0
- package/node_modules/secp256k1/src/secp256k1/src/tests.c +5310 -0
- package/node_modules/secp256k1/src/secp256k1/src/tests_exhaustive.c +511 -0
- package/node_modules/secp256k1/src/secp256k1/src/util.h +162 -0
- package/node_modules/secp256k1/src/secp256k1.cc +415 -0
- package/node_modules/secp256k1/src/secp256k1.h +63 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +412 -0
- package/node_modules/semver/bin/semver +160 -0
- package/node_modules/semver/package.json +32 -0
- package/node_modules/semver/range.bnf +16 -0
- package/node_modules/semver/semver.js +1483 -0
- package/node_modules/set-blocking/LICENSE.txt +14 -0
- package/node_modules/set-blocking/README.md +31 -0
- package/node_modules/set-blocking/index.js +7 -0
- package/node_modules/set-blocking/package.json +46 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +34 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/sha.js/.travis.yml +17 -0
- package/node_modules/sha.js/LICENSE +49 -0
- package/node_modules/sha.js/README.md +44 -0
- package/node_modules/sha.js/bin.js +41 -0
- package/node_modules/sha.js/hash.js +81 -0
- package/node_modules/sha.js/index.js +15 -0
- package/node_modules/sha.js/package.json +34 -0
- package/node_modules/sha.js/sha.js +94 -0
- package/node_modules/sha.js/sha1.js +99 -0
- package/node_modules/sha.js/sha224.js +53 -0
- package/node_modules/sha.js/sha256.js +135 -0
- package/node_modules/sha.js/sha384.js +57 -0
- package/node_modules/sha.js/sha512.js +260 -0
- package/node_modules/sha.js/test/hash.js +75 -0
- package/node_modules/sha.js/test/test.js +100 -0
- package/node_modules/sha.js/test/vectors.js +72 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +21 -0
- package/node_modules/shebang-command/package.json +43 -0
- package/node_modules/shebang-command/readme.md +39 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +21 -0
- package/node_modules/shebang-regex/package.json +36 -0
- package/node_modules/shebang-regex/readme.md +29 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +39 -0
- package/node_modules/signal-exit/index.js +163 -0
- package/node_modules/signal-exit/package.json +42 -0
- package/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/source-map/LICENSE +28 -0
- package/node_modules/source-map/README.md +742 -0
- package/node_modules/source-map/dist/source-map.debug.js +3234 -0
- package/node_modules/source-map/dist/source-map.js +3233 -0
- package/node_modules/source-map/dist/source-map.min.js +2 -0
- package/node_modules/source-map/dist/source-map.min.js.map +1 -0
- package/node_modules/source-map/lib/array-set.js +121 -0
- package/node_modules/source-map/lib/base64-vlq.js +140 -0
- package/node_modules/source-map/lib/base64.js +67 -0
- package/node_modules/source-map/lib/binary-search.js +111 -0
- package/node_modules/source-map/lib/mapping-list.js +79 -0
- package/node_modules/source-map/lib/quick-sort.js +114 -0
- package/node_modules/source-map/lib/source-map-consumer.js +1145 -0
- package/node_modules/source-map/lib/source-map-generator.js +425 -0
- package/node_modules/source-map/lib/source-node.js +413 -0
- package/node_modules/source-map/lib/util.js +488 -0
- package/node_modules/source-map/package.json +77 -0
- package/node_modules/source-map/source-map.d.ts +98 -0
- package/node_modules/source-map/source-map.js +8 -0
- package/node_modules/source-map-support/LICENSE.md +21 -0
- package/node_modules/source-map-support/README.md +284 -0
- package/node_modules/source-map-support/browser-source-map-support.js +113 -0
- package/node_modules/source-map-support/package.json +35 -0
- package/node_modules/source-map-support/register.js +1 -0
- package/node_modules/source-map-support/source-map-support.js +567 -0
- package/node_modules/string-width/index.js +39 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +60 -0
- package/node_modules/string-width/readme.md +45 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +38 -0
- package/node_modules/strip-ansi/index.d.ts +15 -0
- package/node_modules/strip-ansi/index.js +7 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +58 -0
- package/node_modules/strip-ansi/readme.md +61 -0
- package/node_modules/strip-eof/index.js +15 -0
- package/node_modules/strip-eof/license +21 -0
- package/node_modules/strip-eof/package.json +43 -0
- package/node_modules/strip-eof/readme.md +28 -0
- package/node_modules/strip-hex-prefix/.editorconfig +7 -0
- package/node_modules/strip-hex-prefix/.gitattributes +106 -0
- package/node_modules/strip-hex-prefix/.npmignore +8 -0
- package/node_modules/strip-hex-prefix/.travis.yml +5 -0
- package/node_modules/strip-hex-prefix/CHANGELOG.md +7 -0
- package/node_modules/strip-hex-prefix/LICENSE +21 -0
- package/node_modules/strip-hex-prefix/README.md +106 -0
- package/node_modules/strip-hex-prefix/package.json +46 -0
- package/node_modules/strip-hex-prefix/src/index.js +14 -0
- package/node_modules/strip-hex-prefix/src/tests/test.index.js +47 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +31 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +51 -0
- package/node_modules/which/bin/which +52 -0
- package/node_modules/which/package.json +34 -0
- package/node_modules/which/which.js +135 -0
- package/node_modules/which-module/LICENSE +13 -0
- package/node_modules/which-module/README.md +55 -0
- package/node_modules/which-module/index.js +9 -0
- package/node_modules/which-module/package.json +45 -0
- package/node_modules/wrap-ansi/index.js +188 -0
- package/node_modules/wrap-ansi/license +9 -0
- package/node_modules/wrap-ansi/package.json +65 -0
- package/node_modules/wrap-ansi/readme.md +108 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +33 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/y18n/LICENSE +13 -0
- package/node_modules/y18n/README.md +109 -0
- package/node_modules/y18n/index.js +188 -0
- package/node_modules/y18n/package.json +43 -0
- package/node_modules/yargs/LICENSE +22 -0
- package/node_modules/yargs/README.md +122 -0
- package/node_modules/yargs/index.js +32 -0
- package/node_modules/yargs/lib/apply-extends.js +53 -0
- package/node_modules/yargs/lib/argsert.js +68 -0
- package/node_modules/yargs/lib/command.js +437 -0
- package/node_modules/yargs/lib/completion-templates.js +49 -0
- package/node_modules/yargs/lib/completion.js +115 -0
- package/node_modules/yargs/lib/decamelize.js +32 -0
- package/node_modules/yargs/lib/is-promise.js +3 -0
- package/node_modules/yargs/lib/levenshtein.js +58 -0
- package/node_modules/yargs/lib/middleware.js +65 -0
- package/node_modules/yargs/lib/obj-filter.js +11 -0
- package/node_modules/yargs/lib/usage.js +540 -0
- package/node_modules/yargs/lib/validation.js +341 -0
- package/node_modules/yargs/lib/yerror.js +11 -0
- package/node_modules/yargs/locales/be.json +39 -0
- package/node_modules/yargs/locales/de.json +39 -0
- package/node_modules/yargs/locales/en.json +42 -0
- package/node_modules/yargs/locales/es.json +39 -0
- package/node_modules/yargs/locales/fr.json +37 -0
- package/node_modules/yargs/locales/hi.json +42 -0
- package/node_modules/yargs/locales/hu.json +39 -0
- package/node_modules/yargs/locales/id.json +43 -0
- package/node_modules/yargs/locales/it.json +39 -0
- package/node_modules/yargs/locales/ja.json +42 -0
- package/node_modules/yargs/locales/ko.json +42 -0
- package/node_modules/yargs/locales/nb.json +37 -0
- package/node_modules/yargs/locales/nl.json +42 -0
- package/node_modules/yargs/locales/nn.json +39 -0
- package/node_modules/yargs/locales/pirate.json +13 -0
- package/node_modules/yargs/locales/pl.json +42 -0
- package/node_modules/yargs/locales/pt.json +38 -0
- package/node_modules/yargs/locales/pt_BR.json +42 -0
- package/node_modules/yargs/locales/ru.json +39 -0
- package/node_modules/yargs/locales/th.json +39 -0
- package/node_modules/yargs/locales/tr.json +41 -0
- package/node_modules/yargs/locales/zh_CN.json +41 -0
- package/node_modules/yargs/locales/zh_TW.json +40 -0
- package/node_modules/yargs/package.json +83 -0
- package/node_modules/yargs/yargs.js +1205 -0
- package/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/node_modules/yargs-parser/README.md +396 -0
- package/node_modules/yargs-parser/index.js +916 -0
- package/node_modules/yargs-parser/lib/tokenize-arg-string.js +40 -0
- package/node_modules/yargs-parser/package.json +51 -0
- package/package.json +73 -4
@@ -0,0 +1,284 @@
|
|
1
|
+
# Source Map Support
|
2
|
+
[![Build Status](https://travis-ci.org/evanw/node-source-map-support.svg?branch=master)](https://travis-ci.org/evanw/node-source-map-support)
|
3
|
+
|
4
|
+
This module provides source map support for stack traces in node via the [V8 stack trace API](https://github.com/v8/v8/wiki/Stack-Trace-API). It uses the [source-map](https://github.com/mozilla/source-map) module to replace the paths and line numbers of source-mapped files with their original paths and line numbers. The output mimics node's stack trace format with the goal of making every compile-to-JS language more of a first-class citizen. Source maps are completely general (not specific to any one language) so you can use source maps with multiple compile-to-JS languages in the same node process.
|
5
|
+
|
6
|
+
## Installation and Usage
|
7
|
+
|
8
|
+
#### Node support
|
9
|
+
|
10
|
+
```
|
11
|
+
$ npm install source-map-support
|
12
|
+
```
|
13
|
+
|
14
|
+
Source maps can be generated using libraries such as [source-map-index-generator](https://github.com/twolfson/source-map-index-generator). Once you have a valid source map, place a source mapping comment somewhere in the file (usually done automatically or with an option by your transpiler):
|
15
|
+
|
16
|
+
```
|
17
|
+
//# sourceMappingURL=path/to/source.map
|
18
|
+
```
|
19
|
+
|
20
|
+
If multiple sourceMappingURL comments exist in one file, the last sourceMappingURL comment will be
|
21
|
+
respected (e.g. if a file mentions the comment in code, or went through multiple transpilers).
|
22
|
+
The path should either be absolute or relative to the compiled file.
|
23
|
+
|
24
|
+
From here you have two options.
|
25
|
+
|
26
|
+
##### CLI Usage
|
27
|
+
|
28
|
+
```bash
|
29
|
+
node -r source-map-support/register compiled.js
|
30
|
+
```
|
31
|
+
|
32
|
+
##### Programmatic Usage
|
33
|
+
|
34
|
+
Put the following line at the top of the compiled file.
|
35
|
+
|
36
|
+
```js
|
37
|
+
require('source-map-support').install();
|
38
|
+
```
|
39
|
+
|
40
|
+
It is also possible to install the source map support directly by
|
41
|
+
requiring the `register` module which can be handy with ES6:
|
42
|
+
|
43
|
+
```js
|
44
|
+
import 'source-map-support/register'
|
45
|
+
|
46
|
+
// Instead of:
|
47
|
+
import sourceMapSupport from 'source-map-support'
|
48
|
+
sourceMapSupport.install()
|
49
|
+
```
|
50
|
+
Note: if you're using babel-register, it includes source-map-support already.
|
51
|
+
|
52
|
+
It is also very useful with Mocha:
|
53
|
+
|
54
|
+
```
|
55
|
+
$ mocha --require source-map-support/register tests/
|
56
|
+
```
|
57
|
+
|
58
|
+
#### Browser support
|
59
|
+
|
60
|
+
This library also works in Chrome. While the DevTools console already supports source maps, the V8 engine doesn't and `Error.prototype.stack` will be incorrect without this library. Everything will just work if you deploy your source files using [browserify](http://browserify.org/). Just make sure to pass the `--debug` flag to the browserify command so your source maps are included in the bundled code.
|
61
|
+
|
62
|
+
This library also works if you use another build process or just include the source files directly. In this case, include the file `browser-source-map-support.js` in your page and call `sourceMapSupport.install()`. It contains the whole library already bundled for the browser using browserify.
|
63
|
+
|
64
|
+
```html
|
65
|
+
<script src="browser-source-map-support.js"></script>
|
66
|
+
<script>sourceMapSupport.install();</script>
|
67
|
+
```
|
68
|
+
|
69
|
+
This library also works if you use AMD (Asynchronous Module Definition), which is used in tools like [RequireJS](http://requirejs.org/). Just list `browser-source-map-support` as a dependency:
|
70
|
+
|
71
|
+
```html
|
72
|
+
<script>
|
73
|
+
define(['browser-source-map-support'], function(sourceMapSupport) {
|
74
|
+
sourceMapSupport.install();
|
75
|
+
});
|
76
|
+
</script>
|
77
|
+
```
|
78
|
+
|
79
|
+
## Options
|
80
|
+
|
81
|
+
This module installs two things: a change to the `stack` property on `Error` objects and a handler for uncaught exceptions that mimics node's default exception handler (the handler can be seen in the demos below). You may want to disable the handler if you have your own uncaught exception handler. This can be done by passing an argument to the installer:
|
82
|
+
|
83
|
+
```js
|
84
|
+
require('source-map-support').install({
|
85
|
+
handleUncaughtExceptions: false
|
86
|
+
});
|
87
|
+
```
|
88
|
+
|
89
|
+
This module loads source maps from the filesystem by default. You can provide alternate loading behavior through a callback as shown below. For example, [Meteor](https://github.com/meteor) keeps all source maps cached in memory to avoid disk access.
|
90
|
+
|
91
|
+
```js
|
92
|
+
require('source-map-support').install({
|
93
|
+
retrieveSourceMap: function(source) {
|
94
|
+
if (source === 'compiled.js') {
|
95
|
+
return {
|
96
|
+
url: 'original.js',
|
97
|
+
map: fs.readFileSync('compiled.js.map', 'utf8')
|
98
|
+
};
|
99
|
+
}
|
100
|
+
return null;
|
101
|
+
}
|
102
|
+
});
|
103
|
+
```
|
104
|
+
|
105
|
+
The module will by default assume a browser environment if XMLHttpRequest and window are defined. If either of these do not exist it will instead assume a node environment.
|
106
|
+
In some rare cases, e.g. when running a browser emulation and where both variables are also set, you can explictly specify the environment to be either 'browser' or 'node'.
|
107
|
+
|
108
|
+
```js
|
109
|
+
require('source-map-support').install({
|
110
|
+
environment: 'node'
|
111
|
+
});
|
112
|
+
```
|
113
|
+
|
114
|
+
To support files with inline source maps, the `hookRequire` options can be specified, which will monitor all source files for inline source maps.
|
115
|
+
|
116
|
+
|
117
|
+
```js
|
118
|
+
require('source-map-support').install({
|
119
|
+
hookRequire: true
|
120
|
+
});
|
121
|
+
```
|
122
|
+
|
123
|
+
This monkey patches the `require` module loading chain, so is not enabled by default and is not recommended for any sort of production usage.
|
124
|
+
|
125
|
+
## Demos
|
126
|
+
|
127
|
+
#### Basic Demo
|
128
|
+
|
129
|
+
original.js:
|
130
|
+
|
131
|
+
```js
|
132
|
+
throw new Error('test'); // This is the original code
|
133
|
+
```
|
134
|
+
|
135
|
+
compiled.js:
|
136
|
+
|
137
|
+
```js
|
138
|
+
require('source-map-support').install();
|
139
|
+
|
140
|
+
throw new Error('test'); // This is the compiled code
|
141
|
+
// The next line defines the sourceMapping.
|
142
|
+
//# sourceMappingURL=compiled.js.map
|
143
|
+
```
|
144
|
+
|
145
|
+
compiled.js.map:
|
146
|
+
|
147
|
+
```json
|
148
|
+
{
|
149
|
+
"version": 3,
|
150
|
+
"file": "compiled.js",
|
151
|
+
"sources": ["original.js"],
|
152
|
+
"names": [],
|
153
|
+
"mappings": ";;AAAA,MAAM,IAAI"
|
154
|
+
}
|
155
|
+
```
|
156
|
+
|
157
|
+
Run compiled.js using node (notice how the stack trace uses original.js instead of compiled.js):
|
158
|
+
|
159
|
+
```
|
160
|
+
$ node compiled.js
|
161
|
+
|
162
|
+
original.js:1
|
163
|
+
throw new Error('test'); // This is the original code
|
164
|
+
^
|
165
|
+
Error: test
|
166
|
+
at Object.<anonymous> (original.js:1:7)
|
167
|
+
at Module._compile (module.js:456:26)
|
168
|
+
at Object.Module._extensions..js (module.js:474:10)
|
169
|
+
at Module.load (module.js:356:32)
|
170
|
+
at Function.Module._load (module.js:312:12)
|
171
|
+
at Function.Module.runMain (module.js:497:10)
|
172
|
+
at startup (node.js:119:16)
|
173
|
+
at node.js:901:3
|
174
|
+
```
|
175
|
+
|
176
|
+
#### TypeScript Demo
|
177
|
+
|
178
|
+
demo.ts:
|
179
|
+
|
180
|
+
```typescript
|
181
|
+
declare function require(name: string);
|
182
|
+
require('source-map-support').install();
|
183
|
+
class Foo {
|
184
|
+
constructor() { this.bar(); }
|
185
|
+
bar() { throw new Error('this is a demo'); }
|
186
|
+
}
|
187
|
+
new Foo();
|
188
|
+
```
|
189
|
+
|
190
|
+
Compile and run the file using the TypeScript compiler from the terminal:
|
191
|
+
|
192
|
+
```
|
193
|
+
$ npm install source-map-support typescript
|
194
|
+
$ node_modules/typescript/bin/tsc -sourcemap demo.ts
|
195
|
+
$ node demo.js
|
196
|
+
|
197
|
+
demo.ts:5
|
198
|
+
bar() { throw new Error('this is a demo'); }
|
199
|
+
^
|
200
|
+
Error: this is a demo
|
201
|
+
at Foo.bar (demo.ts:5:17)
|
202
|
+
at new Foo (demo.ts:4:24)
|
203
|
+
at Object.<anonymous> (demo.ts:7:1)
|
204
|
+
at Module._compile (module.js:456:26)
|
205
|
+
at Object.Module._extensions..js (module.js:474:10)
|
206
|
+
at Module.load (module.js:356:32)
|
207
|
+
at Function.Module._load (module.js:312:12)
|
208
|
+
at Function.Module.runMain (module.js:497:10)
|
209
|
+
at startup (node.js:119:16)
|
210
|
+
at node.js:901:3
|
211
|
+
```
|
212
|
+
|
213
|
+
There is also the option to use `-r source-map-support/register` with typescript, without the need add the `require('source-map-support').install()` in the code base:
|
214
|
+
|
215
|
+
```
|
216
|
+
$ npm install source-map-support typescript
|
217
|
+
$ node_modules/typescript/bin/tsc -sourcemap demo.ts
|
218
|
+
$ node -r source-map-support/register demo.js
|
219
|
+
|
220
|
+
demo.ts:5
|
221
|
+
bar() { throw new Error('this is a demo'); }
|
222
|
+
^
|
223
|
+
Error: this is a demo
|
224
|
+
at Foo.bar (demo.ts:5:17)
|
225
|
+
at new Foo (demo.ts:4:24)
|
226
|
+
at Object.<anonymous> (demo.ts:7:1)
|
227
|
+
at Module._compile (module.js:456:26)
|
228
|
+
at Object.Module._extensions..js (module.js:474:10)
|
229
|
+
at Module.load (module.js:356:32)
|
230
|
+
at Function.Module._load (module.js:312:12)
|
231
|
+
at Function.Module.runMain (module.js:497:10)
|
232
|
+
at startup (node.js:119:16)
|
233
|
+
at node.js:901:3
|
234
|
+
```
|
235
|
+
|
236
|
+
#### CoffeeScript Demo
|
237
|
+
|
238
|
+
demo.coffee:
|
239
|
+
|
240
|
+
```coffee
|
241
|
+
require('source-map-support').install()
|
242
|
+
foo = ->
|
243
|
+
bar = -> throw new Error 'this is a demo'
|
244
|
+
bar()
|
245
|
+
foo()
|
246
|
+
```
|
247
|
+
|
248
|
+
Compile and run the file using the CoffeeScript compiler from the terminal:
|
249
|
+
|
250
|
+
```sh
|
251
|
+
$ npm install source-map-support coffeescript
|
252
|
+
$ node_modules/.bin/coffee --map --compile demo.coffee
|
253
|
+
$ node demo.js
|
254
|
+
|
255
|
+
demo.coffee:3
|
256
|
+
bar = -> throw new Error 'this is a demo'
|
257
|
+
^
|
258
|
+
Error: this is a demo
|
259
|
+
at bar (demo.coffee:3:22)
|
260
|
+
at foo (demo.coffee:4:3)
|
261
|
+
at Object.<anonymous> (demo.coffee:5:1)
|
262
|
+
at Object.<anonymous> (demo.coffee:1:1)
|
263
|
+
at Module._compile (module.js:456:26)
|
264
|
+
at Object.Module._extensions..js (module.js:474:10)
|
265
|
+
at Module.load (module.js:356:32)
|
266
|
+
at Function.Module._load (module.js:312:12)
|
267
|
+
at Function.Module.runMain (module.js:497:10)
|
268
|
+
at startup (node.js:119:16)
|
269
|
+
```
|
270
|
+
|
271
|
+
## Tests
|
272
|
+
|
273
|
+
This repo contains both automated tests for node and manual tests for the browser. The automated tests can be run using mocha (type `mocha` in the root directory). To run the manual tests:
|
274
|
+
|
275
|
+
* Build the tests using `build.js`
|
276
|
+
* Launch the HTTP server (`npm run serve-tests`) and visit
|
277
|
+
* http://127.0.0.1:1336/amd-test
|
278
|
+
* http://127.0.0.1:1336/browser-test
|
279
|
+
* http://127.0.0.1:1336/browserify-test - **Currently not working** due to a bug with browserify (see [pull request #66](https://github.com/evanw/node-source-map-support/pull/66) for details).
|
280
|
+
* For `header-test`, run `server.js` inside that directory and visit http://127.0.0.1:1337/
|
281
|
+
|
282
|
+
## License
|
283
|
+
|
284
|
+
This code is available under the [MIT license](http://opensource.org/licenses/MIT).
|
@@ -0,0 +1,113 @@
|
|
1
|
+
/*
|
2
|
+
* Support for source maps in V8 stack traces
|
3
|
+
* https://github.com/evanw/node-source-map-support
|
4
|
+
*/
|
5
|
+
/*
|
6
|
+
The buffer module from node.js, for the browser.
|
7
|
+
|
8
|
+
@author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
9
|
+
license MIT
|
10
|
+
*/
|
11
|
+
(this.define||function(G,J){this.sourceMapSupport=J()})("browser-source-map-support",function(G){(function b(n,u,m){function e(d,a){if(!u[d]){if(!n[d]){var l="function"==typeof require&&require;if(!a&&l)return l(d,!0);if(g)return g(d,!0);throw Error("Cannot find module '"+d+"'");}l=u[d]={exports:{}};n[d][0].call(l.exports,function(a){var b=n[d][1][a];return e(b?b:a)},l,l.exports,b,n,u,m)}return u[d].exports}for(var g="function"==typeof require&&require,h=0;h<m.length;h++)e(m[h]);return e})({1:[function(n,
|
12
|
+
u,m){G=n("./source-map-support")},{"./source-map-support":21}],2:[function(n,u,m){(function(b){function e(b){b=b.charCodeAt(0);if(43===b)return 62;if(47===b)return 63;if(48>b)return-1;if(58>b)return b-48+52;if(91>b)return b-65;if(123>b)return b-97+26}var g="undefined"!==typeof Uint8Array?Uint8Array:Array;b.toByteArray=function(b){function d(a){r[w++]=a}if(0<b.length%4)throw Error("Invalid string. Length must be a multiple of 4");var a=b.length;var l="="===b.charAt(a-2)?2:"="===b.charAt(a-1)?1:0;var r=
|
13
|
+
new g(3*b.length/4-l);var q=0<l?b.length-4:b.length;var w=0;for(a=0;a<q;a+=4){var h=e(b.charAt(a))<<18|e(b.charAt(a+1))<<12|e(b.charAt(a+2))<<6|e(b.charAt(a+3));d((h&16711680)>>16);d((h&65280)>>8);d(h&255)}2===l?(h=e(b.charAt(a))<<2|e(b.charAt(a+1))>>4,d(h&255)):1===l&&(h=e(b.charAt(a))<<10|e(b.charAt(a+1))<<4|e(b.charAt(a+2))>>2,d(h>>8&255),d(h&255));return r};b.fromByteArray=function(b){var d=b.length%3,a="",l;var e=0;for(l=b.length-d;e<l;e+=3){var g=(b[e]<<16)+(b[e+1]<<8)+b[e+2];g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>
|
14
|
+
18&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>12&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>6&63)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g&63);a+=g}switch(d){case 1:g=b[b.length-1];a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>2);a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g<<4&63);a+="==";break;case 2:g=(b[b.length-2]<<8)+
|
15
|
+
b[b.length-1],a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>10),a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g>>4&63),a+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(g<<2&63),a+="="}return a}})("undefined"===typeof m?this.base64js={}:m)},{}],3:[function(n,u,m){},{}],4:[function(n,u,m){(function(b){var e=Object.prototype.toString,g="function"===typeof b.alloc&&"function"===typeof b.allocUnsafe&&"function"===
|
16
|
+
typeof b.from;u.exports=function(h,d,a){if("number"===typeof h)throw new TypeError('"value" argument must not be a number');if("ArrayBuffer"===e.call(h).slice(8,-1)){d>>>=0;var l=h.byteLength-d;if(0>l)throw new RangeError("'offset' is out of bounds");if(void 0===a)a=l;else if(a>>>=0,a>l)throw new RangeError("'length' is out of bounds");return g?b.from(h.slice(d,d+a)):new b(new Uint8Array(h.slice(d,d+a)))}if("string"===typeof h){a=d;if("string"!==typeof a||""===a)a="utf8";if(!b.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');
|
17
|
+
return g?b.from(h,a):new b(h,a)}return g?b.from(h):new b(h)}}).call(this,n("buffer").Buffer)},{buffer:5}],5:[function(n,u,m){function b(f,p,a){if(!(this instanceof b))return new b(f,p,a);var c=typeof f;if("number"===c)var d=0<f?f>>>0:0;else if("string"===c){if("base64"===p)for(f=(f.trim?f.trim():f.replace(/^\s+|\s+$/g,"")).replace(H,"");0!==f.length%4;)f+="=";d=b.byteLength(f,p)}else if("object"===c&&null!==f)"Buffer"===f.type&&F(f.data)&&(f=f.data),d=0<+f.length?Math.floor(+f.length):0;else throw new TypeError("must start with number, buffer, array or string");
|
18
|
+
if(this.length>D)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+D.toString(16)+" bytes");if(b.TYPED_ARRAY_SUPPORT)var k=b._augment(new Uint8Array(d));else k=this,k.length=d,k._isBuffer=!0;if(b.TYPED_ARRAY_SUPPORT&&"number"===typeof f.byteLength)k._set(f);else{var C=f;if(F(C)||b.isBuffer(C)||C&&"object"===typeof C&&"number"===typeof C.length)if(b.isBuffer(f))for(p=0;p<d;p++)k[p]=f.readUInt8(p);else for(p=0;p<d;p++)k[p]=(f[p]%256+256)%256;else if("string"===c)k.write(f,
|
19
|
+
0,p);else if("number"===c&&!b.TYPED_ARRAY_SUPPORT&&!a)for(p=0;p<d;p++)k[p]=0}return k}function e(f,p,b){var a="";for(b=Math.min(f.length,b);p<b;p++)a+=String.fromCharCode(f[p]);return a}function g(f,p,b){if(0!==f%1||0>f)throw new RangeError("offset is not uint");if(f+p>b)throw new RangeError("Trying to access beyond buffer length");}function h(f,p,a,c,d,k){if(!b.isBuffer(f))throw new TypeError("buffer must be a Buffer instance");if(p>d||p<k)throw new TypeError("value is out of bounds");if(a+c>f.length)throw new TypeError("index out of range");
|
20
|
+
}function d(f,p,b,a){0>p&&(p=65535+p+1);for(var c=0,d=Math.min(f.length-b,2);c<d;c++)f[b+c]=(p&255<<8*(a?c:1-c))>>>8*(a?c:1-c)}function a(f,p,b,a){0>p&&(p=4294967295+p+1);for(var c=0,d=Math.min(f.length-b,4);c<d;c++)f[b+c]=p>>>8*(a?c:3-c)&255}function l(f,p,b,a,c,d){if(p>c||p<d)throw new TypeError("value is out of bounds");if(b+a>f.length)throw new TypeError("index out of range");}function r(f,p,b,a,c){c||l(f,p,b,4,3.4028234663852886E38,-3.4028234663852886E38);z.write(f,p,b,a,23,4);return b+4}function q(f,
|
21
|
+
p,b,a,c){c||l(f,p,b,8,1.7976931348623157E308,-1.7976931348623157E308);z.write(f,p,b,a,52,8);return b+8}function w(f){for(var p=[],b=0;b<f.length;b++){var a=f.charCodeAt(b);if(127>=a)p.push(a);else{var c=b;55296<=a&&57343>=a&&b++;a=encodeURIComponent(f.slice(c,b+1)).substr(1).split("%");for(c=0;c<a.length;c++)p.push(parseInt(a[c],16))}}return p}function v(f){for(var b=[],a=0;a<f.length;a++)b.push(f.charCodeAt(a)&255);return b}function c(f,b,a,c,d){d&&(c-=c%d);for(d=0;d<c&&!(d+a>=b.length||d>=f.length);d++)b[d+
|
22
|
+
a]=f[d];return d}function k(f){try{return decodeURIComponent(f)}catch(p){return String.fromCharCode(65533)}}var x=n("base64-js"),z=n("ieee754"),F=n("is-array");m.Buffer=b;m.SlowBuffer=b;m.INSPECT_MAX_BYTES=50;b.poolSize=8192;var D=1073741823;b.TYPED_ARRAY_SUPPORT=function(){try{var f=new ArrayBuffer(0),b=new Uint8Array(f);b.foo=function(){return 42};return 42===b.foo()&&"function"===typeof b.subarray&&0===(new Uint8Array(1)).subarray(1,1).byteLength}catch(C){return!1}}();b.isBuffer=function(f){return!(null==
|
23
|
+
f||!f._isBuffer)};b.compare=function(f,a){if(!b.isBuffer(f)||!b.isBuffer(a))throw new TypeError("Arguments must be Buffers");for(var c=f.length,p=a.length,d=0,k=Math.min(c,p);d<k&&f[d]===a[d];d++);d!==k&&(c=f[d],p=a[d]);return c<p?-1:p<c?1:0};b.isEncoding=function(f){switch(String(f).toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "raw":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return!0;default:return!1}};b.concat=function(f,a){if(!F(f))throw new TypeError("Usage: Buffer.concat(list[, length])");
|
24
|
+
if(0===f.length)return new b(0);if(1===f.length)return f[0];var c;if(void 0===a)for(c=a=0;c<f.length;c++)a+=f[c].length;var p=new b(a),d=0;for(c=0;c<f.length;c++){var k=f[c];k.copy(p,d);d+=k.length}return p};b.byteLength=function(f,a){f+="";switch(a||"utf8"){case "ascii":case "binary":case "raw":var b=f.length;break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=2*f.length;break;case "hex":b=f.length>>>1;break;case "utf8":case "utf-8":b=w(f).length;break;case "base64":b=x.toByteArray(f).length;
|
25
|
+
break;default:b=f.length}return b};b.prototype.length=void 0;b.prototype.parent=void 0;b.prototype.toString=function(f,b,a){var c=!1;b>>>=0;a=void 0===a||Infinity===a?this.length:a>>>0;f||(f="utf8");0>b&&(b=0);a>this.length&&(a=this.length);if(a<=b)return"";for(;;)switch(f){case "hex":f=b;b=a;a=this.length;if(!f||0>f)f=0;if(!b||0>b||b>a)b=a;c="";for(a=f;a<b;a++)f=c,c=this[a],c=16>c?"0"+c.toString(16):c.toString(16),c=f+c;return c;case "utf8":case "utf-8":c=f="";for(a=Math.min(this.length,a);b<a;b++)127>=
|
26
|
+
this[b]?(f+=k(c)+String.fromCharCode(this[b]),c=""):c+="%"+this[b].toString(16);return f+k(c);case "ascii":return e(this,b,a);case "binary":return e(this,b,a);case "base64":return b=0===b&&a===this.length?x.fromByteArray(this):x.fromByteArray(this.slice(b,a)),b;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=this.slice(b,a);a="";for(f=0;f<b.length;f+=2)a+=String.fromCharCode(b[f]+256*b[f+1]);return a;default:if(c)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase();c=!0}};
|
27
|
+
b.prototype.equals=function(f){if(!b.isBuffer(f))throw new TypeError("Argument must be a Buffer");return 0===b.compare(this,f)};b.prototype.inspect=function(){var f="",b=m.INSPECT_MAX_BYTES;0<this.length&&(f=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(f+=" ... "));return"<Buffer "+f+">"};b.prototype.compare=function(f){if(!b.isBuffer(f))throw new TypeError("Argument must be a Buffer");return b.compare(this,f)};b.prototype.get=function(f){console.log(".get() is deprecated. Access using array indexes instead.");
|
28
|
+
return this.readUInt8(f)};b.prototype.set=function(f,b){console.log(".set() is deprecated. Access using array indexes instead.");return this.writeUInt8(f,b)};b.prototype.write=function(f,b,a,d){if(isFinite(b))isFinite(a)||(d=a,a=void 0);else{var p=d;d=b;b=a;a=p}b=Number(b)||0;p=this.length-b;a?(a=Number(a),a>p&&(a=p)):a=p;d=String(d||"utf8").toLowerCase();switch(d){case "hex":b=Number(b)||0;d=this.length-b;a?(a=Number(a),a>d&&(a=d)):a=d;d=f.length;if(0!==d%2)throw Error("Invalid hex string");a>d/
|
29
|
+
2&&(a=d/2);for(d=0;d<a;d++){p=parseInt(f.substr(2*d,2),16);if(isNaN(p))throw Error("Invalid hex string");this[b+d]=p}f=d;break;case "utf8":case "utf-8":f=c(w(f),this,b,a);break;case "ascii":f=c(v(f),this,b,a);break;case "binary":f=c(v(f),this,b,a);break;case "base64":f=c(x.toByteArray(f),this,b,a);break;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":p=[];for(var k=0;k<f.length;k++){var l=f.charCodeAt(k);d=l>>8;l%=256;p.push(l);p.push(d)}f=c(p,this,b,a,2);break;default:throw new TypeError("Unknown encoding: "+
|
30
|
+
d);}return f};b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};b.prototype.slice=function(f,a){var c=this.length;f=~~f;a=void 0===a?c:~~a;0>f?(f+=c,0>f&&(f=0)):f>c&&(f=c);0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c);a<f&&(a=f);if(b.TYPED_ARRAY_SUPPORT)return b._augment(this.subarray(f,a));c=a-f;for(var d=new b(c,void 0,!0),p=0;p<c;p++)d[p]=this[p+f];return d};b.prototype.readUInt8=function(f,a){a||g(f,1,this.length);return this[f]};b.prototype.readUInt16LE=
|
31
|
+
function(f,a){a||g(f,2,this.length);return this[f]|this[f+1]<<8};b.prototype.readUInt16BE=function(f,a){a||g(f,2,this.length);return this[f]<<8|this[f+1]};b.prototype.readUInt32LE=function(f,a){a||g(f,4,this.length);return(this[f]|this[f+1]<<8|this[f+2]<<16)+16777216*this[f+3]};b.prototype.readUInt32BE=function(f,a){a||g(f,4,this.length);return 16777216*this[f]+(this[f+1]<<16|this[f+2]<<8|this[f+3])};b.prototype.readInt8=function(f,a){a||g(f,1,this.length);return this[f]&128?-1*(255-this[f]+1):this[f]};
|
32
|
+
b.prototype.readInt16LE=function(f,a){a||g(f,2,this.length);var b=this[f]|this[f+1]<<8;return b&32768?b|4294901760:b};b.prototype.readInt16BE=function(f,a){a||g(f,2,this.length);var b=this[f+1]|this[f]<<8;return b&32768?b|4294901760:b};b.prototype.readInt32LE=function(f,a){a||g(f,4,this.length);return this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24};b.prototype.readInt32BE=function(a,b){b||g(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};b.prototype.readFloatLE=function(a,
|
33
|
+
b){b||g(a,4,this.length);return z.read(this,a,!0,23,4)};b.prototype.readFloatBE=function(a,b){b||g(a,4,this.length);return z.read(this,a,!1,23,4)};b.prototype.readDoubleLE=function(a,b){b||g(a,8,this.length);return z.read(this,a,!0,52,8)};b.prototype.readDoubleBE=function(a,b){b||g(a,8,this.length);return z.read(this,a,!1,52,8)};b.prototype.writeUInt8=function(a,c,d){a=+a;c>>>=0;d||h(this,a,c,1,255,0);b.TYPED_ARRAY_SUPPORT||(a=Math.floor(a));this[c]=a;return c+1};b.prototype.writeUInt16LE=function(a,
|
34
|
+
c,k){a=+a;c>>>=0;k||h(this,a,c,2,65535,0);b.TYPED_ARRAY_SUPPORT?(this[c]=a,this[c+1]=a>>>8):d(this,a,c,!0);return c+2};b.prototype.writeUInt16BE=function(a,c,k){a=+a;c>>>=0;k||h(this,a,c,2,65535,0);b.TYPED_ARRAY_SUPPORT?(this[c]=a>>>8,this[c+1]=a):d(this,a,c,!1);return c+2};b.prototype.writeUInt32LE=function(f,c,d){f=+f;c>>>=0;d||h(this,f,c,4,4294967295,0);b.TYPED_ARRAY_SUPPORT?(this[c+3]=f>>>24,this[c+2]=f>>>16,this[c+1]=f>>>8,this[c]=f):a(this,f,c,!0);return c+4};b.prototype.writeUInt32BE=function(f,
|
35
|
+
c,d){f=+f;c>>>=0;d||h(this,f,c,4,4294967295,0);b.TYPED_ARRAY_SUPPORT?(this[c]=f>>>24,this[c+1]=f>>>16,this[c+2]=f>>>8,this[c+3]=f):a(this,f,c,!1);return c+4};b.prototype.writeInt8=function(a,c,d){a=+a;c>>>=0;d||h(this,a,c,1,127,-128);b.TYPED_ARRAY_SUPPORT||(a=Math.floor(a));0>a&&(a=255+a+1);this[c]=a;return c+1};b.prototype.writeInt16LE=function(a,c,k){a=+a;c>>>=0;k||h(this,a,c,2,32767,-32768);b.TYPED_ARRAY_SUPPORT?(this[c]=a,this[c+1]=a>>>8):d(this,a,c,!0);return c+2};b.prototype.writeInt16BE=function(a,
|
36
|
+
c,k){a=+a;c>>>=0;k||h(this,a,c,2,32767,-32768);b.TYPED_ARRAY_SUPPORT?(this[c]=a>>>8,this[c+1]=a):d(this,a,c,!1);return c+2};b.prototype.writeInt32LE=function(c,d,k){c=+c;d>>>=0;k||h(this,c,d,4,2147483647,-2147483648);b.TYPED_ARRAY_SUPPORT?(this[d]=c,this[d+1]=c>>>8,this[d+2]=c>>>16,this[d+3]=c>>>24):a(this,c,d,!0);return d+4};b.prototype.writeInt32BE=function(c,d,k){c=+c;d>>>=0;k||h(this,c,d,4,2147483647,-2147483648);0>c&&(c=4294967295+c+1);b.TYPED_ARRAY_SUPPORT?(this[d]=c>>>24,this[d+1]=c>>>16,this[d+
|
37
|
+
2]=c>>>8,this[d+3]=c):a(this,c,d,!1);return d+4};b.prototype.writeFloatLE=function(a,c,b){return r(this,a,c,!0,b)};b.prototype.writeFloatBE=function(a,c,b){return r(this,a,c,!1,b)};b.prototype.writeDoubleLE=function(a,c,b){return q(this,a,c,!0,b)};b.prototype.writeDoubleBE=function(a,c,b){return q(this,a,c,!1,b)};b.prototype.copy=function(a,c,d,k){d||(d=0);k||0===k||(k=this.length);c||(c=0);if(k!==d&&0!==a.length&&0!==this.length){if(k<d)throw new TypeError("sourceEnd < sourceStart");if(0>c||c>=a.length)throw new TypeError("targetStart out of bounds");
|
38
|
+
if(0>d||d>=this.length)throw new TypeError("sourceStart out of bounds");if(0>k||k>this.length)throw new TypeError("sourceEnd out of bounds");k>this.length&&(k=this.length);a.length-c<k-d&&(k=a.length-c+d);k-=d;if(1E3>k||!b.TYPED_ARRAY_SUPPORT)for(var f=0;f<k;f++)a[f+c]=this[f+d];else a._set(this.subarray(d,d+k),c)}};b.prototype.fill=function(a,c,b){a||(a=0);c||(c=0);b||(b=this.length);if(b<c)throw new TypeError("end < start");if(b!==c&&0!==this.length){if(0>c||c>=this.length)throw new TypeError("start out of bounds");
|
39
|
+
if(0>b||b>this.length)throw new TypeError("end out of bounds");if("number"===typeof a)for(;c<b;c++)this[c]=a;else{a=w(a.toString());for(var d=a.length;c<b;c++)this[c]=a[c%d]}return this}};b.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(b.TYPED_ARRAY_SUPPORT)return(new b(this)).buffer;for(var a=new Uint8Array(this.length),c=0,d=a.length;c<d;c+=1)a[c]=this[c];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser");};var t=b.prototype;b._augment=
|
40
|
+
function(a){a.constructor=b;a._isBuffer=!0;a._get=a.get;a._set=a.set;a.get=t.get;a.set=t.set;a.write=t.write;a.toString=t.toString;a.toLocaleString=t.toString;a.toJSON=t.toJSON;a.equals=t.equals;a.compare=t.compare;a.copy=t.copy;a.slice=t.slice;a.readUInt8=t.readUInt8;a.readUInt16LE=t.readUInt16LE;a.readUInt16BE=t.readUInt16BE;a.readUInt32LE=t.readUInt32LE;a.readUInt32BE=t.readUInt32BE;a.readInt8=t.readInt8;a.readInt16LE=t.readInt16LE;a.readInt16BE=t.readInt16BE;a.readInt32LE=t.readInt32LE;a.readInt32BE=
|
41
|
+
t.readInt32BE;a.readFloatLE=t.readFloatLE;a.readFloatBE=t.readFloatBE;a.readDoubleLE=t.readDoubleLE;a.readDoubleBE=t.readDoubleBE;a.writeUInt8=t.writeUInt8;a.writeUInt16LE=t.writeUInt16LE;a.writeUInt16BE=t.writeUInt16BE;a.writeUInt32LE=t.writeUInt32LE;a.writeUInt32BE=t.writeUInt32BE;a.writeInt8=t.writeInt8;a.writeInt16LE=t.writeInt16LE;a.writeInt16BE=t.writeInt16BE;a.writeInt32LE=t.writeInt32LE;a.writeInt32BE=t.writeInt32BE;a.writeFloatLE=t.writeFloatLE;a.writeFloatBE=t.writeFloatBE;a.writeDoubleLE=
|
42
|
+
t.writeDoubleLE;a.writeDoubleBE=t.writeDoubleBE;a.fill=t.fill;a.inspect=t.inspect;a.toArrayBuffer=t.toArrayBuffer;return a};var H=/[^+\/0-9A-z]/g},{"base64-js":2,ieee754:6,"is-array":7}],6:[function(n,u,m){m.read=function(b,e,g,h,d){var a=8*d-h-1;var l=(1<<a)-1,r=l>>1,q=-7;d=g?d-1:0;var w=g?-1:1,v=b[e+d];d+=w;g=v&(1<<-q)-1;v>>=-q;for(q+=a;0<q;g=256*g+b[e+d],d+=w,q-=8);a=g&(1<<-q)-1;g>>=-q;for(q+=h;0<q;a=256*a+b[e+d],d+=w,q-=8);if(0===g)g=1-r;else{if(g===l)return a?NaN:Infinity*(v?-1:1);a+=Math.pow(2,
|
43
|
+
h);g-=r}return(v?-1:1)*a*Math.pow(2,g-h)};m.write=function(b,e,g,h,d,a){var l,r=8*a-d-1,q=(1<<r)-1,w=q>>1,v=23===d?Math.pow(2,-24)-Math.pow(2,-77):0;a=h?0:a-1;var c=h?1:-1,k=0>e||0===e&&0>1/e?1:0;e=Math.abs(e);isNaN(e)||Infinity===e?(e=isNaN(e)?1:0,h=q):(h=Math.floor(Math.log(e)/Math.LN2),1>e*(l=Math.pow(2,-h))&&(h--,l*=2),e=1<=h+w?e+v/l:e+v*Math.pow(2,1-w),2<=e*l&&(h++,l/=2),h+w>=q?(e=0,h=q):1<=h+w?(e=(e*l-1)*Math.pow(2,d),h+=w):(e=e*Math.pow(2,w-1)*Math.pow(2,d),h=0));for(;8<=d;b[g+a]=e&255,a+=
|
44
|
+
c,e/=256,d-=8);h=h<<d|e;for(r+=d;0<r;b[g+a]=h&255,a+=c,h/=256,r-=8);b[g+a-c]|=128*k}},{}],7:[function(n,u,m){var b=Object.prototype.toString;u.exports=Array.isArray||function(e){return!!e&&"[object Array]"==b.call(e)}},{}],8:[function(n,u,m){(function(b){function e(a,b){for(var d=0,l=a.length-1;0<=l;l--){var w=a[l];"."===w?a.splice(l,1):".."===w?(a.splice(l,1),d++):d&&(a.splice(l,1),d--)}if(b)for(;d--;d)a.unshift("..");return a}function g(a,b){if(a.filter)return a.filter(b);for(var d=[],l=0;l<a.length;l++)b(a[l],
|
45
|
+
l,a)&&d.push(a[l]);return d}var h=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;m.resolve=function(){for(var a="",d=!1,h=arguments.length-1;-1<=h&&!d;h--){var q=0<=h?arguments[h]:b.cwd();if("string"!==typeof q)throw new TypeError("Arguments to path.resolve must be strings");q&&(a=q+"/"+a,d="/"===q.charAt(0))}a=e(g(a.split("/"),function(a){return!!a}),!d).join("/");return(d?"/":"")+a||"."};m.normalize=function(a){var b=m.isAbsolute(a),h="/"===d(a,-1);(a=e(g(a.split("/"),function(a){return!!a}),
|
46
|
+
!b).join("/"))||b||(a=".");a&&h&&(a+="/");return(b?"/":"")+a};m.isAbsolute=function(a){return"/"===a.charAt(0)};m.join=function(){var a=Array.prototype.slice.call(arguments,0);return m.normalize(g(a,function(a,b){if("string"!==typeof a)throw new TypeError("Arguments to path.join must be strings");return a}).join("/"))};m.relative=function(a,b){function d(a){for(var c=0;c<a.length&&""===a[c];c++);for(var b=a.length-1;0<=b&&""===a[b];b--);return c>b?[]:a.slice(c,b-c+1)}a=m.resolve(a).substr(1);b=m.resolve(b).substr(1);
|
47
|
+
for(var l=d(a.split("/")),w=d(b.split("/")),e=Math.min(l.length,w.length),c=e,k=0;k<e;k++)if(l[k]!==w[k]){c=k;break}e=[];for(k=c;k<l.length;k++)e.push("..");e=e.concat(w.slice(c));return e.join("/")};m.sep="/";m.delimiter=":";m.dirname=function(a){var b=h.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b};m.basename=function(a,b){var d=h.exec(a).slice(1)[2];b&&d.substr(-1*b.length)===b&&(d=d.substr(0,d.length-b.length));return d};m.extname=function(a){return h.exec(a).slice(1)[3]};
|
48
|
+
var d="b"==="ab".substr(-1)?function(a,b,d){return a.substr(b,d)}:function(a,b,d){0>b&&(b=a.length+b);return a.substr(b,d)}}).call(this,n("g5I+bs"))},{"g5I+bs":9}],9:[function(n,u,m){function b(){}n=u.exports={};n.nextTick=function(){if("undefined"!==typeof window&&window.setImmediate)return function(b){return window.setImmediate(b)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var b=[];window.addEventListener("message",function(e){var g=e.source;g!==window&&null!==
|
49
|
+
g||"process-tick"!==e.data||(e.stopPropagation(),0<b.length&&b.shift()())},!0);return function(e){b.push(e);window.postMessage("process-tick","*")}}return function(b){setTimeout(b,0)}}();n.title="browser";n.browser=!0;n.env={};n.argv=[];n.on=b;n.addListener=b;n.once=b;n.off=b;n.removeListener=b;n.removeAllListeners=b;n.emit=b;n.binding=function(b){throw Error("process.binding is not supported");};n.cwd=function(){return"/"};n.chdir=function(b){throw Error("process.chdir is not supported");}},{}],
|
50
|
+
10:[function(n,u,m){function b(){this._array=[];this._set=h?new Map:Object.create(null)}var e=n("./util"),g=Object.prototype.hasOwnProperty,h="undefined"!==typeof Map;b.fromArray=function(d,a){for(var e=new b,g=0,h=d.length;g<h;g++)e.add(d[g],a);return e};b.prototype.size=function(){return h?this._set.size:Object.getOwnPropertyNames(this._set).length};b.prototype.add=function(b,a){var d=h?b:e.toSetString(b),r=h?this.has(b):g.call(this._set,d),q=this._array.length;r&&!a||this._array.push(b);r||(h?
|
51
|
+
this._set.set(b,q):this._set[d]=q)};b.prototype.has=function(b){if(h)return this._set.has(b);b=e.toSetString(b);return g.call(this._set,b)};b.prototype.indexOf=function(b){if(h){var a=this._set.get(b);if(0<=a)return a}else if(a=e.toSetString(b),g.call(this._set,a))return this._set[a];throw Error('"'+b+'" is not in the set.');};b.prototype.at=function(b){if(0<=b&&b<this._array.length)return this._array[b];throw Error("No element indexed by "+b);};b.prototype.toArray=function(){return this._array.slice()};
|
52
|
+
m.ArraySet=b},{"./util":19}],11:[function(n,u,m){var b=n("./base64");m.encode=function(e){var g="",h=0>e?(-e<<1)+1:e<<1;do e=h&31,h>>>=5,0<h&&(e|=32),g+=b.encode(e);while(0<h);return g};m.decode=function(e,g,h){var d=e.length,a=0,l=0;do{if(g>=d)throw Error("Expected more digits in base 64 VLQ value.");var r=b.decode(e.charCodeAt(g++));if(-1===r)throw Error("Invalid base64 digit: "+e.charAt(g-1));var q=!!(r&32);r&=31;a+=r<<l;l+=5}while(q);e=a>>1;h.value=1===(a&1)?-e:e;h.rest=g}},{"./base64":12}],12:[function(n,
|
53
|
+
u,m){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");m.encode=function(e){if(0<=e&&e<b.length)return b[e];throw new TypeError("Must be between 0 and 63: "+e);};m.decode=function(b){return 65<=b&&90>=b?b-65:97<=b&&122>=b?b-97+26:48<=b&&57>=b?b-48+52:43==b?62:47==b?63:-1}},{}],13:[function(n,u,m){function b(e,g,h,d,a,l){var r=Math.floor((g-e)/2)+e,q=a(h,d[r],!0);return 0===q?r:0<q?1<g-r?b(r,g,h,d,a,l):l==m.LEAST_UPPER_BOUND?g<d.length?g:-1:r:1<r-e?b(e,r,h,d,a,l):l==
|
54
|
+
m.LEAST_UPPER_BOUND?r:0>e?-1:e}m.GREATEST_LOWER_BOUND=1;m.LEAST_UPPER_BOUND=2;m.search=function(e,g,h,d){if(0===g.length)return-1;e=b(-1,g.length,e,g,h,d||m.GREATEST_LOWER_BOUND);if(0>e)return-1;for(;0<=e-1&&0===h(g[e],g[e-1],!0);)--e;return e}},{}],14:[function(n,u,m){function b(){this._array=[];this._sorted=!0;this._last={generatedLine:-1,generatedColumn:0}}var e=n("./util");b.prototype.unsortedForEach=function(b,e){this._array.forEach(b,e)};b.prototype.add=function(b){var g=this._last,d=g.generatedLine,
|
55
|
+
a=b.generatedLine,l=g.generatedColumn,r=b.generatedColumn;a>d||a==d&&r>=l||0>=e.compareByGeneratedPositionsInflated(g,b)?this._last=b:this._sorted=!1;this._array.push(b)};b.prototype.toArray=function(){this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0);return this._array};m.MappingList=b},{"./util":19}],15:[function(n,u,m){function b(b,e,d){var a=b[e];b[e]=b[d];b[d]=a}function e(g,h,d,a){if(d<a){var l=d-1;b(g,Math.round(d+Math.random()*(a-d)),a);for(var r=g[a],
|
56
|
+
q=d;q<a;q++)0>=h(g[q],r)&&(l+=1,b(g,l,q));b(g,l+1,q);l+=1;e(g,h,d,l-1);e(g,h,l+1,a)}}m.quickSort=function(b,h){e(b,h,0,b.length-1)}},{}],16:[function(n,u,m){function b(a,b){var c=a;"string"===typeof a&&(c=d.parseSourceMapInput(a));return null!=c.sections?new h(c,b):new e(c,b)}function e(a,b){var c=a;"string"===typeof a&&(c=d.parseSourceMapInput(a));var k=d.getArg(c,"version"),e=d.getArg(c,"sources"),w=d.getArg(c,"names",[]),g=d.getArg(c,"sourceRoot",null),h=d.getArg(c,"sourcesContent",null),q=d.getArg(c,
|
57
|
+
"mappings");c=d.getArg(c,"file",null);if(k!=this._version)throw Error("Unsupported version: "+k);g&&(g=d.normalize(g));e=e.map(String).map(d.normalize).map(function(a){return g&&d.isAbsolute(g)&&d.isAbsolute(a)?d.relative(g,a):a});this._names=l.fromArray(w.map(String),!0);this._sources=l.fromArray(e,!0);this.sourceRoot=g;this.sourcesContent=h;this._mappings=q;this._sourceMapURL=b;this.file=c}function g(){this.generatedColumn=this.generatedLine=0;this.name=this.originalColumn=this.originalLine=this.source=
|
58
|
+
null}function h(a,e){var c=a;"string"===typeof a&&(c=d.parseSourceMapInput(a));var k=d.getArg(c,"version");c=d.getArg(c,"sections");if(k!=this._version)throw Error("Unsupported version: "+k);this._sources=new l;this._names=new l;var w={line:-1,column:0};this._sections=c.map(function(a){if(a.url)throw Error("Support for url field in sections not implemented.");var c=d.getArg(a,"offset"),k=d.getArg(c,"line"),g=d.getArg(c,"column");if(k<w.line||k===w.line&&g<w.column)throw Error("Section offsets must be ordered and non-overlapping.");
|
59
|
+
w=c;return{generatedOffset:{generatedLine:k+1,generatedColumn:g+1},consumer:new b(d.getArg(a,"map"),e)}})}var d=n("./util"),a=n("./binary-search"),l=n("./array-set").ArraySet,r=n("./base64-vlq"),q=n("./quick-sort").quickSort;b.fromSourceMap=function(a){return e.fromSourceMap(a)};b.prototype._version=3;b.prototype.__generatedMappings=null;Object.defineProperty(b.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){this.__generatedMappings||this._parseMappings(this._mappings,
|
60
|
+
this.sourceRoot);return this.__generatedMappings}});b.prototype.__originalMappings=null;Object.defineProperty(b.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});b.prototype._charIsMappingSeparator=function(a,b){var c=a.charAt(b);return";"===c||","===c};b.prototype._parseMappings=function(a,b){throw Error("Subclasses must implement _parseMappings");};b.GENERATED_ORDER=
|
61
|
+
1;b.ORIGINAL_ORDER=2;b.GREATEST_LOWER_BOUND=1;b.LEAST_UPPER_BOUND=2;b.prototype.eachMapping=function(a,e,c){e=e||null;switch(c||b.GENERATED_ORDER){case b.GENERATED_ORDER:c=this._generatedMappings;break;case b.ORIGINAL_ORDER:c=this._originalMappings;break;default:throw Error("Unknown order of iteration.");}var k=this.sourceRoot;c.map(function(a){var b=null===a.source?null:this._sources.at(a.source);b=d.computeSourceURL(k,b,this._sourceMapURL);return{source:b,generatedLine:a.generatedLine,generatedColumn:a.generatedColumn,
|
62
|
+
originalLine:a.originalLine,originalColumn:a.originalColumn,name:null===a.name?null:this._names.at(a.name)}},this).forEach(a,e)};b.prototype.allGeneratedPositionsFor=function(b){var e=d.getArg(b,"line"),c={source:d.getArg(b,"source"),originalLine:e,originalColumn:d.getArg(b,"column",0)};null!=this.sourceRoot&&(c.source=d.relative(this.sourceRoot,c.source));if(!this._sources.has(c.source))return[];c.source=this._sources.indexOf(c.source);var k=[];c=this._findMapping(c,this._originalMappings,"originalLine",
|
63
|
+
"originalColumn",d.compareByOriginalPositions,a.LEAST_UPPER_BOUND);if(0<=c){var g=this._originalMappings[c];if(void 0===b.column)for(e=g.originalLine;g&&g.originalLine===e;)k.push({line:d.getArg(g,"generatedLine",null),column:d.getArg(g,"generatedColumn",null),lastColumn:d.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++c];else for(b=g.originalColumn;g&&g.originalLine===e&&g.originalColumn==b;)k.push({line:d.getArg(g,"generatedLine",null),column:d.getArg(g,"generatedColumn",null),
|
64
|
+
lastColumn:d.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++c]}return k};m.SourceMapConsumer=b;e.prototype=Object.create(b.prototype);e.prototype.consumer=b;e.fromSourceMap=function(a,b){var c=Object.create(e.prototype),k=c._names=l.fromArray(a._names.toArray(),!0),w=c._sources=l.fromArray(a._sources.toArray(),!0);c.sourceRoot=a._sourceRoot;c.sourcesContent=a._generateSourcesContent(c._sources.toArray(),c.sourceRoot);c.file=a._file;c._sourceMapURL=b;for(var h=a._mappings.toArray().slice(),
|
65
|
+
r=c.__generatedMappings=[],m=c.__originalMappings=[],v=0,n=h.length;v<n;v++){var f=h[v],p=new g;p.generatedLine=f.generatedLine;p.generatedColumn=f.generatedColumn;f.source&&(p.source=w.indexOf(f.source),p.originalLine=f.originalLine,p.originalColumn=f.originalColumn,f.name&&(p.name=k.indexOf(f.name)),m.push(p));r.push(p)}q(c.__originalMappings,d.compareByOriginalPositions);return c};e.prototype._version=3;Object.defineProperty(e.prototype,"sources",{get:function(){return this._sources.toArray().map(function(a){return d.computeSourceURL(this.sourceRoot,
|
66
|
+
a,this._sourceMapURL)},this)}});e.prototype._parseMappings=function(a,b){for(var c=1,k=0,e=0,l=0,w=0,h=0,m=a.length,v=0,f={},p={},n=[],u=[],y,B,A,E,I;v<m;)if(";"===a.charAt(v))c++,v++,k=0;else if(","===a.charAt(v))v++;else{y=new g;y.generatedLine=c;for(E=v;E<m&&!this._charIsMappingSeparator(a,E);E++);B=a.slice(v,E);if(A=f[B])v+=B.length;else{for(A=[];v<E;)r.decode(a,v,p),I=p.value,v=p.rest,A.push(I);if(2===A.length)throw Error("Found a source, but no line and column");if(3===A.length)throw Error("Found a source and line, but no column");
|
67
|
+
f[B]=A}y.generatedColumn=k+A[0];k=y.generatedColumn;1<A.length&&(y.source=w+A[1],w+=A[1],y.originalLine=e+A[2],e=y.originalLine,y.originalLine+=1,y.originalColumn=l+A[3],l=y.originalColumn,4<A.length&&(y.name=h+A[4],h+=A[4]));u.push(y);"number"===typeof y.originalLine&&n.push(y)}q(u,d.compareByGeneratedPositionsDeflated);this.__generatedMappings=u;q(n,d.compareByOriginalPositions);this.__originalMappings=n};e.prototype._findMapping=function(b,d,c,k,e,g){if(0>=b[c])throw new TypeError("Line must be greater than or equal to 1, got "+
|
68
|
+
b[c]);if(0>b[k])throw new TypeError("Column must be greater than or equal to 0, got "+b[k]);return a.search(b,d,e,g)};e.prototype.computeColumnSpans=function(){for(var a=0;a<this._generatedMappings.length;++a){var b=this._generatedMappings[a];if(a+1<this._generatedMappings.length){var c=this._generatedMappings[a+1];if(b.generatedLine===c.generatedLine){b.lastGeneratedColumn=c.generatedColumn-1;continue}}b.lastGeneratedColumn=Infinity}};e.prototype.originalPositionFor=function(a){var e={generatedLine:d.getArg(a,
|
69
|
+
"line"),generatedColumn:d.getArg(a,"column")};a=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",d.compareByGeneratedPositionsDeflated,d.getArg(a,"bias",b.GREATEST_LOWER_BOUND));if(0<=a&&(a=this._generatedMappings[a],a.generatedLine===e.generatedLine)){e=d.getArg(a,"source",null);null!==e&&(e=this._sources.at(e),e=d.computeSourceURL(this.sourceRoot,e,this._sourceMapURL));var c=d.getArg(a,"name",null);null!==c&&(c=this._names.at(c));return{source:e,line:d.getArg(a,"originalLine",
|
70
|
+
null),column:d.getArg(a,"originalColumn",null),name:c}}return{source:null,line:null,column:null,name:null}};e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return null==a}):!1};e.prototype.sourceContentFor=function(a,b){if(!this.sourcesContent)return null;var c=a;null!=this.sourceRoot&&(c=d.relative(this.sourceRoot,c));if(this._sources.has(c))return this.sourcesContent[this._sources.indexOf(c)];
|
71
|
+
var k=this.sources,e;for(e=0;e<k.length;++e)if(k[e]==a)return this.sourcesContent[e];var g;if(null!=this.sourceRoot&&(g=d.urlParse(this.sourceRoot))){k=c.replace(/^file:\/\//,"");if("file"==g.scheme&&this._sources.has(k))return this.sourcesContent[this._sources.indexOf(k)];if((!g.path||"/"==g.path)&&this._sources.has("/"+c))return this.sourcesContent[this._sources.indexOf("/"+c)]}if(b)return null;throw Error('"'+c+'" is not in the SourceMap.');};e.prototype.generatedPositionFor=function(a){var e=
|
72
|
+
d.getArg(a,"source");null!=this.sourceRoot&&(e=d.relative(this.sourceRoot,e));if(!this._sources.has(e))return{line:null,column:null,lastColumn:null};e=this._sources.indexOf(e);e={source:e,originalLine:d.getArg(a,"line"),originalColumn:d.getArg(a,"column")};a=this._findMapping(e,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,d.getArg(a,"bias",b.GREATEST_LOWER_BOUND));return 0<=a&&(a=this._originalMappings[a],a.source===e.source)?{line:d.getArg(a,"generatedLine",
|
73
|
+
null),column:d.getArg(a,"generatedColumn",null),lastColumn:d.getArg(a,"lastGeneratedColumn",null)}:{line:null,column:null,lastColumn:null}};m.BasicSourceMapConsumer=e;h.prototype=Object.create(b.prototype);h.prototype.constructor=b;h.prototype._version=3;Object.defineProperty(h.prototype,"sources",{get:function(){for(var a=[],b=0;b<this._sections.length;b++)for(var c=0;c<this._sections[b].consumer.sources.length;c++)a.push(this._sections[b].consumer.sources[c]);return a}});h.prototype.originalPositionFor=
|
74
|
+
function(b){var e={generatedLine:d.getArg(b,"line"),generatedColumn:d.getArg(b,"column")},c=a.search(e,this._sections,function(a,b){var c=a.generatedLine-b.generatedOffset.generatedLine;return c?c:a.generatedColumn-b.generatedOffset.generatedColumn});return(c=this._sections[c])?c.consumer.originalPositionFor({line:e.generatedLine-(c.generatedOffset.generatedLine-1),column:e.generatedColumn-(c.generatedOffset.generatedLine===e.generatedLine?c.generatedOffset.generatedColumn-1:0),bias:b.bias}):{source:null,
|
75
|
+
line:null,column:null,name:null}};h.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(a){return a.consumer.hasContentsOfAllSources()})};h.prototype.sourceContentFor=function(a,b){for(var c=0;c<this._sections.length;c++){var d=this._sections[c].consumer.sourceContentFor(a,!0);if(d)return d}if(b)return null;throw Error('"'+a+'" is not in the SourceMap.');};h.prototype.generatedPositionFor=function(a){for(var b=0;b<this._sections.length;b++){var c=this._sections[b];if(-1!==
|
76
|
+
c.consumer.sources.indexOf(d.getArg(a,"source"))){var k=c.consumer.generatedPositionFor(a);if(k)return{line:k.line+(c.generatedOffset.generatedLine-1),column:k.column+(c.generatedOffset.generatedLine===k.line?c.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}};h.prototype._parseMappings=function(a,b){this.__generatedMappings=[];this.__originalMappings=[];for(var c=0;c<this._sections.length;c++)for(var k=this._sections[c],e=k.consumer._generatedMappings,g=0;g<e.length;g++){var l=
|
77
|
+
e[g],h=k.consumer._sources.at(l.source);h=d.computeSourceURL(k.consumer.sourceRoot,h,this._sourceMapURL);this._sources.add(h);h=this._sources.indexOf(h);var r=null;l.name&&(r=k.consumer._names.at(l.name),this._names.add(r),r=this._names.indexOf(r));l={source:h,generatedLine:l.generatedLine+(k.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(k.generatedOffset.generatedLine===l.generatedLine?k.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,
|
78
|
+
name:r};this.__generatedMappings.push(l);"number"===typeof l.originalLine&&this.__originalMappings.push(l)}q(this.__generatedMappings,d.compareByGeneratedPositionsDeflated);q(this.__originalMappings,d.compareByOriginalPositions)};m.IndexedSourceMapConsumer=h},{"./array-set":10,"./base64-vlq":11,"./binary-search":13,"./quick-sort":15,"./util":19}],17:[function(n,u,m){function b(a){a||(a={});this._file=g.getArg(a,"file",null);this._sourceRoot=g.getArg(a,"sourceRoot",null);this._skipValidation=g.getArg(a,
|
79
|
+
"skipValidation",!1);this._sources=new h;this._names=new h;this._mappings=new d;this._sourcesContents=null}var e=n("./base64-vlq"),g=n("./util"),h=n("./array-set").ArraySet,d=n("./mapping-list").MappingList;b.prototype._version=3;b.fromSourceMap=function(a){var d=a.sourceRoot,e=new b({file:a.file,sourceRoot:d});a.eachMapping(function(a){var b={generated:{line:a.generatedLine,column:a.generatedColumn}};null!=a.source&&(b.source=a.source,null!=d&&(b.source=g.relative(d,b.source)),b.original={line:a.originalLine,
|
80
|
+
column:a.originalColumn},null!=a.name&&(b.name=a.name));e.addMapping(b)});a.sources.forEach(function(b){var l=b;null!==d&&(l=g.relative(d,b));e._sources.has(l)||e._sources.add(l);l=a.sourceContentFor(b);null!=l&&e.setSourceContent(b,l)});return e};b.prototype.addMapping=function(a){var b=g.getArg(a,"generated"),d=g.getArg(a,"original",null),e=g.getArg(a,"source",null);a=g.getArg(a,"name",null);this._skipValidation||this._validateMapping(b,d,e,a);null!=e&&(e=String(e),this._sources.has(e)||this._sources.add(e));
|
81
|
+
null!=a&&(a=String(a),this._names.has(a)||this._names.add(a));this._mappings.add({generatedLine:b.line,generatedColumn:b.column,originalLine:null!=d&&d.line,originalColumn:null!=d&&d.column,source:e,name:a})};b.prototype.setSourceContent=function(a,b){var d=a;null!=this._sourceRoot&&(d=g.relative(this._sourceRoot,d));null!=b?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[g.toSetString(d)]=b):this._sourcesContents&&(delete this._sourcesContents[g.toSetString(d)],
|
82
|
+
0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))};b.prototype.applySourceMap=function(a,b,d){var e=b;if(null==b){if(null==a.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');e=a.file}var l=this._sourceRoot;null!=l&&(e=g.relative(l,e));var m=new h,c=new h;this._mappings.unsortedForEach(function(b){if(b.source===e&&null!=b.originalLine){var k=a.originalPositionFor({line:b.originalLine,
|
83
|
+
column:b.originalColumn});null!=k.source&&(b.source=k.source,null!=d&&(b.source=g.join(d,b.source)),null!=l&&(b.source=g.relative(l,b.source)),b.originalLine=k.line,b.originalColumn=k.column,null!=k.name&&(b.name=k.name))}k=b.source;null==k||m.has(k)||m.add(k);b=b.name;null==b||c.has(b)||c.add(b)},this);this._sources=m;this._names=c;a.sources.forEach(function(b){var c=a.sourceContentFor(b);null!=c&&(null!=d&&(b=g.join(d,b)),null!=l&&(b=g.relative(l,b)),this.setSourceContent(b,c))},this)};b.prototype._validateMapping=
|
84
|
+
function(a,b,d,e){if(b&&"number"!==typeof b.line&&"number"!==typeof b.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(a&&"line"in a&&"column"in a&&0<a.line&&0<=a.column&&!b&&!d&&!e||a&&"line"in a&&"column"in a&&b&&"line"in b&&"column"in b&&0<a.line&&0<=a.column&&0<b.line&&0<=b.column&&
|
85
|
+
d))throw Error("Invalid mapping: "+JSON.stringify({generated:a,source:d,original:b,name:e}));};b.prototype._serializeMappings=function(){for(var a=0,b=1,d=0,h=0,m=0,n=0,c="",k,x,z,F=this._mappings.toArray(),D=0,t=F.length;D<t;D++){x=F[D];k="";if(x.generatedLine!==b)for(a=0;x.generatedLine!==b;)k+=";",b++;else if(0<D){if(!g.compareByGeneratedPositionsInflated(x,F[D-1]))continue;k+=","}k+=e.encode(x.generatedColumn-a);a=x.generatedColumn;null!=x.source&&(z=this._sources.indexOf(x.source),k+=e.encode(z-
|
86
|
+
n),n=z,k+=e.encode(x.originalLine-1-h),h=x.originalLine-1,k+=e.encode(x.originalColumn-d),d=x.originalColumn,null!=x.name&&(x=this._names.indexOf(x.name),k+=e.encode(x-m),m=x));c+=k}return c};b.prototype._generateSourcesContent=function(a,b){return a.map(function(a){if(!this._sourcesContents)return null;null!=b&&(a=g.relative(b,a));a=g.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,a)?this._sourcesContents[a]:null},this)};b.prototype.toJSON=function(){var a={version:this._version,
|
87
|
+
sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};null!=this._file&&(a.file=this._file);null!=this._sourceRoot&&(a.sourceRoot=this._sourceRoot);this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot));return a};b.prototype.toString=function(){return JSON.stringify(this.toJSON())};m.SourceMapGenerator=b},{"./array-set":10,"./base64-vlq":11,"./mapping-list":14,"./util":19}],18:[function(n,u,m){function b(b,a,e,g,h){this.children=
|
88
|
+
[];this.sourceContents={};this.line=null==b?null:b;this.column=null==a?null:a;this.source=null==e?null:e;this.name=null==h?null:h;this.$$$isSourceNode$$$=!0;null!=g&&this.add(g)}var e=n("./source-map-generator").SourceMapGenerator,g=n("./util"),h=/(\r?\n)/;b.fromStringWithSourceMap=function(d,a,e){function l(a,c){if(null===a||void 0===a.source)m.add(c);else{var d=e?g.join(e,a.source):a.source;m.add(new b(a.originalLine,a.originalColumn,d,c,a.name))}}var m=new b,n=d.split(h),v=0,c=function(){var a=
|
89
|
+
v<n.length?n[v++]:void 0,b=(v<n.length?n[v++]:void 0)||"";return a+b},k=1,x=0,z=null;a.eachMapping(function(a){if(null!==z)if(k<a.generatedLine)l(z,c()),k++,x=0;else{var b=n[v]||"",d=b.substr(0,a.generatedColumn-x);n[v]=b.substr(a.generatedColumn-x);x=a.generatedColumn;l(z,d);z=a;return}for(;k<a.generatedLine;)m.add(c()),k++;x<a.generatedColumn&&(b=n[v]||"",m.add(b.substr(0,a.generatedColumn)),n[v]=b.substr(a.generatedColumn),x=a.generatedColumn);z=a},this);v<n.length&&(z&&l(z,c()),m.add(n.splice(v).join("")));
|
90
|
+
a.sources.forEach(function(b){var c=a.sourceContentFor(b);null!=c&&(null!=e&&(b=g.join(e,b)),m.setSourceContent(b,c))});return m};b.prototype.add=function(b){if(Array.isArray(b))b.forEach(function(a){this.add(a)},this);else if(b.$$$isSourceNode$$$||"string"===typeof b)b&&this.children.push(b);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+b);return this};b.prototype.prepend=function(b){if(Array.isArray(b))for(var a=b.length-1;0<=a;a--)this.prepend(b[a]);
|
91
|
+
else if(b.$$$isSourceNode$$$||"string"===typeof b)this.children.unshift(b);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+b);return this};b.prototype.walk=function(b){for(var a,d=0,e=this.children.length;d<e;d++)a=this.children[d],a.$$$isSourceNode$$$?a.walk(b):""!==a&&b(a,{source:this.source,line:this.line,column:this.column,name:this.name})};b.prototype.join=function(b){var a,d=this.children.length;if(0<d){var e=[];for(a=0;a<d-1;a++)e.push(this.children[a]),
|
92
|
+
e.push(b);e.push(this.children[a]);this.children=e}return this};b.prototype.replaceRight=function(b,a){var d=this.children[this.children.length-1];d.$$$isSourceNode$$$?d.replaceRight(b,a):"string"===typeof d?this.children[this.children.length-1]=d.replace(b,a):this.children.push("".replace(b,a));return this};b.prototype.setSourceContent=function(b,a){this.sourceContents[g.toSetString(b)]=a};b.prototype.walkSourceContents=function(b){for(var a=0,d=this.children.length;a<d;a++)this.children[a].$$$isSourceNode$$$&&
|
93
|
+
this.children[a].walkSourceContents(b);var e=Object.keys(this.sourceContents);a=0;for(d=e.length;a<d;a++)b(g.fromSetString(e[a]),this.sourceContents[e[a]])};b.prototype.toString=function(){var b="";this.walk(function(a){b+=a});return b};b.prototype.toStringWithSourceMap=function(b){var a="",d=1,g=0,h=new e(b),m=!1,n=null,c=null,k=null,x=null;this.walk(function(b,e){a+=b;null!==e.source&&null!==e.line&&null!==e.column?(n===e.source&&c===e.line&&k===e.column&&x===e.name||h.addMapping({source:e.source,
|
94
|
+
original:{line:e.line,column:e.column},generated:{line:d,column:g},name:e.name}),n=e.source,c=e.line,k=e.column,x=e.name,m=!0):m&&(h.addMapping({generated:{line:d,column:g}}),n=null,m=!1);for(var l=0,z=b.length;l<z;l++)10===b.charCodeAt(l)?(d++,g=0,l+1===z?(n=null,m=!1):m&&h.addMapping({source:e.source,original:{line:e.line,column:e.column},generated:{line:d,column:g},name:e.name})):g++});this.walkSourceContents(function(a,b){h.setSourceContent(a,b)});return{code:a,map:h}};m.SourceNode=b},{"./source-map-generator":17,
|
95
|
+
"./util":19}],19:[function(n,u,m){function b(a){return(a=a.match(w))?{scheme:a[1],auth:a[2],host:a[3],port:a[4],path:a[5]}:null}function e(a){var b="";a.scheme&&(b+=a.scheme+":");b+="//";a.auth&&(b+=a.auth+"@");a.host&&(b+=a.host);a.port&&(b+=":"+a.port);a.path&&(b+=a.path);return b}function g(a){var c=a,d=b(a);if(d){if(!d.path)return a;c=d.path}a=m.isAbsolute(c);c=c.split(/\/+/);for(var g,h=0,l=c.length-1;0<=l;l--)g=c[l],"."===g?c.splice(l,1):".."===g?h++:0<h&&(""===g?(c.splice(l+1,h),h=0):(c.splice(l,
|
96
|
+
2),h--));c=c.join("/");""===c&&(c=a?"/":".");return d?(d.path=c,e(d)):c}function h(a,d){""===a&&(a=".");""===d&&(d=".");var c=b(d),k=b(a);k&&(a=k.path||"/");if(c&&!c.scheme)return k&&(c.scheme=k.scheme),e(c);if(c||d.match(v))return d;if(k&&!k.host&&!k.path)return k.host=d,e(k);c="/"===d.charAt(0)?d:g(a.replace(/\/+$/,"")+"/"+d);return k?(k.path=c,e(k)):c}function d(a){return a}function a(a){return r(a)?"$"+a:a}function l(a){return r(a)?a.slice(1):a}function r(a){if(!a)return!1;var b=a.length;if(9>
|
97
|
+
b||95!==a.charCodeAt(b-1)||95!==a.charCodeAt(b-2)||111!==a.charCodeAt(b-3)||116!==a.charCodeAt(b-4)||111!==a.charCodeAt(b-5)||114!==a.charCodeAt(b-6)||112!==a.charCodeAt(b-7)||95!==a.charCodeAt(b-8)||95!==a.charCodeAt(b-9))return!1;for(b-=10;0<=b;b--)if(36!==a.charCodeAt(b))return!1;return!0}function q(a,b){return a===b?0:null===a?1:null===b?-1:a>b?1:-1}m.getArg=function(a,b,d){if(b in a)return a[b];if(3===arguments.length)return d;throw Error('"'+b+'" is a required argument.');};var w=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,
|
98
|
+
v=/^data:.+,.+$/;m.urlParse=b;m.urlGenerate=e;m.normalize=g;m.join=h;m.isAbsolute=function(a){return"/"===a.charAt(0)||w.test(a)};m.relative=function(a,b){""===a&&(a=".");a=a.replace(/\/$/,"");for(var c=0;0!==b.indexOf(a+"/");){var d=a.lastIndexOf("/");if(0>d)return b;a=a.slice(0,d);if(a.match(/^([^\/]+:\/)?\/*$/))return b;++c}return Array(c+1).join("../")+b.substr(a.length+1)};n=!("__proto__"in Object.create(null));m.toSetString=n?d:a;m.fromSetString=n?d:l;m.compareByOriginalPositions=function(a,
|
99
|
+
b,d){var c=q(a.source,b.source);if(0!==c)return c;c=a.originalLine-b.originalLine;if(0!==c)return c;c=a.originalColumn-b.originalColumn;if(0!==c||d)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c)return c;c=a.generatedLine-b.generatedLine;return 0!==c?c:q(a.name,b.name)};m.compareByGeneratedPositionsDeflated=function(a,b,d){var c=a.generatedLine-b.generatedLine;if(0!==c)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c||d)return c;c=q(a.source,b.source);if(0!==c)return c;c=a.originalLine-
|
100
|
+
b.originalLine;if(0!==c)return c;c=a.originalColumn-b.originalColumn;return 0!==c?c:q(a.name,b.name)};m.compareByGeneratedPositionsInflated=function(a,b){var c=a.generatedLine-b.generatedLine;if(0!==c)return c;c=a.generatedColumn-b.generatedColumn;if(0!==c)return c;c=q(a.source,b.source);if(0!==c)return c;c=a.originalLine-b.originalLine;if(0!==c)return c;c=a.originalColumn-b.originalColumn;return 0!==c?c:q(a.name,b.name)};m.parseSourceMapInput=function(a){return JSON.parse(a.replace(/^\)]}'[^\n]*\n/,
|
101
|
+
""))};m.computeSourceURL=function(a,d,l){d=d||"";a&&("/"!==a[a.length-1]&&"/"!==d[0]&&(a+="/"),d=a+d);if(l){a=b(l);if(!a)throw Error("sourceMapURL could not be parsed");a.path&&(l=a.path.lastIndexOf("/"),0<=l&&(a.path=a.path.substring(0,l+1)));d=h(e(a),d)}return g(d)}},{}],20:[function(n,u,m){m.SourceMapGenerator=n("./lib/source-map-generator").SourceMapGenerator;m.SourceMapConsumer=n("./lib/source-map-consumer").SourceMapConsumer;m.SourceNode=n("./lib/source-node").SourceNode},{"./lib/source-map-consumer":16,
|
102
|
+
"./lib/source-map-generator":17,"./lib/source-node":18}],21:[function(n,u,m){(function(b){function e(){return"browser"===f?!0:"node"===f?!1:"undefined"!==typeof window&&"function"===typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type)}function g(a){return function(b){for(var c=0;c<a.length;c++){var d=a[c](b);if(d)return d}return null}}function h(a,b){if(!a)return b;var c=x.dirname(a),d=/^\w+:\/\/[^\/]*/.exec(c);d=d?d[0]:"";var e=c.slice(d.length);
|
103
|
+
return d&&/^\/\w:/.test(e)?(d+="/",d+x.resolve(c.slice(d.length),b).replace(/\\/g,"/")):d+x.resolve(c.slice(d.length),b)}function d(a){var b=C[a.source];if(!b){var c=E(a.source);c?(b=C[a.source]={url:c.url,map:new k(c.map)},b.map.sourcesContent&&b.map.sources.forEach(function(a,c){var d=b.map.sourcesContent[c];if(d){var e=h(b.url,a);p[e]=d}})):b=C[a.source]={url:null,map:null}}return b&&b.map&&"function"===typeof b.map.originalPositionFor&&(c=b.map.originalPositionFor(a),null!==c.source)?(c.source=
|
104
|
+
h(b.url,c.source),c):a}function a(b){var c=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(b);return c?(b=d({source:c[2],line:+c[3],column:c[4]-1}),"eval at "+c[1]+" ("+b.source+":"+b.line+":"+(b.column+1)+")"):(c=/^eval at ([^(]+) \((.+)\)$/.exec(b))?"eval at "+c[1]+" ("+a(c[2])+")":b}function l(){var a="";if(this.isNative())a="native";else{var b=this.getScriptNameOrSourceURL();!b&&this.isEval()&&(a=this.getEvalOrigin(),a+=", ");a=b?a+b:a+"<anonymous>";b=this.getLineNumber();null!=b&&(a+=":"+b,(b=
|
105
|
+
this.getColumnNumber())&&(a+=":"+b))}b="";var c=this.getFunctionName(),d=!0,e=this.isConstructor();if(this.isToplevel()||e)e?b+="new "+(c||"<anonymous>"):c?b+=c:(b+=a,d=!1);else{e=this.getTypeName();"[object Object]"===e&&(e="null");var f=this.getMethodName();c?(e&&0!=c.indexOf(e)&&(b+=e+"."),b+=c,f&&c.indexOf("."+f)!=c.length-f.length-1&&(b+=" [as "+f+"]")):b+=e+"."+(f||"<anonymous>")}d&&(b+=" ("+a+")");return b}function r(a){var b={};Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(function(c){b[c]=
|
106
|
+
/^(?:is|get)/.test(c)?function(){return a[c].call(a)}:a[c]});b.toString=l;return b}function q(b){if(b.isNative())return b;var c=b.getFileName()||b.getScriptNameOrSourceURL();if(c){var f=b.getLineNumber(),g=b.getColumnNumber()-1;1===f&&62<g&&!e()&&!b.isEval()&&(g-=62);var h=d({source:c,line:f,column:g});b=r(b);var k=b.getFunctionName;b.getFunctionName=function(){return h.name||k()};b.getFileName=function(){return h.source};b.getLineNumber=function(){return h.line};b.getColumnNumber=function(){return h.column+
|
107
|
+
1};b.getScriptNameOrSourceURL=function(){return h.source};return b}var l=b.isEval()&&b.getEvalOrigin();l&&(l=a(l),b=r(b),b.getEvalOrigin=function(){return l});return b}function w(a,b){H&&(p={},C={});return(a.name||"Error")+": "+(a.message||"")+b.map(function(a){return"\n at "+q(a)}).join("")}function v(a){var b=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(a.stack);if(b){a=b[1];var c=+b[2];b=+b[3];var d=p[a];if(!d&&u&&u.existsSync(a))try{d=u.readFileSync(a,"utf8")}catch(N){d=""}if(d&&(d=d.split(/(?:\r\n|\r|\n)/)[c-
|
108
|
+
1]))return a+":"+c+"\n"+d+"\n"+Array(b).join(" ")+"^"}return null}function c(){var a=b.emit;b.emit=function(c){if("uncaughtException"===c){var d=arguments[1]&&arguments[1].stack,e=0<this.listeners(c).length;if(d&&!e){d=arguments[1];e=v(d);b.stderr._handle&&b.stderr._handle.setBlocking&&b.stderr._handle.setBlocking(!0);e&&(console.error(),console.error(e));console.error(d.stack);b.exit(1);return}}return a.apply(this,arguments)}}var k=n("source-map").SourceMapConsumer,x=n("path");try{var u=n("fs");
|
109
|
+
u.existsSync&&u.readFileSync||(u=null)}catch(M){}var F=n("buffer-from"),D=!1,t=!1,H=!1,f="auto",p={},C={},G=/^data:application\/json[^,]+base64,/,y=[],B=[],A=g(y);y.push(function(a){a=a.trim();/^file:/.test(a)&&(a=a.replace(/file:\/\/\/(\w:)?/,function(a,b){return b?"":"/"}));if(a in p)return p[a];var b="";try{if(u)u.existsSync(a)&&(b=u.readFileSync(a,"utf8"));else{var c=new XMLHttpRequest;c.open("GET",a,!1);c.send(null);4===c.readyState&&200===c.status&&(b=c.responseText)}}catch(K){}return p[a]=
|
110
|
+
b});var E=g(B);B.push(function(a){a:{if(e())try{var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);var c=b.getResponseHeader("SourceMap")||b.getResponseHeader("X-SourceMap");if(c){var d=c;break a}}catch(O){}d=A(a);b=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/)[ \t]*$)/mg;for(var f;c=b.exec(d);)f=c;d=f?f[1]:null}if(!d)return null;G.test(d)?(f=d.slice(d.indexOf(",")+1),f=F(f,"base64").toString(),d=a):(d=h(a,d),f=A(d));return f?
|
111
|
+
{url:d,map:f}:null});var I=y.slice(0),L=B.slice(0);m.wrapCallSite=q;m.getErrorSource=v;m.mapSourcePosition=d;m.retrieveSourceMap=E;m.install=function(a){a=a||{};if(a.environment&&(f=a.environment,-1===["node","browser","auto"].indexOf(f)))throw Error("environment "+f+" was unknown. Available options are {auto, browser, node}");a.retrieveFile&&(a.overrideRetrieveFile&&(y.length=0),y.unshift(a.retrieveFile));a.retrieveSourceMap&&(a.overrideRetrieveSourceMap&&(B.length=0),B.unshift(a.retrieveSourceMap));
|
112
|
+
if(a.hookRequire&&!e()){try{var d=n("module")}catch(K){}var g=d.prototype._compile;g.__sourceMapSupport||(d.prototype._compile=function(a,b){p[b]=a;C[b]=void 0;return g.call(this,a,b)},d.prototype._compile.__sourceMapSupport=!0)}H||(H="emptyCacheBetweenOperations"in a?a.emptyCacheBetweenOperations:!1);D||(D=!0,Error.prepareStackTrace=w);!t&&("handleUncaughtExceptions"in a?a.handleUncaughtExceptions:1)&&"object"===typeof b&&null!==b&&"function"===typeof b.on&&(t=!0,c())};m.resetRetrieveHandlers=function(){y.length=
|
113
|
+
0;B.length=0;y=I.slice(0);B=L.slice(0);E=g(B);A=g(y)}}).call(this,n("g5I+bs"))},{"buffer-from":4,fs:3,"g5I+bs":9,module:3,path:8,"source-map":20}]},{},[1]);return G});
|
@@ -0,0 +1,35 @@
|
|
1
|
+
{
|
2
|
+
"name": "source-map-support",
|
3
|
+
"description": "Fixes stack traces for files with source maps",
|
4
|
+
"version": "0.5.12",
|
5
|
+
"main": "./source-map-support.js",
|
6
|
+
"scripts": {
|
7
|
+
"build": "node build.js",
|
8
|
+
"serve-tests": "http-server -p 1336",
|
9
|
+
"prepublish": "npm run build",
|
10
|
+
"test": "mocha"
|
11
|
+
},
|
12
|
+
"dependencies": {
|
13
|
+
"buffer-from": "^1.0.0",
|
14
|
+
"source-map": "^0.6.0"
|
15
|
+
},
|
16
|
+
"devDependencies": {
|
17
|
+
"browserify": "^4.2.3",
|
18
|
+
"coffeescript": "^1.12.7",
|
19
|
+
"http-server": "^0.11.1",
|
20
|
+
"mocha": "^3.5.3",
|
21
|
+
"webpack": "^1.15.0"
|
22
|
+
},
|
23
|
+
"repository": {
|
24
|
+
"type": "git",
|
25
|
+
"url": "https://github.com/evanw/node-source-map-support"
|
26
|
+
},
|
27
|
+
"bugs": {
|
28
|
+
"url": "https://github.com/evanw/node-source-map-support/issues"
|
29
|
+
},
|
30
|
+
"license": "MIT"
|
31
|
+
|
32
|
+
,"_resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.12.tgz"
|
33
|
+
,"_integrity": "sha512-4h2Pbvyy15EE02G+JOZpUCmqWJuqrs+sEkzewTm++BPi7Hvn/HwcqLAcNxYAyI0x13CpPPn+kMjl+hplXMHITQ=="
|
34
|
+
,"_from": "source-map-support@0.5.12"
|
35
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
require('./').install();
|