omegon 0.6.32 → 0.7.0
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/bin/omegon.mjs +74 -1
- package/extensions/00-secrets/index.ts +6 -0
- package/extensions/00-splash/index.ts +338 -0
- package/extensions/00-splash/logo.ts +194 -0
- package/extensions/bootstrap/index.ts +19 -2
- package/extensions/effort/index.ts +10 -0
- package/extensions/lib/splash-state.ts +25 -0
- package/extensions/mcp-bridge/index.ts +5 -0
- package/extensions/project-memory/index.ts +10 -0
- package/extensions/tool-profile/index.ts +7 -2
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +44 -37
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +38 -31
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/file-type/core.js +86 -9
- package/node_modules/file-type/index.js +17 -1
- package/node_modules/file-type/package.json +1 -1
- package/node_modules/file-type/readme.md +3 -0
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +13 -14
- package/node_modules/google-auth-library/package.json +2 -2
- package/package.json +5 -5
- package/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
- package/node_modules/@isaacs/cliui/README.md +0 -143
- package/node_modules/@isaacs/cliui/build/index.cjs +0 -317
- package/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
- package/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
- package/node_modules/@isaacs/cliui/index.mjs +0 -14
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.d.ts +0 -236
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js +0 -223
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/license +0 -9
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/package.json +0 -54
- package/node_modules/@isaacs/cliui/node_modules/ansi-styles/readme.md +0 -173
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/README.md +0 -137
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/RGI_Emoji.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/index.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/package.json +0 -52
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.d.ts +0 -5
- package/node_modules/@isaacs/cliui/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/@isaacs/cliui/node_modules/string-width/index.d.ts +0 -29
- package/node_modules/@isaacs/cliui/node_modules/string-width/index.js +0 -54
- package/node_modules/@isaacs/cliui/node_modules/string-width/license +0 -9
- package/node_modules/@isaacs/cliui/node_modules/string-width/package.json +0 -59
- package/node_modules/@isaacs/cliui/node_modules/string-width/readme.md +0 -67
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.d.ts +0 -41
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js +0 -214
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/license +0 -9
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/package.json +0 -69
- package/node_modules/@isaacs/cliui/node_modules/wrap-ansi/readme.md +0 -91
- package/node_modules/@isaacs/cliui/package.json +0 -86
- package/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
- package/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
- package/node_modules/@pkgjs/parseargs/LICENSE +0 -201
- package/node_modules/@pkgjs/parseargs/README.md +0 -413
- package/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
- package/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
- package/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
- package/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
- package/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
- package/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
- package/node_modules/@pkgjs/parseargs/index.js +0 -396
- package/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
- package/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
- package/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
- package/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
- package/node_modules/@pkgjs/parseargs/package.json +0 -36
- package/node_modules/@pkgjs/parseargs/utils.js +0 -198
- package/node_modules/cross-spawn/LICENSE +0 -21
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/cross-spawn/index.js +0 -39
- package/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/node_modules/cross-spawn/lib/parse.js +0 -91
- package/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/node_modules/cross-spawn/package.json +0 -73
- package/node_modules/eastasianwidth/README.md +0 -32
- package/node_modules/eastasianwidth/eastasianwidth.js +0 -311
- package/node_modules/eastasianwidth/package.json +0 -18
- package/node_modules/foreground-child/LICENSE +0 -15
- package/node_modules/foreground-child/README.md +0 -128
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
- package/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/index.js +0 -123
- package/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/package.json +0 -3
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
- package/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
- package/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
- package/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
- package/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
- package/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/index.js +0 -115
- package/node_modules/foreground-child/dist/esm/index.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/package.json +0 -3
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
- package/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
- package/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
- package/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
- package/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
- package/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/foreground-child/node_modules/signal-exit/README.md +0 -74
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js +0 -10
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js +0 -279
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/package.json +0 -3
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js +0 -42
- package/node_modules/foreground-child/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js +0 -4
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js +0 -275
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/package.json +0 -3
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js +0 -39
- package/node_modules/foreground-child/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- package/node_modules/foreground-child/node_modules/signal-exit/package.json +0 -106
- package/node_modules/foreground-child/package.json +0 -106
- package/node_modules/isexe/.npmignore +0 -2
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/index.js +0 -57
- package/node_modules/isexe/mode.js +0 -41
- package/node_modules/isexe/package.json +0 -31
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/isexe/windows.js +0 -42
- package/node_modules/jackspeak/LICENSE.md +0 -55
- package/node_modules/jackspeak/README.md +0 -357
- package/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -315
- package/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
- package/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/package.json +0 -3
- package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
- package/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
- package/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
- package/node_modules/jackspeak/dist/esm/index.d.ts +0 -315
- package/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/esm/index.js +0 -1000
- package/node_modules/jackspeak/dist/esm/index.js.map +0 -1
- package/node_modules/jackspeak/dist/esm/package.json +0 -3
- package/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
- package/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
- package/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
- package/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
- package/node_modules/jackspeak/package.json +0 -95
- package/node_modules/package-json-from-dist/LICENSE.md +0 -63
- package/node_modules/package-json-from-dist/README.md +0 -110
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
- package/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
- package/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
- package/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
- package/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
- package/node_modules/package-json-from-dist/package.json +0 -68
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/index.js +0 -16
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/package.json +0 -39
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/rimraf/LICENSE +0 -15
- package/node_modules/rimraf/README.md +0 -220
- package/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/default-tmp.js +0 -61
- package/node_modules/rimraf/dist/commonjs/default-tmp.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fix-eperm.js +0 -58
- package/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fs.d.ts +0 -17
- package/node_modules/rimraf/dist/commonjs/fs.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/fs.js +0 -46
- package/node_modules/rimraf/dist/commonjs/fs.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.js +0 -21
- package/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/index.d.ts +0 -50
- package/node_modules/rimraf/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/index.js +0 -78
- package/node_modules/rimraf/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +0 -34
- package/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/opt-arg.js +0 -53
- package/node_modules/rimraf/dist/commonjs/opt-arg.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/dist/commonjs/path-arg.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/path-arg.js +0 -52
- package/node_modules/rimraf/dist/commonjs/path-arg.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/platform.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/platform.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/platform.js +0 -4
- package/node_modules/rimraf/dist/commonjs/platform.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.js +0 -19
- package/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +0 -8
- package/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/retry-busy.js +0 -68
- package/node_modules/rimraf/dist/commonjs/retry-busy.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +0 -3
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.js +0 -12
- package/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +0 -192
- package/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-native.js +0 -24
- package/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.js +0 -123
- package/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.js +0 -182
- package/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +0 -1
- package/node_modules/rimraf/dist/commonjs/use-native.d.ts +0 -4
- package/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/commonjs/use-native.js +0 -22
- package/node_modules/rimraf/dist/commonjs/use-native.js.map +0 -1
- package/node_modules/rimraf/dist/esm/bin.d.mts +0 -8
- package/node_modules/rimraf/dist/esm/bin.d.mts.map +0 -1
- package/node_modules/rimraf/dist/esm/bin.mjs +0 -256
- package/node_modules/rimraf/dist/esm/bin.mjs.map +0 -1
- package/node_modules/rimraf/dist/esm/default-tmp.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/default-tmp.js +0 -55
- package/node_modules/rimraf/dist/esm/default-tmp.js.map +0 -1
- package/node_modules/rimraf/dist/esm/fix-eperm.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/fix-eperm.js +0 -53
- package/node_modules/rimraf/dist/esm/fix-eperm.js.map +0 -1
- package/node_modules/rimraf/dist/esm/fs.d.ts +0 -17
- package/node_modules/rimraf/dist/esm/fs.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/fs.js +0 -31
- package/node_modules/rimraf/dist/esm/fs.js.map +0 -1
- package/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/ignore-enoent.js +0 -16
- package/node_modules/rimraf/dist/esm/ignore-enoent.js.map +0 -1
- package/node_modules/rimraf/dist/esm/index.d.ts +0 -50
- package/node_modules/rimraf/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/index.js +0 -70
- package/node_modules/rimraf/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/dist/esm/opt-arg.d.ts +0 -34
- package/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/opt-arg.js +0 -46
- package/node_modules/rimraf/dist/esm/opt-arg.js.map +0 -1
- package/node_modules/rimraf/dist/esm/package.json +0 -3
- package/node_modules/rimraf/dist/esm/path-arg.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/path-arg.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/path-arg.js +0 -47
- package/node_modules/rimraf/dist/esm/path-arg.js.map +0 -1
- package/node_modules/rimraf/dist/esm/platform.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/platform.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/platform.js +0 -2
- package/node_modules/rimraf/dist/esm/platform.js.map +0 -1
- package/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/readdir-or-error.js +0 -14
- package/node_modules/rimraf/dist/esm/readdir-or-error.js.map +0 -1
- package/node_modules/rimraf/dist/esm/retry-busy.d.ts +0 -8
- package/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/retry-busy.js +0 -63
- package/node_modules/rimraf/dist/esm/retry-busy.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +0 -3
- package/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-manual.js +0 -6
- package/node_modules/rimraf/dist/esm/rimraf-manual.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.js +0 -187
- package/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-native.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-native.js +0 -19
- package/node_modules/rimraf/dist/esm/rimraf-native.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-posix.js +0 -118
- package/node_modules/rimraf/dist/esm/rimraf-posix.js.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/rimraf-windows.js +0 -177
- package/node_modules/rimraf/dist/esm/rimraf-windows.js.map +0 -1
- package/node_modules/rimraf/dist/esm/use-native.d.ts +0 -4
- package/node_modules/rimraf/dist/esm/use-native.d.ts.map +0 -1
- package/node_modules/rimraf/dist/esm/use-native.js +0 -16
- package/node_modules/rimraf/dist/esm/use-native.js.map +0 -1
- package/node_modules/rimraf/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/node_modules/rimraf/node_modules/balanced-match/LICENSE.md +0 -21
- package/node_modules/rimraf/node_modules/balanced-match/README.md +0 -97
- package/node_modules/rimraf/node_modules/balanced-match/index.js +0 -62
- package/node_modules/rimraf/node_modules/balanced-match/package.json +0 -48
- package/node_modules/rimraf/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/node_modules/rimraf/node_modules/brace-expansion/LICENSE +0 -21
- package/node_modules/rimraf/node_modules/brace-expansion/README.md +0 -135
- package/node_modules/rimraf/node_modules/brace-expansion/index.js +0 -203
- package/node_modules/rimraf/node_modules/brace-expansion/package.json +0 -49
- package/node_modules/rimraf/node_modules/glob/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/glob/README.md +0 -1265
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.js +0 -247
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.js +0 -119
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js +0 -68
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.js +0 -219
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.js +0 -301
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.js +0 -387
- package/node_modules/rimraf/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.d.mts +0 -3
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.mjs +0 -346
- package/node_modules/rimraf/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.d.ts +0 -388
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.js +0 -243
- package/node_modules/rimraf/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.js +0 -23
- package/node_modules/rimraf/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.d.ts +0 -24
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.js +0 -115
- package/node_modules/rimraf/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.js +0 -55
- package/node_modules/rimraf/node_modules/glob/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.d.ts +0 -76
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.js +0 -215
- package/node_modules/rimraf/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.js +0 -294
- package/node_modules/rimraf/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.d.ts +0 -97
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.js +0 -381
- package/node_modules/rimraf/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/node_modules/rimraf/node_modules/glob/package.json +0 -99
- package/node_modules/rimraf/node_modules/lru-cache/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/lru-cache/README.md +0 -331
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
- package/node_modules/rimraf/node_modules/lru-cache/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js +0 -1542
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js +0 -2
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
- package/node_modules/rimraf/node_modules/lru-cache/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/lru-cache/package.json +0 -116
- package/node_modules/rimraf/node_modules/minimatch/LICENSE +0 -15
- package/node_modules/rimraf/node_modules/minimatch/README.md +0 -491
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -20
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.js +0 -747
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -12
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.js +0 -22
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.d.ts +0 -98
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js +0 -1023
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -17
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
- package/node_modules/rimraf/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.d.ts +0 -20
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.js +0 -743
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.d.ts +0 -12
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.js +0 -18
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.d.ts +0 -98
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.js +0 -1007
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.d.ts +0 -17
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.js +0 -20
- package/node_modules/rimraf/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/node_modules/rimraf/node_modules/minimatch/package.json +0 -82
- package/node_modules/rimraf/node_modules/path-scurry/LICENSE.md +0 -55
- package/node_modules/rimraf/node_modules/path-scurry/README.md +0 -636
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1116
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/commonjs/package.json +0 -3
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.d.ts +0 -1116
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.js +0 -1979
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/index.js.map +0 -1
- package/node_modules/rimraf/node_modules/path-scurry/dist/esm/package.json +0 -3
- package/node_modules/rimraf/node_modules/path-scurry/package.json +0 -89
- package/node_modules/rimraf/package.json +0 -89
- package/node_modules/shebang-command/index.js +0 -19
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/package.json +0 -34
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/index.js +0 -2
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/package.json +0 -35
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/string-width-cjs/index.d.ts +0 -29
- package/node_modules/string-width-cjs/index.js +0 -47
- package/node_modules/string-width-cjs/license +0 -9
- package/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
- package/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
- package/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/string-width-cjs/package.json +0 -56
- package/node_modules/string-width-cjs/readme.md +0 -50
- package/node_modules/strip-ansi-cjs/index.d.ts +0 -17
- package/node_modules/strip-ansi-cjs/index.js +0 -4
- package/node_modules/strip-ansi-cjs/license +0 -9
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/strip-ansi-cjs/package.json +0 -54
- package/node_modules/strip-ansi-cjs/readme.md +0 -46
- package/node_modules/which/CHANGELOG.md +0 -166
- package/node_modules/which/LICENSE +0 -15
- package/node_modules/which/README.md +0 -54
- package/node_modules/which/bin/node-which +0 -52
- package/node_modules/which/package.json +0 -43
- package/node_modules/which/which.js +0 -125
- package/node_modules/wrap-ansi-cjs/index.js +0 -216
- package/node_modules/wrap-ansi-cjs/license +0 -9
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/wrap-ansi-cjs/package.json +0 -62
- package/node_modules/wrap-ansi-cjs/readme.md +0 -91
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReadableOptions } from "stream";
|
|
2
|
-
import { Readable } from "stream";
|
|
1
|
+
import { ReadableOptions } from "node:stream";
|
|
2
|
+
import { Readable } from "node:stream";
|
|
3
3
|
export interface ReadFromBuffersOptions extends ReadableOptions {
|
|
4
4
|
buffers: Buffer[];
|
|
5
5
|
errorAfter?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpResponse } from "@smithy/types";
|
|
2
|
-
import { IncomingMessage, Server as HttpServer, ServerResponse } from "http";
|
|
3
|
-
import { Http2Server } from "http2";
|
|
4
|
-
import { Server as HttpsServer } from "https";
|
|
2
|
+
import { IncomingMessage, Server as HttpServer, ServerResponse } from "node:http";
|
|
3
|
+
import { Http2Server } from "node:http2";
|
|
4
|
+
import { Server as HttpsServer } from "node:https";
|
|
5
5
|
export declare const createResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
|
|
6
6
|
export declare const createResponseFunctionWithDelay: (httpResp: HttpResponse, delay: number) => (request: IncomingMessage, response: ServerResponse) => void;
|
|
7
7
|
export declare const createContinueResponseFunction: (httpResp: HttpResponse) => (request: IncomingMessage, response: ServerResponse) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ClientRequest } from "http";
|
|
1
|
+
import { ClientRequest } from "node:http";
|
|
2
2
|
export declare const setConnectionTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ClientRequest } from "http";
|
|
1
|
+
import { ClientRequest } from "node:http";
|
|
2
2
|
export declare const setSocketTimeout: (request: ClientRequest, reject: (err: Error) => void, timeoutInMs?: number) => NodeJS.Timeout | number;
|
package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReadableOptions } from "stream";
|
|
2
|
-
import { Readable } from "stream";
|
|
1
|
+
import { ReadableOptions } from "node:stream";
|
|
2
|
+
import { Readable } from "node:stream";
|
|
3
3
|
export interface ReadFromBuffersOptions extends ReadableOptions {
|
|
4
4
|
buffers: Buffer[];
|
|
5
5
|
errorAfter?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpRequest } from "@smithy/types";
|
|
2
|
-
import { ClientRequest } from "http";
|
|
3
|
-
import { ClientHttp2Stream } from "http2";
|
|
2
|
+
import { ClientRequest } from "node:http";
|
|
3
|
+
import { ClientHttp2Stream } from "node:http2";
|
|
4
4
|
/**
|
|
5
5
|
* This resolves when writeBody has been called.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { HttpRequest } from "@smithy/types";
|
|
2
|
-
import type { ClientRequest } from "http";
|
|
3
|
-
import type { ClientHttp2Stream } from "http2";
|
|
2
|
+
import type { ClientRequest } from "node:http";
|
|
3
|
+
import type { ClientHttp2Stream } from "node:http2";
|
|
4
4
|
/**
|
|
5
5
|
* This resolves when writeBody has been called.
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.6",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.23.
|
|
31
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
30
|
+
"@smithy/core": "^3.23.12",
|
|
31
|
+
"@smithy/middleware-endpoint": "^4.4.26",
|
|
32
32
|
"@smithy/middleware-stack": "^4.2.12",
|
|
33
33
|
"@smithy/protocol-http": "^5.3.12",
|
|
34
34
|
"@smithy/types": "^4.13.1",
|
|
35
|
-
"@smithy/util-stream": "^4.5.
|
|
35
|
+
"@smithy/util-stream": "^4.5.20",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.42",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.12",
|
|
28
|
-
"@smithy/smithy-client": "^4.12.
|
|
28
|
+
"@smithy/smithy-client": "^4.12.6",
|
|
29
29
|
"@smithy/types": "^4.13.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.45",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.12",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.12",
|
|
30
30
|
"@smithy/property-provider": "^4.2.12",
|
|
31
|
-
"@smithy/smithy-client": "^4.12.
|
|
31
|
+
"@smithy/smithy-client": "^4.12.6",
|
|
32
32
|
"@smithy/types": "^4.13.1",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
33
|
-
"@smithy/node-http-handler": "^4.
|
|
33
|
+
"@smithy/node-http-handler": "^4.5.0",
|
|
34
34
|
"@smithy/types": "^4.13.1",
|
|
35
35
|
"@smithy/util-base64": "^4.3.2",
|
|
36
36
|
"@smithy/util-buffer-from": "^4.2.2",
|
|
@@ -20,18 +20,22 @@ const maximumZipEntrySizeInBytes = 1024 * 1024;
|
|
|
20
20
|
const maximumZipEntryCount = 1024;
|
|
21
21
|
const maximumZipBufferedReadSizeInBytes = (2 ** 31) - 1;
|
|
22
22
|
const maximumUntrustedSkipSizeInBytes = 16 * 1024 * 1024;
|
|
23
|
+
const maximumUnknownSizePayloadProbeSizeInBytes = maximumZipEntrySizeInBytes;
|
|
23
24
|
const maximumZipTextEntrySizeInBytes = maximumZipEntrySizeInBytes;
|
|
24
25
|
const maximumNestedGzipDetectionSizeInBytes = maximumUntrustedSkipSizeInBytes;
|
|
25
26
|
const maximumNestedGzipProbeDepth = 1;
|
|
26
27
|
const maximumId3HeaderSizeInBytes = maximumUntrustedSkipSizeInBytes;
|
|
27
28
|
const maximumEbmlDocumentTypeSizeInBytes = 64;
|
|
28
|
-
const maximumEbmlElementPayloadSizeInBytes =
|
|
29
|
+
const maximumEbmlElementPayloadSizeInBytes = maximumUnknownSizePayloadProbeSizeInBytes;
|
|
29
30
|
const maximumEbmlElementCount = 256;
|
|
30
31
|
const maximumPngChunkCount = 512;
|
|
32
|
+
const maximumPngStreamScanBudgetInBytes = maximumUntrustedSkipSizeInBytes;
|
|
31
33
|
const maximumAsfHeaderObjectCount = 512;
|
|
32
34
|
const maximumTiffTagCount = 512;
|
|
33
35
|
const maximumDetectionReentryCount = 256;
|
|
34
|
-
const maximumPngChunkSizeInBytes =
|
|
36
|
+
const maximumPngChunkSizeInBytes = maximumUnknownSizePayloadProbeSizeInBytes;
|
|
37
|
+
const maximumAsfHeaderPayloadSizeInBytes = maximumUnknownSizePayloadProbeSizeInBytes;
|
|
38
|
+
const maximumTiffStreamIfdOffsetInBytes = maximumUnknownSizePayloadProbeSizeInBytes;
|
|
35
39
|
const maximumTiffIfdOffsetInBytes = maximumUntrustedSkipSizeInBytes;
|
|
36
40
|
const recoverableZipErrorMessages = new Set([
|
|
37
41
|
'Unexpected signature',
|
|
@@ -141,6 +145,10 @@ function findZipDataDescriptorOffset(buffer, bytesConsumed) {
|
|
|
141
145
|
return -1;
|
|
142
146
|
}
|
|
143
147
|
|
|
148
|
+
function isPngAncillaryChunk(type) {
|
|
149
|
+
return (type.codePointAt(0) & 0x20) !== 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
144
152
|
function mergeByteChunks(chunks, totalLength) {
|
|
145
153
|
const merged = new Uint8Array(totalLength);
|
|
146
154
|
let offset = 0;
|
|
@@ -193,6 +201,10 @@ async function readZipDataDescriptorEntryWithLimit(zipHandler, {shouldBuffer, ma
|
|
|
193
201
|
}
|
|
194
202
|
}
|
|
195
203
|
|
|
204
|
+
if (!hasUnknownFileSize(zipHandler.tokenizer)) {
|
|
205
|
+
zipHandler.knownSizeDescriptorScannedBytes += bytesConsumed;
|
|
206
|
+
}
|
|
207
|
+
|
|
196
208
|
if (!shouldBuffer) {
|
|
197
209
|
return;
|
|
198
210
|
}
|
|
@@ -200,16 +212,30 @@ async function readZipDataDescriptorEntryWithLimit(zipHandler, {shouldBuffer, ma
|
|
|
200
212
|
return mergeByteChunks(chunks, bytesConsumed);
|
|
201
213
|
}
|
|
202
214
|
|
|
203
|
-
|
|
215
|
+
function getRemainingZipScanBudget(zipHandler, startOffset) {
|
|
216
|
+
if (hasUnknownFileSize(zipHandler.tokenizer)) {
|
|
217
|
+
return Math.max(0, maximumUntrustedSkipSizeInBytes - (zipHandler.tokenizer.position - startOffset));
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
return Math.max(0, maximumZipEntrySizeInBytes - zipHandler.knownSizeDescriptorScannedBytes);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
async function readZipEntryData(zipHandler, zipHeader, {shouldBuffer, maximumDescriptorLength = maximumZipEntrySizeInBytes} = {}) {
|
|
204
224
|
if (
|
|
205
225
|
zipHeader.dataDescriptor
|
|
206
226
|
&& zipHeader.compressedSize === 0
|
|
207
227
|
) {
|
|
208
|
-
return readZipDataDescriptorEntryWithLimit(zipHandler, {
|
|
228
|
+
return readZipDataDescriptorEntryWithLimit(zipHandler, {
|
|
229
|
+
shouldBuffer,
|
|
230
|
+
maximumLength: maximumDescriptorLength,
|
|
231
|
+
});
|
|
209
232
|
}
|
|
210
233
|
|
|
211
234
|
if (!shouldBuffer) {
|
|
212
|
-
await zipHandler.tokenizer
|
|
235
|
+
await safeIgnore(zipHandler.tokenizer, zipHeader.compressedSize, {
|
|
236
|
+
maximumLength: hasUnknownFileSize(zipHandler.tokenizer) ? maximumZipEntrySizeInBytes : zipHandler.tokenizer.fileInfo.size,
|
|
237
|
+
reason: 'ZIP entry compressed data',
|
|
238
|
+
});
|
|
213
239
|
return;
|
|
214
240
|
}
|
|
215
241
|
|
|
@@ -244,7 +270,13 @@ ZipHandler.prototype.inflate = async function (zipHeader, fileData, callback) {
|
|
|
244
270
|
ZipHandler.prototype.unzip = async function (fileCallback) {
|
|
245
271
|
let stop = false;
|
|
246
272
|
let zipEntryCount = 0;
|
|
273
|
+
const zipScanStart = this.tokenizer.position;
|
|
274
|
+
this.knownSizeDescriptorScannedBytes = 0;
|
|
247
275
|
do {
|
|
276
|
+
if (hasExceededUnknownSizeScanBudget(this.tokenizer, zipScanStart, maximumUntrustedSkipSizeInBytes)) {
|
|
277
|
+
throw new ParserHardLimitError(`ZIP stream probing exceeds ${maximumUntrustedSkipSizeInBytes} bytes`);
|
|
278
|
+
}
|
|
279
|
+
|
|
248
280
|
const zipHeader = await this.readLocalFileHeader();
|
|
249
281
|
if (!zipHeader) {
|
|
250
282
|
break;
|
|
@@ -260,6 +292,7 @@ ZipHandler.prototype.unzip = async function (fileCallback) {
|
|
|
260
292
|
await this.tokenizer.ignore(zipHeader.extraFieldLength);
|
|
261
293
|
const fileData = await readZipEntryData(this, zipHeader, {
|
|
262
294
|
shouldBuffer: Boolean(next.handler),
|
|
295
|
+
maximumDescriptorLength: Math.min(maximumZipEntrySizeInBytes, getRemainingZipScanBudget(this, zipScanStart)),
|
|
263
296
|
});
|
|
264
297
|
|
|
265
298
|
if (next.handler) {
|
|
@@ -273,6 +306,10 @@ ZipHandler.prototype.unzip = async function (fileCallback) {
|
|
|
273
306
|
throw new Error(`Expected data-descriptor-signature at position ${this.tokenizer.position - dataDescriptor.length}`);
|
|
274
307
|
}
|
|
275
308
|
}
|
|
309
|
+
|
|
310
|
+
if (hasExceededUnknownSizeScanBudget(this.tokenizer, zipScanStart, maximumUntrustedSkipSizeInBytes)) {
|
|
311
|
+
throw new ParserHardLimitError(`ZIP stream probing exceeds ${maximumUntrustedSkipSizeInBytes} bytes`);
|
|
312
|
+
}
|
|
276
313
|
} while (!stop);
|
|
277
314
|
};
|
|
278
315
|
|
|
@@ -1001,7 +1038,10 @@ export class FileTypeParser {
|
|
|
1001
1038
|
// Keep ID3 probing bounded for unknown-size streams to avoid attacker-controlled large skips.
|
|
1002
1039
|
|| (
|
|
1003
1040
|
isUnknownFileSize
|
|
1004
|
-
&&
|
|
1041
|
+
&& (
|
|
1042
|
+
id3HeaderLength > maximumId3HeaderSizeInBytes
|
|
1043
|
+
|| (tokenizer.position + id3HeaderLength) > maximumId3HeaderSizeInBytes
|
|
1044
|
+
)
|
|
1005
1045
|
)
|
|
1006
1046
|
) {
|
|
1007
1047
|
return;
|
|
@@ -1454,6 +1494,10 @@ export class FileTypeParser {
|
|
|
1454
1494
|
return;
|
|
1455
1495
|
}
|
|
1456
1496
|
|
|
1497
|
+
if (hasExceededUnknownSizeScanBudget(tokenizer, ebmlScanStart, maximumUntrustedSkipSizeInBytes)) {
|
|
1498
|
+
return;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1457
1501
|
const previousPosition = tokenizer.position;
|
|
1458
1502
|
const element = await readElement();
|
|
1459
1503
|
|
|
@@ -1493,6 +1537,7 @@ export class FileTypeParser {
|
|
|
1493
1537
|
}
|
|
1494
1538
|
|
|
1495
1539
|
const rootElement = await readElement();
|
|
1540
|
+
const ebmlScanStart = tokenizer.position;
|
|
1496
1541
|
const documentType = await readChildren(rootElement.len);
|
|
1497
1542
|
|
|
1498
1543
|
switch (documentType) {
|
|
@@ -1875,13 +1920,14 @@ export class FileTypeParser {
|
|
|
1875
1920
|
const isUnknownPngStream = hasUnknownFileSize(tokenizer);
|
|
1876
1921
|
const pngScanStart = tokenizer.position;
|
|
1877
1922
|
let pngChunkCount = 0;
|
|
1923
|
+
let hasSeenImageHeader = false;
|
|
1878
1924
|
do {
|
|
1879
1925
|
pngChunkCount++;
|
|
1880
1926
|
if (pngChunkCount > maximumPngChunkCount) {
|
|
1881
1927
|
break;
|
|
1882
1928
|
}
|
|
1883
1929
|
|
|
1884
|
-
if (hasExceededUnknownSizeScanBudget(tokenizer, pngScanStart,
|
|
1930
|
+
if (hasExceededUnknownSizeScanBudget(tokenizer, pngScanStart, maximumPngStreamScanBudgetInBytes)) {
|
|
1885
1931
|
break;
|
|
1886
1932
|
}
|
|
1887
1933
|
|
|
@@ -1891,18 +1937,34 @@ export class FileTypeParser {
|
|
|
1891
1937
|
return; // Invalid chunk length
|
|
1892
1938
|
}
|
|
1893
1939
|
|
|
1940
|
+
if (chunk.type === 'IHDR') {
|
|
1941
|
+
// PNG requires the first real image header to be a 13-byte IHDR chunk.
|
|
1942
|
+
if (chunk.length !== 13) {
|
|
1943
|
+
return;
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
hasSeenImageHeader = true;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1894
1949
|
switch (chunk.type) {
|
|
1895
1950
|
case 'IDAT':
|
|
1896
1951
|
return pngFileType;
|
|
1897
1952
|
case 'acTL':
|
|
1898
1953
|
return apngFileType;
|
|
1899
1954
|
default:
|
|
1955
|
+
if (
|
|
1956
|
+
!hasSeenImageHeader
|
|
1957
|
+
&& chunk.type !== 'CgBI'
|
|
1958
|
+
) {
|
|
1959
|
+
return;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1900
1962
|
if (
|
|
1901
1963
|
isUnknownPngStream
|
|
1902
1964
|
&& chunk.length > maximumPngChunkSizeInBytes
|
|
1903
1965
|
) {
|
|
1904
1966
|
// Avoid huge attacker-controlled skips when probing unknown-size streams.
|
|
1905
|
-
return;
|
|
1967
|
+
return hasSeenImageHeader && isPngAncillaryChunk(chunk.type) ? pngFileType : undefined;
|
|
1906
1968
|
}
|
|
1907
1969
|
|
|
1908
1970
|
try {
|
|
@@ -2158,8 +2220,16 @@ export class FileTypeParser {
|
|
|
2158
2220
|
break;
|
|
2159
2221
|
}
|
|
2160
2222
|
|
|
2223
|
+
if (
|
|
2224
|
+
isUnknownFileSize
|
|
2225
|
+
&& payload > maximumAsfHeaderPayloadSizeInBytes
|
|
2226
|
+
) {
|
|
2227
|
+
isMalformedAsf = true;
|
|
2228
|
+
break;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2161
2231
|
await safeIgnore(tokenizer, payload, {
|
|
2162
|
-
maximumLength: isUnknownFileSize ?
|
|
2232
|
+
maximumLength: isUnknownFileSize ? maximumAsfHeaderPayloadSizeInBytes : tokenizer.fileInfo.size,
|
|
2163
2233
|
reason: 'ASF header payload',
|
|
2164
2234
|
});
|
|
2165
2235
|
|
|
@@ -2625,6 +2695,13 @@ export class FileTypeParser {
|
|
|
2625
2695
|
}
|
|
2626
2696
|
}
|
|
2627
2697
|
|
|
2698
|
+
if (
|
|
2699
|
+
hasUnknownFileSize(this.tokenizer)
|
|
2700
|
+
&& ifdOffset > maximumTiffStreamIfdOffsetInBytes
|
|
2701
|
+
) {
|
|
2702
|
+
return tiffFileType;
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2628
2705
|
const maximumTiffOffset = hasUnknownFileSize(this.tokenizer) ? maximumTiffIfdOffsetInBytes : this.tokenizer.fileInfo.size;
|
|
2629
2706
|
|
|
2630
2707
|
try {
|
|
@@ -4,6 +4,8 @@ Node.js specific entry point.
|
|
|
4
4
|
|
|
5
5
|
import {ReadableStream as WebReadableStream} from 'node:stream/web';
|
|
6
6
|
import {pipeline, PassThrough, Readable} from 'node:stream';
|
|
7
|
+
import fs from 'node:fs/promises';
|
|
8
|
+
import {constants as fileSystemConstants} from 'node:fs';
|
|
7
9
|
import * as strtok3 from 'strtok3';
|
|
8
10
|
import {
|
|
9
11
|
FileTypeParser as DefaultFileTypeParser,
|
|
@@ -42,7 +44,21 @@ export class FileTypeParser extends DefaultFileTypeParser {
|
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
async fromFile(path) {
|
|
45
|
-
|
|
47
|
+
// TODO: Remove this when `strtok3.fromFile()` safely rejects non-regular filesystem objects without a pathname race.
|
|
48
|
+
const fileHandle = await fs.open(path, fileSystemConstants.O_RDONLY | fileSystemConstants.O_NONBLOCK);
|
|
49
|
+
const fileStat = await fileHandle.stat();
|
|
50
|
+
if (!fileStat.isFile()) {
|
|
51
|
+
await fileHandle.close();
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const tokenizer = new strtok3.FileTokenizer(fileHandle, {
|
|
56
|
+
...this.getTokenizerOptions(),
|
|
57
|
+
fileInfo: {
|
|
58
|
+
path,
|
|
59
|
+
size: fileStat.size,
|
|
60
|
+
},
|
|
61
|
+
});
|
|
46
62
|
try {
|
|
47
63
|
return await super.fromTokenizer(tokenizer);
|
|
48
64
|
} finally {
|
|
@@ -10,6 +10,9 @@ This package is for detecting binary-based file formats, not text-based formats
|
|
|
10
10
|
|
|
11
11
|
We accept contributions for commonly used modern file formats, not historical or obscure ones. Open an issue first for discussion.
|
|
12
12
|
|
|
13
|
+
> [!IMPORTANT]
|
|
14
|
+
> NO SECURITY REPORTS WILL BE ACCEPTED RIGHT NOW. I'm currently hardening the parser and all the low-quality AI-generated security reports is just a huge waste of time.
|
|
15
|
+
|
|
13
16
|
## Install
|
|
14
17
|
|
|
15
18
|
```sh
|