@syengup/fridaynext-hermes-channel 0.0.0-stage → 0.1.0-beta.2
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/README.md +20 -2
- package/install-runtime.js +193 -0
- package/install.js +32 -0
- package/package.json +20 -4
- package/plugin/README.md +21 -0
- package/plugin/__init__.py +3 -0
- package/plugin/fridaynext_plugin/__init__.py +71 -0
- package/plugin/fridaynext_plugin/adapter.py +1114 -0
- package/plugin/fridaynext_plugin/agent_defaults.py +107 -0
- package/plugin/fridaynext_plugin/canonical_control.py +509 -0
- package/plugin/fridaynext_plugin/compat_v0225.py +837 -0
- package/plugin/fridaynext_plugin/control_cli.py +101 -0
- package/plugin/fridaynext_plugin/controls.py +296 -0
- package/plugin/fridaynext_plugin/delivery_context.py +210 -0
- package/plugin/fridaynext_plugin/diagnostics.py +165 -0
- package/plugin/fridaynext_plugin/history.py +421 -0
- package/plugin/fridaynext_plugin/host.py +317 -0
- package/plugin/fridaynext_plugin/initial_settings.py +184 -0
- package/plugin/fridaynext_plugin/inline_media.py +58 -0
- package/plugin/fridaynext_plugin/media_input.py +139 -0
- package/plugin/fridaynext_plugin/media_observations.py +172 -0
- package/plugin/fridaynext_plugin/media_output.py +277 -0
- package/plugin/fridaynext_plugin/recovery.py +214 -0
- package/plugin/fridaynext_plugin/runtime_port.py +571 -0
- package/plugin/fridaynext_plugin/sessions.py +184 -0
- package/plugin/fridaynext_plugin/settings.py +695 -0
- package/plugin/fridaynext_plugin/settings_control.py +101 -0
- package/plugin/fridaynext_plugin/state.py +155 -0
- package/plugin/fridaynext_plugin/stream_bridge.py +493 -0
- package/plugin/fridaynext_plugin/stream_media.py +59 -0
- package/plugin/fridaynext_plugin/stream_projection.py +269 -0
- package/plugin/plugin.yaml +18 -0
- package/plugin/runtime/dist/host-peer.js +106 -0
- package/plugin/runtime/dist/hosted-artifacts.js +189 -0
- package/plugin/runtime/dist/hosted-backend.js +168 -0
- package/plugin/runtime/dist/hosted-delivery-observations.js +91 -0
- package/plugin/runtime/dist/hosted-media.js +327 -0
- package/plugin/runtime/dist/hosted-recovery.js +55 -0
- package/plugin/runtime/dist/hosted-settings.js +26 -0
- package/plugin/runtime/dist/hosted-stream.js +104 -0
- package/plugin/runtime/dist/identity.js +55 -0
- package/plugin/runtime/dist/kit-contract.json +1 -0
- package/plugin/runtime/dist/media-transport.js +168 -0
- package/plugin/runtime/dist/oss-upload-worker.js +7 -0
- package/plugin/runtime/dist/oss-upload.js +94 -0
- package/plugin/runtime/dist/ownership.js +21 -0
- package/plugin/runtime/dist/platform-service.js +32 -0
- package/plugin/runtime/dist/plugin-control.js +189 -0
- package/plugin/runtime/dist/plugin-worker.js +43 -0
- package/plugin/runtime/dist/private-files.js +24 -0
- package/plugin/runtime/dist/process-lock.js +40 -0
- package/plugin/runtime/dist/public-config.js +58 -0
- package/plugin/runtime/dist/service-errors.js +11 -0
- package/plugin/runtime/dist/service-host.js +240 -0
- package/plugin/runtime/node_modules/.package-lock.json +436 -0
- package/plugin/runtime/node_modules/@noble/hashes/LICENSE +21 -0
- package/plugin/runtime/node_modules/@noble/hashes/README.md +521 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts +17 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.js +18 -0
- package/plugin/runtime/node_modules/@noble/hashes/_assert.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.js +50 -0
- package/plugin/runtime/node_modules/@noble/hashes/_blake.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts +51 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.js +162 -0
- package/plugin/runtime/node_modules/@noble/hashes/_md.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts +55 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.js +90 -0
- package/plugin/runtime/node_modules/@noble/hashes/_u64.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts +32 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.js +401 -0
- package/plugin/runtime/node_modules/@noble/hashes/argon2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts +106 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.js +459 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts +116 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.js +420 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.js +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2b.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.js +24 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake2s.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts +54 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.js +255 -0
- package/plugin/runtime/node_modules/@noble/hashes/blake3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.js +5 -0
- package/plugin/runtime/node_modules/@noble/hashes/crypto.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js +18 -0
- package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts +47 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.js +166 -0
- package/plugin/runtime/node_modules/@noble/hashes/eskdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts +17 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js +15 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js +45 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts +51 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js +155 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts +55 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js +67 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts +32 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js +392 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts +106 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js +452 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts +116 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js +413 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js +21 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts +54 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js +251 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js +15 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts +47 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js +160 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts +36 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js +82 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts +35 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js +86 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts +2 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.js +33 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/index.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts +71 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js +281 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/package.json +10 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts +23 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js +97 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts +13 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js +13 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts +34 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js +228 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts +159 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js +375 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts +142 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js +393 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts +53 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js +234 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts +26 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js +26 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts +161 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js +281 -0
- package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts +36 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.js +88 -0
- package/plugin/runtime/node_modules/@noble/hashes/hkdf.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts +35 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.js +91 -0
- package/plugin/runtime/node_modules/@noble/hashes/hmac.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.d.ts +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.js +33 -0
- package/plugin/runtime/node_modules/@noble/hashes/index.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts +71 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.js +287 -0
- package/plugin/runtime/node_modules/@noble/hashes/legacy.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/package.json +266 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts +23 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js +101 -0
- package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts +13 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js +16 -0
- package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts +34 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.js +232 -0
- package/plugin/runtime/node_modules/@noble/hashes/scrypt.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts +11 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.js +14 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha1.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts +159 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.js +384 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha2.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.js +23 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha256.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts +142 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js +402 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts +53 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.js +239 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha3.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts +26 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.js +29 -0
- package/plugin/runtime/node_modules/@noble/hashes/sha512.js.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_assert.ts +22 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_blake.ts +50 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_md.ts +176 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/_u64.ts +91 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/argon2.ts +497 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake1.ts +534 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake2.ts +486 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake2b.ts +10 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake2s.ts +20 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/blake3.ts +272 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/crypto.ts +9 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/cryptoNode.ts +15 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/eskdf.ts +187 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/hkdf.ts +88 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/hmac.ts +94 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/index.ts +31 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/legacy.ts +293 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/pbkdf2.ts +122 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/ripemd160.ts +12 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/scrypt.ts +257 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha1.ts +10 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha2.ts +402 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha256.ts +24 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha3-addons.ts +499 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha3.ts +258 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/sha512.ts +34 -0
- package/plugin/runtime/node_modules/@noble/hashes/src/utils.ts +395 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts +161 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts.map +1 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.js +313 -0
- package/plugin/runtime/node_modules/@noble/hashes/utils.js.map +1 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/API.md +416 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/LICENSE +21 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/README.md +77 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.d.ts +57 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.js +618 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.d.ts +29 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.js +58 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.d.ts +17 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.js +37 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.d.ts +27 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.js +146 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.d.ts +1 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.js +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.d.ts +38 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.js +85 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.d.ts +88 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.js +176 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.js +233 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.d.ts +6 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.js +17 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.d.ts +234 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.js +32 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.d.ts +19 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.js +113 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.d.ts +37 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.js +67 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.d.ts +14 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.js +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.d.ts +16 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.js +15 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.d.ts +21 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.js +234 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.js +232 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.d.ts +52 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.js +236 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.d.ts +38 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.js +149 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.d.ts +4 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.js +73 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.d.ts +6 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.js +88 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.d.ts +17 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.js +231 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.d.ts +76 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.js +1332 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.d.ts +43 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.js +280 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.d.ts +13 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.js +58 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.d.ts +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.js +11 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.d.ts +9 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.js +24 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.d.ts +36 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.js +151 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.d.ts +24 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.js +49 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.d.ts +45 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.js +233 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.d.ts +8 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.js +27 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.d.ts +49 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.js +307 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.d.ts +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.js +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.d.ts +43 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.js +211 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.d.ts +247 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.js +1525 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.d.ts +36 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.js +269 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.d.ts +13 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.js +130 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.d.ts +21 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.js +52 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.d.ts +38 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.js +266 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.d.ts +87 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.js +179 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.d.ts +25 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.js +44 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.js +76 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.d.ts +6 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.js +130 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.d.ts +39 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.js +114 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.d.ts +2 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.js +24 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.d.ts +9 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.js +112 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.d.ts +18 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.js +197 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.d.ts +20 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.js +227 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.d.ts +15 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.js +45 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.d.ts +10 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.js +105 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.d.ts +22 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.js +138 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.d.ts +8 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.js +65 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.d.ts +13 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.js +65 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.d.ts +50 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.js +400 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.d.ts +8 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.js +43 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.d.ts +5 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.js +121 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.d.ts +20 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.js +118 -0
- package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/package.json +40 -0
- package/plugin/runtime/node_modules/ansi-regex/index.d.ts +37 -0
- package/plugin/runtime/node_modules/ansi-regex/index.js +10 -0
- package/plugin/runtime/node_modules/ansi-regex/license +9 -0
- package/plugin/runtime/node_modules/ansi-regex/package.json +55 -0
- package/plugin/runtime/node_modules/ansi-regex/readme.md +78 -0
- package/plugin/runtime/node_modules/ansi-styles/index.d.ts +345 -0
- package/plugin/runtime/node_modules/ansi-styles/index.js +163 -0
- package/plugin/runtime/node_modules/ansi-styles/license +9 -0
- package/plugin/runtime/node_modules/ansi-styles/package.json +56 -0
- package/plugin/runtime/node_modules/ansi-styles/readme.md +152 -0
- package/plugin/runtime/node_modules/asn1js/LICENSE +30 -0
- package/plugin/runtime/node_modules/asn1js/README.md +222 -0
- package/plugin/runtime/node_modules/asn1js/build/index.d.ts +1412 -0
- package/plugin/runtime/node_modules/asn1js/build/index.es.js +3705 -0
- package/plugin/runtime/node_modules/asn1js/build/index.js +3773 -0
- package/plugin/runtime/node_modules/asn1js/package.json +89 -0
- package/plugin/runtime/node_modules/bytestreamjs/LICENSE +29 -0
- package/plugin/runtime/node_modules/bytestreamjs/README.MD +196 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit.js +91 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit_stream.js +400 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/byte_stream.js +648 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/helpers.js +59 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/index.js +21 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_bit_stream.js +114 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_stream.js +437 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit.js +88 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit_stream.js +396 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/byte_stream.js +644 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/helpers.js +55 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/index.js +5 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_bit_stream.js +110 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_stream.js +433 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/bit.d.ts +1 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/bit_stream.d.ts +222 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/byte_stream.d.ts +292 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/helpers.d.ts +23 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/index.d.ts +5 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_bit_stream.d.ts +47 -0
- package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_stream.d.ts +255 -0
- package/plugin/runtime/node_modules/bytestreamjs/package.json +66 -0
- package/plugin/runtime/node_modules/camelcase/index.d.ts +63 -0
- package/plugin/runtime/node_modules/camelcase/index.js +76 -0
- package/plugin/runtime/node_modules/camelcase/license +9 -0
- package/plugin/runtime/node_modules/camelcase/package.json +43 -0
- package/plugin/runtime/node_modules/camelcase/readme.md +99 -0
- package/plugin/runtime/node_modules/cbor/LICENSE.md +20 -0
- package/plugin/runtime/node_modules/cbor/README.md +282 -0
- package/plugin/runtime/node_modules/cbor/lib/cbor.js +114 -0
- package/plugin/runtime/node_modules/cbor/lib/commented.js +382 -0
- package/plugin/runtime/node_modules/cbor/lib/constants.js +79 -0
- package/plugin/runtime/node_modules/cbor/lib/decoder.js +680 -0
- package/plugin/runtime/node_modules/cbor/lib/diagnose.js +274 -0
- package/plugin/runtime/node_modules/cbor/lib/encoder.js +1121 -0
- package/plugin/runtime/node_modules/cbor/lib/map.js +185 -0
- package/plugin/runtime/node_modules/cbor/lib/objectRecorder.js +71 -0
- package/plugin/runtime/node_modules/cbor/lib/sharedValueEncoder.js +141 -0
- package/plugin/runtime/node_modules/cbor/lib/simple.js +104 -0
- package/plugin/runtime/node_modules/cbor/lib/tagged.js +378 -0
- package/plugin/runtime/node_modules/cbor/lib/utils.js +308 -0
- package/plugin/runtime/node_modules/cbor/package.json +47 -0
- package/plugin/runtime/node_modules/cbor/types/lib/cbor.d.ts +34 -0
- package/plugin/runtime/node_modules/cbor/types/lib/commented.d.ts +109 -0
- package/plugin/runtime/node_modules/cbor/types/lib/constants.d.ts +63 -0
- package/plugin/runtime/node_modules/cbor/types/lib/decoder.d.ts +199 -0
- package/plugin/runtime/node_modules/cbor/types/lib/diagnose.d.ts +91 -0
- package/plugin/runtime/node_modules/cbor/types/lib/encoder.d.ts +477 -0
- package/plugin/runtime/node_modules/cbor/types/lib/map.d.ts +78 -0
- package/plugin/runtime/node_modules/cbor/types/lib/objectRecorder.d.ts +36 -0
- package/plugin/runtime/node_modules/cbor/types/lib/sharedValueEncoder.d.ts +21 -0
- package/plugin/runtime/node_modules/cbor/types/lib/simple.d.ts +47 -0
- package/plugin/runtime/node_modules/cbor/types/lib/tagged.d.ts +74 -0
- package/plugin/runtime/node_modules/cbor/types/lib/utils.d.ts +20 -0
- package/plugin/runtime/node_modules/cbor/types/vendor/binary-parse-stream/index.d.ts +34 -0
- package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/README.md +49 -0
- package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/index.js +111 -0
- package/plugin/runtime/node_modules/cliui/CHANGELOG.md +76 -0
- package/plugin/runtime/node_modules/cliui/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/cliui/README.md +115 -0
- package/plugin/runtime/node_modules/cliui/index.js +354 -0
- package/plugin/runtime/node_modules/cliui/package.json +65 -0
- package/plugin/runtime/node_modules/color-convert/CHANGELOG.md +54 -0
- package/plugin/runtime/node_modules/color-convert/LICENSE +21 -0
- package/plugin/runtime/node_modules/color-convert/README.md +68 -0
- package/plugin/runtime/node_modules/color-convert/conversions.js +839 -0
- package/plugin/runtime/node_modules/color-convert/index.js +81 -0
- package/plugin/runtime/node_modules/color-convert/package.json +48 -0
- package/plugin/runtime/node_modules/color-convert/route.js +97 -0
- package/plugin/runtime/node_modules/color-name/LICENSE +8 -0
- package/plugin/runtime/node_modules/color-name/README.md +11 -0
- package/plugin/runtime/node_modules/color-name/index.js +152 -0
- package/plugin/runtime/node_modules/color-name/package.json +28 -0
- package/plugin/runtime/node_modules/decamelize/index.js +13 -0
- package/plugin/runtime/node_modules/decamelize/license +21 -0
- package/plugin/runtime/node_modules/decamelize/package.json +38 -0
- package/plugin/runtime/node_modules/decamelize/readme.md +48 -0
- package/plugin/runtime/node_modules/dijkstrajs/.travis.yml +4 -0
- package/plugin/runtime/node_modules/dijkstrajs/CONTRIBUTING.md +8 -0
- package/plugin/runtime/node_modules/dijkstrajs/LICENSE.md +19 -0
- package/plugin/runtime/node_modules/dijkstrajs/README.md +18 -0
- package/plugin/runtime/node_modules/dijkstrajs/dijkstra.js +165 -0
- package/plugin/runtime/node_modules/dijkstrajs/package.json +60 -0
- package/plugin/runtime/node_modules/dijkstrajs/test/dijkstra.test.js +96 -0
- package/plugin/runtime/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/plugin/runtime/node_modules/emoji-regex/README.md +73 -0
- package/plugin/runtime/node_modules/emoji-regex/es2015/index.js +6 -0
- package/plugin/runtime/node_modules/emoji-regex/es2015/text.js +6 -0
- package/plugin/runtime/node_modules/emoji-regex/index.d.ts +23 -0
- package/plugin/runtime/node_modules/emoji-regex/index.js +6 -0
- package/plugin/runtime/node_modules/emoji-regex/package.json +50 -0
- package/plugin/runtime/node_modules/emoji-regex/text.js +6 -0
- package/plugin/runtime/node_modules/find-up/index.d.ts +137 -0
- package/plugin/runtime/node_modules/find-up/index.js +89 -0
- package/plugin/runtime/node_modules/find-up/license +9 -0
- package/plugin/runtime/node_modules/find-up/package.json +53 -0
- package/plugin/runtime/node_modules/find-up/readme.md +156 -0
- package/plugin/runtime/node_modules/get-caller-file/LICENSE.md +6 -0
- package/plugin/runtime/node_modules/get-caller-file/README.md +41 -0
- package/plugin/runtime/node_modules/get-caller-file/index.d.ts +2 -0
- package/plugin/runtime/node_modules/get-caller-file/index.js +22 -0
- package/plugin/runtime/node_modules/get-caller-file/index.js.map +1 -0
- package/plugin/runtime/node_modules/get-caller-file/package.json +42 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/license +9 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/plugin/runtime/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/plugin/runtime/node_modules/locate-path/index.d.ts +83 -0
- package/plugin/runtime/node_modules/locate-path/index.js +65 -0
- package/plugin/runtime/node_modules/locate-path/license +9 -0
- package/plugin/runtime/node_modules/locate-path/package.json +45 -0
- package/plugin/runtime/node_modules/locate-path/readme.md +122 -0
- package/plugin/runtime/node_modules/node-app-attest/.github/dependabot.yml +6 -0
- package/plugin/runtime/node_modules/node-app-attest/.github/workflows/ci.yml +43 -0
- package/plugin/runtime/node_modules/node-app-attest/.prettierrc +1 -0
- package/plugin/runtime/node_modules/node-app-attest/.yarnrc.yml +1 -0
- package/plugin/runtime/node_modules/node-app-attest/LICENSE +21 -0
- package/plugin/runtime/node_modules/node-app-attest/README.md +300 -0
- package/plugin/runtime/node_modules/node-app-attest/eslint.config.js +30 -0
- package/plugin/runtime/node_modules/node-app-attest/package.json +44 -0
- package/plugin/runtime/node_modules/node-app-attest/src/index.js +4 -0
- package/plugin/runtime/node_modules/node-app-attest/src/verifyAssertion.js +81 -0
- package/plugin/runtime/node_modules/node-app-attest/src/verifyAttestation.js +211 -0
- package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-development.json +5 -0
- package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-production.json +5 -0
- package/plugin/runtime/node_modules/node-app-attest/test/verifyAssertion.test.js +119 -0
- package/plugin/runtime/node_modules/node-app-attest/test/verifyAttestation.test.js +303 -0
- package/plugin/runtime/node_modules/node-app-attest/tsconfig.json +11 -0
- package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts +4 -0
- package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts.map +1 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts +5 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts.map +1 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts +8 -0
- package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts.map +1 -0
- package/plugin/runtime/node_modules/nofilter/LICENSE.md +20 -0
- package/plugin/runtime/node_modules/nofilter/README.md +36 -0
- package/plugin/runtime/node_modules/nofilter/lib/index.js +1055 -0
- package/plugin/runtime/node_modules/nofilter/package.json +60 -0
- package/plugin/runtime/node_modules/nofilter/types/index.d.ts +573 -0
- package/plugin/runtime/node_modules/p-limit/index.d.ts +38 -0
- package/plugin/runtime/node_modules/p-limit/index.js +57 -0
- package/plugin/runtime/node_modules/p-limit/license +9 -0
- package/plugin/runtime/node_modules/p-limit/package.json +52 -0
- package/plugin/runtime/node_modules/p-limit/readme.md +101 -0
- package/plugin/runtime/node_modules/p-locate/index.d.ts +64 -0
- package/plugin/runtime/node_modules/p-locate/index.js +52 -0
- package/plugin/runtime/node_modules/p-locate/license +9 -0
- package/plugin/runtime/node_modules/p-locate/package.json +53 -0
- package/plugin/runtime/node_modules/p-locate/readme.md +90 -0
- package/plugin/runtime/node_modules/p-try/index.d.ts +39 -0
- package/plugin/runtime/node_modules/p-try/index.js +9 -0
- package/plugin/runtime/node_modules/p-try/license +9 -0
- package/plugin/runtime/node_modules/p-try/package.json +42 -0
- package/plugin/runtime/node_modules/p-try/readme.md +58 -0
- package/plugin/runtime/node_modules/path-exists/index.d.ts +28 -0
- package/plugin/runtime/node_modules/path-exists/index.js +23 -0
- package/plugin/runtime/node_modules/path-exists/license +9 -0
- package/plugin/runtime/node_modules/path-exists/package.json +39 -0
- package/plugin/runtime/node_modules/path-exists/readme.md +52 -0
- package/plugin/runtime/node_modules/pkijs/LICENSE +30 -0
- package/plugin/runtime/node_modules/pkijs/README.md +81 -0
- package/plugin/runtime/node_modules/pkijs/build/index.d.ts +9419 -0
- package/plugin/runtime/node_modules/pkijs/build/index.es.js +18789 -0
- package/plugin/runtime/node_modules/pkijs/build/index.js +19014 -0
- package/plugin/runtime/node_modules/pkijs/package.json +98 -0
- package/plugin/runtime/node_modules/pngjs/.eslintignore +2 -0
- package/plugin/runtime/node_modules/pngjs/.eslintrc.json +19 -0
- package/plugin/runtime/node_modules/pngjs/.prettierignore +3 -0
- package/plugin/runtime/node_modules/pngjs/LICENSE +20 -0
- package/plugin/runtime/node_modules/pngjs/README.md +429 -0
- package/plugin/runtime/node_modules/pngjs/browser.js +16096 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/base.css +354 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +881 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +554 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/block-navigation.js +77 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +647 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/constants.js.html +176 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/crc.js.html +200 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +593 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +152 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +143 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +611 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +359 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/index.html +426 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/interlace.js.html +365 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +230 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +248 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer.js.html +467 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +128 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +575 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +404 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser.js.html +950 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +116 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png.js.html +662 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.css +101 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.js +1007 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sorter.js +169 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +584 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +215 -0
- package/plugin/runtime/node_modules/pngjs/coverage/lcov.info +2177 -0
- package/plugin/runtime/node_modules/pngjs/lib/bitmapper.js +267 -0
- package/plugin/runtime/node_modules/pngjs/lib/bitpacker.js +158 -0
- package/plugin/runtime/node_modules/pngjs/lib/chunkstream.js +189 -0
- package/plugin/runtime/node_modules/pngjs/lib/constants.js +32 -0
- package/plugin/runtime/node_modules/pngjs/lib/crc.js +40 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-pack.js +171 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-parse-async.js +24 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-parse-sync.js +21 -0
- package/plugin/runtime/node_modules/pngjs/lib/filter-parse.js +177 -0
- package/plugin/runtime/node_modules/pngjs/lib/format-normaliser.js +93 -0
- package/plugin/runtime/node_modules/pngjs/lib/interlace.js +95 -0
- package/plugin/runtime/node_modules/pngjs/lib/packer-async.js +50 -0
- package/plugin/runtime/node_modules/pngjs/lib/packer-sync.js +56 -0
- package/plugin/runtime/node_modules/pngjs/lib/packer.js +129 -0
- package/plugin/runtime/node_modules/pngjs/lib/paeth-predictor.js +16 -0
- package/plugin/runtime/node_modules/pngjs/lib/parser-async.js +165 -0
- package/plugin/runtime/node_modules/pngjs/lib/parser-sync.js +108 -0
- package/plugin/runtime/node_modules/pngjs/lib/parser.js +290 -0
- package/plugin/runtime/node_modules/pngjs/lib/png-sync.js +12 -0
- package/plugin/runtime/node_modules/pngjs/lib/png.js +194 -0
- package/plugin/runtime/node_modules/pngjs/lib/sync-inflate.js +168 -0
- package/plugin/runtime/node_modules/pngjs/lib/sync-reader.js +45 -0
- package/plugin/runtime/node_modules/pngjs/package.json +73 -0
- package/plugin/runtime/node_modules/pvtsutils/LICENSE +21 -0
- package/plugin/runtime/node_modules/pvtsutils/README.md +80 -0
- package/plugin/runtime/node_modules/pvtsutils/build/index.d.ts +208 -0
- package/plugin/runtime/node_modules/pvtsutils/build/index.es.js +393 -0
- package/plugin/runtime/node_modules/pvtsutils/build/index.js +399 -0
- package/plugin/runtime/node_modules/pvtsutils/package.json +76 -0
- package/plugin/runtime/node_modules/pvutils/LICENSE +24 -0
- package/plugin/runtime/node_modules/pvutils/README.md +24 -0
- package/plugin/runtime/node_modules/pvutils/build/index.d.ts +116 -0
- package/plugin/runtime/node_modules/pvutils/build/utils.es.js +340 -0
- package/plugin/runtime/node_modules/pvutils/build/utils.js +361 -0
- package/plugin/runtime/node_modules/pvutils/package.json +63 -0
- package/plugin/runtime/node_modules/qrcode/README.md +770 -0
- package/plugin/runtime/node_modules/qrcode/bin/qrcode +159 -0
- package/plugin/runtime/node_modules/qrcode/helper/to-sjis-browser.js +2 -0
- package/plugin/runtime/node_modules/qrcode/helper/to-sjis.js +105 -0
- package/plugin/runtime/node_modules/qrcode/lib/browser.js +76 -0
- package/plugin/runtime/node_modules/qrcode/lib/can-promise.js +7 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/alignment-pattern.js +83 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/alphanumeric-data.js +59 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/bit-buffer.js +37 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/bit-matrix.js +65 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/byte-data.js +30 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-code.js +135 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-level.js +50 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/finder-pattern.js +22 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/format-info.js +29 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/galois-field.js +69 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/kanji-data.js +54 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/mask-pattern.js +234 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/mode.js +167 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/numeric-data.js +43 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/polynomial.js +62 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/qrcode.js +495 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/reed-solomon-encoder.js +56 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/regex.js +31 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/segments.js +330 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/utils.js +63 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/version-check.js +9 -0
- package/plugin/runtime/node_modules/qrcode/lib/core/version.js +163 -0
- package/plugin/runtime/node_modules/qrcode/lib/index.js +12 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/canvas.js +63 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/png.js +78 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/svg-tag.js +81 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/svg.js +19 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +85 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal.js +49 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal.js +9 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/utf8.js +71 -0
- package/plugin/runtime/node_modules/qrcode/lib/renderer/utils.js +99 -0
- package/plugin/runtime/node_modules/qrcode/lib/server.js +138 -0
- package/plugin/runtime/node_modules/qrcode/license +10 -0
- package/plugin/runtime/node_modules/qrcode/package.json +77 -0
- package/plugin/runtime/node_modules/require-directory/.jshintrc +67 -0
- package/plugin/runtime/node_modules/require-directory/.travis.yml +3 -0
- package/plugin/runtime/node_modules/require-directory/LICENSE +22 -0
- package/plugin/runtime/node_modules/require-directory/README.markdown +184 -0
- package/plugin/runtime/node_modules/require-directory/index.js +86 -0
- package/plugin/runtime/node_modules/require-directory/package.json +40 -0
- package/plugin/runtime/node_modules/require-main-filename/CHANGELOG.md +26 -0
- package/plugin/runtime/node_modules/require-main-filename/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/require-main-filename/README.md +26 -0
- package/plugin/runtime/node_modules/require-main-filename/index.js +18 -0
- package/plugin/runtime/node_modules/require-main-filename/package.json +35 -0
- package/plugin/runtime/node_modules/set-blocking/CHANGELOG.md +26 -0
- package/plugin/runtime/node_modules/set-blocking/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/set-blocking/README.md +31 -0
- package/plugin/runtime/node_modules/set-blocking/index.js +7 -0
- package/plugin/runtime/node_modules/set-blocking/package.json +42 -0
- package/plugin/runtime/node_modules/string-width/index.d.ts +29 -0
- package/plugin/runtime/node_modules/string-width/index.js +47 -0
- package/plugin/runtime/node_modules/string-width/license +9 -0
- package/plugin/runtime/node_modules/string-width/package.json +56 -0
- package/plugin/runtime/node_modules/string-width/readme.md +50 -0
- package/plugin/runtime/node_modules/strip-ansi/index.d.ts +17 -0
- package/plugin/runtime/node_modules/strip-ansi/index.js +4 -0
- package/plugin/runtime/node_modules/strip-ansi/license +9 -0
- package/plugin/runtime/node_modules/strip-ansi/package.json +54 -0
- package/plugin/runtime/node_modules/strip-ansi/readme.md +46 -0
- package/plugin/runtime/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/plugin/runtime/node_modules/tslib/LICENSE.txt +12 -0
- package/plugin/runtime/node_modules/tslib/README.md +164 -0
- package/plugin/runtime/node_modules/tslib/SECURITY.md +41 -0
- package/plugin/runtime/node_modules/tslib/modules/index.d.ts +38 -0
- package/plugin/runtime/node_modules/tslib/modules/index.js +70 -0
- package/plugin/runtime/node_modules/tslib/modules/package.json +3 -0
- package/plugin/runtime/node_modules/tslib/package.json +47 -0
- package/plugin/runtime/node_modules/tslib/tslib.d.ts +460 -0
- package/plugin/runtime/node_modules/tslib/tslib.es6.html +1 -0
- package/plugin/runtime/node_modules/tslib/tslib.es6.js +402 -0
- package/plugin/runtime/node_modules/tslib/tslib.es6.mjs +401 -0
- package/plugin/runtime/node_modules/tslib/tslib.html +1 -0
- package/plugin/runtime/node_modules/tslib/tslib.js +484 -0
- package/plugin/runtime/node_modules/which-module/LICENSE +13 -0
- package/plugin/runtime/node_modules/which-module/README.md +58 -0
- package/plugin/runtime/node_modules/which-module/index.js +9 -0
- package/plugin/runtime/node_modules/which-module/package.json +41 -0
- package/plugin/runtime/node_modules/wrap-ansi/index.js +186 -0
- package/plugin/runtime/node_modules/wrap-ansi/license +9 -0
- package/plugin/runtime/node_modules/wrap-ansi/package.json +61 -0
- package/plugin/runtime/node_modules/wrap-ansi/readme.md +97 -0
- package/plugin/runtime/node_modules/y18n/CHANGELOG.md +35 -0
- package/plugin/runtime/node_modules/y18n/LICENSE +13 -0
- package/plugin/runtime/node_modules/y18n/README.md +109 -0
- package/plugin/runtime/node_modules/y18n/index.js +188 -0
- package/plugin/runtime/node_modules/y18n/package.json +39 -0
- package/plugin/runtime/node_modules/yargs/CHANGELOG.md +420 -0
- package/plugin/runtime/node_modules/yargs/LICENSE +21 -0
- package/plugin/runtime/node_modules/yargs/README.md +140 -0
- package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.js +65 -0
- package/plugin/runtime/node_modules/yargs/build/lib/argsert.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/argsert.js +65 -0
- package/plugin/runtime/node_modules/yargs/build/lib/command.d.ts +64 -0
- package/plugin/runtime/node_modules/yargs/build/lib/command.js +416 -0
- package/plugin/runtime/node_modules/yargs/build/lib/common-types.d.ts +36 -0
- package/plugin/runtime/node_modules/yargs/build/lib/common-types.js +25 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.js +50 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion.d.ts +21 -0
- package/plugin/runtime/node_modules/yargs/build/lib/completion.js +135 -0
- package/plugin/runtime/node_modules/yargs/build/lib/is-promise.d.ts +1 -0
- package/plugin/runtime/node_modules/yargs/build/lib/is-promise.js +9 -0
- package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.d.ts +1 -0
- package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.js +58 -0
- package/plugin/runtime/node_modules/yargs/build/lib/middleware.d.ts +10 -0
- package/plugin/runtime/node_modules/yargs/build/lib/middleware.js +57 -0
- package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.d.ts +1 -0
- package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.js +14 -0
- package/plugin/runtime/node_modules/yargs/build/lib/parse-command.d.ts +11 -0
- package/plugin/runtime/node_modules/yargs/build/lib/parse-command.js +36 -0
- package/plugin/runtime/node_modules/yargs/build/lib/process-argv.d.ts +2 -0
- package/plugin/runtime/node_modules/yargs/build/lib/process-argv.js +31 -0
- package/plugin/runtime/node_modules/yargs/build/lib/usage.d.ts +49 -0
- package/plugin/runtime/node_modules/yargs/build/lib/usage.js +540 -0
- package/plugin/runtime/node_modules/yargs/build/lib/validation.d.ts +34 -0
- package/plugin/runtime/node_modules/yargs/build/lib/validation.js +330 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yargs.d.ts +274 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yargs.js +1190 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yerror.d.ts +4 -0
- package/plugin/runtime/node_modules/yargs/build/lib/yerror.js +11 -0
- package/plugin/runtime/node_modules/yargs/index.js +40 -0
- package/plugin/runtime/node_modules/yargs/locales/be.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/de.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/en.json +51 -0
- package/plugin/runtime/node_modules/yargs/locales/es.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/fi.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/fr.json +53 -0
- package/plugin/runtime/node_modules/yargs/locales/hi.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/hu.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/id.json +50 -0
- package/plugin/runtime/node_modules/yargs/locales/it.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/ja.json +51 -0
- package/plugin/runtime/node_modules/yargs/locales/ko.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/nb.json +44 -0
- package/plugin/runtime/node_modules/yargs/locales/nl.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/nn.json +44 -0
- package/plugin/runtime/node_modules/yargs/locales/pirate.json +13 -0
- package/plugin/runtime/node_modules/yargs/locales/pl.json +49 -0
- package/plugin/runtime/node_modules/yargs/locales/pt.json +45 -0
- package/plugin/runtime/node_modules/yargs/locales/pt_BR.json +48 -0
- package/plugin/runtime/node_modules/yargs/locales/ru.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/th.json +46 -0
- package/plugin/runtime/node_modules/yargs/locales/tr.json +48 -0
- package/plugin/runtime/node_modules/yargs/locales/zh_CN.json +48 -0
- package/plugin/runtime/node_modules/yargs/locales/zh_TW.json +47 -0
- package/plugin/runtime/node_modules/yargs/package.json +92 -0
- package/plugin/runtime/node_modules/yargs/yargs.js +14 -0
- package/plugin/runtime/node_modules/yargs-parser/CHANGELOG.md +601 -0
- package/plugin/runtime/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/plugin/runtime/node_modules/yargs-parser/README.md +449 -0
- package/plugin/runtime/node_modules/yargs-parser/index.js +1032 -0
- package/plugin/runtime/node_modules/yargs-parser/lib/tokenize-arg-string.js +40 -0
- package/plugin/runtime/node_modules/yargs-parser/package.json +46 -0
- package/plugin/runtime/package-lock.json +447 -0
- package/plugin/runtime/package.json +13 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qrcode",
|
|
3
|
+
"description": "QRCode / 2d Barcode api with both server side and client side support using canvas",
|
|
4
|
+
"version": "1.5.4",
|
|
5
|
+
"author": "Ryan Day <soldair@gmail.com>",
|
|
6
|
+
"contributors": [
|
|
7
|
+
"Vincenzo Greco <greco.vincenzo@gmail.com>",
|
|
8
|
+
"Linus Unnebäck <linus@folkdatorn.se>"
|
|
9
|
+
],
|
|
10
|
+
"keywords": [
|
|
11
|
+
"qr",
|
|
12
|
+
"code",
|
|
13
|
+
"canvas",
|
|
14
|
+
"qrcode"
|
|
15
|
+
],
|
|
16
|
+
"main": "./lib/index.js",
|
|
17
|
+
"browser": {
|
|
18
|
+
"./lib/index.js": "./lib/browser.js",
|
|
19
|
+
"fs": false
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"bin",
|
|
23
|
+
"build",
|
|
24
|
+
"lib",
|
|
25
|
+
"helper"
|
|
26
|
+
],
|
|
27
|
+
"homepage": "http://github.com/soldair/node-qrcode",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"scripts": {
|
|
30
|
+
"lint": "standard",
|
|
31
|
+
"pretest": "npm run lint",
|
|
32
|
+
"test": "node --throw-deprecation test.js",
|
|
33
|
+
"build": "rollup -c",
|
|
34
|
+
"prepublish": "npm run build",
|
|
35
|
+
"browser": "node examples/clientsideserver.js"
|
|
36
|
+
},
|
|
37
|
+
"bin": {
|
|
38
|
+
"qrcode": "./bin/qrcode"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"dijkstrajs": "^1.0.1",
|
|
42
|
+
"pngjs": "^5.0.0",
|
|
43
|
+
"yargs": "^15.3.1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@babel/core": "^7.9.0",
|
|
47
|
+
"@babel/preset-env": "^7.9.5",
|
|
48
|
+
"@rollup/plugin-commonjs": "^11.1.0",
|
|
49
|
+
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
50
|
+
"browserify": "^16.5.1",
|
|
51
|
+
"canvas": "^2.8.0",
|
|
52
|
+
"canvasutil": "0.0.4",
|
|
53
|
+
"colors": "^1.4.0",
|
|
54
|
+
"express": "^4.17.1",
|
|
55
|
+
"htmlparser2": "^4.1.0",
|
|
56
|
+
"rollup": "^2.6.1",
|
|
57
|
+
"rollup-plugin-babel": "^4.4.0",
|
|
58
|
+
"rollup-plugin-terser": "^5.3.0",
|
|
59
|
+
"sinon": "^9.0.2",
|
|
60
|
+
"standard": "^16.0.4",
|
|
61
|
+
"tap": "^16.2.0"
|
|
62
|
+
},
|
|
63
|
+
"repository": {
|
|
64
|
+
"type": "git",
|
|
65
|
+
"url": "git://github.com/soldair/node-qrcode.git"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=10.13.0"
|
|
69
|
+
},
|
|
70
|
+
"standard": {
|
|
71
|
+
"ignore": [
|
|
72
|
+
"build/",
|
|
73
|
+
"examples/vendors/",
|
|
74
|
+
"lib/core/regex.js"
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxerr" : 50,
|
|
3
|
+
"bitwise" : true,
|
|
4
|
+
"camelcase" : true,
|
|
5
|
+
"curly" : true,
|
|
6
|
+
"eqeqeq" : true,
|
|
7
|
+
"forin" : true,
|
|
8
|
+
"immed" : true,
|
|
9
|
+
"indent" : 2,
|
|
10
|
+
"latedef" : true,
|
|
11
|
+
"newcap" : true,
|
|
12
|
+
"noarg" : true,
|
|
13
|
+
"noempty" : true,
|
|
14
|
+
"nonew" : true,
|
|
15
|
+
"plusplus" : true,
|
|
16
|
+
"quotmark" : true,
|
|
17
|
+
"undef" : true,
|
|
18
|
+
"unused" : true,
|
|
19
|
+
"strict" : true,
|
|
20
|
+
"trailing" : true,
|
|
21
|
+
"maxparams" : false,
|
|
22
|
+
"maxdepth" : false,
|
|
23
|
+
"maxstatements" : false,
|
|
24
|
+
"maxcomplexity" : false,
|
|
25
|
+
"maxlen" : false,
|
|
26
|
+
"asi" : false,
|
|
27
|
+
"boss" : false,
|
|
28
|
+
"debug" : false,
|
|
29
|
+
"eqnull" : true,
|
|
30
|
+
"es5" : false,
|
|
31
|
+
"esnext" : false,
|
|
32
|
+
"moz" : false,
|
|
33
|
+
"evil" : false,
|
|
34
|
+
"expr" : true,
|
|
35
|
+
"funcscope" : true,
|
|
36
|
+
"globalstrict" : true,
|
|
37
|
+
"iterator" : true,
|
|
38
|
+
"lastsemic" : false,
|
|
39
|
+
"laxbreak" : false,
|
|
40
|
+
"laxcomma" : false,
|
|
41
|
+
"loopfunc" : false,
|
|
42
|
+
"multistr" : false,
|
|
43
|
+
"proto" : false,
|
|
44
|
+
"scripturl" : false,
|
|
45
|
+
"smarttabs" : false,
|
|
46
|
+
"shadow" : false,
|
|
47
|
+
"sub" : false,
|
|
48
|
+
"supernew" : false,
|
|
49
|
+
"validthis" : false,
|
|
50
|
+
"browser" : true,
|
|
51
|
+
"couch" : false,
|
|
52
|
+
"devel" : true,
|
|
53
|
+
"dojo" : false,
|
|
54
|
+
"jquery" : false,
|
|
55
|
+
"mootools" : false,
|
|
56
|
+
"node" : true,
|
|
57
|
+
"nonstandard" : false,
|
|
58
|
+
"prototypejs" : false,
|
|
59
|
+
"rhino" : false,
|
|
60
|
+
"worker" : false,
|
|
61
|
+
"wsh" : false,
|
|
62
|
+
"yui" : false,
|
|
63
|
+
"nomen" : true,
|
|
64
|
+
"onevar" : true,
|
|
65
|
+
"passfail" : false,
|
|
66
|
+
"white" : true
|
|
67
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2011 Troy Goode <troygoode@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
6
|
+
copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included
|
|
14
|
+
in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
17
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
# require-directory
|
|
2
|
+
|
|
3
|
+
Recursively iterates over specified directory, `require()`'ing each file, and returning a nested hash structure containing those modules.
|
|
4
|
+
|
|
5
|
+
**[Follow me (@troygoode) on Twitter!](https://twitter.com/intent/user?screen_name=troygoode)**
|
|
6
|
+
|
|
7
|
+
[](https://nodei.co/npm/require-directory/)
|
|
8
|
+
|
|
9
|
+
[](http://travis-ci.org/troygoode/node-require-directory)
|
|
10
|
+
|
|
11
|
+
## How To Use
|
|
12
|
+
|
|
13
|
+
### Installation (via [npm](https://npmjs.org/package/require-directory))
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
$ npm install require-directory
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Usage
|
|
20
|
+
|
|
21
|
+
A common pattern in node.js is to include an index file which creates a hash of the files in its current directory. Given a directory structure like so:
|
|
22
|
+
|
|
23
|
+
* app.js
|
|
24
|
+
* routes/
|
|
25
|
+
* index.js
|
|
26
|
+
* home.js
|
|
27
|
+
* auth/
|
|
28
|
+
* login.js
|
|
29
|
+
* logout.js
|
|
30
|
+
* register.js
|
|
31
|
+
|
|
32
|
+
`routes/index.js` uses `require-directory` to build the hash (rather than doing so manually) like so:
|
|
33
|
+
|
|
34
|
+
```javascript
|
|
35
|
+
var requireDirectory = require('require-directory');
|
|
36
|
+
module.exports = requireDirectory(module);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`app.js` references `routes/index.js` like any other module, but it now has a hash/tree of the exports from the `./routes/` directory:
|
|
40
|
+
|
|
41
|
+
```javascript
|
|
42
|
+
var routes = require('./routes');
|
|
43
|
+
|
|
44
|
+
// snip
|
|
45
|
+
|
|
46
|
+
app.get('/', routes.home);
|
|
47
|
+
app.get('/register', routes.auth.register);
|
|
48
|
+
app.get('/login', routes.auth.login);
|
|
49
|
+
app.get('/logout', routes.auth.logout);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
The `routes` variable above is the equivalent of this:
|
|
53
|
+
|
|
54
|
+
```javascript
|
|
55
|
+
var routes = {
|
|
56
|
+
home: require('routes/home.js'),
|
|
57
|
+
auth: {
|
|
58
|
+
login: require('routes/auth/login.js'),
|
|
59
|
+
logout: require('routes/auth/logout.js'),
|
|
60
|
+
register: require('routes/auth/register.js')
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
*Note that `routes.index` will be `undefined` as you would hope.*
|
|
66
|
+
|
|
67
|
+
### Specifying Another Directory
|
|
68
|
+
|
|
69
|
+
You can specify which directory you want to build a tree of (if it isn't the current directory for whatever reason) by passing it as the second parameter. Not specifying the path (`requireDirectory(module)`) is the equivelant of `requireDirectory(module, __dirname)`:
|
|
70
|
+
|
|
71
|
+
```javascript
|
|
72
|
+
var requireDirectory = require('require-directory');
|
|
73
|
+
module.exports = requireDirectory(module, './some/subdirectory');
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
For example, in the [example in the Usage section](#usage) we could have avoided creating `routes/index.js` and instead changed the first lines of `app.js` to:
|
|
77
|
+
|
|
78
|
+
```javascript
|
|
79
|
+
var requireDirectory = require('require-directory');
|
|
80
|
+
var routes = requireDirectory(module, './routes');
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Options
|
|
84
|
+
|
|
85
|
+
You can pass an options hash to `require-directory` as the 2nd parameter (or 3rd if you're passing the path to another directory as the 2nd parameter already). Here are the available options:
|
|
86
|
+
|
|
87
|
+
### Whitelisting
|
|
88
|
+
|
|
89
|
+
Whitelisting (either via RegExp or function) allows you to specify that only certain files be loaded.
|
|
90
|
+
|
|
91
|
+
```javascript
|
|
92
|
+
var requireDirectory = require('require-directory'),
|
|
93
|
+
whitelist = /onlyinclude.js$/,
|
|
94
|
+
hash = requireDirectory(module, {include: whitelist});
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
```javascript
|
|
98
|
+
var requireDirectory = require('require-directory'),
|
|
99
|
+
check = function(path){
|
|
100
|
+
if(/onlyinclude.js$/.test(path)){
|
|
101
|
+
return true; // don't include
|
|
102
|
+
}else{
|
|
103
|
+
return false; // go ahead and include
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
hash = requireDirectory(module, {include: check});
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Blacklisting
|
|
110
|
+
|
|
111
|
+
Blacklisting (either via RegExp or function) allows you to specify that all but certain files should be loaded.
|
|
112
|
+
|
|
113
|
+
```javascript
|
|
114
|
+
var requireDirectory = require('require-directory'),
|
|
115
|
+
blacklist = /dontinclude\.js$/,
|
|
116
|
+
hash = requireDirectory(module, {exclude: blacklist});
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
```javascript
|
|
120
|
+
var requireDirectory = require('require-directory'),
|
|
121
|
+
check = function(path){
|
|
122
|
+
if(/dontinclude\.js$/.test(path)){
|
|
123
|
+
return false; // don't include
|
|
124
|
+
}else{
|
|
125
|
+
return true; // go ahead and include
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
hash = requireDirectory(module, {exclude: check});
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Visiting Objects As They're Loaded
|
|
132
|
+
|
|
133
|
+
`require-directory` takes a function as the `visit` option that will be called for each module that is added to module.exports.
|
|
134
|
+
|
|
135
|
+
```javascript
|
|
136
|
+
var requireDirectory = require('require-directory'),
|
|
137
|
+
visitor = function(obj) {
|
|
138
|
+
console.log(obj); // will be called for every module that is loaded
|
|
139
|
+
},
|
|
140
|
+
hash = requireDirectory(module, {visit: visitor});
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The visitor can also transform the objects by returning a value:
|
|
144
|
+
|
|
145
|
+
```javascript
|
|
146
|
+
var requireDirectory = require('require-directory'),
|
|
147
|
+
visitor = function(obj) {
|
|
148
|
+
return obj(new Date());
|
|
149
|
+
},
|
|
150
|
+
hash = requireDirectory(module, {visit: visitor});
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Renaming Keys
|
|
154
|
+
|
|
155
|
+
```javascript
|
|
156
|
+
var requireDirectory = require('require-directory'),
|
|
157
|
+
renamer = function(name) {
|
|
158
|
+
return name.toUpperCase();
|
|
159
|
+
},
|
|
160
|
+
hash = requireDirectory(module, {rename: renamer});
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### No Recursion
|
|
164
|
+
|
|
165
|
+
```javascript
|
|
166
|
+
var requireDirectory = require('require-directory'),
|
|
167
|
+
hash = requireDirectory(module, {recurse: false});
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## Run Unit Tests
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
$ npm run lint
|
|
174
|
+
$ npm test
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## License
|
|
178
|
+
|
|
179
|
+
[MIT License](http://www.opensource.org/licenses/mit-license.php)
|
|
180
|
+
|
|
181
|
+
## Author
|
|
182
|
+
|
|
183
|
+
[Troy Goode](https://github.com/TroyGoode) ([troygoode@gmail.com](mailto:troygoode@gmail.com))
|
|
184
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var fs = require('fs'),
|
|
4
|
+
join = require('path').join,
|
|
5
|
+
resolve = require('path').resolve,
|
|
6
|
+
dirname = require('path').dirname,
|
|
7
|
+
defaultOptions = {
|
|
8
|
+
extensions: ['js', 'json', 'coffee'],
|
|
9
|
+
recurse: true,
|
|
10
|
+
rename: function (name) {
|
|
11
|
+
return name;
|
|
12
|
+
},
|
|
13
|
+
visit: function (obj) {
|
|
14
|
+
return obj;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
function checkFileInclusion(path, filename, options) {
|
|
19
|
+
return (
|
|
20
|
+
// verify file has valid extension
|
|
21
|
+
(new RegExp('\\.(' + options.extensions.join('|') + ')$', 'i').test(filename)) &&
|
|
22
|
+
|
|
23
|
+
// if options.include is a RegExp, evaluate it and make sure the path passes
|
|
24
|
+
!(options.include && options.include instanceof RegExp && !options.include.test(path)) &&
|
|
25
|
+
|
|
26
|
+
// if options.include is a function, evaluate it and make sure the path passes
|
|
27
|
+
!(options.include && typeof options.include === 'function' && !options.include(path, filename)) &&
|
|
28
|
+
|
|
29
|
+
// if options.exclude is a RegExp, evaluate it and make sure the path doesn't pass
|
|
30
|
+
!(options.exclude && options.exclude instanceof RegExp && options.exclude.test(path)) &&
|
|
31
|
+
|
|
32
|
+
// if options.exclude is a function, evaluate it and make sure the path doesn't pass
|
|
33
|
+
!(options.exclude && typeof options.exclude === 'function' && options.exclude(path, filename))
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function requireDirectory(m, path, options) {
|
|
38
|
+
var retval = {};
|
|
39
|
+
|
|
40
|
+
// path is optional
|
|
41
|
+
if (path && !options && typeof path !== 'string') {
|
|
42
|
+
options = path;
|
|
43
|
+
path = null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// default options
|
|
47
|
+
options = options || {};
|
|
48
|
+
for (var prop in defaultOptions) {
|
|
49
|
+
if (typeof options[prop] === 'undefined') {
|
|
50
|
+
options[prop] = defaultOptions[prop];
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// if no path was passed in, assume the equivelant of __dirname from caller
|
|
55
|
+
// otherwise, resolve path relative to the equivalent of __dirname
|
|
56
|
+
path = !path ? dirname(m.filename) : resolve(dirname(m.filename), path);
|
|
57
|
+
|
|
58
|
+
// get the path of each file in specified directory, append to current tree node, recurse
|
|
59
|
+
fs.readdirSync(path).forEach(function (filename) {
|
|
60
|
+
var joined = join(path, filename),
|
|
61
|
+
files,
|
|
62
|
+
key,
|
|
63
|
+
obj;
|
|
64
|
+
|
|
65
|
+
if (fs.statSync(joined).isDirectory() && options.recurse) {
|
|
66
|
+
// this node is a directory; recurse
|
|
67
|
+
files = requireDirectory(m, joined, options);
|
|
68
|
+
// exclude empty directories
|
|
69
|
+
if (Object.keys(files).length) {
|
|
70
|
+
retval[options.rename(filename, joined, filename)] = files;
|
|
71
|
+
}
|
|
72
|
+
} else {
|
|
73
|
+
if (joined !== m.filename && checkFileInclusion(joined, filename, options)) {
|
|
74
|
+
// hash node key shouldn't include file extension
|
|
75
|
+
key = filename.substring(0, filename.lastIndexOf('.'));
|
|
76
|
+
obj = m.require(joined);
|
|
77
|
+
retval[options.rename(key, joined, filename)] = options.visit(obj, joined, filename) || obj;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
return retval;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
module.exports = requireDirectory;
|
|
86
|
+
module.exports.defaults = defaultOptions;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Troy Goode <troygoode@gmail.com> (http://github.com/troygoode/)",
|
|
3
|
+
"name": "require-directory",
|
|
4
|
+
"version": "2.1.1",
|
|
5
|
+
"description": "Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"require",
|
|
8
|
+
"directory",
|
|
9
|
+
"library",
|
|
10
|
+
"recursive"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/troygoode/node-require-directory/",
|
|
13
|
+
"main": "index.js",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git://github.com/troygoode/node-require-directory.git"
|
|
17
|
+
},
|
|
18
|
+
"contributors": [
|
|
19
|
+
{
|
|
20
|
+
"name": "Troy Goode",
|
|
21
|
+
"email": "troygoode@gmail.com",
|
|
22
|
+
"web": "http://github.com/troygoode/"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "http://github.com/troygoode/node-require-directory/issues/"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=0.10.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"jshint": "^2.6.0",
|
|
34
|
+
"mocha": "^2.1.0"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"test": "mocha",
|
|
38
|
+
"lint": "jshint index.js test/test.js"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
<a name="2.0.0"></a>
|
|
6
|
+
# [2.0.0](https://github.com/yargs/require-main-filename/compare/v1.0.2...v2.0.0) (2019-01-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Chores
|
|
10
|
+
|
|
11
|
+
* drop support for Node 0.10 ([#11](https://github.com/yargs/require-main-filename/issues/11)) ([87f4e13](https://github.com/yargs/require-main-filename/commit/87f4e13))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* drop support for Node 0.10/0.12
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<a name="1.0.2"></a>
|
|
21
|
+
## [1.0.2](https://github.com/yargs/require-main-filename/compare/v1.0.1...v1.0.2) (2017-06-16)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* add files to package.json ([#4](https://github.com/yargs/require-main-filename/issues/4)) ([fa29988](https://github.com/yargs/require-main-filename/commit/fa29988))
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Copyright (c) 2016, Contributors
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software
|
|
4
|
+
for any purpose with or without fee is hereby granted, provided
|
|
5
|
+
that the above copyright notice and this permission notice
|
|
6
|
+
appear in all copies.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
9
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
|
10
|
+
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
|
|
11
|
+
LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
|
|
12
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
13
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
14
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# require-main-filename
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/yargs/require-main-filename)
|
|
4
|
+
[](https://coveralls.io/r/yargs/require-main-filename?branch=master)
|
|
5
|
+
[](https://www.npmjs.com/package/require-main-filename)
|
|
6
|
+
|
|
7
|
+
`require.main.filename` is great for figuring out the entry
|
|
8
|
+
point for the current application. This can be combined with a module like
|
|
9
|
+
[pkg-conf](https://www.npmjs.com/package/pkg-conf) to, _as if by magic_, load
|
|
10
|
+
top-level configuration.
|
|
11
|
+
|
|
12
|
+
Unfortunately, `require.main.filename` sometimes fails when an application is
|
|
13
|
+
executed with an alternative process manager, e.g., [iisnode](https://github.com/tjanczuk/iisnode).
|
|
14
|
+
|
|
15
|
+
`require-main-filename` is a shim that addresses this problem.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
var main = require('require-main-filename')()
|
|
21
|
+
// use main as an alternative to require.main.filename.
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## License
|
|
25
|
+
|
|
26
|
+
ISC
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module.exports = function (_require) {
|
|
2
|
+
_require = _require || require
|
|
3
|
+
var main = _require.main
|
|
4
|
+
if (main && isIISNode(main)) return handleIISNode(main)
|
|
5
|
+
else return main ? main.filename : process.cwd()
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
function isIISNode (main) {
|
|
9
|
+
return /\\iisnode\\/.test(main.filename)
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function handleIISNode (main) {
|
|
13
|
+
if (!main.children.length) {
|
|
14
|
+
return main.filename
|
|
15
|
+
} else {
|
|
16
|
+
return main.children[0].filename
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "require-main-filename",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "shim for require.main.filename() that works in as many environments as possible",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"pretest": "standard",
|
|
8
|
+
"test": "tap --coverage test.js",
|
|
9
|
+
"release": "standard-version"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+ssh://git@github.com/yargs/require-main-filename.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"require",
|
|
17
|
+
"shim",
|
|
18
|
+
"iisnode"
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
"index.js"
|
|
22
|
+
],
|
|
23
|
+
"author": "Ben Coe <ben@npmjs.com>",
|
|
24
|
+
"license": "ISC",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/yargs/require-main-filename/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/yargs/require-main-filename#readme",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"chai": "^4.0.0",
|
|
31
|
+
"standard": "^10.0.3",
|
|
32
|
+
"standard-version": "^4.0.0",
|
|
33
|
+
"tap": "^11.0.0"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
<a name="2.0.0"></a>
|
|
6
|
+
# [2.0.0](https://github.com/yargs/set-blocking/compare/v1.0.0...v2.0.0) (2016-05-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add an isTTY check ([#3](https://github.com/yargs/set-blocking/issues/3)) ([66ce277](https://github.com/yargs/set-blocking/commit/66ce277))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* stdio/stderr will not be set to blocking if isTTY === false
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<a name="1.0.0"></a>
|
|
21
|
+
# 1.0.0 (2016-05-14)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* implemented shim for stream._handle.setBlocking ([6bde0c0](https://github.com/yargs/set-blocking/commit/6bde0c0))
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Copyright (c) 2016, Contributors
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software
|
|
4
|
+
for any purpose with or without fee is hereby granted, provided
|
|
5
|
+
that the above copyright notice and this permission notice
|
|
6
|
+
appear in all copies.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
9
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
|
10
|
+
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
|
|
11
|
+
LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
|
|
12
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
13
|
+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
|
14
|
+
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# set-blocking
|
|
2
|
+
|
|
3
|
+
[](https://travis-ci.org/yargs/set-blocking)
|
|
4
|
+
[](https://www.npmjs.com/package/set-blocking)
|
|
5
|
+
[](https://coveralls.io/r/yargs/set-blocking?branch=master)
|
|
6
|
+
[](https://github.com/conventional-changelog/standard-version)
|
|
7
|
+
|
|
8
|
+
set blocking `stdio` and `stderr` ensuring that terminal output does not truncate.
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
const setBlocking = require('set-blocking')
|
|
12
|
+
setBlocking(true)
|
|
13
|
+
console.log(someLargeStringToOutput)
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Historical Context/Word of Warning
|
|
17
|
+
|
|
18
|
+
This was created as a shim to address the bug discussed in [node #6456](https://github.com/nodejs/node/issues/6456). This bug crops up on
|
|
19
|
+
newer versions of Node.js (`0.12+`), truncating terminal output.
|
|
20
|
+
|
|
21
|
+
You should be mindful of the side-effects caused by using `set-blocking`:
|
|
22
|
+
|
|
23
|
+
* if your module sets blocking to `true`, it will effect other modules
|
|
24
|
+
consuming your library. In [yargs](https://github.com/yargs/yargs/blob/master/yargs.js#L653) we only call
|
|
25
|
+
`setBlocking(true)` once we already know we are about to call `process.exit(code)`.
|
|
26
|
+
* this patch will not apply to subprocesses spawned with `isTTY = true`, this is
|
|
27
|
+
the [default `spawn()` behavior](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).
|
|
28
|
+
|
|
29
|
+
## License
|
|
30
|
+
|
|
31
|
+
ISC
|