wiki-plugin-allyabase 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +165 -0
- package/client/allyabase.js +58 -0
- package/factory.json +5 -0
- package/package.json +31 -0
- package/server/contracts.js +256 -0
- package/server/feeds.js +27 -0
- package/server/inventory.js +82 -0
- package/server/server.js +13 -0
- package/test/node_modules/.bin/_mocha +10 -0
- package/test/node_modules/.bin/flat +42 -0
- package/test/node_modules/.bin/glob +270 -0
- package/test/node_modules/.bin/he +148 -0
- package/test/node_modules/.bin/js-yaml +126 -0
- package/test/node_modules/.bin/mime +46 -0
- package/test/node_modules/.bin/mocha +142 -0
- package/test/node_modules/.bin/node-which +52 -0
- package/test/node_modules/.bin/uuid +2 -0
- package/test/node_modules/.package-lock.json +1984 -0
- package/test/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
- package/test/node_modules/@isaacs/cliui/README.md +143 -0
- package/test/node_modules/@isaacs/cliui/build/index.cjs +317 -0
- package/test/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
- package/test/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
- package/test/node_modules/@isaacs/cliui/index.mjs +14 -0
- package/test/node_modules/@isaacs/cliui/package.json +86 -0
- package/test/node_modules/@noble/curves/LICENSE +21 -0
- package/test/node_modules/@noble/curves/README.md +1031 -0
- package/test/node_modules/@noble/curves/_shortw_utils.d.ts +62 -0
- package/test/node_modules/@noble/curves/_shortw_utils.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/_shortw_utils.js +21 -0
- package/test/node_modules/@noble/curves/_shortw_utils.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/bls.d.ts +122 -0
- package/test/node_modules/@noble/curves/abstract/bls.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/bls.js +288 -0
- package/test/node_modules/@noble/curves/abstract/bls.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/curve.d.ts +70 -0
- package/test/node_modules/@noble/curves/abstract/curve.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/curve.js +160 -0
- package/test/node_modules/@noble/curves/abstract/curve.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/edwards.d.ts +89 -0
- package/test/node_modules/@noble/curves/abstract/edwards.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/edwards.js +428 -0
- package/test/node_modules/@noble/curves/abstract/edwards.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +58 -0
- package/test/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/hash-to-curve.js +180 -0
- package/test/node_modules/@noble/curves/abstract/hash-to-curve.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/modular.d.ts +123 -0
- package/test/node_modules/@noble/curves/abstract/modular.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/modular.js +439 -0
- package/test/node_modules/@noble/curves/abstract/modular.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/montgomery.d.ts +26 -0
- package/test/node_modules/@noble/curves/abstract/montgomery.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/montgomery.js +158 -0
- package/test/node_modules/@noble/curves/abstract/montgomery.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/poseidon.d.ts +30 -0
- package/test/node_modules/@noble/curves/abstract/poseidon.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/poseidon.js +113 -0
- package/test/node_modules/@noble/curves/abstract/poseidon.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/utils.d.ts +94 -0
- package/test/node_modules/@noble/curves/abstract/utils.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/utils.js +313 -0
- package/test/node_modules/@noble/curves/abstract/utils.js.map +1 -0
- package/test/node_modules/@noble/curves/abstract/weierstrass.d.ts +236 -0
- package/test/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/abstract/weierstrass.js +1069 -0
- package/test/node_modules/@noble/curves/abstract/weierstrass.js.map +1 -0
- package/test/node_modules/@noble/curves/bls12-381.d.ts +67 -0
- package/test/node_modules/@noble/curves/bls12-381.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/bls12-381.js +1232 -0
- package/test/node_modules/@noble/curves/bls12-381.js.map +1 -0
- package/test/node_modules/@noble/curves/bn254.d.ts +9 -0
- package/test/node_modules/@noble/curves/bn254.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/bn254.js +26 -0
- package/test/node_modules/@noble/curves/bn254.js.map +1 -0
- package/test/node_modules/@noble/curves/ed25519.d.ts +78 -0
- package/test/node_modules/@noble/curves/ed25519.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/ed25519.js +446 -0
- package/test/node_modules/@noble/curves/ed25519.js.map +1 -0
- package/test/node_modules/@noble/curves/ed448.d.ts +67 -0
- package/test/node_modules/@noble/curves/ed448.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/ed448.js +406 -0
- package/test/node_modules/@noble/curves/ed448.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/_shortw_utils.d.ts +62 -0
- package/test/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/_shortw_utils.js +17 -0
- package/test/node_modules/@noble/curves/esm/_shortw_utils.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/bls.d.ts +122 -0
- package/test/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/bls.js +285 -0
- package/test/node_modules/@noble/curves/esm/abstract/bls.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/curve.d.ts +70 -0
- package/test/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/curve.js +156 -0
- package/test/node_modules/@noble/curves/esm/abstract/curve.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/edwards.d.ts +89 -0
- package/test/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/edwards.js +425 -0
- package/test/node_modules/@noble/curves/esm/abstract/edwards.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +58 -0
- package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +173 -0
- package/test/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/modular.d.ts +123 -0
- package/test/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/modular.js +416 -0
- package/test/node_modules/@noble/curves/esm/abstract/modular.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +26 -0
- package/test/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/montgomery.js +155 -0
- package/test/node_modules/@noble/curves/esm/abstract/montgomery.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +30 -0
- package/test/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/poseidon.js +108 -0
- package/test/node_modules/@noble/curves/esm/abstract/poseidon.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/utils.d.ts +94 -0
- package/test/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/utils.js +289 -0
- package/test/node_modules/@noble/curves/esm/abstract/utils.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +236 -0
- package/test/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/abstract/weierstrass.js +1062 -0
- package/test/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/bls12-381.d.ts +67 -0
- package/test/node_modules/@noble/curves/esm/bls12-381.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/bls12-381.js +1229 -0
- package/test/node_modules/@noble/curves/esm/bls12-381.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/bn254.d.ts +9 -0
- package/test/node_modules/@noble/curves/esm/bn254.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/bn254.js +23 -0
- package/test/node_modules/@noble/curves/esm/bn254.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/ed25519.d.ts +78 -0
- package/test/node_modules/@noble/curves/esm/ed25519.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/ed25519.js +440 -0
- package/test/node_modules/@noble/curves/esm/ed25519.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/ed448.d.ts +67 -0
- package/test/node_modules/@noble/curves/esm/ed448.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/ed448.js +401 -0
- package/test/node_modules/@noble/curves/esm/ed448.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/index.d.ts +2 -0
- package/test/node_modules/@noble/curves/esm/index.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/index.js +3 -0
- package/test/node_modules/@noble/curves/esm/index.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/jubjub.d.ts +9 -0
- package/test/node_modules/@noble/curves/esm/jubjub.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/jubjub.js +54 -0
- package/test/node_modules/@noble/curves/esm/jubjub.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/p256.d.ts +105 -0
- package/test/node_modules/@noble/curves/esm/p256.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/p256.js +42 -0
- package/test/node_modules/@noble/curves/esm/p256.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/p384.d.ts +105 -0
- package/test/node_modules/@noble/curves/esm/p384.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/p384.js +46 -0
- package/test/node_modules/@noble/curves/esm/p384.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/p521.d.ts +105 -0
- package/test/node_modules/@noble/curves/esm/p521.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/p521.js +53 -0
- package/test/node_modules/@noble/curves/esm/p521.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/package.json +4 -0
- package/test/node_modules/@noble/curves/esm/pasta.d.ts +5 -0
- package/test/node_modules/@noble/curves/esm/pasta.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/pasta.js +30 -0
- package/test/node_modules/@noble/curves/esm/pasta.js.map +1 -0
- package/test/node_modules/@noble/curves/esm/secp256k1.d.ts +93 -0
- package/test/node_modules/@noble/curves/esm/secp256k1.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/esm/secp256k1.js +254 -0
- package/test/node_modules/@noble/curves/esm/secp256k1.js.map +1 -0
- package/test/node_modules/@noble/curves/index.d.ts +1 -0
- package/test/node_modules/@noble/curves/index.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/index.js +3 -0
- package/test/node_modules/@noble/curves/index.js.map +1 -0
- package/test/node_modules/@noble/curves/jubjub.d.ts +9 -0
- package/test/node_modules/@noble/curves/jubjub.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/jubjub.js +59 -0
- package/test/node_modules/@noble/curves/jubjub.js.map +1 -0
- package/test/node_modules/@noble/curves/p256.d.ts +105 -0
- package/test/node_modules/@noble/curves/p256.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/p256.js +45 -0
- package/test/node_modules/@noble/curves/p256.js.map +1 -0
- package/test/node_modules/@noble/curves/p384.d.ts +105 -0
- package/test/node_modules/@noble/curves/p384.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/p384.js +49 -0
- package/test/node_modules/@noble/curves/p384.js.map +1 -0
- package/test/node_modules/@noble/curves/p521.d.ts +105 -0
- package/test/node_modules/@noble/curves/p521.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/p521.js +56 -0
- package/test/node_modules/@noble/curves/p521.js.map +1 -0
- package/test/node_modules/@noble/curves/package.json +159 -0
- package/test/node_modules/@noble/curves/pasta.d.ts +5 -0
- package/test/node_modules/@noble/curves/pasta.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/pasta.js +33 -0
- package/test/node_modules/@noble/curves/pasta.js.map +1 -0
- package/test/node_modules/@noble/curves/secp256k1.d.ts +93 -0
- package/test/node_modules/@noble/curves/secp256k1.d.ts.map +1 -0
- package/test/node_modules/@noble/curves/secp256k1.js +257 -0
- package/test/node_modules/@noble/curves/secp256k1.js.map +1 -0
- package/test/node_modules/@noble/curves/src/_shortw_utils.ts +20 -0
- package/test/node_modules/@noble/curves/src/abstract/bls.ts +502 -0
- package/test/node_modules/@noble/curves/src/abstract/curve.ts +203 -0
- package/test/node_modules/@noble/curves/src/abstract/edwards.ts +514 -0
- package/test/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +231 -0
- package/test/node_modules/@noble/curves/src/abstract/modular.ts +484 -0
- package/test/node_modules/@noble/curves/src/abstract/montgomery.ts +187 -0
- package/test/node_modules/@noble/curves/src/abstract/poseidon.ts +118 -0
- package/test/node_modules/@noble/curves/src/abstract/utils.ts +319 -0
- package/test/node_modules/@noble/curves/src/abstract/weierstrass.ts +1237 -0
- package/test/node_modules/@noble/curves/src/bls12-381.ts +1410 -0
- package/test/node_modules/@noble/curves/src/bn254.ts +22 -0
- package/test/node_modules/@noble/curves/src/ed25519.ts +505 -0
- package/test/node_modules/@noble/curves/src/ed448.ts +480 -0
- package/test/node_modules/@noble/curves/src/index.ts +1 -0
- package/test/node_modules/@noble/curves/src/jubjub.ts +58 -0
- package/test/node_modules/@noble/curves/src/p256.ts +48 -0
- package/test/node_modules/@noble/curves/src/p384.ts +52 -0
- package/test/node_modules/@noble/curves/src/p521.ts +68 -0
- package/test/node_modules/@noble/curves/src/package.json +3 -0
- package/test/node_modules/@noble/curves/src/pasta.ts +31 -0
- package/test/node_modules/@noble/curves/src/secp256k1.ts +274 -0
- package/test/node_modules/@noble/hashes/LICENSE +21 -0
- package/test/node_modules/@noble/hashes/README.md +558 -0
- package/test/node_modules/@noble/hashes/_assert.d.ts +24 -0
- package/test/node_modules/@noble/hashes/_assert.js +51 -0
- package/test/node_modules/@noble/hashes/_assert.js.map +1 -0
- package/test/node_modules/@noble/hashes/_blake.d.ts +28 -0
- package/test/node_modules/@noble/hashes/_blake.js +124 -0
- package/test/node_modules/@noble/hashes/_blake.js.map +1 -0
- package/test/node_modules/@noble/hashes/_md.d.ts +30 -0
- package/test/node_modules/@noble/hashes/_md.js +128 -0
- package/test/node_modules/@noble/hashes/_md.js.map +1 -0
- package/test/node_modules/@noble/hashes/_u64.d.ts +55 -0
- package/test/node_modules/@noble/hashes/_u64.js +85 -0
- package/test/node_modules/@noble/hashes/_u64.js.map +1 -0
- package/test/node_modules/@noble/hashes/argon2.d.ts +17 -0
- package/test/node_modules/@noble/hashes/argon2.js +303 -0
- package/test/node_modules/@noble/hashes/argon2.js.map +1 -0
- package/test/node_modules/@noble/hashes/blake2b.d.ts +54 -0
- package/test/node_modules/@noble/hashes/blake2b.js +192 -0
- package/test/node_modules/@noble/hashes/blake2b.js.map +1 -0
- package/test/node_modules/@noble/hashes/blake2s.d.ts +48 -0
- package/test/node_modules/@noble/hashes/blake2s.js +123 -0
- package/test/node_modules/@noble/hashes/blake2s.js.map +1 -0
- package/test/node_modules/@noble/hashes/blake3.d.ts +47 -0
- package/test/node_modules/@noble/hashes/blake3.js +243 -0
- package/test/node_modules/@noble/hashes/blake3.js.map +1 -0
- package/test/node_modules/@noble/hashes/crypto.d.ts +2 -0
- package/test/node_modules/@noble/hashes/crypto.js +5 -0
- package/test/node_modules/@noble/hashes/crypto.js.map +1 -0
- package/test/node_modules/@noble/hashes/cryptoNode.d.ts +2 -0
- package/test/node_modules/@noble/hashes/cryptoNode.js +10 -0
- package/test/node_modules/@noble/hashes/cryptoNode.js.map +1 -0
- package/test/node_modules/@noble/hashes/eskdf.d.ts +47 -0
- package/test/node_modules/@noble/hashes/eskdf.js +162 -0
- package/test/node_modules/@noble/hashes/eskdf.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/_assert.js +42 -0
- package/test/node_modules/@noble/hashes/esm/_assert.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/_blake.js +120 -0
- package/test/node_modules/@noble/hashes/esm/_blake.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/_md.js +122 -0
- package/test/node_modules/@noble/hashes/esm/_md.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/_u64.js +62 -0
- package/test/node_modules/@noble/hashes/esm/_u64.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/argon2.js +297 -0
- package/test/node_modules/@noble/hashes/esm/argon2.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/blake2b.js +189 -0
- package/test/node_modules/@noble/hashes/esm/blake2b.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/blake2s.js +119 -0
- package/test/node_modules/@noble/hashes/esm/blake2s.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/blake3.js +240 -0
- package/test/node_modules/@noble/hashes/esm/blake3.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/crypto.js +2 -0
- package/test/node_modules/@noble/hashes/esm/crypto.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/cryptoNode.js +7 -0
- package/test/node_modules/@noble/hashes/esm/cryptoNode.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/eskdf.js +155 -0
- package/test/node_modules/@noble/hashes/esm/eskdf.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/hkdf.js +72 -0
- package/test/node_modules/@noble/hashes/esm/hkdf.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/hmac.js +77 -0
- package/test/node_modules/@noble/hashes/esm/hmac.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/index.js +3 -0
- package/test/node_modules/@noble/hashes/esm/index.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/package.json +10 -0
- package/test/node_modules/@noble/hashes/esm/pbkdf2.js +86 -0
- package/test/node_modules/@noble/hashes/esm/pbkdf2.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/ripemd160.js +102 -0
- package/test/node_modules/@noble/hashes/esm/ripemd160.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/scrypt.js +224 -0
- package/test/node_modules/@noble/hashes/esm/scrypt.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/sha1.js +80 -0
- package/test/node_modules/@noble/hashes/esm/sha1.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/sha2.js +4 -0
- package/test/node_modules/@noble/hashes/esm/sha2.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/sha256.js +123 -0
- package/test/node_modules/@noble/hashes/esm/sha256.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/sha3-addons.js +356 -0
- package/test/node_modules/@noble/hashes/esm/sha3-addons.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/sha3.js +214 -0
- package/test/node_modules/@noble/hashes/esm/sha3.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/sha512.js +231 -0
- package/test/node_modules/@noble/hashes/esm/sha512.js.map +1 -0
- package/test/node_modules/@noble/hashes/esm/utils.js +187 -0
- package/test/node_modules/@noble/hashes/esm/utils.js.map +1 -0
- package/test/node_modules/@noble/hashes/hkdf.d.ts +27 -0
- package/test/node_modules/@noble/hashes/hkdf.js +78 -0
- package/test/node_modules/@noble/hashes/hkdf.js.map +1 -0
- package/test/node_modules/@noble/hashes/hmac.d.ts +26 -0
- package/test/node_modules/@noble/hashes/hmac.js +82 -0
- package/test/node_modules/@noble/hashes/hmac.js.map +1 -0
- package/test/node_modules/@noble/hashes/index.d.ts +1 -0
- package/test/node_modules/@noble/hashes/index.js +3 -0
- package/test/node_modules/@noble/hashes/index.js.map +1 -0
- package/test/node_modules/@noble/hashes/package.json +179 -0
- package/test/node_modules/@noble/hashes/pbkdf2.d.ts +16 -0
- package/test/node_modules/@noble/hashes/pbkdf2.js +91 -0
- package/test/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
- package/test/node_modules/@noble/hashes/ripemd160.d.ts +25 -0
- package/test/node_modules/@noble/hashes/ripemd160.js +106 -0
- package/test/node_modules/@noble/hashes/ripemd160.js.map +1 -0
- package/test/node_modules/@noble/hashes/scrypt.d.ts +30 -0
- package/test/node_modules/@noble/hashes/scrypt.js +229 -0
- package/test/node_modules/@noble/hashes/scrypt.js.map +1 -0
- package/test/node_modules/@noble/hashes/sha1.d.ts +22 -0
- package/test/node_modules/@noble/hashes/sha1.js +83 -0
- package/test/node_modules/@noble/hashes/sha1.js.map +1 -0
- package/test/node_modules/@noble/hashes/sha2.d.ts +3 -0
- package/test/node_modules/@noble/hashes/sha2.js +13 -0
- package/test/node_modules/@noble/hashes/sha2.js.map +1 -0
- package/test/node_modules/@noble/hashes/sha256.d.ts +35 -0
- package/test/node_modules/@noble/hashes/sha256.js +126 -0
- package/test/node_modules/@noble/hashes/sha256.js.map +1 -0
- package/test/node_modules/@noble/hashes/sha3-addons.d.ts +154 -0
- package/test/node_modules/@noble/hashes/sha3-addons.js +360 -0
- package/test/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
- package/test/node_modules/@noble/hashes/sha3.d.ts +98 -0
- package/test/node_modules/@noble/hashes/sha3.js +219 -0
- package/test/node_modules/@noble/hashes/sha3.js.map +1 -0
- package/test/node_modules/@noble/hashes/sha512.d.ts +67 -0
- package/test/node_modules/@noble/hashes/sha512.js +235 -0
- package/test/node_modules/@noble/hashes/sha512.js.map +1 -0
- package/test/node_modules/@noble/hashes/src/_assert.ts +51 -0
- package/test/node_modules/@noble/hashes/src/_blake.ts +134 -0
- package/test/node_modules/@noble/hashes/src/_md.ts +127 -0
- package/test/node_modules/@noble/hashes/src/_u64.ts +77 -0
- package/test/node_modules/@noble/hashes/src/argon2.ts +374 -0
- package/test/node_modules/@noble/hashes/src/blake2b.ts +205 -0
- package/test/node_modules/@noble/hashes/src/blake2s.ts +138 -0
- package/test/node_modules/@noble/hashes/src/blake3.ts +268 -0
- package/test/node_modules/@noble/hashes/src/crypto.ts +5 -0
- package/test/node_modules/@noble/hashes/src/cryptoNode.ts +7 -0
- package/test/node_modules/@noble/hashes/src/eskdf.ts +183 -0
- package/test/node_modules/@noble/hashes/src/hkdf.ts +79 -0
- package/test/node_modules/@noble/hashes/src/hmac.ts +81 -0
- package/test/node_modules/@noble/hashes/src/index.ts +1 -0
- package/test/node_modules/@noble/hashes/src/pbkdf2.ts +97 -0
- package/test/node_modules/@noble/hashes/src/ripemd160.ts +108 -0
- package/test/node_modules/@noble/hashes/src/scrypt.ts +241 -0
- package/test/node_modules/@noble/hashes/src/sha1.ts +80 -0
- package/test/node_modules/@noble/hashes/src/sha2.ts +3 -0
- package/test/node_modules/@noble/hashes/src/sha256.ts +129 -0
- package/test/node_modules/@noble/hashes/src/sha3-addons.ts +423 -0
- package/test/node_modules/@noble/hashes/src/sha3.ts +229 -0
- package/test/node_modules/@noble/hashes/src/sha512.ts +246 -0
- package/test/node_modules/@noble/hashes/src/utils.ts +256 -0
- package/test/node_modules/@noble/hashes/utils.d.ts +96 -0
- package/test/node_modules/@noble/hashes/utils.js +211 -0
- package/test/node_modules/@noble/hashes/utils.js.map +1 -0
- package/test/node_modules/@pkgjs/parseargs/.editorconfig +14 -0
- package/test/node_modules/@pkgjs/parseargs/CHANGELOG.md +147 -0
- package/test/node_modules/@pkgjs/parseargs/LICENSE +201 -0
- package/test/node_modules/@pkgjs/parseargs/README.md +413 -0
- package/test/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -0
- package/test/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -0
- package/test/node_modules/@pkgjs/parseargs/examples/negate.js +43 -0
- package/test/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -0
- package/test/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -0
- package/test/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -0
- package/test/node_modules/@pkgjs/parseargs/index.js +396 -0
- package/test/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
- package/test/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
- package/test/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
- package/test/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
- package/test/node_modules/@pkgjs/parseargs/package.json +36 -0
- package/test/node_modules/@pkgjs/parseargs/utils.js +198 -0
- package/test/node_modules/@scure/base/LICENSE +21 -0
- package/test/node_modules/@scure/base/README.md +214 -0
- package/test/node_modules/@scure/base/index.ts +616 -0
- package/test/node_modules/@scure/base/lib/esm/index.d.ts +132 -0
- package/test/node_modules/@scure/base/lib/esm/index.d.ts.map +1 -0
- package/test/node_modules/@scure/base/lib/esm/index.js +489 -0
- package/test/node_modules/@scure/base/lib/esm/index.js.map +1 -0
- package/test/node_modules/@scure/base/lib/esm/package.json +1 -0
- package/test/node_modules/@scure/base/lib/index.d.ts +132 -0
- package/test/node_modules/@scure/base/lib/index.d.ts.map +1 -0
- package/test/node_modules/@scure/base/lib/index.js +496 -0
- package/test/node_modules/@scure/base/lib/index.js.map +1 -0
- package/test/node_modules/@scure/base/package.json +64 -0
- package/test/node_modules/@scure/bip32/LICENSE +21 -0
- package/test/node_modules/@scure/bip32/README.md +113 -0
- package/test/node_modules/@scure/bip32/index.ts +308 -0
- package/test/node_modules/@scure/bip32/lib/esm/index.js +269 -0
- package/test/node_modules/@scure/bip32/lib/esm/index.js.map +1 -0
- package/test/node_modules/@scure/bip32/lib/esm/package.json +4 -0
- package/test/node_modules/@scure/bip32/lib/index.d.ts +50 -0
- package/test/node_modules/@scure/bip32/lib/index.js +273 -0
- package/test/node_modules/@scure/bip32/lib/index.js.map +1 -0
- package/test/node_modules/@scure/bip32/package.json +75 -0
- package/test/node_modules/@scure/bip39/LICENSE +21 -0
- package/test/node_modules/@scure/bip39/README.md +101 -0
- package/test/node_modules/@scure/bip39/esm/index.js +134 -0
- package/test/node_modules/@scure/bip39/esm/package.json +3 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/czech.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/english.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/french.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/italian.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/japanese.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/korean.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/portuguese.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/simplified-chinese.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/spanish.js +2048 -0
- package/test/node_modules/@scure/bip39/esm/wordlists/traditional-chinese.js +2048 -0
- package/test/node_modules/@scure/bip39/index.d.ts +64 -0
- package/test/node_modules/@scure/bip39/index.js +143 -0
- package/test/node_modules/@scure/bip39/package.json +123 -0
- package/test/node_modules/@scure/bip39/src/index.ts +146 -0
- package/test/node_modules/@scure/bip39/wordlists/czech.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/czech.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/english.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/english.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/french.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/french.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/italian.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/italian.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/japanese.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/japanese.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/korean.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/korean.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/portuguese.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/portuguese.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/simplified-chinese.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/simplified-chinese.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/spanish.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/spanish.js +2051 -0
- package/test/node_modules/@scure/bip39/wordlists/traditional-chinese.d.ts +2 -0
- package/test/node_modules/@scure/bip39/wordlists/traditional-chinese.js +2051 -0
- package/test/node_modules/ansi-colors/LICENSE +21 -0
- package/test/node_modules/ansi-colors/README.md +315 -0
- package/test/node_modules/ansi-colors/index.js +184 -0
- package/test/node_modules/ansi-colors/package.json +129 -0
- package/test/node_modules/ansi-colors/symbols.js +69 -0
- package/test/node_modules/ansi-colors/types/index.d.ts +235 -0
- package/test/node_modules/ansi-regex/index.d.ts +33 -0
- package/test/node_modules/ansi-regex/index.js +10 -0
- package/test/node_modules/ansi-regex/license +9 -0
- package/test/node_modules/ansi-regex/package.json +61 -0
- package/test/node_modules/ansi-regex/readme.md +60 -0
- package/test/node_modules/ansi-styles/index.d.ts +345 -0
- package/test/node_modules/ansi-styles/index.js +163 -0
- package/test/node_modules/ansi-styles/license +9 -0
- package/test/node_modules/ansi-styles/package.json +56 -0
- package/test/node_modules/ansi-styles/readme.md +152 -0
- package/test/node_modules/anymatch/LICENSE +15 -0
- package/test/node_modules/anymatch/README.md +87 -0
- package/test/node_modules/anymatch/index.d.ts +20 -0
- package/test/node_modules/anymatch/index.js +104 -0
- package/test/node_modules/anymatch/package.json +48 -0
- package/test/node_modules/argparse/CHANGELOG.md +216 -0
- package/test/node_modules/argparse/LICENSE +254 -0
- package/test/node_modules/argparse/README.md +84 -0
- package/test/node_modules/argparse/argparse.js +3707 -0
- package/test/node_modules/argparse/lib/sub.js +67 -0
- package/test/node_modules/argparse/lib/textwrap.js +440 -0
- package/test/node_modules/argparse/package.json +31 -0
- package/test/node_modules/asap/CHANGES.md +70 -0
- package/test/node_modules/asap/LICENSE.md +21 -0
- package/test/node_modules/asap/README.md +237 -0
- package/test/node_modules/asap/asap.js +65 -0
- package/test/node_modules/asap/browser-asap.js +66 -0
- package/test/node_modules/asap/browser-raw.js +223 -0
- package/test/node_modules/asap/package.json +58 -0
- package/test/node_modules/asap/raw.js +101 -0
- package/test/node_modules/assertion-error/LICENSE +21 -0
- package/test/node_modules/assertion-error/README.md +68 -0
- package/test/node_modules/assertion-error/index.d.ts +27 -0
- package/test/node_modules/assertion-error/index.js +60 -0
- package/test/node_modules/assertion-error/package.json +32 -0
- package/test/node_modules/asynckit/LICENSE +21 -0
- package/test/node_modules/asynckit/README.md +233 -0
- package/test/node_modules/asynckit/bench.js +76 -0
- package/test/node_modules/asynckit/index.js +6 -0
- package/test/node_modules/asynckit/lib/abort.js +29 -0
- package/test/node_modules/asynckit/lib/async.js +34 -0
- package/test/node_modules/asynckit/lib/defer.js +26 -0
- package/test/node_modules/asynckit/lib/iterate.js +75 -0
- package/test/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/test/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/test/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/test/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/test/node_modules/asynckit/lib/state.js +37 -0
- package/test/node_modules/asynckit/lib/streamify.js +141 -0
- package/test/node_modules/asynckit/lib/terminator.js +29 -0
- package/test/node_modules/asynckit/package.json +63 -0
- package/test/node_modules/asynckit/parallel.js +43 -0
- package/test/node_modules/asynckit/serial.js +17 -0
- package/test/node_modules/asynckit/serialOrdered.js +75 -0
- package/test/node_modules/asynckit/stream.js +21 -0
- package/test/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/test/node_modules/balanced-match/LICENSE.md +21 -0
- package/test/node_modules/balanced-match/README.md +97 -0
- package/test/node_modules/balanced-match/index.js +62 -0
- package/test/node_modules/balanced-match/package.json +48 -0
- package/test/node_modules/bdo-js/README.md +35 -0
- package/test/node_modules/bdo-js/bdo.cjs +165 -0
- package/test/node_modules/bdo-js/bdo.js +171 -0
- package/test/node_modules/bdo-js/package.json +24 -0
- package/test/node_modules/binary-extensions/binary-extensions.json +263 -0
- package/test/node_modules/binary-extensions/binary-extensions.json.d.ts +3 -0
- package/test/node_modules/binary-extensions/index.d.ts +14 -0
- package/test/node_modules/binary-extensions/index.js +1 -0
- package/test/node_modules/binary-extensions/license +10 -0
- package/test/node_modules/binary-extensions/package.json +40 -0
- package/test/node_modules/binary-extensions/readme.md +25 -0
- package/test/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/test/node_modules/brace-expansion/LICENSE +21 -0
- package/test/node_modules/brace-expansion/README.md +135 -0
- package/test/node_modules/brace-expansion/index.js +203 -0
- package/test/node_modules/brace-expansion/package.json +46 -0
- package/test/node_modules/braces/LICENSE +21 -0
- package/test/node_modules/braces/README.md +586 -0
- package/test/node_modules/braces/index.js +170 -0
- package/test/node_modules/braces/lib/compile.js +60 -0
- package/test/node_modules/braces/lib/constants.js +57 -0
- package/test/node_modules/braces/lib/expand.js +113 -0
- package/test/node_modules/braces/lib/parse.js +331 -0
- package/test/node_modules/braces/lib/stringify.js +32 -0
- package/test/node_modules/braces/lib/utils.js +122 -0
- package/test/node_modules/braces/package.json +77 -0
- package/test/node_modules/browser-stdout/LICENSE +5 -0
- package/test/node_modules/browser-stdout/README.md +40 -0
- package/test/node_modules/browser-stdout/index.js +25 -0
- package/test/node_modules/browser-stdout/package.json +15 -0
- package/test/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/test/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/test/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/test/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/test/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/test/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/test/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/test/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/test/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/test/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/test/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/test/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/test/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/test/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/test/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/test/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/test/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/test/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/test/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/test/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/test/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/test/node_modules/call-bound/.eslintrc +13 -0
- package/test/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/test/node_modules/call-bound/.nycrc +9 -0
- package/test/node_modules/call-bound/CHANGELOG.md +42 -0
- package/test/node_modules/call-bound/LICENSE +21 -0
- package/test/node_modules/call-bound/README.md +53 -0
- package/test/node_modules/call-bound/index.d.ts +94 -0
- package/test/node_modules/call-bound/index.js +19 -0
- package/test/node_modules/call-bound/package.json +99 -0
- package/test/node_modules/call-bound/test/index.js +61 -0
- package/test/node_modules/call-bound/tsconfig.json +10 -0
- package/test/node_modules/camelcase/index.d.ts +103 -0
- package/test/node_modules/camelcase/index.js +113 -0
- package/test/node_modules/camelcase/license +9 -0
- package/test/node_modules/camelcase/package.json +44 -0
- package/test/node_modules/camelcase/readme.md +144 -0
- package/test/node_modules/chai/.prettierrc.json +10 -0
- package/test/node_modules/chai/CODEOWNERS +1 -0
- package/test/node_modules/chai/CODE_OF_CONDUCT.md +58 -0
- package/test/node_modules/chai/CONTRIBUTING.md +218 -0
- package/test/node_modules/chai/History.md +1059 -0
- package/test/node_modules/chai/LICENSE +21 -0
- package/test/node_modules/chai/README.md +154 -0
- package/test/node_modules/chai/ReleaseNotes.md +737 -0
- package/test/node_modules/chai/chai.js +4351 -0
- package/test/node_modules/chai/eslint.config.js +26 -0
- package/test/node_modules/chai/index.js +1 -0
- package/test/node_modules/chai/lib/chai/assertion.js +180 -0
- package/test/node_modules/chai/lib/chai/config.js +112 -0
- package/test/node_modules/chai/lib/chai/core/assertions.js +4157 -0
- package/test/node_modules/chai/lib/chai/interface/assert.js +3228 -0
- package/test/node_modules/chai/lib/chai/interface/expect.js +59 -0
- package/test/node_modules/chai/lib/chai/interface/should.js +227 -0
- package/test/node_modules/chai/lib/chai/utils/addChainableMethod.js +146 -0
- package/test/node_modules/chai/lib/chai/utils/addLengthGuard.js +73 -0
- package/test/node_modules/chai/lib/chai/utils/addMethod.js +66 -0
- package/test/node_modules/chai/lib/chai/utils/addProperty.js +70 -0
- package/test/node_modules/chai/lib/chai/utils/compareByInspect.js +26 -0
- package/test/node_modules/chai/lib/chai/utils/expectTypes.js +58 -0
- package/test/node_modules/chai/lib/chai/utils/flag.js +33 -0
- package/test/node_modules/chai/lib/chai/utils/getActual.js +20 -0
- package/test/node_modules/chai/lib/chai/utils/getMessage.js +52 -0
- package/test/node_modules/chai/lib/chai/utils/getOperator.js +58 -0
- package/test/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +24 -0
- package/test/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +26 -0
- package/test/node_modules/chai/lib/chai/utils/getProperties.js +38 -0
- package/test/node_modules/chai/lib/chai/utils/index.js +118 -0
- package/test/node_modules/chai/lib/chai/utils/inspect.js +31 -0
- package/test/node_modules/chai/lib/chai/utils/isNaN.js +7 -0
- package/test/node_modules/chai/lib/chai/utils/isProxyEnabled.js +26 -0
- package/test/node_modules/chai/lib/chai/utils/objDisplay.js +47 -0
- package/test/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +69 -0
- package/test/node_modules/chai/lib/chai/utils/overwriteMethod.js +90 -0
- package/test/node_modules/chai/lib/chai/utils/overwriteProperty.js +89 -0
- package/test/node_modules/chai/lib/chai/utils/proxify.js +157 -0
- package/test/node_modules/chai/lib/chai/utils/test.js +24 -0
- package/test/node_modules/chai/lib/chai/utils/transferFlags.js +48 -0
- package/test/node_modules/chai/lib/chai/utils/type-detect.js +20 -0
- package/test/node_modules/chai/lib/chai.js +66 -0
- package/test/node_modules/chai/package.json +67 -0
- package/test/node_modules/chai/register-assert.js +3 -0
- package/test/node_modules/chai/register-expect.js +3 -0
- package/test/node_modules/chai/register-should.js +3 -0
- package/test/node_modules/chai/web-test-runner.config.js +20 -0
- package/test/node_modules/chalk/index.d.ts +415 -0
- package/test/node_modules/chalk/license +9 -0
- package/test/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
- package/test/node_modules/chalk/node_modules/supports-color/index.js +135 -0
- package/test/node_modules/chalk/node_modules/supports-color/license +9 -0
- package/test/node_modules/chalk/node_modules/supports-color/package.json +53 -0
- package/test/node_modules/chalk/node_modules/supports-color/readme.md +76 -0
- package/test/node_modules/chalk/package.json +68 -0
- package/test/node_modules/chalk/readme.md +341 -0
- package/test/node_modules/chalk/source/index.js +229 -0
- package/test/node_modules/chalk/source/templates.js +134 -0
- package/test/node_modules/chalk/source/util.js +39 -0
- package/test/node_modules/check-error/LICENSE +19 -0
- package/test/node_modules/check-error/README.md +144 -0
- package/test/node_modules/check-error/index.js +135 -0
- package/test/node_modules/check-error/package.json +66 -0
- package/test/node_modules/chokidar/LICENSE +21 -0
- package/test/node_modules/chokidar/README.md +308 -0
- package/test/node_modules/chokidar/index.js +973 -0
- package/test/node_modules/chokidar/lib/constants.js +66 -0
- package/test/node_modules/chokidar/lib/fsevents-handler.js +526 -0
- package/test/node_modules/chokidar/lib/nodefs-handler.js +654 -0
- package/test/node_modules/chokidar/package.json +70 -0
- package/test/node_modules/chokidar/types/index.d.ts +192 -0
- package/test/node_modules/cliui/CHANGELOG.md +139 -0
- package/test/node_modules/cliui/LICENSE.txt +14 -0
- package/test/node_modules/cliui/README.md +141 -0
- package/test/node_modules/cliui/build/index.cjs +302 -0
- package/test/node_modules/cliui/build/index.d.cts +43 -0
- package/test/node_modules/cliui/build/lib/index.js +287 -0
- package/test/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/test/node_modules/cliui/index.mjs +13 -0
- package/test/node_modules/cliui/node_modules/ansi-regex/index.d.ts +37 -0
- package/test/node_modules/cliui/node_modules/ansi-regex/index.js +10 -0
- package/test/node_modules/cliui/node_modules/ansi-regex/license +9 -0
- package/test/node_modules/cliui/node_modules/ansi-regex/package.json +55 -0
- package/test/node_modules/cliui/node_modules/ansi-regex/readme.md +78 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/README.md +73 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/es2015/index.js +6 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/es2015/text.js +6 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/index.d.ts +23 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/index.js +6 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/package.json +50 -0
- package/test/node_modules/cliui/node_modules/emoji-regex/text.js +6 -0
- package/test/node_modules/cliui/node_modules/string-width/index.d.ts +29 -0
- package/test/node_modules/cliui/node_modules/string-width/index.js +47 -0
- package/test/node_modules/cliui/node_modules/string-width/license +9 -0
- package/test/node_modules/cliui/node_modules/string-width/package.json +56 -0
- package/test/node_modules/cliui/node_modules/string-width/readme.md +50 -0
- package/test/node_modules/cliui/node_modules/strip-ansi/index.d.ts +17 -0
- package/test/node_modules/cliui/node_modules/strip-ansi/index.js +4 -0
- package/test/node_modules/cliui/node_modules/strip-ansi/license +9 -0
- package/test/node_modules/cliui/node_modules/strip-ansi/package.json +54 -0
- package/test/node_modules/cliui/node_modules/strip-ansi/readme.md +46 -0
- package/test/node_modules/cliui/node_modules/wrap-ansi/index.js +216 -0
- package/test/node_modules/cliui/node_modules/wrap-ansi/license +9 -0
- package/test/node_modules/cliui/node_modules/wrap-ansi/package.json +62 -0
- package/test/node_modules/cliui/node_modules/wrap-ansi/readme.md +91 -0
- package/test/node_modules/cliui/package.json +83 -0
- package/test/node_modules/color-convert/CHANGELOG.md +54 -0
- package/test/node_modules/color-convert/LICENSE +21 -0
- package/test/node_modules/color-convert/README.md +68 -0
- package/test/node_modules/color-convert/conversions.js +839 -0
- package/test/node_modules/color-convert/index.js +81 -0
- package/test/node_modules/color-convert/package.json +48 -0
- package/test/node_modules/color-convert/route.js +97 -0
- package/test/node_modules/color-name/LICENSE +8 -0
- package/test/node_modules/color-name/README.md +11 -0
- package/test/node_modules/color-name/index.js +152 -0
- package/test/node_modules/color-name/package.json +28 -0
- package/test/node_modules/combined-stream/License +19 -0
- package/test/node_modules/combined-stream/Readme.md +138 -0
- package/test/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/test/node_modules/combined-stream/package.json +25 -0
- package/test/node_modules/combined-stream/yarn.lock +17 -0
- package/test/node_modules/component-emitter/LICENSE +24 -0
- package/test/node_modules/component-emitter/Readme.md +74 -0
- package/test/node_modules/component-emitter/index.js +175 -0
- package/test/node_modules/component-emitter/package.json +28 -0
- package/test/node_modules/cookiejar/LICENSE +9 -0
- package/test/node_modules/cookiejar/cookiejar.js +281 -0
- package/test/node_modules/cookiejar/package.json +26 -0
- package/test/node_modules/cookiejar/readme.md +60 -0
- package/test/node_modules/cross-spawn/LICENSE +21 -0
- package/test/node_modules/cross-spawn/README.md +89 -0
- package/test/node_modules/cross-spawn/index.js +39 -0
- package/test/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/test/node_modules/cross-spawn/lib/parse.js +91 -0
- package/test/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/test/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/test/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/test/node_modules/cross-spawn/package.json +73 -0
- package/test/node_modules/data-uri-to-buffer/README.md +88 -0
- package/test/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
- package/test/node_modules/data-uri-to-buffer/dist/index.js +53 -0
- package/test/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
- package/test/node_modules/data-uri-to-buffer/package.json +62 -0
- package/test/node_modules/data-uri-to-buffer/src/index.ts +68 -0
- package/test/node_modules/debug/LICENSE +20 -0
- package/test/node_modules/debug/README.md +481 -0
- package/test/node_modules/debug/package.json +65 -0
- package/test/node_modules/debug/src/browser.js +272 -0
- package/test/node_modules/debug/src/common.js +292 -0
- package/test/node_modules/debug/src/index.js +10 -0
- package/test/node_modules/debug/src/node.js +263 -0
- package/test/node_modules/decamelize/index.d.ts +20 -0
- package/test/node_modules/decamelize/index.js +12 -0
- package/test/node_modules/decamelize/license +9 -0
- package/test/node_modules/decamelize/package.json +40 -0
- package/test/node_modules/decamelize/readme.md +51 -0
- package/test/node_modules/deep-eql/LICENSE +19 -0
- package/test/node_modules/deep-eql/README.md +93 -0
- package/test/node_modules/deep-eql/index.js +513 -0
- package/test/node_modules/deep-eql/package.json +73 -0
- package/test/node_modules/delayed-stream/License +19 -0
- package/test/node_modules/delayed-stream/Makefile +7 -0
- package/test/node_modules/delayed-stream/Readme.md +141 -0
- package/test/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/test/node_modules/delayed-stream/package.json +27 -0
- package/test/node_modules/dezalgo/LICENSE +15 -0
- package/test/node_modules/dezalgo/README.md +29 -0
- package/test/node_modules/dezalgo/dezalgo.js +22 -0
- package/test/node_modules/dezalgo/package.json +46 -0
- package/test/node_modules/diff/CONTRIBUTING.md +36 -0
- package/test/node_modules/diff/LICENSE +29 -0
- package/test/node_modules/diff/README.md +339 -0
- package/test/node_modules/diff/dist/diff.js +1730 -0
- package/test/node_modules/diff/dist/diff.min.js +1 -0
- package/test/node_modules/diff/lib/convert/dmp.js +32 -0
- package/test/node_modules/diff/lib/convert/xml.js +42 -0
- package/test/node_modules/diff/lib/diff/array.js +45 -0
- package/test/node_modules/diff/lib/diff/base.js +358 -0
- package/test/node_modules/diff/lib/diff/character.js +37 -0
- package/test/node_modules/diff/lib/diff/css.js +41 -0
- package/test/node_modules/diff/lib/diff/json.js +163 -0
- package/test/node_modules/diff/lib/diff/line.js +94 -0
- package/test/node_modules/diff/lib/diff/sentence.js +41 -0
- package/test/node_modules/diff/lib/diff/word.js +108 -0
- package/test/node_modules/diff/lib/index.es6.js +1699 -0
- package/test/node_modules/diff/lib/index.js +234 -0
- package/test/node_modules/diff/lib/index.mjs +1699 -0
- package/test/node_modules/diff/lib/patch/apply.js +238 -0
- package/test/node_modules/diff/lib/patch/create.js +276 -0
- package/test/node_modules/diff/lib/patch/merge.js +613 -0
- package/test/node_modules/diff/lib/patch/parse.js +167 -0
- package/test/node_modules/diff/lib/patch/reverse.js +63 -0
- package/test/node_modules/diff/lib/util/array.js +32 -0
- package/test/node_modules/diff/lib/util/distance-iterator.js +57 -0
- package/test/node_modules/diff/lib/util/params.js +24 -0
- package/test/node_modules/diff/package.json +89 -0
- package/test/node_modules/diff/release-notes.md +317 -0
- package/test/node_modules/diff/runtime.js +3 -0
- package/test/node_modules/dunder-proto/.eslintrc +5 -0
- package/test/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/test/node_modules/dunder-proto/.nycrc +13 -0
- package/test/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/test/node_modules/dunder-proto/LICENSE +21 -0
- package/test/node_modules/dunder-proto/README.md +54 -0
- package/test/node_modules/dunder-proto/get.d.ts +5 -0
- package/test/node_modules/dunder-proto/get.js +30 -0
- package/test/node_modules/dunder-proto/package.json +76 -0
- package/test/node_modules/dunder-proto/set.d.ts +5 -0
- package/test/node_modules/dunder-proto/set.js +35 -0
- package/test/node_modules/dunder-proto/test/get.js +34 -0
- package/test/node_modules/dunder-proto/test/index.js +4 -0
- package/test/node_modules/dunder-proto/test/set.js +50 -0
- package/test/node_modules/dunder-proto/tsconfig.json +9 -0
- package/test/node_modules/eastasianwidth/README.md +32 -0
- package/test/node_modules/eastasianwidth/eastasianwidth.js +311 -0
- package/test/node_modules/eastasianwidth/package.json +18 -0
- package/test/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/test/node_modules/emoji-regex/README.md +137 -0
- package/test/node_modules/emoji-regex/RGI_Emoji.d.ts +5 -0
- package/test/node_modules/emoji-regex/RGI_Emoji.js +6 -0
- package/test/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +5 -0
- package/test/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
- package/test/node_modules/emoji-regex/es2015/index.d.ts +5 -0
- package/test/node_modules/emoji-regex/es2015/index.js +6 -0
- package/test/node_modules/emoji-regex/es2015/text.d.ts +5 -0
- package/test/node_modules/emoji-regex/es2015/text.js +6 -0
- package/test/node_modules/emoji-regex/index.d.ts +5 -0
- package/test/node_modules/emoji-regex/index.js +6 -0
- package/test/node_modules/emoji-regex/package.json +52 -0
- package/test/node_modules/emoji-regex/text.d.ts +5 -0
- package/test/node_modules/emoji-regex/text.js +6 -0
- package/test/node_modules/es-define-property/.eslintrc +13 -0
- package/test/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/test/node_modules/es-define-property/.nycrc +9 -0
- package/test/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/test/node_modules/es-define-property/LICENSE +21 -0
- package/test/node_modules/es-define-property/README.md +49 -0
- package/test/node_modules/es-define-property/index.d.ts +3 -0
- package/test/node_modules/es-define-property/index.js +14 -0
- package/test/node_modules/es-define-property/package.json +81 -0
- package/test/node_modules/es-define-property/test/index.js +56 -0
- package/test/node_modules/es-define-property/tsconfig.json +10 -0
- package/test/node_modules/es-errors/.eslintrc +5 -0
- package/test/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/test/node_modules/es-errors/CHANGELOG.md +40 -0
- package/test/node_modules/es-errors/LICENSE +21 -0
- package/test/node_modules/es-errors/README.md +55 -0
- package/test/node_modules/es-errors/eval.d.ts +3 -0
- package/test/node_modules/es-errors/eval.js +4 -0
- package/test/node_modules/es-errors/index.d.ts +3 -0
- package/test/node_modules/es-errors/index.js +4 -0
- package/test/node_modules/es-errors/package.json +80 -0
- package/test/node_modules/es-errors/range.d.ts +3 -0
- package/test/node_modules/es-errors/range.js +4 -0
- package/test/node_modules/es-errors/ref.d.ts +3 -0
- package/test/node_modules/es-errors/ref.js +4 -0
- package/test/node_modules/es-errors/syntax.d.ts +3 -0
- package/test/node_modules/es-errors/syntax.js +4 -0
- package/test/node_modules/es-errors/test/index.js +19 -0
- package/test/node_modules/es-errors/tsconfig.json +49 -0
- package/test/node_modules/es-errors/type.d.ts +3 -0
- package/test/node_modules/es-errors/type.js +4 -0
- package/test/node_modules/es-errors/uri.d.ts +3 -0
- package/test/node_modules/es-errors/uri.js +4 -0
- package/test/node_modules/es-object-atoms/.eslintrc +16 -0
- package/test/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/test/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/test/node_modules/es-object-atoms/LICENSE +21 -0
- package/test/node_modules/es-object-atoms/README.md +63 -0
- package/test/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/test/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/test/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/test/node_modules/es-object-atoms/ToObject.js +10 -0
- package/test/node_modules/es-object-atoms/index.d.ts +3 -0
- package/test/node_modules/es-object-atoms/index.js +4 -0
- package/test/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/test/node_modules/es-object-atoms/isObject.js +6 -0
- package/test/node_modules/es-object-atoms/package.json +80 -0
- package/test/node_modules/es-object-atoms/test/index.js +38 -0
- package/test/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/test/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/test/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/test/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/test/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/test/node_modules/es-set-tostringtag/README.md +53 -0
- package/test/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/test/node_modules/es-set-tostringtag/index.js +35 -0
- package/test/node_modules/es-set-tostringtag/package.json +78 -0
- package/test/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/test/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/test/node_modules/escalade/dist/index.js +22 -0
- package/test/node_modules/escalade/dist/index.mjs +22 -0
- package/test/node_modules/escalade/index.d.mts +11 -0
- package/test/node_modules/escalade/index.d.ts +15 -0
- package/test/node_modules/escalade/license +9 -0
- package/test/node_modules/escalade/package.json +74 -0
- package/test/node_modules/escalade/readme.md +211 -0
- package/test/node_modules/escalade/sync/index.d.mts +9 -0
- package/test/node_modules/escalade/sync/index.d.ts +13 -0
- package/test/node_modules/escalade/sync/index.js +18 -0
- package/test/node_modules/escalade/sync/index.mjs +18 -0
- package/test/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/test/node_modules/escape-string-regexp/index.js +13 -0
- package/test/node_modules/escape-string-regexp/license +9 -0
- package/test/node_modules/escape-string-regexp/package.json +38 -0
- package/test/node_modules/escape-string-regexp/readme.md +34 -0
- package/test/node_modules/ethereum-cryptography/LICENSE +21 -0
- package/test/node_modules/ethereum-cryptography/README.md +509 -0
- package/test/node_modules/ethereum-cryptography/aes.d.ts +2 -0
- package/test/node_modules/ethereum-cryptography/aes.js +97 -0
- package/test/node_modules/ethereum-cryptography/bip39/index.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/index.js +10 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/czech.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/english.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/french.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/italian.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/korean.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js +5 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js +5 -0
- package/test/node_modules/ethereum-cryptography/blake2b.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/blake2b.js +13 -0
- package/test/node_modules/ethereum-cryptography/esm/aes.js +93 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/index.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/czech.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/english.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/french.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/italian.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/japanese.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/korean.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/simplified-chinese.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/spanish.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/bip39/wordlists/traditional-chinese.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/blake2b.js +9 -0
- package/test/node_modules/ethereum-cryptography/esm/hdkey.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/index.js +2 -0
- package/test/node_modules/ethereum-cryptography/esm/keccak.js +10 -0
- package/test/node_modules/ethereum-cryptography/esm/package.json +3 -0
- package/test/node_modules/ethereum-cryptography/esm/pbkdf2.js +26 -0
- package/test/node_modules/ethereum-cryptography/esm/random.js +7 -0
- package/test/node_modules/ethereum-cryptography/esm/ripemd160.js +3 -0
- package/test/node_modules/ethereum-cryptography/esm/scrypt.js +12 -0
- package/test/node_modules/ethereum-cryptography/esm/secp256k1-compat.js +254 -0
- package/test/node_modules/ethereum-cryptography/esm/secp256k1.js +1 -0
- package/test/node_modules/ethereum-cryptography/esm/sha256.js +3 -0
- package/test/node_modules/ethereum-cryptography/esm/sha512.js +3 -0
- package/test/node_modules/ethereum-cryptography/esm/utils.js +47 -0
- package/test/node_modules/ethereum-cryptography/hdkey.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/hdkey.js +6 -0
- package/test/node_modules/ethereum-cryptography/index.d.ts +0 -0
- package/test/node_modules/ethereum-cryptography/index.js +2 -0
- package/test/node_modules/ethereum-cryptography/keccak.d.ts +11 -0
- package/test/node_modules/ethereum-cryptography/keccak.js +13 -0
- package/test/node_modules/ethereum-cryptography/package.json +369 -0
- package/test/node_modules/ethereum-cryptography/pbkdf2.d.ts +2 -0
- package/test/node_modules/ethereum-cryptography/pbkdf2.js +30 -0
- package/test/node_modules/ethereum-cryptography/random.d.ts +2 -0
- package/test/node_modules/ethereum-cryptography/random.js +11 -0
- package/test/node_modules/ethereum-cryptography/ripemd160.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/ripemd160.js +6 -0
- package/test/node_modules/ethereum-cryptography/scrypt.d.ts +4 -0
- package/test/node_modules/ethereum-cryptography/scrypt.js +16 -0
- package/test/node_modules/ethereum-cryptography/secp256k1-compat.d.ts +35 -0
- package/test/node_modules/ethereum-cryptography/secp256k1-compat.js +277 -0
- package/test/node_modules/ethereum-cryptography/secp256k1.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/secp256k1.js +5 -0
- package/test/node_modules/ethereum-cryptography/sha256.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/sha256.js +6 -0
- package/test/node_modules/ethereum-cryptography/sha512.d.ts +1 -0
- package/test/node_modules/ethereum-cryptography/sha512.js +6 -0
- package/test/node_modules/ethereum-cryptography/utils.d.ts +12 -0
- package/test/node_modules/ethereum-cryptography/utils.js +63 -0
- package/test/node_modules/fast-safe-stringify/.travis.yml +8 -0
- package/test/node_modules/fast-safe-stringify/CHANGELOG.md +17 -0
- package/test/node_modules/fast-safe-stringify/LICENSE +23 -0
- package/test/node_modules/fast-safe-stringify/benchmark.js +137 -0
- package/test/node_modules/fast-safe-stringify/index.d.ts +23 -0
- package/test/node_modules/fast-safe-stringify/index.js +229 -0
- package/test/node_modules/fast-safe-stringify/package.json +46 -0
- package/test/node_modules/fast-safe-stringify/readme.md +170 -0
- package/test/node_modules/fast-safe-stringify/test-stable.js +404 -0
- package/test/node_modules/fast-safe-stringify/test.js +397 -0
- package/test/node_modules/fetch-blob/LICENSE +21 -0
- package/test/node_modules/fetch-blob/README.md +106 -0
- package/test/node_modules/fetch-blob/file.d.ts +2 -0
- package/test/node_modules/fetch-blob/file.js +49 -0
- package/test/node_modules/fetch-blob/from.d.ts +26 -0
- package/test/node_modules/fetch-blob/from.js +100 -0
- package/test/node_modules/fetch-blob/index.d.ts +3 -0
- package/test/node_modules/fetch-blob/index.js +250 -0
- package/test/node_modules/fetch-blob/package.json +56 -0
- package/test/node_modules/fetch-blob/streams.cjs +51 -0
- package/test/node_modules/fill-range/LICENSE +21 -0
- package/test/node_modules/fill-range/README.md +237 -0
- package/test/node_modules/fill-range/index.js +248 -0
- package/test/node_modules/fill-range/package.json +74 -0
- package/test/node_modules/find-up/index.d.ts +138 -0
- package/test/node_modules/find-up/index.js +89 -0
- package/test/node_modules/find-up/license +9 -0
- package/test/node_modules/find-up/package.json +54 -0
- package/test/node_modules/find-up/readme.md +151 -0
- package/test/node_modules/flat/.travis.yml +8 -0
- package/test/node_modules/flat/LICENSE +12 -0
- package/test/node_modules/flat/README.md +236 -0
- package/test/node_modules/flat/cli.js +42 -0
- package/test/node_modules/flat/index.js +158 -0
- package/test/node_modules/flat/package.json +37 -0
- package/test/node_modules/flat/test/test.js +643 -0
- package/test/node_modules/foreground-child/LICENSE +15 -0
- package/test/node_modules/foreground-child/README.md +128 -0
- package/test/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +2 -0
- package/test/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/test/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/index.d.ts +58 -0
- package/test/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/index.js +123 -0
- package/test/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +6 -0
- package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/test/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +10 -0
- package/test/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/test/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/all-signals.d.ts +2 -0
- package/test/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/test/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/index.d.ts +58 -0
- package/test/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/index.js +115 -0
- package/test/node_modules/foreground-child/dist/esm/index.js.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/test/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +6 -0
- package/test/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/test/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/watchdog.d.ts +10 -0
- package/test/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
- package/test/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/test/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
- package/test/node_modules/foreground-child/package.json +106 -0
- package/test/node_modules/form-data/License +19 -0
- package/test/node_modules/form-data/Readme.md +358 -0
- package/test/node_modules/form-data/index.d.ts +62 -0
- package/test/node_modules/form-data/lib/browser.js +2 -0
- package/test/node_modules/form-data/lib/form_data.js +503 -0
- package/test/node_modules/form-data/lib/populate.js +10 -0
- package/test/node_modules/form-data/package.json +74 -0
- package/test/node_modules/formdata-polyfill/FormData.js +441 -0
- package/test/node_modules/formdata-polyfill/LICENSE +21 -0
- package/test/node_modules/formdata-polyfill/README.md +145 -0
- package/test/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
- package/test/node_modules/formdata-polyfill/esm.min.js +40 -0
- package/test/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
- package/test/node_modules/formdata-polyfill/formdata.min.js +21 -0
- package/test/node_modules/formdata-polyfill/package.json +50 -0
- package/test/node_modules/formidable/LICENSE +21 -0
- package/test/node_modules/formidable/README.md +884 -0
- package/test/node_modules/formidable/README_pt_BR.md +841 -0
- package/test/node_modules/formidable/dist/helpers/firstValues.cjs +394 -0
- package/test/node_modules/formidable/dist/helpers/readBooleans.cjs +12 -0
- package/test/node_modules/formidable/dist/index.cjs +1690 -0
- package/test/node_modules/formidable/dist/parsers/JSON.cjs +35 -0
- package/test/node_modules/formidable/dist/parsers/Multipart.cjs +372 -0
- package/test/node_modules/formidable/dist/parsers/OctetStream.cjs +14 -0
- package/test/node_modules/formidable/dist/parsers/Querystring.cjs +38 -0
- package/test/node_modules/formidable/dist/parsers/StreamingQuerystring.cjs +131 -0
- package/test/node_modules/formidable/package.json +140 -0
- package/test/node_modules/formidable/src/Formidable.js +684 -0
- package/test/node_modules/formidable/src/FormidableError.js +51 -0
- package/test/node_modules/formidable/src/PersistentFile.js +88 -0
- package/test/node_modules/formidable/src/VolatileFile.js +80 -0
- package/test/node_modules/formidable/src/helpers/firstValues.js +19 -0
- package/test/node_modules/formidable/src/helpers/readBooleans.js +10 -0
- package/test/node_modules/formidable/src/index.js +32 -0
- package/test/node_modules/formidable/src/parsers/Dummy.js +19 -0
- package/test/node_modules/formidable/src/parsers/JSON.js +30 -0
- package/test/node_modules/formidable/src/parsers/Multipart.js +356 -0
- package/test/node_modules/formidable/src/parsers/OctetStream.js +10 -0
- package/test/node_modules/formidable/src/parsers/Querystring.js +33 -0
- package/test/node_modules/formidable/src/parsers/StreamingQuerystring.js +117 -0
- package/test/node_modules/formidable/src/parsers/index.js +15 -0
- package/test/node_modules/formidable/src/plugins/index.js +6 -0
- package/test/node_modules/formidable/src/plugins/json.js +39 -0
- package/test/node_modules/formidable/src/plugins/multipart.js +173 -0
- package/test/node_modules/formidable/src/plugins/octetstream.js +84 -0
- package/test/node_modules/formidable/src/plugins/querystring.js +41 -0
- package/test/node_modules/fount-js/README.md +35 -0
- package/test/node_modules/fount-js/fount.cjs +145 -0
- package/test/node_modules/fount-js/fount.js +202 -0
- package/test/node_modules/fount-js/package.json +23 -0
- package/test/node_modules/fsevents/LICENSE +22 -0
- package/test/node_modules/fsevents/README.md +89 -0
- package/test/node_modules/fsevents/fsevents.d.ts +46 -0
- package/test/node_modules/fsevents/fsevents.js +83 -0
- package/test/node_modules/fsevents/fsevents.node +0 -0
- package/test/node_modules/fsevents/package.json +62 -0
- package/test/node_modules/function-bind/.eslintrc +21 -0
- package/test/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/test/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/test/node_modules/function-bind/.nycrc +13 -0
- package/test/node_modules/function-bind/CHANGELOG.md +136 -0
- package/test/node_modules/function-bind/LICENSE +20 -0
- package/test/node_modules/function-bind/README.md +46 -0
- package/test/node_modules/function-bind/implementation.js +84 -0
- package/test/node_modules/function-bind/index.js +5 -0
- package/test/node_modules/function-bind/package.json +87 -0
- package/test/node_modules/function-bind/test/.eslintrc +9 -0
- package/test/node_modules/function-bind/test/index.js +252 -0
- package/test/node_modules/get-caller-file/LICENSE.md +6 -0
- package/test/node_modules/get-caller-file/README.md +41 -0
- package/test/node_modules/get-caller-file/index.d.ts +2 -0
- package/test/node_modules/get-caller-file/index.js +22 -0
- package/test/node_modules/get-caller-file/index.js.map +1 -0
- package/test/node_modules/get-caller-file/package.json +42 -0
- package/test/node_modules/get-intrinsic/.eslintrc +42 -0
- package/test/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/test/node_modules/get-intrinsic/.nycrc +9 -0
- package/test/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/test/node_modules/get-intrinsic/LICENSE +21 -0
- package/test/node_modules/get-intrinsic/README.md +71 -0
- package/test/node_modules/get-intrinsic/index.js +378 -0
- package/test/node_modules/get-intrinsic/package.json +97 -0
- package/test/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/test/node_modules/get-proto/.eslintrc +10 -0
- package/test/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/test/node_modules/get-proto/.nycrc +9 -0
- package/test/node_modules/get-proto/CHANGELOG.md +21 -0
- package/test/node_modules/get-proto/LICENSE +21 -0
- package/test/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/test/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/test/node_modules/get-proto/README.md +50 -0
- package/test/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/test/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/test/node_modules/get-proto/index.d.ts +5 -0
- package/test/node_modules/get-proto/index.js +27 -0
- package/test/node_modules/get-proto/package.json +81 -0
- package/test/node_modules/get-proto/test/index.js +68 -0
- package/test/node_modules/get-proto/tsconfig.json +9 -0
- package/test/node_modules/glob/LICENSE +15 -0
- package/test/node_modules/glob/README.md +1265 -0
- package/test/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
- package/test/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/test/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/test/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/test/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/test/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/test/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/test/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/test/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/test/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/test/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/index.js +68 -0
- package/test/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/glob/dist/commonjs/package.json +3 -0
- package/test/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
- package/test/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/test/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/test/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/test/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/test/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/test/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/test/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/test/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/test/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/test/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/test/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/test/node_modules/glob/dist/esm/bin.mjs +270 -0
- package/test/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/test/node_modules/glob/dist/esm/glob.d.ts +388 -0
- package/test/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/glob.js +243 -0
- package/test/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/test/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/test/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/test/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/test/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/test/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/ignore.js +115 -0
- package/test/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/test/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/test/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/index.js +55 -0
- package/test/node_modules/glob/dist/esm/index.js.map +1 -0
- package/test/node_modules/glob/dist/esm/package.json +3 -0
- package/test/node_modules/glob/dist/esm/pattern.d.ts +76 -0
- package/test/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/pattern.js +215 -0
- package/test/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/test/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/test/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/processor.js +294 -0
- package/test/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/test/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/test/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/test/node_modules/glob/dist/esm/walker.js +381 -0
- package/test/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/LICENSE +15 -0
- package/test/node_modules/glob/node_modules/minimatch/README.md +454 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.js +1017 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.js +1001 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/package.json +3 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/test/node_modules/glob/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/test/node_modules/glob/node_modules/minimatch/package.json +82 -0
- package/test/node_modules/glob/package.json +99 -0
- package/test/node_modules/glob-parent/CHANGELOG.md +110 -0
- package/test/node_modules/glob-parent/LICENSE +15 -0
- package/test/node_modules/glob-parent/README.md +137 -0
- package/test/node_modules/glob-parent/index.js +42 -0
- package/test/node_modules/glob-parent/package.json +48 -0
- package/test/node_modules/gopd/.eslintrc +16 -0
- package/test/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/test/node_modules/gopd/CHANGELOG.md +45 -0
- package/test/node_modules/gopd/LICENSE +21 -0
- package/test/node_modules/gopd/README.md +40 -0
- package/test/node_modules/gopd/gOPD.d.ts +1 -0
- package/test/node_modules/gopd/gOPD.js +4 -0
- package/test/node_modules/gopd/index.d.ts +5 -0
- package/test/node_modules/gopd/index.js +15 -0
- package/test/node_modules/gopd/package.json +77 -0
- package/test/node_modules/gopd/test/index.js +36 -0
- package/test/node_modules/gopd/tsconfig.json +9 -0
- package/test/node_modules/has-flag/index.d.ts +39 -0
- package/test/node_modules/has-flag/index.js +8 -0
- package/test/node_modules/has-flag/license +9 -0
- package/test/node_modules/has-flag/package.json +46 -0
- package/test/node_modules/has-flag/readme.md +89 -0
- package/test/node_modules/has-symbols/.eslintrc +11 -0
- package/test/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/test/node_modules/has-symbols/.nycrc +9 -0
- package/test/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/test/node_modules/has-symbols/LICENSE +21 -0
- package/test/node_modules/has-symbols/README.md +46 -0
- package/test/node_modules/has-symbols/index.d.ts +3 -0
- package/test/node_modules/has-symbols/index.js +14 -0
- package/test/node_modules/has-symbols/package.json +111 -0
- package/test/node_modules/has-symbols/shams.d.ts +3 -0
- package/test/node_modules/has-symbols/shams.js +45 -0
- package/test/node_modules/has-symbols/test/index.js +22 -0
- package/test/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/test/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/test/node_modules/has-symbols/test/tests.js +58 -0
- package/test/node_modules/has-symbols/tsconfig.json +10 -0
- package/test/node_modules/has-tostringtag/.eslintrc +5 -0
- package/test/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/test/node_modules/has-tostringtag/.nycrc +13 -0
- package/test/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/test/node_modules/has-tostringtag/LICENSE +21 -0
- package/test/node_modules/has-tostringtag/README.md +46 -0
- package/test/node_modules/has-tostringtag/index.d.ts +3 -0
- package/test/node_modules/has-tostringtag/index.js +8 -0
- package/test/node_modules/has-tostringtag/package.json +108 -0
- package/test/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/test/node_modules/has-tostringtag/shams.js +8 -0
- package/test/node_modules/has-tostringtag/test/index.js +21 -0
- package/test/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/test/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/test/node_modules/has-tostringtag/test/tests.js +15 -0
- package/test/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/test/node_modules/hasown/.eslintrc +5 -0
- package/test/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/test/node_modules/hasown/.nycrc +13 -0
- package/test/node_modules/hasown/CHANGELOG.md +40 -0
- package/test/node_modules/hasown/LICENSE +21 -0
- package/test/node_modules/hasown/README.md +40 -0
- package/test/node_modules/hasown/index.d.ts +3 -0
- package/test/node_modules/hasown/index.js +8 -0
- package/test/node_modules/hasown/package.json +92 -0
- package/test/node_modules/hasown/tsconfig.json +6 -0
- package/test/node_modules/he/LICENSE-MIT.txt +20 -0
- package/test/node_modules/he/README.md +379 -0
- package/test/node_modules/he/bin/he +148 -0
- package/test/node_modules/he/he.js +345 -0
- package/test/node_modules/he/man/he.1 +78 -0
- package/test/node_modules/he/package.json +58 -0
- package/test/node_modules/hexoid/dist/index.d.ts +1 -0
- package/test/node_modules/hexoid/dist/index.js +1 -0
- package/test/node_modules/hexoid/dist/index.mjs +1 -0
- package/test/node_modules/hexoid/license +9 -0
- package/test/node_modules/hexoid/package.json +45 -0
- package/test/node_modules/hexoid/readme.md +118 -0
- package/test/node_modules/is-binary-path/index.d.ts +17 -0
- package/test/node_modules/is-binary-path/index.js +7 -0
- package/test/node_modules/is-binary-path/license +9 -0
- package/test/node_modules/is-binary-path/package.json +40 -0
- package/test/node_modules/is-binary-path/readme.md +34 -0
- package/test/node_modules/is-extglob/LICENSE +21 -0
- package/test/node_modules/is-extglob/README.md +107 -0
- package/test/node_modules/is-extglob/index.js +20 -0
- package/test/node_modules/is-extglob/package.json +69 -0
- package/test/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/test/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/test/node_modules/is-fullwidth-code-point/license +9 -0
- package/test/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/test/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/test/node_modules/is-glob/LICENSE +21 -0
- package/test/node_modules/is-glob/README.md +206 -0
- package/test/node_modules/is-glob/index.js +150 -0
- package/test/node_modules/is-glob/package.json +81 -0
- package/test/node_modules/is-number/LICENSE +21 -0
- package/test/node_modules/is-number/README.md +187 -0
- package/test/node_modules/is-number/index.js +18 -0
- package/test/node_modules/is-number/package.json +82 -0
- package/test/node_modules/is-plain-obj/index.d.ts +29 -0
- package/test/node_modules/is-plain-obj/index.js +10 -0
- package/test/node_modules/is-plain-obj/license +9 -0
- package/test/node_modules/is-plain-obj/package.json +38 -0
- package/test/node_modules/is-plain-obj/readme.md +54 -0
- package/test/node_modules/is-unicode-supported/index.d.ts +14 -0
- package/test/node_modules/is-unicode-supported/index.js +13 -0
- package/test/node_modules/is-unicode-supported/license +9 -0
- package/test/node_modules/is-unicode-supported/package.json +41 -0
- package/test/node_modules/is-unicode-supported/readme.md +35 -0
- package/test/node_modules/isexe/LICENSE +15 -0
- package/test/node_modules/isexe/README.md +51 -0
- package/test/node_modules/isexe/index.js +57 -0
- package/test/node_modules/isexe/mode.js +41 -0
- package/test/node_modules/isexe/package.json +31 -0
- package/test/node_modules/isexe/test/basic.js +221 -0
- package/test/node_modules/isexe/windows.js +42 -0
- package/test/node_modules/jackspeak/LICENSE.md +55 -0
- package/test/node_modules/jackspeak/README.md +357 -0
- package/test/node_modules/jackspeak/dist/commonjs/index.d.ts +315 -0
- package/test/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
- package/test/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/test/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
- package/test/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
- package/test/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +4 -0
- package/test/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
- package/test/node_modules/jackspeak/dist/esm/index.d.ts +315 -0
- package/test/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/jackspeak/dist/esm/index.js +1000 -0
- package/test/node_modules/jackspeak/dist/esm/index.js.map +1 -0
- package/test/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/test/node_modules/jackspeak/dist/esm/parse-args.d.ts +4 -0
- package/test/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
- package/test/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
- package/test/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
- package/test/node_modules/jackspeak/package.json +95 -0
- package/test/node_modules/js-yaml/CHANGELOG.md +616 -0
- package/test/node_modules/js-yaml/LICENSE +21 -0
- package/test/node_modules/js-yaml/README.md +246 -0
- package/test/node_modules/js-yaml/bin/js-yaml.js +126 -0
- package/test/node_modules/js-yaml/dist/js-yaml.js +3874 -0
- package/test/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- package/test/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
- package/test/node_modules/js-yaml/index.js +47 -0
- package/test/node_modules/js-yaml/lib/common.js +59 -0
- package/test/node_modules/js-yaml/lib/dumper.js +965 -0
- package/test/node_modules/js-yaml/lib/exception.js +55 -0
- package/test/node_modules/js-yaml/lib/loader.js +1727 -0
- package/test/node_modules/js-yaml/lib/schema/core.js +11 -0
- package/test/node_modules/js-yaml/lib/schema/default.js +22 -0
- package/test/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
- package/test/node_modules/js-yaml/lib/schema/json.js +19 -0
- package/test/node_modules/js-yaml/lib/schema.js +121 -0
- package/test/node_modules/js-yaml/lib/snippet.js +101 -0
- package/test/node_modules/js-yaml/lib/type/binary.js +125 -0
- package/test/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/test/node_modules/js-yaml/lib/type/float.js +97 -0
- package/test/node_modules/js-yaml/lib/type/int.js +156 -0
- package/test/node_modules/js-yaml/lib/type/map.js +8 -0
- package/test/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/test/node_modules/js-yaml/lib/type/null.js +35 -0
- package/test/node_modules/js-yaml/lib/type/omap.js +44 -0
- package/test/node_modules/js-yaml/lib/type/pairs.js +53 -0
- package/test/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/test/node_modules/js-yaml/lib/type/set.js +29 -0
- package/test/node_modules/js-yaml/lib/type/str.js +8 -0
- package/test/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/test/node_modules/js-yaml/lib/type.js +66 -0
- package/test/node_modules/js-yaml/package.json +66 -0
- package/test/node_modules/locate-path/index.d.ts +83 -0
- package/test/node_modules/locate-path/index.js +68 -0
- package/test/node_modules/locate-path/license +9 -0
- package/test/node_modules/locate-path/package.json +46 -0
- package/test/node_modules/locate-path/readme.md +125 -0
- package/test/node_modules/log-symbols/browser.js +8 -0
- package/test/node_modules/log-symbols/index.d.ts +25 -0
- package/test/node_modules/log-symbols/index.js +19 -0
- package/test/node_modules/log-symbols/license +9 -0
- package/test/node_modules/log-symbols/package.json +52 -0
- package/test/node_modules/log-symbols/readme.md +51 -0
- package/test/node_modules/loupe/LICENSE +9 -0
- package/test/node_modules/loupe/README.md +63 -0
- package/test/node_modules/loupe/lib/arguments.d.ts +3 -0
- package/test/node_modules/loupe/lib/arguments.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/arguments.js +7 -0
- package/test/node_modules/loupe/lib/array.d.ts +3 -0
- package/test/node_modules/loupe/lib/array.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/array.js +16 -0
- package/test/node_modules/loupe/lib/bigint.d.ts +3 -0
- package/test/node_modules/loupe/lib/bigint.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/bigint.js +7 -0
- package/test/node_modules/loupe/lib/class.d.ts +5 -0
- package/test/node_modules/loupe/lib/class.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/class.js +15 -0
- package/test/node_modules/loupe/lib/date.d.ts +3 -0
- package/test/node_modules/loupe/lib/date.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/date.js +11 -0
- package/test/node_modules/loupe/lib/error.d.ts +3 -0
- package/test/node_modules/loupe/lib/error.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/error.js +35 -0
- package/test/node_modules/loupe/lib/function.d.ts +7 -0
- package/test/node_modules/loupe/lib/function.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/function.js +9 -0
- package/test/node_modules/loupe/lib/helpers.d.ts +7 -0
- package/test/node_modules/loupe/lib/helpers.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/helpers.js +159 -0
- package/test/node_modules/loupe/lib/html.d.ts +5 -0
- package/test/node_modules/loupe/lib/html.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/html.js +34 -0
- package/test/node_modules/loupe/lib/index.d.ts +7 -0
- package/test/node_modules/loupe/lib/index.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/index.js +161 -0
- package/test/node_modules/loupe/lib/map.d.ts +3 -0
- package/test/node_modules/loupe/lib/map.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/map.js +22 -0
- package/test/node_modules/loupe/lib/number.d.ts +3 -0
- package/test/node_modules/loupe/lib/number.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/number.js +17 -0
- package/test/node_modules/loupe/lib/object.d.ts +3 -0
- package/test/node_modules/loupe/lib/object.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/object.js +22 -0
- package/test/node_modules/loupe/lib/promise.d.ts +5 -0
- package/test/node_modules/loupe/lib/promise.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/promise.js +18 -0
- package/test/node_modules/loupe/lib/regexp.d.ts +3 -0
- package/test/node_modules/loupe/lib/regexp.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/regexp.js +7 -0
- package/test/node_modules/loupe/lib/set.d.ts +3 -0
- package/test/node_modules/loupe/lib/set.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/set.js +15 -0
- package/test/node_modules/loupe/lib/string.d.ts +3 -0
- package/test/node_modules/loupe/lib/string.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/string.js +24 -0
- package/test/node_modules/loupe/lib/symbol.d.ts +2 -0
- package/test/node_modules/loupe/lib/symbol.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/symbol.js +6 -0
- package/test/node_modules/loupe/lib/typedarray.d.ts +5 -0
- package/test/node_modules/loupe/lib/typedarray.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/typedarray.js +38 -0
- package/test/node_modules/loupe/lib/types.d.ts +15 -0
- package/test/node_modules/loupe/lib/types.d.ts.map +1 -0
- package/test/node_modules/loupe/lib/types.js +1 -0
- package/test/node_modules/loupe/loupe.js +640 -0
- package/test/node_modules/loupe/package.json +73 -0
- package/test/node_modules/lru-cache/LICENSE +15 -0
- package/test/node_modules/lru-cache/README.md +331 -0
- package/test/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
- package/test/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/test/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/test/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/test/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/test/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
- package/test/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/test/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/test/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/test/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/test/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/test/node_modules/lru-cache/package.json +116 -0
- package/test/node_modules/math-intrinsics/.eslintrc +16 -0
- package/test/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/test/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/test/node_modules/math-intrinsics/LICENSE +21 -0
- package/test/node_modules/math-intrinsics/README.md +50 -0
- package/test/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/test/node_modules/math-intrinsics/abs.js +4 -0
- package/test/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/test/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/test/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/test/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/test/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/test/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/test/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/test/node_modules/math-intrinsics/floor.js +4 -0
- package/test/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/test/node_modules/math-intrinsics/isFinite.js +12 -0
- package/test/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/test/node_modules/math-intrinsics/isInteger.js +16 -0
- package/test/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/test/node_modules/math-intrinsics/isNaN.js +6 -0
- package/test/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/test/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/test/node_modules/math-intrinsics/max.d.ts +1 -0
- package/test/node_modules/math-intrinsics/max.js +4 -0
- package/test/node_modules/math-intrinsics/min.d.ts +1 -0
- package/test/node_modules/math-intrinsics/min.js +4 -0
- package/test/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/test/node_modules/math-intrinsics/mod.js +9 -0
- package/test/node_modules/math-intrinsics/package.json +86 -0
- package/test/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/test/node_modules/math-intrinsics/pow.js +4 -0
- package/test/node_modules/math-intrinsics/round.d.ts +1 -0
- package/test/node_modules/math-intrinsics/round.js +4 -0
- package/test/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/test/node_modules/math-intrinsics/sign.js +11 -0
- package/test/node_modules/math-intrinsics/test/index.js +192 -0
- package/test/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/test/node_modules/methods/HISTORY.md +29 -0
- package/test/node_modules/methods/LICENSE +24 -0
- package/test/node_modules/methods/README.md +51 -0
- package/test/node_modules/methods/index.js +69 -0
- package/test/node_modules/methods/package.json +36 -0
- package/test/node_modules/mime/CHANGELOG.md +296 -0
- package/test/node_modules/mime/LICENSE +21 -0
- package/test/node_modules/mime/Mime.js +97 -0
- package/test/node_modules/mime/README.md +187 -0
- package/test/node_modules/mime/cli.js +46 -0
- package/test/node_modules/mime/index.js +4 -0
- package/test/node_modules/mime/lite.js +4 -0
- package/test/node_modules/mime/package.json +52 -0
- package/test/node_modules/mime/types/other.js +1 -0
- package/test/node_modules/mime/types/standard.js +1 -0
- package/test/node_modules/mime-db/HISTORY.md +507 -0
- package/test/node_modules/mime-db/LICENSE +23 -0
- package/test/node_modules/mime-db/README.md +100 -0
- package/test/node_modules/mime-db/db.json +8519 -0
- package/test/node_modules/mime-db/index.js +12 -0
- package/test/node_modules/mime-db/package.json +60 -0
- package/test/node_modules/mime-types/HISTORY.md +397 -0
- package/test/node_modules/mime-types/LICENSE +23 -0
- package/test/node_modules/mime-types/README.md +113 -0
- package/test/node_modules/mime-types/index.js +188 -0
- package/test/node_modules/mime-types/package.json +44 -0
- package/test/node_modules/minimatch/LICENSE +15 -0
- package/test/node_modules/minimatch/README.md +259 -0
- package/test/node_modules/minimatch/lib/path.js +4 -0
- package/test/node_modules/minimatch/minimatch.js +944 -0
- package/test/node_modules/minimatch/package.json +35 -0
- package/test/node_modules/minipass/LICENSE +15 -0
- package/test/node_modules/minipass/README.md +825 -0
- package/test/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/test/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/test/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/test/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/test/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/minipass/dist/esm/index.js +1018 -0
- package/test/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/test/node_modules/minipass/dist/esm/package.json +3 -0
- package/test/node_modules/minipass/package.json +82 -0
- package/test/node_modules/mocha/LICENSE +22 -0
- package/test/node_modules/mocha/README.md +74 -0
- package/test/node_modules/mocha/bin/_mocha +10 -0
- package/test/node_modules/mocha/bin/mocha.js +142 -0
- package/test/node_modules/mocha/browser-entry.js +226 -0
- package/test/node_modules/mocha/index.js +3 -0
- package/test/node_modules/mocha/lib/browser/highlight-tags.js +39 -0
- package/test/node_modules/mocha/lib/browser/parse-query.js +24 -0
- package/test/node_modules/mocha/lib/browser/template.html +20 -0
- package/test/node_modules/mocha/lib/cli/cli.js +93 -0
- package/test/node_modules/mocha/lib/cli/collect-files.js +137 -0
- package/test/node_modules/mocha/lib/cli/commands.js +14 -0
- package/test/node_modules/mocha/lib/cli/config.js +100 -0
- package/test/node_modules/mocha/lib/cli/index.js +3 -0
- package/test/node_modules/mocha/lib/cli/init.js +36 -0
- package/test/node_modules/mocha/lib/cli/lookup-files.js +155 -0
- package/test/node_modules/mocha/lib/cli/node-flags.js +85 -0
- package/test/node_modules/mocha/lib/cli/one-and-dones.js +69 -0
- package/test/node_modules/mocha/lib/cli/options.js +337 -0
- package/test/node_modules/mocha/lib/cli/run-helpers.js +304 -0
- package/test/node_modules/mocha/lib/cli/run-option-metadata.js +137 -0
- package/test/node_modules/mocha/lib/cli/run.js +380 -0
- package/test/node_modules/mocha/lib/cli/watch-run.js +377 -0
- package/test/node_modules/mocha/lib/context.js +86 -0
- package/test/node_modules/mocha/lib/errors.js +563 -0
- package/test/node_modules/mocha/lib/hook.js +89 -0
- package/test/node_modules/mocha/lib/interfaces/bdd.js +114 -0
- package/test/node_modules/mocha/lib/interfaces/common.js +193 -0
- package/test/node_modules/mocha/lib/interfaces/exports.js +60 -0
- package/test/node_modules/mocha/lib/interfaces/index.js +6 -0
- package/test/node_modules/mocha/lib/interfaces/qunit.js +98 -0
- package/test/node_modules/mocha/lib/interfaces/tdd.js +106 -0
- package/test/node_modules/mocha/lib/mocha.js +1334 -0
- package/test/node_modules/mocha/lib/mocharc.json +10 -0
- package/test/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +188 -0
- package/test/node_modules/mocha/lib/nodejs/esm-utils.js +106 -0
- package/test/node_modules/mocha/lib/nodejs/file-unloader.js +15 -0
- package/test/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +433 -0
- package/test/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +165 -0
- package/test/node_modules/mocha/lib/nodejs/serializer.js +414 -0
- package/test/node_modules/mocha/lib/nodejs/worker.js +151 -0
- package/test/node_modules/mocha/lib/pending.js +16 -0
- package/test/node_modules/mocha/lib/plugin-loader.js +286 -0
- package/test/node_modules/mocha/lib/reporters/base.js +591 -0
- package/test/node_modules/mocha/lib/reporters/doc.js +95 -0
- package/test/node_modules/mocha/lib/reporters/dot.js +81 -0
- package/test/node_modules/mocha/lib/reporters/html.js +420 -0
- package/test/node_modules/mocha/lib/reporters/index.js +19 -0
- package/test/node_modules/mocha/lib/reporters/json-stream.js +92 -0
- package/test/node_modules/mocha/lib/reporters/json.js +162 -0
- package/test/node_modules/mocha/lib/reporters/landing.js +116 -0
- package/test/node_modules/mocha/lib/reporters/list.js +78 -0
- package/test/node_modules/mocha/lib/reporters/markdown.js +112 -0
- package/test/node_modules/mocha/lib/reporters/min.js +52 -0
- package/test/node_modules/mocha/lib/reporters/nyan.js +267 -0
- package/test/node_modules/mocha/lib/reporters/progress.js +104 -0
- package/test/node_modules/mocha/lib/reporters/spec.js +99 -0
- package/test/node_modules/mocha/lib/reporters/tap.js +293 -0
- package/test/node_modules/mocha/lib/reporters/xunit.js +218 -0
- package/test/node_modules/mocha/lib/runnable.js +474 -0
- package/test/node_modules/mocha/lib/runner.js +1267 -0
- package/test/node_modules/mocha/lib/stats-collector.js +83 -0
- package/test/node_modules/mocha/lib/suite.js +666 -0
- package/test/node_modules/mocha/lib/test.js +113 -0
- package/test/node_modules/mocha/lib/utils.js +698 -0
- package/test/node_modules/mocha/mocha.css +455 -0
- package/test/node_modules/mocha/mocha.js +20785 -0
- package/test/node_modules/mocha/mocha.js.map +1 -0
- package/test/node_modules/mocha/package.json +207 -0
- package/test/node_modules/ms/index.js +162 -0
- package/test/node_modules/ms/license.md +21 -0
- package/test/node_modules/ms/package.json +38 -0
- package/test/node_modules/ms/readme.md +59 -0
- package/test/node_modules/node-domexception/.history/README_20210527203617.md +2 -0
- package/test/node_modules/node-domexception/.history/README_20210527212714.md +41 -0
- package/test/node_modules/node-domexception/.history/README_20210527213345.md +36 -0
- package/test/node_modules/node-domexception/.history/README_20210527213411.md +36 -0
- package/test/node_modules/node-domexception/.history/README_20210527213803.md +36 -0
- package/test/node_modules/node-domexception/.history/README_20210527214323.md +38 -0
- package/test/node_modules/node-domexception/.history/README_20210527214408.md +38 -0
- package/test/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
- package/test/node_modules/node-domexception/.history/index_20210527203947.js +8 -0
- package/test/node_modules/node-domexception/.history/index_20210527204259.js +9 -0
- package/test/node_modules/node-domexception/.history/index_20210527204418.js +9 -0
- package/test/node_modules/node-domexception/.history/index_20210527204756.js +11 -0
- package/test/node_modules/node-domexception/.history/index_20210527204833.js +11 -0
- package/test/node_modules/node-domexception/.history/index_20210527211208.js +15 -0
- package/test/node_modules/node-domexception/.history/index_20210527211248.js +15 -0
- package/test/node_modules/node-domexception/.history/index_20210527212722.js +23 -0
- package/test/node_modules/node-domexception/.history/index_20210527212731.js +23 -0
- package/test/node_modules/node-domexception/.history/index_20210527212746.js +15 -0
- package/test/node_modules/node-domexception/.history/index_20210527212900.js +16 -0
- package/test/node_modules/node-domexception/.history/index_20210527213022.js +16 -0
- package/test/node_modules/node-domexception/.history/index_20210527213822.js +16 -0
- package/test/node_modules/node-domexception/.history/index_20210527213843.js +17 -0
- package/test/node_modules/node-domexception/.history/index_20210527213852.js +17 -0
- package/test/node_modules/node-domexception/.history/index_20210527213910.js +16 -0
- package/test/node_modules/node-domexception/.history/index_20210527214034.js +16 -0
- package/test/node_modules/node-domexception/.history/index_20210527214643.js +41 -0
- package/test/node_modules/node-domexception/.history/index_20210527214654.js +41 -0
- package/test/node_modules/node-domexception/.history/index_20210527214700.js +16 -0
- package/test/node_modules/node-domexception/.history/package_20210527203733.json +19 -0
- package/test/node_modules/node-domexception/.history/package_20210527203825.json +16 -0
- package/test/node_modules/node-domexception/.history/package_20210527204621.json +19 -0
- package/test/node_modules/node-domexception/.history/package_20210527204913.json +25 -0
- package/test/node_modules/node-domexception/.history/package_20210527204925.json +25 -0
- package/test/node_modules/node-domexception/.history/package_20210527205145.json +29 -0
- package/test/node_modules/node-domexception/.history/package_20210527205156.json +29 -0
- package/test/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
- package/test/node_modules/node-domexception/.history/test_20210527205957.js +3 -0
- package/test/node_modules/node-domexception/.history/test_20210527210021.js +3 -0
- package/test/node_modules/node-domexception/LICENSE +21 -0
- package/test/node_modules/node-domexception/README.md +46 -0
- package/test/node_modules/node-domexception/index.js +16 -0
- package/test/node_modules/node-domexception/package.json +29 -0
- package/test/node_modules/node-fetch/@types/index.d.ts +219 -0
- package/test/node_modules/node-fetch/LICENSE.md +22 -0
- package/test/node_modules/node-fetch/README.md +872 -0
- package/test/node_modules/node-fetch/package.json +131 -0
- package/test/node_modules/node-fetch/src/body.js +397 -0
- package/test/node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/test/node_modules/node-fetch/src/errors/base.js +17 -0
- package/test/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
- package/test/node_modules/node-fetch/src/headers.js +267 -0
- package/test/node_modules/node-fetch/src/index.js +417 -0
- package/test/node_modules/node-fetch/src/request.js +313 -0
- package/test/node_modules/node-fetch/src/response.js +160 -0
- package/test/node_modules/node-fetch/src/utils/get-search.js +9 -0
- package/test/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
- package/test/node_modules/node-fetch/src/utils/is.js +87 -0
- package/test/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
- package/test/node_modules/node-fetch/src/utils/referrer.js +340 -0
- package/test/node_modules/normalize-path/LICENSE +21 -0
- package/test/node_modules/normalize-path/README.md +127 -0
- package/test/node_modules/normalize-path/index.js +35 -0
- package/test/node_modules/normalize-path/package.json +77 -0
- package/test/node_modules/object-inspect/.eslintrc +53 -0
- package/test/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/test/node_modules/object-inspect/.nycrc +13 -0
- package/test/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/test/node_modules/object-inspect/LICENSE +21 -0
- package/test/node_modules/object-inspect/example/all.js +23 -0
- package/test/node_modules/object-inspect/example/circular.js +6 -0
- package/test/node_modules/object-inspect/example/fn.js +5 -0
- package/test/node_modules/object-inspect/example/inspect.js +10 -0
- package/test/node_modules/object-inspect/index.js +544 -0
- package/test/node_modules/object-inspect/package-support.json +20 -0
- package/test/node_modules/object-inspect/package.json +105 -0
- package/test/node_modules/object-inspect/readme.markdown +84 -0
- package/test/node_modules/object-inspect/test/bigint.js +58 -0
- package/test/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/test/node_modules/object-inspect/test/circular.js +16 -0
- package/test/node_modules/object-inspect/test/deep.js +12 -0
- package/test/node_modules/object-inspect/test/element.js +53 -0
- package/test/node_modules/object-inspect/test/err.js +48 -0
- package/test/node_modules/object-inspect/test/fakes.js +29 -0
- package/test/node_modules/object-inspect/test/fn.js +76 -0
- package/test/node_modules/object-inspect/test/global.js +17 -0
- package/test/node_modules/object-inspect/test/has.js +15 -0
- package/test/node_modules/object-inspect/test/holes.js +15 -0
- package/test/node_modules/object-inspect/test/indent-option.js +271 -0
- package/test/node_modules/object-inspect/test/inspect.js +139 -0
- package/test/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/test/node_modules/object-inspect/test/number.js +58 -0
- package/test/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/test/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/test/node_modules/object-inspect/test/undef.js +12 -0
- package/test/node_modules/object-inspect/test/values.js +261 -0
- package/test/node_modules/object-inspect/test-core-js.js +26 -0
- package/test/node_modules/object-inspect/util.inspect.js +1 -0
- package/test/node_modules/once/LICENSE +15 -0
- package/test/node_modules/once/README.md +79 -0
- package/test/node_modules/once/once.js +42 -0
- package/test/node_modules/once/package.json +33 -0
- package/test/node_modules/p-limit/index.d.ts +42 -0
- package/test/node_modules/p-limit/index.js +71 -0
- package/test/node_modules/p-limit/license +9 -0
- package/test/node_modules/p-limit/package.json +52 -0
- package/test/node_modules/p-limit/readme.md +101 -0
- package/test/node_modules/p-locate/index.d.ts +53 -0
- package/test/node_modules/p-locate/index.js +50 -0
- package/test/node_modules/p-locate/license +9 -0
- package/test/node_modules/p-locate/package.json +54 -0
- package/test/node_modules/p-locate/readme.md +93 -0
- package/test/node_modules/package-json-from-dist/LICENSE.md +63 -0
- package/test/node_modules/package-json-from-dist/README.md +110 -0
- package/test/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +89 -0
- package/test/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
- package/test/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/test/node_modules/package-json-from-dist/dist/esm/index.d.ts +89 -0
- package/test/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
- package/test/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
- package/test/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/test/node_modules/package-json-from-dist/package.json +68 -0
- package/test/node_modules/path-exists/index.d.ts +28 -0
- package/test/node_modules/path-exists/index.js +23 -0
- package/test/node_modules/path-exists/license +9 -0
- package/test/node_modules/path-exists/package.json +39 -0
- package/test/node_modules/path-exists/readme.md +52 -0
- package/test/node_modules/path-key/index.d.ts +40 -0
- package/test/node_modules/path-key/index.js +16 -0
- package/test/node_modules/path-key/license +9 -0
- package/test/node_modules/path-key/package.json +39 -0
- package/test/node_modules/path-key/readme.md +61 -0
- package/test/node_modules/path-scurry/LICENSE.md +55 -0
- package/test/node_modules/path-scurry/README.md +636 -0
- package/test/node_modules/path-scurry/dist/commonjs/index.d.ts +1116 -0
- package/test/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/test/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/test/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/test/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/test/node_modules/path-scurry/dist/esm/index.d.ts +1116 -0
- package/test/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/test/node_modules/path-scurry/dist/esm/index.js +1979 -0
- package/test/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/test/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/test/node_modules/path-scurry/package.json +89 -0
- package/test/node_modules/pathval/LICENSE +16 -0
- package/test/node_modules/pathval/README.md +147 -0
- package/test/node_modules/pathval/index.js +292 -0
- package/test/node_modules/pathval/package.json +73 -0
- package/test/node_modules/pathval/pathval.js +1 -0
- package/test/node_modules/picomatch/CHANGELOG.md +136 -0
- package/test/node_modules/picomatch/LICENSE +21 -0
- package/test/node_modules/picomatch/README.md +708 -0
- package/test/node_modules/picomatch/index.js +3 -0
- package/test/node_modules/picomatch/lib/constants.js +179 -0
- package/test/node_modules/picomatch/lib/parse.js +1091 -0
- package/test/node_modules/picomatch/lib/picomatch.js +342 -0
- package/test/node_modules/picomatch/lib/scan.js +391 -0
- package/test/node_modules/picomatch/lib/utils.js +64 -0
- package/test/node_modules/picomatch/package.json +81 -0
- package/test/node_modules/qs/.editorconfig +46 -0
- package/test/node_modules/qs/.eslintrc +39 -0
- package/test/node_modules/qs/.github/FUNDING.yml +12 -0
- package/test/node_modules/qs/.nycrc +13 -0
- package/test/node_modules/qs/CHANGELOG.md +622 -0
- package/test/node_modules/qs/LICENSE.md +29 -0
- package/test/node_modules/qs/README.md +733 -0
- package/test/node_modules/qs/dist/qs.js +141 -0
- package/test/node_modules/qs/lib/formats.js +23 -0
- package/test/node_modules/qs/lib/index.js +11 -0
- package/test/node_modules/qs/lib/parse.js +328 -0
- package/test/node_modules/qs/lib/stringify.js +356 -0
- package/test/node_modules/qs/lib/utils.js +268 -0
- package/test/node_modules/qs/package.json +93 -0
- package/test/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/test/node_modules/qs/test/parse.js +1276 -0
- package/test/node_modules/qs/test/stringify.js +1306 -0
- package/test/node_modules/qs/test/utils.js +262 -0
- package/test/node_modules/randombytes/.travis.yml +15 -0
- package/test/node_modules/randombytes/.zuul.yml +1 -0
- package/test/node_modules/randombytes/LICENSE +21 -0
- package/test/node_modules/randombytes/README.md +14 -0
- package/test/node_modules/randombytes/browser.js +50 -0
- package/test/node_modules/randombytes/index.js +1 -0
- package/test/node_modules/randombytes/package.json +36 -0
- package/test/node_modules/randombytes/test.js +81 -0
- package/test/node_modules/readdirp/LICENSE +21 -0
- package/test/node_modules/readdirp/README.md +122 -0
- package/test/node_modules/readdirp/index.d.ts +43 -0
- package/test/node_modules/readdirp/index.js +287 -0
- package/test/node_modules/readdirp/package.json +122 -0
- package/test/node_modules/require-directory/.jshintrc +67 -0
- package/test/node_modules/require-directory/.travis.yml +3 -0
- package/test/node_modules/require-directory/LICENSE +22 -0
- package/test/node_modules/require-directory/README.markdown +184 -0
- package/test/node_modules/require-directory/index.js +86 -0
- package/test/node_modules/require-directory/package.json +40 -0
- package/test/node_modules/safe-buffer/LICENSE +21 -0
- package/test/node_modules/safe-buffer/README.md +584 -0
- package/test/node_modules/safe-buffer/index.d.ts +187 -0
- package/test/node_modules/safe-buffer/index.js +65 -0
- package/test/node_modules/safe-buffer/package.json +51 -0
- package/test/node_modules/serialize-javascript/LICENSE +27 -0
- package/test/node_modules/serialize-javascript/README.md +143 -0
- package/test/node_modules/serialize-javascript/index.js +268 -0
- package/test/node_modules/serialize-javascript/package.json +36 -0
- package/test/node_modules/sessionless-node/README.md +44 -0
- package/test/node_modules/sessionless-node/package.json +26 -0
- package/test/node_modules/sessionless-node/sessionless.cjs +96 -0
- package/test/node_modules/sessionless-node/sessionless.js +95 -0
- package/test/node_modules/sessionless-node/test/sessionless.js +78 -0
- package/test/node_modules/shebang-command/index.js +19 -0
- package/test/node_modules/shebang-command/license +9 -0
- package/test/node_modules/shebang-command/package.json +34 -0
- package/test/node_modules/shebang-command/readme.md +34 -0
- package/test/node_modules/shebang-regex/index.d.ts +22 -0
- package/test/node_modules/shebang-regex/index.js +2 -0
- package/test/node_modules/shebang-regex/license +9 -0
- package/test/node_modules/shebang-regex/package.json +35 -0
- package/test/node_modules/shebang-regex/readme.md +33 -0
- package/test/node_modules/side-channel/.editorconfig +9 -0
- package/test/node_modules/side-channel/.eslintrc +12 -0
- package/test/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/test/node_modules/side-channel/.nycrc +13 -0
- package/test/node_modules/side-channel/CHANGELOG.md +110 -0
- package/test/node_modules/side-channel/LICENSE +21 -0
- package/test/node_modules/side-channel/README.md +61 -0
- package/test/node_modules/side-channel/index.d.ts +14 -0
- package/test/node_modules/side-channel/index.js +43 -0
- package/test/node_modules/side-channel/package.json +85 -0
- package/test/node_modules/side-channel/test/index.js +104 -0
- package/test/node_modules/side-channel/tsconfig.json +9 -0
- package/test/node_modules/side-channel-list/.editorconfig +9 -0
- package/test/node_modules/side-channel-list/.eslintrc +11 -0
- package/test/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/test/node_modules/side-channel-list/.nycrc +13 -0
- package/test/node_modules/side-channel-list/CHANGELOG.md +15 -0
- package/test/node_modules/side-channel-list/LICENSE +21 -0
- package/test/node_modules/side-channel-list/README.md +62 -0
- package/test/node_modules/side-channel-list/index.d.ts +13 -0
- package/test/node_modules/side-channel-list/index.js +113 -0
- package/test/node_modules/side-channel-list/list.d.ts +14 -0
- package/test/node_modules/side-channel-list/package.json +77 -0
- package/test/node_modules/side-channel-list/test/index.js +104 -0
- package/test/node_modules/side-channel-list/tsconfig.json +9 -0
- package/test/node_modules/side-channel-map/.editorconfig +9 -0
- package/test/node_modules/side-channel-map/.eslintrc +11 -0
- package/test/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/test/node_modules/side-channel-map/.nycrc +13 -0
- package/test/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/test/node_modules/side-channel-map/LICENSE +21 -0
- package/test/node_modules/side-channel-map/README.md +62 -0
- package/test/node_modules/side-channel-map/index.d.ts +15 -0
- package/test/node_modules/side-channel-map/index.js +68 -0
- package/test/node_modules/side-channel-map/package.json +80 -0
- package/test/node_modules/side-channel-map/test/index.js +114 -0
- package/test/node_modules/side-channel-map/tsconfig.json +9 -0
- package/test/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/test/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/test/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/test/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/test/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/test/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/test/node_modules/side-channel-weakmap/README.md +62 -0
- package/test/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/test/node_modules/side-channel-weakmap/index.js +84 -0
- package/test/node_modules/side-channel-weakmap/package.json +87 -0
- package/test/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/test/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/test/node_modules/signal-exit/LICENSE.txt +16 -0
- package/test/node_modules/signal-exit/README.md +74 -0
- package/test/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/test/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/test/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/test/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/test/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/test/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/test/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/test/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/test/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/test/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/test/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/test/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/test/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/test/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/test/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/test/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/test/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/test/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/test/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/test/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/test/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/test/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/test/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/test/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/test/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/test/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/test/node_modules/signal-exit/package.json +106 -0
- package/test/node_modules/string-width/index.d.ts +29 -0
- package/test/node_modules/string-width/index.js +54 -0
- package/test/node_modules/string-width/license +9 -0
- package/test/node_modules/string-width/package.json +59 -0
- package/test/node_modules/string-width/readme.md +67 -0
- package/test/node_modules/string-width-cjs/index.d.ts +29 -0
- package/test/node_modules/string-width-cjs/index.js +47 -0
- package/test/node_modules/string-width-cjs/license +9 -0
- package/test/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- package/test/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +10 -0
- package/test/node_modules/string-width-cjs/node_modules/ansi-regex/license +9 -0
- package/test/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +55 -0
- package/test/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +78 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +73 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +23 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +6 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +50 -0
- package/test/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +6 -0
- package/test/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +17 -0
- package/test/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
- package/test/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
- package/test/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
- package/test/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +46 -0
- package/test/node_modules/string-width-cjs/package.json +56 -0
- package/test/node_modules/string-width-cjs/readme.md +50 -0
- package/test/node_modules/strip-ansi/index.d.ts +15 -0
- package/test/node_modules/strip-ansi/index.js +14 -0
- package/test/node_modules/strip-ansi/license +9 -0
- package/test/node_modules/strip-ansi/package.json +57 -0
- package/test/node_modules/strip-ansi/readme.md +41 -0
- package/test/node_modules/strip-ansi-cjs/index.d.ts +17 -0
- package/test/node_modules/strip-ansi-cjs/index.js +4 -0
- package/test/node_modules/strip-ansi-cjs/license +9 -0
- package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
- package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- package/test/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
- package/test/node_modules/strip-ansi-cjs/package.json +54 -0
- package/test/node_modules/strip-ansi-cjs/readme.md +46 -0
- package/test/node_modules/strip-json-comments/index.d.ts +36 -0
- package/test/node_modules/strip-json-comments/index.js +77 -0
- package/test/node_modules/strip-json-comments/license +9 -0
- package/test/node_modules/strip-json-comments/package.json +47 -0
- package/test/node_modules/strip-json-comments/readme.md +78 -0
- package/test/node_modules/superagent/LICENSE +22 -0
- package/test/node_modules/superagent/README.md +273 -0
- package/test/node_modules/superagent/dist/superagent.js +3399 -0
- package/test/node_modules/superagent/dist/superagent.min.js +1 -0
- package/test/node_modules/superagent/lib/agent-base.js +28 -0
- package/test/node_modules/superagent/lib/client.js +949 -0
- package/test/node_modules/superagent/lib/node/agent.js +100 -0
- package/test/node_modules/superagent/lib/node/decompress.js +20 -0
- package/test/node_modules/superagent/lib/node/http2wrapper.js +158 -0
- package/test/node_modules/superagent/lib/node/index.js +1318 -0
- package/test/node_modules/superagent/lib/node/parsers/image.js +13 -0
- package/test/node_modules/superagent/lib/node/parsers/index.js +11 -0
- package/test/node_modules/superagent/lib/node/parsers/json.js +25 -0
- package/test/node_modules/superagent/lib/node/parsers/text.js +11 -0
- package/test/node_modules/superagent/lib/node/parsers/urlencoded.js +22 -0
- package/test/node_modules/superagent/lib/node/response.js +143 -0
- package/test/node_modules/superagent/lib/node/unzip.js +74 -0
- package/test/node_modules/superagent/lib/request-base.js +720 -0
- package/test/node_modules/superagent/lib/response-base.js +120 -0
- package/test/node_modules/superagent/lib/utils.js +126 -0
- package/test/node_modules/superagent/package.json +131 -0
- package/test/node_modules/supports-color/browser.js +24 -0
- package/test/node_modules/supports-color/index.js +152 -0
- package/test/node_modules/supports-color/license +9 -0
- package/test/node_modules/supports-color/package.json +58 -0
- package/test/node_modules/supports-color/readme.md +77 -0
- package/test/node_modules/to-regex-range/LICENSE +21 -0
- package/test/node_modules/to-regex-range/README.md +305 -0
- package/test/node_modules/to-regex-range/index.js +288 -0
- package/test/node_modules/to-regex-range/package.json +88 -0
- package/test/node_modules/uuid/CHANGELOG.md +274 -0
- package/test/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/test/node_modules/uuid/LICENSE.md +9 -0
- package/test/node_modules/uuid/README.md +466 -0
- package/test/node_modules/uuid/dist/bin/uuid +2 -0
- package/test/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/test/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/test/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/test/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/test/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/test/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/test/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/test/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/test/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/test/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/test/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/test/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/test/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/test/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/test/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/test/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/test/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/test/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/test/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/test/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/test/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/test/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/test/node_modules/uuid/dist/esm-browser/rng.js +18 -0
- package/test/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/test/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
- package/test/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/test/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/test/node_modules/uuid/dist/esm-browser/v35.js +66 -0
- package/test/node_modules/uuid/dist/esm-browser/v4.js +29 -0
- package/test/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/test/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/test/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/test/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/test/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/test/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/test/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/test/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/test/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/test/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/test/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/test/node_modules/uuid/dist/esm-node/stringify.js +33 -0
- package/test/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/test/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/test/node_modules/uuid/dist/esm-node/v35.js +66 -0
- package/test/node_modules/uuid/dist/esm-node/v4.js +29 -0
- package/test/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/test/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/test/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/test/node_modules/uuid/dist/index.js +79 -0
- package/test/node_modules/uuid/dist/md5-browser.js +223 -0
- package/test/node_modules/uuid/dist/md5.js +23 -0
- package/test/node_modules/uuid/dist/native-browser.js +11 -0
- package/test/node_modules/uuid/dist/native.js +15 -0
- package/test/node_modules/uuid/dist/nil.js +8 -0
- package/test/node_modules/uuid/dist/parse.js +45 -0
- package/test/node_modules/uuid/dist/regex.js +8 -0
- package/test/node_modules/uuid/dist/rng-browser.js +25 -0
- package/test/node_modules/uuid/dist/rng.js +24 -0
- package/test/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/test/node_modules/uuid/dist/sha1.js +23 -0
- package/test/node_modules/uuid/dist/stringify.js +44 -0
- package/test/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/test/node_modules/uuid/dist/v1.js +107 -0
- package/test/node_modules/uuid/dist/v3.js +16 -0
- package/test/node_modules/uuid/dist/v35.js +80 -0
- package/test/node_modules/uuid/dist/v4.js +43 -0
- package/test/node_modules/uuid/dist/v5.js +16 -0
- package/test/node_modules/uuid/dist/validate.js +17 -0
- package/test/node_modules/uuid/dist/version.js +21 -0
- package/test/node_modules/uuid/package.json +135 -0
- package/test/node_modules/uuid/wrapper.mjs +10 -0
- package/test/node_modules/web-streams-polyfill/LICENSE +22 -0
- package/test/node_modules/web-streams-polyfill/README.md +110 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
- package/test/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
- package/test/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
- package/test/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
- package/test/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
- package/test/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
- package/test/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
- package/test/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
- package/test/node_modules/web-streams-polyfill/es2018/package.json +14 -0
- package/test/node_modules/web-streams-polyfill/es6/package.json +14 -0
- package/test/node_modules/web-streams-polyfill/package.json +83 -0
- package/test/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
- package/test/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
- package/test/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
- package/test/node_modules/which/CHANGELOG.md +166 -0
- package/test/node_modules/which/LICENSE +15 -0
- package/test/node_modules/which/README.md +54 -0
- package/test/node_modules/which/bin/node-which +52 -0
- package/test/node_modules/which/package.json +43 -0
- package/test/node_modules/which/which.js +125 -0
- package/test/node_modules/workerpool/HISTORY.md +330 -0
- package/test/node_modules/workerpool/LICENSE +201 -0
- package/test/node_modules/workerpool/README.md +529 -0
- package/test/node_modules/workerpool/dist/worker.js +318 -0
- package/test/node_modules/workerpool/dist/worker.js.map +1 -0
- package/test/node_modules/workerpool/dist/workerpool.js +1645 -0
- package/test/node_modules/workerpool/dist/workerpool.js.map +1 -0
- package/test/node_modules/workerpool/dist/workerpool.min.js +3 -0
- package/test/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +24 -0
- package/test/node_modules/workerpool/dist/workerpool.min.js.map +1 -0
- package/test/node_modules/workerpool/package.json +51 -0
- package/test/node_modules/workerpool/src/Pool.js +452 -0
- package/test/node_modules/workerpool/src/Promise.js +279 -0
- package/test/node_modules/workerpool/src/WorkerHandler.js +508 -0
- package/test/node_modules/workerpool/src/debug-port-allocator.js +28 -0
- package/test/node_modules/workerpool/src/environment.js +36 -0
- package/test/node_modules/workerpool/src/generated/embeddedWorker.js +6 -0
- package/test/node_modules/workerpool/src/header.js +24 -0
- package/test/node_modules/workerpool/src/index.js +48 -0
- package/test/node_modules/workerpool/src/requireFoolWebpack.js +8 -0
- package/test/node_modules/workerpool/src/transfer.js +12 -0
- package/test/node_modules/workerpool/src/types.js +31 -0
- package/test/node_modules/workerpool/src/worker.js +263 -0
- package/test/node_modules/wrap-ansi/index.d.ts +41 -0
- package/test/node_modules/wrap-ansi/index.js +214 -0
- package/test/node_modules/wrap-ansi/license +9 -0
- package/test/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +236 -0
- package/test/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +223 -0
- package/test/node_modules/wrap-ansi/node_modules/ansi-styles/license +9 -0
- package/test/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +54 -0
- package/test/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +173 -0
- package/test/node_modules/wrap-ansi/package.json +69 -0
- package/test/node_modules/wrap-ansi/readme.md +91 -0
- package/test/node_modules/wrap-ansi-cjs/index.js +216 -0
- package/test/node_modules/wrap-ansi-cjs/license +9 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +9 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +73 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +23 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +6 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +50 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +6 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +29 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +47 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/license +9 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +56 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +50 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +17 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
- package/test/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +46 -0
- package/test/node_modules/wrap-ansi-cjs/package.json +62 -0
- package/test/node_modules/wrap-ansi-cjs/readme.md +91 -0
- package/test/node_modules/wrappy/LICENSE +15 -0
- package/test/node_modules/wrappy/README.md +36 -0
- package/test/node_modules/wrappy/package.json +29 -0
- package/test/node_modules/wrappy/wrappy.js +33 -0
- package/test/node_modules/y18n/CHANGELOG.md +100 -0
- package/test/node_modules/y18n/LICENSE +13 -0
- package/test/node_modules/y18n/README.md +127 -0
- package/test/node_modules/y18n/build/index.cjs +203 -0
- package/test/node_modules/y18n/build/lib/cjs.js +6 -0
- package/test/node_modules/y18n/build/lib/index.js +174 -0
- package/test/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- package/test/node_modules/y18n/index.mjs +8 -0
- package/test/node_modules/y18n/package.json +70 -0
- package/test/node_modules/yargs/LICENSE +21 -0
- package/test/node_modules/yargs/README.md +204 -0
- package/test/node_modules/yargs/browser.d.ts +5 -0
- package/test/node_modules/yargs/browser.mjs +7 -0
- package/test/node_modules/yargs/build/index.cjs +1 -0
- package/test/node_modules/yargs/build/lib/argsert.js +62 -0
- package/test/node_modules/yargs/build/lib/command.js +449 -0
- package/test/node_modules/yargs/build/lib/completion-templates.js +48 -0
- package/test/node_modules/yargs/build/lib/completion.js +243 -0
- package/test/node_modules/yargs/build/lib/middleware.js +88 -0
- package/test/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/test/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/test/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/test/node_modules/yargs/build/lib/usage.js +584 -0
- package/test/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/test/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/test/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/test/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/test/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/test/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/test/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/test/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/test/node_modules/yargs/build/lib/validation.js +305 -0
- package/test/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
- package/test/node_modules/yargs/build/lib/yerror.js +9 -0
- package/test/node_modules/yargs/helpers/helpers.mjs +10 -0
- package/test/node_modules/yargs/helpers/index.js +14 -0
- package/test/node_modules/yargs/helpers/package.json +3 -0
- package/test/node_modules/yargs/index.cjs +53 -0
- package/test/node_modules/yargs/index.mjs +8 -0
- package/test/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- package/test/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- package/test/node_modules/yargs/locales/be.json +46 -0
- package/test/node_modules/yargs/locales/cs.json +51 -0
- package/test/node_modules/yargs/locales/de.json +46 -0
- package/test/node_modules/yargs/locales/en.json +55 -0
- package/test/node_modules/yargs/locales/es.json +46 -0
- package/test/node_modules/yargs/locales/fi.json +49 -0
- package/test/node_modules/yargs/locales/fr.json +53 -0
- package/test/node_modules/yargs/locales/hi.json +49 -0
- package/test/node_modules/yargs/locales/hu.json +46 -0
- package/test/node_modules/yargs/locales/id.json +50 -0
- package/test/node_modules/yargs/locales/it.json +46 -0
- package/test/node_modules/yargs/locales/ja.json +51 -0
- package/test/node_modules/yargs/locales/ko.json +49 -0
- package/test/node_modules/yargs/locales/nb.json +44 -0
- package/test/node_modules/yargs/locales/nl.json +49 -0
- package/test/node_modules/yargs/locales/nn.json +44 -0
- package/test/node_modules/yargs/locales/pirate.json +13 -0
- package/test/node_modules/yargs/locales/pl.json +49 -0
- package/test/node_modules/yargs/locales/pt.json +45 -0
- package/test/node_modules/yargs/locales/pt_BR.json +48 -0
- package/test/node_modules/yargs/locales/ru.json +51 -0
- package/test/node_modules/yargs/locales/th.json +46 -0
- package/test/node_modules/yargs/locales/tr.json +48 -0
- package/test/node_modules/yargs/locales/uk_UA.json +51 -0
- package/test/node_modules/yargs/locales/uz.json +52 -0
- package/test/node_modules/yargs/locales/zh_CN.json +48 -0
- package/test/node_modules/yargs/locales/zh_TW.json +51 -0
- package/test/node_modules/yargs/node_modules/ansi-regex/index.d.ts +37 -0
- package/test/node_modules/yargs/node_modules/ansi-regex/index.js +10 -0
- package/test/node_modules/yargs/node_modules/ansi-regex/license +9 -0
- package/test/node_modules/yargs/node_modules/ansi-regex/package.json +55 -0
- package/test/node_modules/yargs/node_modules/ansi-regex/readme.md +78 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/README.md +73 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/index.d.ts +23 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/index.js +6 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/package.json +50 -0
- package/test/node_modules/yargs/node_modules/emoji-regex/text.js +6 -0
- package/test/node_modules/yargs/node_modules/string-width/index.d.ts +29 -0
- package/test/node_modules/yargs/node_modules/string-width/index.js +47 -0
- package/test/node_modules/yargs/node_modules/string-width/license +9 -0
- package/test/node_modules/yargs/node_modules/string-width/package.json +56 -0
- package/test/node_modules/yargs/node_modules/string-width/readme.md +50 -0
- package/test/node_modules/yargs/node_modules/strip-ansi/index.d.ts +17 -0
- package/test/node_modules/yargs/node_modules/strip-ansi/index.js +4 -0
- package/test/node_modules/yargs/node_modules/strip-ansi/license +9 -0
- package/test/node_modules/yargs/node_modules/strip-ansi/package.json +54 -0
- package/test/node_modules/yargs/node_modules/strip-ansi/readme.md +46 -0
- package/test/node_modules/yargs/package.json +123 -0
- package/test/node_modules/yargs/yargs +9 -0
- package/test/node_modules/yargs/yargs.mjs +10 -0
- package/test/node_modules/yargs-parser/CHANGELOG.md +308 -0
- package/test/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/test/node_modules/yargs-parser/README.md +518 -0
- package/test/node_modules/yargs-parser/browser.js +29 -0
- package/test/node_modules/yargs-parser/build/index.cjs +1050 -0
- package/test/node_modules/yargs-parser/build/lib/index.js +62 -0
- package/test/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/test/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/test/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/test/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- package/test/node_modules/yargs-parser/package.json +92 -0
- package/test/node_modules/yargs-unparser/CHANGELOG.md +82 -0
- package/test/node_modules/yargs-unparser/LICENSE +21 -0
- package/test/node_modules/yargs-unparser/README.md +86 -0
- package/test/node_modules/yargs-unparser/index.js +166 -0
- package/test/node_modules/yargs-unparser/package.json +49 -0
- package/test/node_modules/yocto-queue/index.d.ts +56 -0
- package/test/node_modules/yocto-queue/index.js +68 -0
- package/test/node_modules/yocto-queue/license +9 -0
- package/test/node_modules/yocto-queue/package.json +43 -0
- package/test/node_modules/yocto-queue/readme.md +64 -0
- package/test/package-lock.json +1997 -0
- package/test/package.json +20 -0
- package/test/test.js +87 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// this is just a very light wrapper around 2 arrays with an offset index
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Pattern = void 0;
|
|
5
|
+
const minimatch_1 = require("minimatch");
|
|
6
|
+
const isPatternList = (pl) => pl.length >= 1;
|
|
7
|
+
const isGlobList = (gl) => gl.length >= 1;
|
|
8
|
+
/**
|
|
9
|
+
* An immutable-ish view on an array of glob parts and their parsed
|
|
10
|
+
* results
|
|
11
|
+
*/
|
|
12
|
+
class Pattern {
|
|
13
|
+
#patternList;
|
|
14
|
+
#globList;
|
|
15
|
+
#index;
|
|
16
|
+
length;
|
|
17
|
+
#platform;
|
|
18
|
+
#rest;
|
|
19
|
+
#globString;
|
|
20
|
+
#isDrive;
|
|
21
|
+
#isUNC;
|
|
22
|
+
#isAbsolute;
|
|
23
|
+
#followGlobstar = true;
|
|
24
|
+
constructor(patternList, globList, index, platform) {
|
|
25
|
+
if (!isPatternList(patternList)) {
|
|
26
|
+
throw new TypeError('empty pattern list');
|
|
27
|
+
}
|
|
28
|
+
if (!isGlobList(globList)) {
|
|
29
|
+
throw new TypeError('empty glob list');
|
|
30
|
+
}
|
|
31
|
+
if (globList.length !== patternList.length) {
|
|
32
|
+
throw new TypeError('mismatched pattern list and glob list lengths');
|
|
33
|
+
}
|
|
34
|
+
this.length = patternList.length;
|
|
35
|
+
if (index < 0 || index >= this.length) {
|
|
36
|
+
throw new TypeError('index out of range');
|
|
37
|
+
}
|
|
38
|
+
this.#patternList = patternList;
|
|
39
|
+
this.#globList = globList;
|
|
40
|
+
this.#index = index;
|
|
41
|
+
this.#platform = platform;
|
|
42
|
+
// normalize root entries of absolute patterns on initial creation.
|
|
43
|
+
if (this.#index === 0) {
|
|
44
|
+
// c: => ['c:/']
|
|
45
|
+
// C:/ => ['C:/']
|
|
46
|
+
// C:/x => ['C:/', 'x']
|
|
47
|
+
// //host/share => ['//host/share/']
|
|
48
|
+
// //host/share/ => ['//host/share/']
|
|
49
|
+
// //host/share/x => ['//host/share/', 'x']
|
|
50
|
+
// /etc => ['/', 'etc']
|
|
51
|
+
// / => ['/']
|
|
52
|
+
if (this.isUNC()) {
|
|
53
|
+
// '' / '' / 'host' / 'share'
|
|
54
|
+
const [p0, p1, p2, p3, ...prest] = this.#patternList;
|
|
55
|
+
const [g0, g1, g2, g3, ...grest] = this.#globList;
|
|
56
|
+
if (prest[0] === '') {
|
|
57
|
+
// ends in /
|
|
58
|
+
prest.shift();
|
|
59
|
+
grest.shift();
|
|
60
|
+
}
|
|
61
|
+
const p = [p0, p1, p2, p3, ''].join('/');
|
|
62
|
+
const g = [g0, g1, g2, g3, ''].join('/');
|
|
63
|
+
this.#patternList = [p, ...prest];
|
|
64
|
+
this.#globList = [g, ...grest];
|
|
65
|
+
this.length = this.#patternList.length;
|
|
66
|
+
}
|
|
67
|
+
else if (this.isDrive() || this.isAbsolute()) {
|
|
68
|
+
const [p1, ...prest] = this.#patternList;
|
|
69
|
+
const [g1, ...grest] = this.#globList;
|
|
70
|
+
if (prest[0] === '') {
|
|
71
|
+
// ends in /
|
|
72
|
+
prest.shift();
|
|
73
|
+
grest.shift();
|
|
74
|
+
}
|
|
75
|
+
const p = p1 + '/';
|
|
76
|
+
const g = g1 + '/';
|
|
77
|
+
this.#patternList = [p, ...prest];
|
|
78
|
+
this.#globList = [g, ...grest];
|
|
79
|
+
this.length = this.#patternList.length;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The first entry in the parsed list of patterns
|
|
85
|
+
*/
|
|
86
|
+
pattern() {
|
|
87
|
+
return this.#patternList[this.#index];
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* true of if pattern() returns a string
|
|
91
|
+
*/
|
|
92
|
+
isString() {
|
|
93
|
+
return typeof this.#patternList[this.#index] === 'string';
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* true of if pattern() returns GLOBSTAR
|
|
97
|
+
*/
|
|
98
|
+
isGlobstar() {
|
|
99
|
+
return this.#patternList[this.#index] === minimatch_1.GLOBSTAR;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* true if pattern() returns a regexp
|
|
103
|
+
*/
|
|
104
|
+
isRegExp() {
|
|
105
|
+
return this.#patternList[this.#index] instanceof RegExp;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* The /-joined set of glob parts that make up this pattern
|
|
109
|
+
*/
|
|
110
|
+
globString() {
|
|
111
|
+
return (this.#globString =
|
|
112
|
+
this.#globString ||
|
|
113
|
+
(this.#index === 0 ?
|
|
114
|
+
this.isAbsolute() ?
|
|
115
|
+
this.#globList[0] + this.#globList.slice(1).join('/')
|
|
116
|
+
: this.#globList.join('/')
|
|
117
|
+
: this.#globList.slice(this.#index).join('/')));
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* true if there are more pattern parts after this one
|
|
121
|
+
*/
|
|
122
|
+
hasMore() {
|
|
123
|
+
return this.length > this.#index + 1;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The rest of the pattern after this part, or null if this is the end
|
|
127
|
+
*/
|
|
128
|
+
rest() {
|
|
129
|
+
if (this.#rest !== undefined)
|
|
130
|
+
return this.#rest;
|
|
131
|
+
if (!this.hasMore())
|
|
132
|
+
return (this.#rest = null);
|
|
133
|
+
this.#rest = new Pattern(this.#patternList, this.#globList, this.#index + 1, this.#platform);
|
|
134
|
+
this.#rest.#isAbsolute = this.#isAbsolute;
|
|
135
|
+
this.#rest.#isUNC = this.#isUNC;
|
|
136
|
+
this.#rest.#isDrive = this.#isDrive;
|
|
137
|
+
return this.#rest;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* true if the pattern represents a //unc/path/ on windows
|
|
141
|
+
*/
|
|
142
|
+
isUNC() {
|
|
143
|
+
const pl = this.#patternList;
|
|
144
|
+
return this.#isUNC !== undefined ?
|
|
145
|
+
this.#isUNC
|
|
146
|
+
: (this.#isUNC =
|
|
147
|
+
this.#platform === 'win32' &&
|
|
148
|
+
this.#index === 0 &&
|
|
149
|
+
pl[0] === '' &&
|
|
150
|
+
pl[1] === '' &&
|
|
151
|
+
typeof pl[2] === 'string' &&
|
|
152
|
+
!!pl[2] &&
|
|
153
|
+
typeof pl[3] === 'string' &&
|
|
154
|
+
!!pl[3]);
|
|
155
|
+
}
|
|
156
|
+
// pattern like C:/...
|
|
157
|
+
// split = ['C:', ...]
|
|
158
|
+
// XXX: would be nice to handle patterns like `c:*` to test the cwd
|
|
159
|
+
// in c: for *, but I don't know of a way to even figure out what that
|
|
160
|
+
// cwd is without actually chdir'ing into it?
|
|
161
|
+
/**
|
|
162
|
+
* True if the pattern starts with a drive letter on Windows
|
|
163
|
+
*/
|
|
164
|
+
isDrive() {
|
|
165
|
+
const pl = this.#patternList;
|
|
166
|
+
return this.#isDrive !== undefined ?
|
|
167
|
+
this.#isDrive
|
|
168
|
+
: (this.#isDrive =
|
|
169
|
+
this.#platform === 'win32' &&
|
|
170
|
+
this.#index === 0 &&
|
|
171
|
+
this.length > 1 &&
|
|
172
|
+
typeof pl[0] === 'string' &&
|
|
173
|
+
/^[a-z]:$/i.test(pl[0]));
|
|
174
|
+
}
|
|
175
|
+
// pattern = '/' or '/...' or '/x/...'
|
|
176
|
+
// split = ['', ''] or ['', ...] or ['', 'x', ...]
|
|
177
|
+
// Drive and UNC both considered absolute on windows
|
|
178
|
+
/**
|
|
179
|
+
* True if the pattern is rooted on an absolute path
|
|
180
|
+
*/
|
|
181
|
+
isAbsolute() {
|
|
182
|
+
const pl = this.#patternList;
|
|
183
|
+
return this.#isAbsolute !== undefined ?
|
|
184
|
+
this.#isAbsolute
|
|
185
|
+
: (this.#isAbsolute =
|
|
186
|
+
(pl[0] === '' && pl.length > 1) ||
|
|
187
|
+
this.isDrive() ||
|
|
188
|
+
this.isUNC());
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* consume the root of the pattern, and return it
|
|
192
|
+
*/
|
|
193
|
+
root() {
|
|
194
|
+
const p = this.#patternList[0];
|
|
195
|
+
return (typeof p === 'string' && this.isAbsolute() && this.#index === 0) ?
|
|
196
|
+
p
|
|
197
|
+
: '';
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Check to see if the current globstar pattern is allowed to follow
|
|
201
|
+
* a symbolic link.
|
|
202
|
+
*/
|
|
203
|
+
checkFollowGlobstar() {
|
|
204
|
+
return !(this.#index === 0 ||
|
|
205
|
+
!this.isGlobstar() ||
|
|
206
|
+
!this.#followGlobstar);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Mark that the current globstar pattern is following a symbolic link
|
|
210
|
+
*/
|
|
211
|
+
markFollowGlobstar() {
|
|
212
|
+
if (this.#index === 0 || !this.isGlobstar() || !this.#followGlobstar)
|
|
213
|
+
return false;
|
|
214
|
+
this.#followGlobstar = false;
|
|
215
|
+
return true;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
exports.Pattern = Pattern;
|
|
219
|
+
//# sourceMappingURL=pattern.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pattern.js","sourceRoot":"","sources":["../../src/pattern.ts"],"names":[],"mappings":";AAAA,yEAAyE;;;AAEzE,yCAAoC;AAgBpC,MAAM,aAAa,GAAG,CAAC,EAAe,EAAqB,EAAE,CAC3D,EAAE,CAAC,MAAM,IAAI,CAAC,CAAA;AAChB,MAAM,UAAU,GAAG,CAAC,EAAY,EAAkB,EAAE,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,C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,CAAA;QAC9B,OAAO,CACH,OAAO,CAAC,KAAK,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,CAChE,CAAC,CAAC;YACD,CAAC;YACH,CAAC,CAAC,EAAE,CAAA;IACR,CAAC;IAED;;;OAGG;IACH,mBAAmB;QACjB,OAAO,CAAC,CACN,IAAI,CAAC,MAAM,KAAK,CAAC;YACjB,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,CAAC,IAAI,CAAC,eAAe,CACtB,CAAA;IACH,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe;YAClE,OAAO,KAAK,CAAA;QACd,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC5B,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AArOD,0BAqOC","sourcesContent":["// this is just a very light wrapper around 2 arrays with an offset index\n\nimport { GLOBSTAR } from 'minimatch'\nexport type MMPattern = string | RegExp | typeof GLOBSTAR\n\n// an array of length >= 1\nexport type PatternList = [p: MMPattern, ...rest: MMPattern[]]\nexport type UNCPatternList = [\n p0: '',\n p1: '',\n p2: string,\n p3: string,\n ...rest: MMPattern[],\n]\nexport type DrivePatternList = [p0: string, ...rest: MMPattern[]]\nexport type AbsolutePatternList = [p0: '', ...rest: MMPattern[]]\nexport type GlobList = [p: string, ...rest: string[]]\n\nconst isPatternList = (pl: MMPattern[]): pl is PatternList =>\n pl.length >= 1\nconst isGlobList = (gl: string[]): gl is GlobList => gl.length >= 1\n\n/**\n * An immutable-ish view on an array of glob parts and their parsed\n * results\n */\nexport class Pattern {\n readonly #patternList: PatternList\n readonly #globList: GlobList\n readonly #index: number\n readonly length: number\n readonly #platform: NodeJS.Platform\n #rest?: Pattern | null\n #globString?: string\n #isDrive?: boolean\n #isUNC?: boolean\n #isAbsolute?: boolean\n #followGlobstar: boolean = true\n\n constructor(\n patternList: MMPattern[],\n globList: string[],\n index: number,\n platform: NodeJS.Platform,\n ) {\n if (!isPatternList(patternList)) {\n throw new TypeError('empty pattern list')\n }\n if (!isGlobList(globList)) {\n throw new TypeError('empty glob list')\n }\n if (globList.length !== patternList.length) {\n throw new TypeError('mismatched pattern list and glob list lengths')\n }\n this.length = patternList.length\n if (index < 0 || index >= this.length) {\n throw new TypeError('index out of range')\n }\n this.#patternList = patternList\n this.#globList = globList\n this.#index = index\n this.#platform = platform\n\n // normalize root entries of absolute patterns on initial creation.\n if (this.#index === 0) {\n // c: => ['c:/']\n // C:/ => ['C:/']\n // C:/x => ['C:/', 'x']\n // //host/share => ['//host/share/']\n // //host/share/ => ['//host/share/']\n // //host/share/x => ['//host/share/', 'x']\n // /etc => ['/', 'etc']\n // / => ['/']\n if (this.isUNC()) {\n // '' / '' / 'host' / 'share'\n const [p0, p1, p2, p3, ...prest] = this.#patternList\n const [g0, g1, g2, g3, ...grest] = this.#globList\n if (prest[0] === '') {\n // ends in /\n prest.shift()\n grest.shift()\n }\n const p = [p0, p1, p2, p3, ''].join('/')\n const g = [g0, g1, g2, g3, ''].join('/')\n this.#patternList = [p, ...prest]\n this.#globList = [g, ...grest]\n this.length = this.#patternList.length\n } else if (this.isDrive() || this.isAbsolute()) {\n const [p1, ...prest] = this.#patternList\n const [g1, ...grest] = this.#globList\n if (prest[0] === '') {\n // ends in /\n prest.shift()\n grest.shift()\n }\n const p = (p1 as string) + '/'\n const g = g1 + '/'\n this.#patternList = [p, ...prest]\n this.#globList = [g, ...grest]\n this.length = this.#patternList.length\n }\n }\n }\n\n /**\n * The first entry in the parsed list of patterns\n */\n pattern(): MMPattern {\n return this.#patternList[this.#index] as MMPattern\n }\n\n /**\n * true of if pattern() returns a string\n */\n isString(): boolean {\n return typeof this.#patternList[this.#index] === 'string'\n }\n /**\n * true of if pattern() returns GLOBSTAR\n */\n isGlobstar(): boolean {\n return this.#patternList[this.#index] === GLOBSTAR\n }\n /**\n * true if pattern() returns a regexp\n */\n isRegExp(): boolean {\n return this.#patternList[this.#index] instanceof RegExp\n }\n\n /**\n * The /-joined set of glob parts that make up this pattern\n */\n globString(): string {\n return (this.#globString =\n this.#globString ||\n (this.#index === 0 ?\n this.isAbsolute() ?\n this.#globList[0] + this.#globList.slice(1).join('/')\n : this.#globList.join('/')\n : this.#globList.slice(this.#index).join('/')))\n }\n\n /**\n * true if there are more pattern parts after this one\n */\n hasMore(): boolean {\n return this.length > this.#index + 1\n }\n\n /**\n * The rest of the pattern after this part, or null if this is the end\n */\n rest(): Pattern | null {\n if (this.#rest !== undefined) return this.#rest\n if (!this.hasMore()) return (this.#rest = null)\n this.#rest = new Pattern(\n this.#patternList,\n this.#globList,\n this.#index + 1,\n this.#platform,\n )\n this.#rest.#isAbsolute = this.#isAbsolute\n this.#rest.#isUNC = this.#isUNC\n this.#rest.#isDrive = this.#isDrive\n return this.#rest\n }\n\n /**\n * true if the pattern represents a //unc/path/ on windows\n */\n isUNC(): boolean {\n const pl = this.#patternList\n return this.#isUNC !== undefined ?\n this.#isUNC\n : (this.#isUNC =\n this.#platform === 'win32' &&\n this.#index === 0 &&\n pl[0] === '' &&\n pl[1] === '' &&\n typeof pl[2] === 'string' &&\n !!pl[2] &&\n typeof pl[3] === 'string' &&\n !!pl[3])\n }\n\n // pattern like C:/...\n // split = ['C:', ...]\n // XXX: would be nice to handle patterns like `c:*` to test the cwd\n // in c: for *, but I don't know of a way to even figure out what that\n // cwd is without actually chdir'ing into it?\n /**\n * True if the pattern starts with a drive letter on Windows\n */\n isDrive(): boolean {\n const pl = this.#patternList\n return this.#isDrive !== undefined ?\n this.#isDrive\n : (this.#isDrive =\n this.#platform === 'win32' &&\n this.#index === 0 &&\n this.length > 1 &&\n typeof pl[0] === 'string' &&\n /^[a-z]:$/i.test(pl[0]))\n }\n\n // pattern = '/' or '/...' or '/x/...'\n // split = ['', ''] or ['', ...] or ['', 'x', ...]\n // Drive and UNC both considered absolute on windows\n /**\n * True if the pattern is rooted on an absolute path\n */\n isAbsolute(): boolean {\n const pl = this.#patternList\n return this.#isAbsolute !== undefined ?\n this.#isAbsolute\n : (this.#isAbsolute =\n (pl[0] === '' && pl.length > 1) ||\n this.isDrive() ||\n this.isUNC())\n }\n\n /**\n * consume the root of the pattern, and return it\n */\n root(): string {\n const p = this.#patternList[0]\n return (\n typeof p === 'string' && this.isAbsolute() && this.#index === 0\n ) ?\n p\n : ''\n }\n\n /**\n * Check to see if the current globstar pattern is allowed to follow\n * a symbolic link.\n */\n checkFollowGlobstar(): boolean {\n return !(\n this.#index === 0 ||\n !this.isGlobstar() ||\n !this.#followGlobstar\n )\n }\n\n /**\n * Mark that the current globstar pattern is following a symbolic link\n */\n markFollowGlobstar(): boolean {\n if (this.#index === 0 || !this.isGlobstar() || !this.#followGlobstar)\n return false\n this.#followGlobstar = false\n return true\n }\n}\n"]}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { MMRegExp } from 'minimatch';
|
|
2
|
+
import { Path } from 'path-scurry';
|
|
3
|
+
import { Pattern } from './pattern.js';
|
|
4
|
+
import { GlobWalkerOpts } from './walker.js';
|
|
5
|
+
/**
|
|
6
|
+
* A cache of which patterns have been processed for a given Path
|
|
7
|
+
*/
|
|
8
|
+
export declare class HasWalkedCache {
|
|
9
|
+
store: Map<string, Set<string>>;
|
|
10
|
+
constructor(store?: Map<string, Set<string>>);
|
|
11
|
+
copy(): HasWalkedCache;
|
|
12
|
+
hasWalked(target: Path, pattern: Pattern): boolean | undefined;
|
|
13
|
+
storeWalked(target: Path, pattern: Pattern): void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A record of which paths have been matched in a given walk step,
|
|
17
|
+
* and whether they only are considered a match if they are a directory,
|
|
18
|
+
* and whether their absolute or relative path should be returned.
|
|
19
|
+
*/
|
|
20
|
+
export declare class MatchRecord {
|
|
21
|
+
store: Map<Path, number>;
|
|
22
|
+
add(target: Path, absolute: boolean, ifDir: boolean): void;
|
|
23
|
+
entries(): [Path, boolean, boolean][];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A collection of patterns that must be processed in a subsequent step
|
|
27
|
+
* for a given path.
|
|
28
|
+
*/
|
|
29
|
+
export declare class SubWalks {
|
|
30
|
+
store: Map<Path, Pattern[]>;
|
|
31
|
+
add(target: Path, pattern: Pattern): void;
|
|
32
|
+
get(target: Path): Pattern[];
|
|
33
|
+
entries(): [Path, Pattern[]][];
|
|
34
|
+
keys(): Path[];
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The class that processes patterns for a given path.
|
|
38
|
+
*
|
|
39
|
+
* Handles child entry filtering, and determining whether a path's
|
|
40
|
+
* directory contents must be read.
|
|
41
|
+
*/
|
|
42
|
+
export declare class Processor {
|
|
43
|
+
hasWalkedCache: HasWalkedCache;
|
|
44
|
+
matches: MatchRecord;
|
|
45
|
+
subwalks: SubWalks;
|
|
46
|
+
patterns?: Pattern[];
|
|
47
|
+
follow: boolean;
|
|
48
|
+
dot: boolean;
|
|
49
|
+
opts: GlobWalkerOpts;
|
|
50
|
+
constructor(opts: GlobWalkerOpts, hasWalkedCache?: HasWalkedCache);
|
|
51
|
+
processPatterns(target: Path, patterns: Pattern[]): this;
|
|
52
|
+
subwalkTargets(): Path[];
|
|
53
|
+
child(): Processor;
|
|
54
|
+
filterEntries(parent: Path, entries: Path[]): Processor;
|
|
55
|
+
testGlobstar(e: Path, pattern: Pattern, rest: Pattern | null, absolute: boolean): void;
|
|
56
|
+
testRegExp(e: Path, p: MMRegExp, rest: Pattern | null, absolute: boolean): void;
|
|
57
|
+
testString(e: Path, p: string, rest: Pattern | null, absolute: boolean): void;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=processor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../../src/processor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,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AAE,OAAO,CAAA;IACf,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,cAAc,CAAA;gBAER,IAAI,EAAE,cAAc,EAAE,cAAc,CAAC,EAAE,cAAc;IAQjE,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE;IAmGjD,cAAc,IAAI,IAAI,EAAE;IAIxB,KAAK;IAQL,aAAa,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,SAAS;IAqBvD,YAAY,CACV,CAAC,EAAE,IAAI,EACP,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,OAAO,GAAG,IAAI,EACpB,QAAQ,EAAE,OAAO;IA8CnB,UAAU,CACR,CAAC,EAAE,IAAI,EACP,CAAC,EAAE,QAAQ,EACX,IAAI,EAAE,OAAO,GAAG,IAAI,EACpB,QAAQ,EAAE,OAAO;IAUnB,UAAU,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO;CASvE"}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// synchronous utility for filtering entries and calculating subwalks
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Processor = exports.SubWalks = exports.MatchRecord = exports.HasWalkedCache = void 0;
|
|
5
|
+
const minimatch_1 = require("minimatch");
|
|
6
|
+
/**
|
|
7
|
+
* A cache of which patterns have been processed for a given Path
|
|
8
|
+
*/
|
|
9
|
+
class HasWalkedCache {
|
|
10
|
+
store;
|
|
11
|
+
constructor(store = new Map()) {
|
|
12
|
+
this.store = store;
|
|
13
|
+
}
|
|
14
|
+
copy() {
|
|
15
|
+
return new HasWalkedCache(new Map(this.store));
|
|
16
|
+
}
|
|
17
|
+
hasWalked(target, pattern) {
|
|
18
|
+
return this.store.get(target.fullpath())?.has(pattern.globString());
|
|
19
|
+
}
|
|
20
|
+
storeWalked(target, pattern) {
|
|
21
|
+
const fullpath = target.fullpath();
|
|
22
|
+
const cached = this.store.get(fullpath);
|
|
23
|
+
if (cached)
|
|
24
|
+
cached.add(pattern.globString());
|
|
25
|
+
else
|
|
26
|
+
this.store.set(fullpath, new Set([pattern.globString()]));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.HasWalkedCache = HasWalkedCache;
|
|
30
|
+
/**
|
|
31
|
+
* A record of which paths have been matched in a given walk step,
|
|
32
|
+
* and whether they only are considered a match if they are a directory,
|
|
33
|
+
* and whether their absolute or relative path should be returned.
|
|
34
|
+
*/
|
|
35
|
+
class MatchRecord {
|
|
36
|
+
store = new Map();
|
|
37
|
+
add(target, absolute, ifDir) {
|
|
38
|
+
const n = (absolute ? 2 : 0) | (ifDir ? 1 : 0);
|
|
39
|
+
const current = this.store.get(target);
|
|
40
|
+
this.store.set(target, current === undefined ? n : n & current);
|
|
41
|
+
}
|
|
42
|
+
// match, absolute, ifdir
|
|
43
|
+
entries() {
|
|
44
|
+
return [...this.store.entries()].map(([path, n]) => [
|
|
45
|
+
path,
|
|
46
|
+
!!(n & 2),
|
|
47
|
+
!!(n & 1),
|
|
48
|
+
]);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.MatchRecord = MatchRecord;
|
|
52
|
+
/**
|
|
53
|
+
* A collection of patterns that must be processed in a subsequent step
|
|
54
|
+
* for a given path.
|
|
55
|
+
*/
|
|
56
|
+
class SubWalks {
|
|
57
|
+
store = new Map();
|
|
58
|
+
add(target, pattern) {
|
|
59
|
+
if (!target.canReaddir()) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const subs = this.store.get(target);
|
|
63
|
+
if (subs) {
|
|
64
|
+
if (!subs.find(p => p.globString() === pattern.globString())) {
|
|
65
|
+
subs.push(pattern);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
else
|
|
69
|
+
this.store.set(target, [pattern]);
|
|
70
|
+
}
|
|
71
|
+
get(target) {
|
|
72
|
+
const subs = this.store.get(target);
|
|
73
|
+
/* c8 ignore start */
|
|
74
|
+
if (!subs) {
|
|
75
|
+
throw new Error('attempting to walk unknown path');
|
|
76
|
+
}
|
|
77
|
+
/* c8 ignore stop */
|
|
78
|
+
return subs;
|
|
79
|
+
}
|
|
80
|
+
entries() {
|
|
81
|
+
return this.keys().map(k => [k, this.store.get(k)]);
|
|
82
|
+
}
|
|
83
|
+
keys() {
|
|
84
|
+
return [...this.store.keys()].filter(t => t.canReaddir());
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.SubWalks = SubWalks;
|
|
88
|
+
/**
|
|
89
|
+
* The class that processes patterns for a given path.
|
|
90
|
+
*
|
|
91
|
+
* Handles child entry filtering, and determining whether a path's
|
|
92
|
+
* directory contents must be read.
|
|
93
|
+
*/
|
|
94
|
+
class Processor {
|
|
95
|
+
hasWalkedCache;
|
|
96
|
+
matches = new MatchRecord();
|
|
97
|
+
subwalks = new SubWalks();
|
|
98
|
+
patterns;
|
|
99
|
+
follow;
|
|
100
|
+
dot;
|
|
101
|
+
opts;
|
|
102
|
+
constructor(opts, hasWalkedCache) {
|
|
103
|
+
this.opts = opts;
|
|
104
|
+
this.follow = !!opts.follow;
|
|
105
|
+
this.dot = !!opts.dot;
|
|
106
|
+
this.hasWalkedCache =
|
|
107
|
+
hasWalkedCache ? hasWalkedCache.copy() : new HasWalkedCache();
|
|
108
|
+
}
|
|
109
|
+
processPatterns(target, patterns) {
|
|
110
|
+
this.patterns = patterns;
|
|
111
|
+
const processingSet = patterns.map(p => [target, p]);
|
|
112
|
+
// map of paths to the magic-starting subwalks they need to walk
|
|
113
|
+
// first item in patterns is the filter
|
|
114
|
+
for (let [t, pattern] of processingSet) {
|
|
115
|
+
this.hasWalkedCache.storeWalked(t, pattern);
|
|
116
|
+
const root = pattern.root();
|
|
117
|
+
const absolute = pattern.isAbsolute() && this.opts.absolute !== false;
|
|
118
|
+
// start absolute patterns at root
|
|
119
|
+
if (root) {
|
|
120
|
+
t = t.resolve(root === '/' && this.opts.root !== undefined ?
|
|
121
|
+
this.opts.root
|
|
122
|
+
: root);
|
|
123
|
+
const rest = pattern.rest();
|
|
124
|
+
if (!rest) {
|
|
125
|
+
this.matches.add(t, true, false);
|
|
126
|
+
continue;
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
pattern = rest;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
if (t.isENOENT())
|
|
133
|
+
continue;
|
|
134
|
+
let p;
|
|
135
|
+
let rest;
|
|
136
|
+
let changed = false;
|
|
137
|
+
while (typeof (p = pattern.pattern()) === 'string' &&
|
|
138
|
+
(rest = pattern.rest())) {
|
|
139
|
+
const c = t.resolve(p);
|
|
140
|
+
t = c;
|
|
141
|
+
pattern = rest;
|
|
142
|
+
changed = true;
|
|
143
|
+
}
|
|
144
|
+
p = pattern.pattern();
|
|
145
|
+
rest = pattern.rest();
|
|
146
|
+
if (changed) {
|
|
147
|
+
if (this.hasWalkedCache.hasWalked(t, pattern))
|
|
148
|
+
continue;
|
|
149
|
+
this.hasWalkedCache.storeWalked(t, pattern);
|
|
150
|
+
}
|
|
151
|
+
// now we have either a final string for a known entry,
|
|
152
|
+
// more strings for an unknown entry,
|
|
153
|
+
// or a pattern starting with magic, mounted on t.
|
|
154
|
+
if (typeof p === 'string') {
|
|
155
|
+
// must not be final entry, otherwise we would have
|
|
156
|
+
// concatenated it earlier.
|
|
157
|
+
const ifDir = p === '..' || p === '' || p === '.';
|
|
158
|
+
this.matches.add(t.resolve(p), absolute, ifDir);
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
else if (p === minimatch_1.GLOBSTAR) {
|
|
162
|
+
// if no rest, match and subwalk pattern
|
|
163
|
+
// if rest, process rest and subwalk pattern
|
|
164
|
+
// if it's a symlink, but we didn't get here by way of a
|
|
165
|
+
// globstar match (meaning it's the first time THIS globstar
|
|
166
|
+
// has traversed a symlink), then we follow it. Otherwise, stop.
|
|
167
|
+
if (!t.isSymbolicLink() ||
|
|
168
|
+
this.follow ||
|
|
169
|
+
pattern.checkFollowGlobstar()) {
|
|
170
|
+
this.subwalks.add(t, pattern);
|
|
171
|
+
}
|
|
172
|
+
const rp = rest?.pattern();
|
|
173
|
+
const rrest = rest?.rest();
|
|
174
|
+
if (!rest || ((rp === '' || rp === '.') && !rrest)) {
|
|
175
|
+
// only HAS to be a dir if it ends in **/ or **/.
|
|
176
|
+
// but ending in ** will match files as well.
|
|
177
|
+
this.matches.add(t, absolute, rp === '' || rp === '.');
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
if (rp === '..') {
|
|
181
|
+
// this would mean you're matching **/.. at the fs root,
|
|
182
|
+
// and no thanks, I'm not gonna test that specific case.
|
|
183
|
+
/* c8 ignore start */
|
|
184
|
+
const tp = t.parent || t;
|
|
185
|
+
/* c8 ignore stop */
|
|
186
|
+
if (!rrest)
|
|
187
|
+
this.matches.add(tp, absolute, true);
|
|
188
|
+
else if (!this.hasWalkedCache.hasWalked(tp, rrest)) {
|
|
189
|
+
this.subwalks.add(tp, rrest);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else if (p instanceof RegExp) {
|
|
195
|
+
this.subwalks.add(t, pattern);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return this;
|
|
199
|
+
}
|
|
200
|
+
subwalkTargets() {
|
|
201
|
+
return this.subwalks.keys();
|
|
202
|
+
}
|
|
203
|
+
child() {
|
|
204
|
+
return new Processor(this.opts, this.hasWalkedCache);
|
|
205
|
+
}
|
|
206
|
+
// return a new Processor containing the subwalks for each
|
|
207
|
+
// child entry, and a set of matches, and
|
|
208
|
+
// a hasWalkedCache that's a copy of this one
|
|
209
|
+
// then we're going to call
|
|
210
|
+
filterEntries(parent, entries) {
|
|
211
|
+
const patterns = this.subwalks.get(parent);
|
|
212
|
+
// put matches and entry walks into the results processor
|
|
213
|
+
const results = this.child();
|
|
214
|
+
for (const e of entries) {
|
|
215
|
+
for (const pattern of patterns) {
|
|
216
|
+
const absolute = pattern.isAbsolute();
|
|
217
|
+
const p = pattern.pattern();
|
|
218
|
+
const rest = pattern.rest();
|
|
219
|
+
if (p === minimatch_1.GLOBSTAR) {
|
|
220
|
+
results.testGlobstar(e, pattern, rest, absolute);
|
|
221
|
+
}
|
|
222
|
+
else if (p instanceof RegExp) {
|
|
223
|
+
results.testRegExp(e, p, rest, absolute);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
results.testString(e, p, rest, absolute);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
return results;
|
|
231
|
+
}
|
|
232
|
+
testGlobstar(e, pattern, rest, absolute) {
|
|
233
|
+
if (this.dot || !e.name.startsWith('.')) {
|
|
234
|
+
if (!pattern.hasMore()) {
|
|
235
|
+
this.matches.add(e, absolute, false);
|
|
236
|
+
}
|
|
237
|
+
if (e.canReaddir()) {
|
|
238
|
+
// if we're in follow mode or it's not a symlink, just keep
|
|
239
|
+
// testing the same pattern. If there's more after the globstar,
|
|
240
|
+
// then this symlink consumes the globstar. If not, then we can
|
|
241
|
+
// follow at most ONE symlink along the way, so we mark it, which
|
|
242
|
+
// also checks to ensure that it wasn't already marked.
|
|
243
|
+
if (this.follow || !e.isSymbolicLink()) {
|
|
244
|
+
this.subwalks.add(e, pattern);
|
|
245
|
+
}
|
|
246
|
+
else if (e.isSymbolicLink()) {
|
|
247
|
+
if (rest && pattern.checkFollowGlobstar()) {
|
|
248
|
+
this.subwalks.add(e, rest);
|
|
249
|
+
}
|
|
250
|
+
else if (pattern.markFollowGlobstar()) {
|
|
251
|
+
this.subwalks.add(e, pattern);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
// if the NEXT thing matches this entry, then also add
|
|
257
|
+
// the rest.
|
|
258
|
+
if (rest) {
|
|
259
|
+
const rp = rest.pattern();
|
|
260
|
+
if (typeof rp === 'string' &&
|
|
261
|
+
// dots and empty were handled already
|
|
262
|
+
rp !== '..' &&
|
|
263
|
+
rp !== '' &&
|
|
264
|
+
rp !== '.') {
|
|
265
|
+
this.testString(e, rp, rest.rest(), absolute);
|
|
266
|
+
}
|
|
267
|
+
else if (rp === '..') {
|
|
268
|
+
/* c8 ignore start */
|
|
269
|
+
const ep = e.parent || e;
|
|
270
|
+
/* c8 ignore stop */
|
|
271
|
+
this.subwalks.add(ep, rest);
|
|
272
|
+
}
|
|
273
|
+
else if (rp instanceof RegExp) {
|
|
274
|
+
this.testRegExp(e, rp, rest.rest(), absolute);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
testRegExp(e, p, rest, absolute) {
|
|
279
|
+
if (!p.test(e.name))
|
|
280
|
+
return;
|
|
281
|
+
if (!rest) {
|
|
282
|
+
this.matches.add(e, absolute, false);
|
|
283
|
+
}
|
|
284
|
+
else {
|
|
285
|
+
this.subwalks.add(e, rest);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
testString(e, p, rest, absolute) {
|
|
289
|
+
// should never happen?
|
|
290
|
+
if (!e.isNamed(p))
|
|
291
|
+
return;
|
|
292
|
+
if (!rest) {
|
|
293
|
+
this.matches.add(e, absolute, false);
|
|
294
|
+
}
|
|
295
|
+
else {
|
|
296
|
+
this.subwalks.add(e, rest);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
exports.Processor = Processor;
|
|
301
|
+
//# sourceMappingURL=processor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processor.js","sourceRoot":"","sources":["../../src/processor.ts"],"names":[],"mappings":";AAAA,qEAAqE;;;AAErE,yCAA8C;AAK9C;;GAEG;AACH,MAAa,cAAc;IACzB,KAAK,CAA0B;IAC/B,YAAY,QAAkC,IAAI,GAAG,EAAE;QACrD,IAAI,C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YAC/C,CAAC;QACH,CAAC;IACH,CAAC;IAED,UAAU,CACR,CAAO,EACP,CAAW,EACX,IAAoB,EACpB,QAAiB;QAEjB,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;YAAE,OAAM;QAC3B,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAA;QAC5B,CAAC;IACH,CAAC;IAED,UAAU,CAAC,CAAO,EAAE,CAAS,EAAE,IAAoB,EAAE,QAAiB;QACpE,uBAAuB;QACvB,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAAE,OAAM;QACzB,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAA;QACtC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAA;QAC5B,CAAC;IACH,CAAC;CACF;AA9ND,8BA8NC","sourcesContent":["// synchronous utility for filtering entries and calculating subwalks\n\nimport { GLOBSTAR, MMRegExp } from 'minimatch'\nimport { Path } from 'path-scurry'\nimport { MMPattern, Pattern } from './pattern.js'\nimport { GlobWalkerOpts } from './walker.js'\n\n/**\n * A cache of which patterns have been processed for a given Path\n */\nexport class HasWalkedCache {\n store: Map<string, Set<string>>\n constructor(store: Map<string, Set<string>> = new Map()) {\n this.store = store\n }\n copy() {\n return new HasWalkedCache(new Map(this.store))\n }\n hasWalked(target: Path, pattern: Pattern) {\n return this.store.get(target.fullpath())?.has(pattern.globString())\n }\n storeWalked(target: Path, pattern: Pattern) {\n const fullpath = target.fullpath()\n const cached = this.store.get(fullpath)\n if (cached) cached.add(pattern.globString())\n else this.store.set(fullpath, new Set([pattern.globString()]))\n }\n}\n\n/**\n * A record of which paths have been matched in a given walk step,\n * and whether they only are considered a match if they are a directory,\n * and whether their absolute or relative path should be returned.\n */\nexport class MatchRecord {\n store: Map<Path, number> = new Map()\n add(target: Path, absolute: boolean, ifDir: boolean) {\n const n = (absolute ? 2 : 0) | (ifDir ? 1 : 0)\n const current = this.store.get(target)\n this.store.set(target, current === undefined ? n : n & current)\n }\n // match, absolute, ifdir\n entries(): [Path, boolean, boolean][] {\n return [...this.store.entries()].map(([path, n]) => [\n path,\n !!(n & 2),\n !!(n & 1),\n ])\n }\n}\n\n/**\n * A collection of patterns that must be processed in a subsequent step\n * for a given path.\n */\nexport class SubWalks {\n store: Map<Path, Pattern[]> = new Map()\n add(target: Path, pattern: Pattern) {\n if (!target.canReaddir()) {\n return\n }\n const subs = this.store.get(target)\n if (subs) {\n if (!subs.find(p => p.globString() === pattern.globString())) {\n subs.push(pattern)\n }\n } else this.store.set(target, [pattern])\n }\n get(target: Path): Pattern[] {\n const subs = this.store.get(target)\n /* c8 ignore start */\n if (!subs) {\n throw new Error('attempting to walk unknown path')\n }\n /* c8 ignore stop */\n return subs\n }\n entries(): [Path, Pattern[]][] {\n return this.keys().map(k => [k, this.store.get(k) as Pattern[]])\n }\n keys(): Path[] {\n return [...this.store.keys()].filter(t => t.canReaddir())\n }\n}\n\n/**\n * The class that processes patterns for a given path.\n *\n * Handles child entry filtering, and determining whether a path's\n * directory contents must be read.\n */\nexport class Processor {\n hasWalkedCache: HasWalkedCache\n matches = new MatchRecord()\n subwalks = new SubWalks()\n patterns?: Pattern[]\n follow: boolean\n dot: boolean\n opts: GlobWalkerOpts\n\n constructor(opts: GlobWalkerOpts, hasWalkedCache?: HasWalkedCache) {\n this.opts = opts\n this.follow = !!opts.follow\n this.dot = !!opts.dot\n this.hasWalkedCache =\n hasWalkedCache ? hasWalkedCache.copy() : new HasWalkedCache()\n }\n\n processPatterns(target: Path, patterns: Pattern[]) {\n this.patterns = patterns\n const processingSet: [Path, Pattern][] = patterns.map(p => [target, p])\n\n // map of paths to the magic-starting subwalks they need to walk\n // first item in patterns is the filter\n\n for (let [t, pattern] of processingSet) {\n this.hasWalkedCache.storeWalked(t, pattern)\n\n const root = pattern.root()\n const absolute = pattern.isAbsolute() && this.opts.absolute !== false\n\n // start absolute patterns at root\n if (root) {\n t = t.resolve(\n root === '/' && this.opts.root !== undefined ?\n this.opts.root\n : root,\n )\n const rest = pattern.rest()\n if (!rest) {\n this.matches.add(t, true, false)\n continue\n } else {\n pattern = rest\n }\n }\n\n if (t.isENOENT()) continue\n\n let p: MMPattern\n let rest: Pattern | null\n let changed = false\n while (\n typeof (p = pattern.pattern()) === 'string' &&\n (rest = pattern.rest())\n ) {\n const c = t.resolve(p)\n t = c\n pattern = rest\n changed = true\n }\n p = pattern.pattern()\n rest = pattern.rest()\n if (changed) {\n if (this.hasWalkedCache.hasWalked(t, pattern)) continue\n this.hasWalkedCache.storeWalked(t, pattern)\n }\n\n // now we have either a final string for a known entry,\n // more strings for an unknown entry,\n // or a pattern starting with magic, mounted on t.\n if (typeof p === 'string') {\n // must not be final entry, otherwise we would have\n // concatenated it earlier.\n const ifDir = p === '..' || p === '' || p === '.'\n this.matches.add(t.resolve(p), absolute, ifDir)\n continue\n } else if (p === GLOBSTAR) {\n // if no rest, match and subwalk pattern\n // if rest, process rest and subwalk pattern\n // if it's a symlink, but we didn't get here by way of a\n // globstar match (meaning it's the first time THIS globstar\n // has traversed a symlink), then we follow it. Otherwise, stop.\n if (\n !t.isSymbolicLink() ||\n this.follow ||\n pattern.checkFollowGlobstar()\n ) {\n this.subwalks.add(t, pattern)\n }\n const rp = rest?.pattern()\n const rrest = rest?.rest()\n if (!rest || ((rp === '' || rp === '.') && !rrest)) {\n // only HAS to be a dir if it ends in **/ or **/.\n // but ending in ** will match files as well.\n this.matches.add(t, absolute, rp === '' || rp === '.')\n } else {\n if (rp === '..') {\n // this would mean you're matching **/.. at the fs root,\n // and no thanks, I'm not gonna test that specific case.\n /* c8 ignore start */\n const tp = t.parent || t\n /* c8 ignore stop */\n if (!rrest) this.matches.add(tp, absolute, true)\n else if (!this.hasWalkedCache.hasWalked(tp, rrest)) {\n this.subwalks.add(tp, rrest)\n }\n }\n }\n } else if (p instanceof RegExp) {\n this.subwalks.add(t, pattern)\n }\n }\n\n return this\n }\n\n subwalkTargets(): Path[] {\n return this.subwalks.keys()\n }\n\n child() {\n return new Processor(this.opts, this.hasWalkedCache)\n }\n\n // return a new Processor containing the subwalks for each\n // child entry, and a set of matches, and\n // a hasWalkedCache that's a copy of this one\n // then we're going to call\n filterEntries(parent: Path, entries: Path[]): Processor {\n const patterns = this.subwalks.get(parent)\n // put matches and entry walks into the results processor\n const results = this.child()\n for (const e of entries) {\n for (const pattern of patterns) {\n const absolute = pattern.isAbsolute()\n const p = pattern.pattern()\n const rest = pattern.rest()\n if (p === GLOBSTAR) {\n results.testGlobstar(e, pattern, rest, absolute)\n } else if (p instanceof RegExp) {\n results.testRegExp(e, p, rest, absolute)\n } else {\n results.testString(e, p, rest, absolute)\n }\n }\n }\n return results\n }\n\n testGlobstar(\n e: Path,\n pattern: Pattern,\n rest: Pattern | null,\n absolute: boolean,\n ) {\n if (this.dot || !e.name.startsWith('.')) {\n if (!pattern.hasMore()) {\n this.matches.add(e, absolute, false)\n }\n if (e.canReaddir()) {\n // if we're in follow mode or it's not a symlink, just keep\n // testing the same pattern. If there's more after the globstar,\n // then this symlink consumes the globstar. If not, then we can\n // follow at most ONE symlink along the way, so we mark it, which\n // also checks to ensure that it wasn't already marked.\n if (this.follow || !e.isSymbolicLink()) {\n this.subwalks.add(e, pattern)\n } else if (e.isSymbolicLink()) {\n if (rest && pattern.checkFollowGlobstar()) {\n this.subwalks.add(e, rest)\n } else if (pattern.markFollowGlobstar()) {\n this.subwalks.add(e, pattern)\n }\n }\n }\n }\n // if the NEXT thing matches this entry, then also add\n // the rest.\n if (rest) {\n const rp = rest.pattern()\n if (\n typeof rp === 'string' &&\n // dots and empty were handled already\n rp !== '..' &&\n rp !== '' &&\n rp !== '.'\n ) {\n this.testString(e, rp, rest.rest(), absolute)\n } else if (rp === '..') {\n /* c8 ignore start */\n const ep = e.parent || e\n /* c8 ignore stop */\n this.subwalks.add(ep, rest)\n } else if (rp instanceof RegExp) {\n this.testRegExp(e, rp, rest.rest(), absolute)\n }\n }\n }\n\n testRegExp(\n e: Path,\n p: MMRegExp,\n rest: Pattern | null,\n absolute: boolean,\n ) {\n if (!p.test(e.name)) return\n if (!rest) {\n this.matches.add(e, absolute, false)\n } else {\n this.subwalks.add(e, rest)\n }\n }\n\n testString(e: Path, p: string, rest: Pattern | null, absolute: boolean) {\n // should never happen?\n if (!e.isNamed(p)) return\n if (!rest) {\n this.matches.add(e, absolute, false)\n } else {\n this.subwalks.add(e, rest)\n }\n }\n}\n"]}
|