@justjoshn/pi-pstack-v2 0.1.2 → 0.1.4
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 +2 -3
- package/docs/guide/01-setup.md +4 -4
- package/docs/guide/02-poteto-mode.md +3 -3
- package/docs/guide/04-design.md +4 -10
- package/docs/guide/05-build-and-clean.md +1 -1
- package/docs/guide/06-verify-and-ship.md +2 -2
- package/docs/guide/07-overnight.md +5 -5
- package/docs/guide/09-make-it-yours.md +1 -1
- package/docs/pi-mechanisms.md +12 -11
- package/package.json +2 -3
- package/skills/architect/SKILL.md +2 -72
- package/skills/arena/SKILL.md +2 -2
- package/skills/benchmark-checklist/SKILL.md +1 -1
- package/skills/poteto-help/SKILL.md +5 -6
- package/skills/poteto-mode/SKILL.md +22 -67
- package/skills/poteto-mode/playbooks/autopilot-full.md +1 -1
- package/skills/poteto-mode/playbooks/autopilot-stack.md +1 -1
- package/skills/poteto-mode/playbooks/babysit.md +9 -21
- package/skills/poteto-mode/playbooks/bug-fix.md +1 -1
- package/skills/poteto-mode/playbooks/eval.md +1 -1
- package/skills/poteto-mode/playbooks/feature.md +2 -2
- package/skills/poteto-mode/playbooks/multi-phase-plan.md +5 -149
- package/skills/poteto-mode/playbooks/opening-a-pr.md +3 -26
- package/skills/poteto-mode/playbooks/refactoring.md +1 -1
- package/skills/poteto-mode/playbooks/shipping.md +1 -1
- package/skills/poteto-mode/scripts/node_modules/@types/node/LICENSE +21 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/README.md +15 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/assert/strict.d.ts +68 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/assert.d.ts +1077 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/buffer.d.ts +1799 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/child_process.d.ts +1362 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/cluster.d.ts +432 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/console.d.ts +93 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/constants.d.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/crypto.d.ts +3954 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/dgram.d.ts +537 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/diagnostics_channel.d.ts +794 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/dns.d.ts +876 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/domain.d.ts +150 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/events.d.ts +1008 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ffi.d.ts +486 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/fs/promises.d.ts +1481 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/fs.d.ts +4786 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/globals.d.ts +150 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/http.d.ts +2172 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/http2.d.ts +2489 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/https.d.ts +400 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/index.d.ts +115 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/inspector.d.ts +264 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/module.d.ts +726 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/net.d.ts +970 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/os.d.ts +498 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/package.json +155 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/path/posix.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/path/win32.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/path.d.ts +178 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/perf_hooks.d.ts +604 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/process.d.ts +2217 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/punycode.d.ts +89 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/querystring.d.ts +139 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/quic.d.ts +978 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/readline.d.ts +508 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/repl.d.ts +420 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/sea.d.ts +47 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/sqlite.d.ts +1123 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/stream/iter.d.ts +451 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/stream/web.d.ts +300 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/stream.d.ts +1806 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/test.d.ts +2389 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/timers.d.ts +149 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/tls.d.ts +1193 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/trace_events.d.ts +103 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.6/index.d.ts +117 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/ts5.7/index.d.ts +117 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/tty.d.ts +225 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/url.d.ts +556 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/util/types.d.ts +558 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/util.d.ts +1677 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/v8.d.ts +1062 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/vm.d.ts +1136 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/wasi.d.ts +131 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/domexception.d.ts +83 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/worker_threads.d.ts +669 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/skills/poteto-mode/scripts/node_modules/@types/node/zlib.d.ts +589 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/LICENSE +55 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/NOTICE.txt +436 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/README.md +3 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.d.ts +20 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.decorators.d.ts +382 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.decorators.legacy.d.ts +20 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.asynciterable.d.ts +18 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.d.ts +45125 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.dom.iterable.d.ts +18 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.collection.d.ts +159 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.core.d.ts +595 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.d.ts +26 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.generator.d.ts +75 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.iterable.d.ts +603 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.promise.d.ts +79 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.proxy.d.ts +126 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.reflect.d.ts +142 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.symbol.d.ts +44 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.array.include.d.ts +114 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.full.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2016.intl.d.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.arraybuffer.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.d.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.date.d.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.full.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.intl.d.ts +42 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.object.d.ts +47 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.sharedmemory.d.ts +133 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.string.d.ts +47 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2017.typedarrays.d.ts +51 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.asyncgenerator.d.ts +75 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.asynciterable.d.ts +51 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.intl.d.ts +81 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.promise.d.ts +28 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2018.regexp.d.ts +35 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.array.d.ts +77 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.intl.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.object.d.ts +31 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.string.d.ts +35 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2019.symbol.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.bigint.d.ts +763 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.d.ts +25 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.date.d.ts +40 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.intl.d.ts +472 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.number.d.ts +26 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.promise.d.ts +45 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.sharedmemory.d.ts +97 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.string.d.ts +42 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.intl.d.ts +164 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.promise.d.ts +46 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.string.d.ts +31 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2021.weakref.d.ts +76 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.array.d.ts +119 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.error.d.ts +73 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.intl.d.ts +143 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.object.d.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.regexp.d.ts +37 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2022.string.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.array.d.ts +922 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.collection.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.d.ts +20 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2023.intl.d.ts +62 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.arraybuffer.d.ts +63 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.collection.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.d.ts +24 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.object.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.promise.d.ts +33 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.regexp.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.sharedmemory.d.ts +66 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2024.string.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.collection.d.ts +94 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.float16.d.ts +443 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.intl.d.ts +200 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.iterator.d.ts +146 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.promise.d.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es2025.regexp.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es5.d.ts +4599 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.es6.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.array.d.ts +33 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.collection.d.ts +47 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.date.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.decorators.d.ts +26 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.disposable.d.ts +191 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.error.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.full.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.intl.d.ts +107 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.sharedmemory.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.temporal.d.ts +485 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.esnext.typedarrays.d.ts +90 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.scripthost.d.ts +320 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.asynciterable.d.ts +18 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.d.ts +15606 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.importscripts.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/lib.webworker.iterable.d.ts +18 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/lib/tsc +0 -0
- package/skills/poteto-mode/scripts/node_modules/@typescript/typescript-darwin-arm64/package.json +45 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/README.md +33 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/bun.d.ts +9749 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/bun.ns.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/bundle.d.ts +74 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/deprecated.d.ts +184 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/devserver.d.ts +187 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/README.md +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/bytecode.mdx +447 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/css.mdx +1024 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/esbuild.mdx +304 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/executables.mdx +1318 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/fullstack.mdx +1086 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/hot-reloading.mdx +229 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/html-static.mdx +498 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/index.mdx +1840 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/loaders.mdx +451 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/macros.mdx +328 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/minifier.mdx +1286 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/plugins.mdx +477 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/bundler/standalone-html.mdx +314 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/feedback.mdx +75 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +29 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +26 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +27 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +41 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +27 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +27 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +18 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +18 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +204 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +161 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +193 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/railway.mdx +145 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/render.mdx +82 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/deployment/vercel.mdx +97 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +82 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +80 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +151 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +195 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +31 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/express.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +261 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +47 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +92 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +234 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +60 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +103 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +96 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +55 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +169 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +164 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +114 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/react.mdx +52 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +97 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +54 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +62 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +49 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +54 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +138 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +114 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +791 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +87 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +77 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +71 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +97 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/cluster.mdx +69 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +35 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/fetch.mdx +26 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/file-uploads.mdx +97 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/hot.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/proxy.mdx +50 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/server.mdx +48 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/simple.mdx +20 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/sse.mdx +91 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-file.mdx +50 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +49 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +22 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/http/tls.mdx +32 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/index.mdx +10 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-dev.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-git.mdx +40 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-optional.mdx +27 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-peer.mdx +45 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add-tarball.mdx +35 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/add.mdx +44 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +76 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/cicd.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/custom-registry.mdx +32 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +230 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +48 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/npm-alias.mdx +25 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/registry-scope.mdx +40 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/trusted.mdx +52 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/workspaces.mdx +70 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/install/yarnlock.mdx +51 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/argv.mdx +66 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +18 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/ipc.mdx +69 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +15 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/os-signals.mdx +31 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +34 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/spawn.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/process/stdin.mdx +62 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +30 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/buffer.mdx +21 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/exists.mdx +18 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/json.mdx +19 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/mime.mdx +22 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/stream.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/string.mdx +24 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +23 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/read-file/watch.mdx +66 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +295 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/cicd.mdx +45 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +61 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +151 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +39 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +21 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-html.mdx +15 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-json.mdx +46 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-json5.mdx +74 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +32 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +104 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/read-env.mdx +37 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/set-env.mdx +51 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/shell.mdx +42 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/timezone.mdx +38 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +31 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/typescript.mdx +56 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +47 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +103 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +13 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +13 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +14 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +14 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +13 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-array.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-blob.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-json.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-string.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +24 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/bail.mdx +24 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +146 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +67 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/coverage.mdx +49 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/happy-dom.mdx +73 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +125 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/mock-clock.mdx +50 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/mock-functions.mdx +70 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/rerun-each.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/run-tests.mdx +116 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/skip-tests.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/snapshot.mdx +102 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/spy-on.mdx +49 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/svelte-test.mdx +113 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/testing-library.mdx +93 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/timeout.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/todo-tests.mdx +74 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +49 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/test/watch-mode.mdx +24 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/base64.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/deep-equals.mdx +41 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/deflate.mdx +20 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/detect-bun.mdx +28 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/entrypoint.mdx +19 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/escape-html.mdx +24 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/gzip.mdx +20 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +56 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +15 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +15 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +15 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +25 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/main.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/sleep.mdx +24 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/upgrade.mdx +93 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/version.mdx +23 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/compression.mdx +33 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/context.mdx +79 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +43 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/websocket/simple.mdx +38 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/append.mdx +54 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/basic.mdx +46 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/blob.mdx +30 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/cat.mdx +19 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +18 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/filesink.mdx +54 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/response.mdx +19 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/stdout.mdx +23 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/stream.mdx +19 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/guides/write-file/unlink.mdx +18 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/index.mdx +133 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/installation.mdx +373 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/bunx.mdx +91 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/catalogs.mdx +292 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/add.mdx +179 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/audit.mdx +60 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/info.mdx +70 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/install.mdx +591 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/link.mdx +61 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/outdated.mdx +197 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/patch.mdx +69 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/pm.mdx +323 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/publish.mdx +131 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/remove.mdx +16 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/update.mdx +140 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/cli/why.mdx +84 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/filter.mdx +127 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/global-cache.mdx +72 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/global-store.mdx +149 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/isolated-installs.mdx +224 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/lifecycle.mdx +77 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/lockfile.mdx +64 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/npmrc.mdx +245 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/overrides.mdx +83 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/scopes-registries.mdx +35 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/security-scanner-api.mdx +95 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/pm/workspaces.mdx +115 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/benchmarking.mdx +296 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/bindgen.mdx +223 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/building-windows.mdx +143 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/contributing.mdx +380 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/feedback.mdx +20 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/license.mdx +78 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/project/roadmap.mdx +8 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/quickstart.mdx +251 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/archive.mdx +452 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/auto-install.mdx +97 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/binary-data.mdx +846 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/bun-apis.mdx +61 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/bunfig.mdx +872 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/c-compiler.mdx +204 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/child-process.mdx +668 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/color.mdx +267 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/console.mdx +67 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/cookies.mdx +454 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/cron.mdx +447 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/csrf.mdx +171 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/debugger.mdx +335 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/environment-variables.mdx +231 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/ffi.mdx +567 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-io.mdx +306 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-system-router.mdx +118 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/file-types.mdx +482 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/glob.mdx +181 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/globals.mdx +72 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/hashing.mdx +315 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/html-rewriter.mdx +333 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/cookies.mdx +79 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/error-handling.mdx +40 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/metrics.mdx +36 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/routing.mdx +289 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/server.mdx +716 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/tls.mdx +101 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/http/websockets.mdx +414 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/image.mdx +211 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/index.mdx +223 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/json5.mdx +271 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/jsonl.mdx +188 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/jsx.mdx +115 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/markdown.mdx +381 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/module-resolution.mdx +374 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/dns.mdx +111 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/fetch.mdx +484 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/tcp.mdx +239 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/networking/udp.mdx +180 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/node-api.mdx +19 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +468 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/plugins.mdx +419 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/redis.mdx +583 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/repl.mdx +176 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/s3.mdx +881 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/secrets.mdx +340 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/semver.mdx +57 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/shell.mdx +637 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/sql.mdx +1404 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/sqlite.mdx +746 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/streams.mdx +232 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/templating/create.mdx +268 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/templating/init.mdx +58 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/toml.mdx +238 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/transpiler.mdx +288 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/typescript.mdx +59 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/utils.mdx +1010 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/watch-mode.mdx +161 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/web-apis.mdx +29 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/webview.mdx +631 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/workers.mdx +314 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/runtime/yaml.mdx +470 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/add.mdx +166 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/build.mdx +197 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/bunx.mdx +49 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/feedback.mdx +17 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/init.mdx +84 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/install.mdx +173 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/link.mdx +163 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/outdated.mdx +140 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/patch.mdx +171 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/publish.mdx +198 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/remove.mdx +146 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/run.mdx +305 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/test.mdx +105 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/snippets/cli/update.mdx +144 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/code-coverage.mdx +409 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/configuration.mdx +574 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/dates-times.mdx +129 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/discovery.mdx +90 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/dom.mdx +226 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/index.mdx +409 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/lifecycle.mdx +366 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/mocks.mdx +637 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/reporters.mdx +126 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/runtime-behavior.mdx +342 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/snapshots.mdx +434 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/test/writing-tests.mdx +672 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/typescript-6.mdx +79 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/docs/typescript.mdx +59 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/extensions.d.ts +40 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/fetch.d.ts +80 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/ffi.d.ts +1136 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/globals.d.ts +2094 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/html-rewriter.d.ts +186 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/index.d.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/jsc.d.ts +233 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/jsx.d.ts +11 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/overrides.d.ts +382 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/package.json +37 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/redis.d.ts +3352 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/s3.d.ts +1354 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/security.d.ts +101 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/serve.d.ts +1311 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/shell.d.ts +380 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/sql.d.ts +887 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/sqlite.d.ts +1322 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/test-globals.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/test.d.ts +2392 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/branding.d.ts +283 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/index.d.ts +1207 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/messages.d.ts +395 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/overloads.d.ts +669 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/vendor/expect-type/utils.d.ts +431 -0
- package/skills/poteto-mode/scripts/node_modules/bun-types/wasm.d.ts +198 -0
- package/skills/poteto-mode/scripts/node_modules/commander/LICENSE +22 -0
- package/skills/poteto-mode/scripts/node_modules/commander/Readme.md +1159 -0
- package/skills/poteto-mode/scripts/node_modules/commander/esm.mjs +16 -0
- package/skills/poteto-mode/scripts/node_modules/commander/index.js +24 -0
- package/skills/poteto-mode/scripts/node_modules/commander/lib/argument.js +149 -0
- package/skills/poteto-mode/scripts/node_modules/commander/lib/command.js +2778 -0
- package/skills/poteto-mode/scripts/node_modules/commander/lib/error.js +39 -0
- package/skills/poteto-mode/scripts/node_modules/commander/lib/help.js +747 -0
- package/skills/poteto-mode/scripts/node_modules/commander/lib/option.js +379 -0
- package/skills/poteto-mode/scripts/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/skills/poteto-mode/scripts/node_modules/commander/package-support.json +16 -0
- package/skills/poteto-mode/scripts/node_modules/commander/package.json +82 -0
- package/skills/poteto-mode/scripts/node_modules/commander/typings/esm.d.mts +3 -0
- package/skills/poteto-mode/scripts/node_modules/commander/typings/index.d.ts +1113 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/LICENSE +55 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/NOTICE.txt +436 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/README.md +49 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/bin/tsc +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.d.ts +529 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.js +1657 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/api.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.d.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.js +211 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/client.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.d.ts +310 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.js +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/async/types.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.d.ts +109 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.js +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/compilerOptions.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.js +109 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/fs.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.d.ts +15 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.js +74 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.js +287 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/encoder.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.d.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.js +213 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/msgpack.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.d.ts +76 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.d.ts +182 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.js +835 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +62 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.js +122 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.infrastructure.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.js +298 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/node.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.d.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.d.ts +4 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.js +241 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.js +30 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/protocol.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.d.ts +6 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.js +61 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/node/wtf8.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.d.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.js +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/options.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.d.ts +110 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.js +508 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/path.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.d.ts +239 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.js +37 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/proto.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.d.ts +79 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.js +169 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sourceFileCache.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.d.ts +529 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.js +1665 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/api.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.js +124 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/client.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.d.ts +310 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.js +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/sync/types.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.d.ts +114 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.js +508 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/syncChannel.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.d.ts +175 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.js +149 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/api/timing.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.d.ts +100 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.d.ts +1161 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.js +4 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.js +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/ast.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.js +596 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/astnav.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.d.ts +16 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.js +104 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/clone.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.d.ts +520 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.js +3057 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/factory.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.d.ts +20 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.js +20 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/index.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.d.ts +35 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.d.ts +329 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.js +1103 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.js +233 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/is.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.d.ts +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.js +202 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/jsdoc.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.d.ts +97 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.js +2230 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/scanner.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.d.ts +17 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.js +67 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/utils.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.d.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.d.ts +50 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.js +978 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.generated.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.js +47 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/ast/visitor.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +129 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.js +132 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.js +130 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/characterCodes.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +6 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.js +6 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/commentDirectiveType.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +28 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.js +30 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.js +30 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/completionItemKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/diagnosticCategory.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +12 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.js +14 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.js +14 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/elementFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.js +25 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.js +25 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/internalSymbolName.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.js +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.js +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/jsxEmit.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.js +6 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.js +6 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/languageVariant.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +42 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.js +44 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.js +44 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/modifierFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +17 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.js +19 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.js +19 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.js +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +6 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.js +8 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.js +8 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/newLineKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +36 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +38 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.js +38 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +44 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.js +46 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.js +46 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/nodeFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +50 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.js +52 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.js +52 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/objectFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +16 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +18 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.js +18 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +13 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +14 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.js +14 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.js +12 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.js +12 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +17 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.js +18 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.js +18 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/scriptTarget.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +15 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.js +17 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.js +17 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.js +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.js +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/signatureKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +71 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.js +73 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.js +73 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/symbolFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +389 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.js +391 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.js +391 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/syntaxKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.js +32 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.js +32 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/tokenFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +76 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.js +78 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.js +78 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typeFlags.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.js +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/enums/typePredicateKind.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.d.ts +23 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.d.ts.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.js +25 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/dist/internal/utils.js.map +1 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/lib/getExePath.d.ts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/lib/getExePath.js +70 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/lib/tsc.js +28 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/lib/version.cjs +3 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/lib/version.d.cts +2 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/package.json +87 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +11 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/README.md +54 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +83 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +210 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +87 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +132 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +1271 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +16 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +70 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +135 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +34 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +412 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +155 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +246 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +157 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +436 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +23 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +74 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +77 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +58 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +289 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +163 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/package.json +54 -0
- package/skills/poteto-mode/scripts/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +5 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/LICENSE +21 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/README.md +6 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/agent.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/api.d.ts +43 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/cache.d.ts +36 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/client-stats.d.ts +15 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/client.d.ts +129 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/connector.d.ts +36 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/content-type.d.ts +21 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/cookies.d.ts +30 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/dispatcher.d.ts +253 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/errors.d.ts +177 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/eventsource.d.ts +66 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/fetch.d.ts +231 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/formdata.d.ts +108 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/global-origin.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/handlers.d.ts +14 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/header.d.ts +165 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/index.d.ts +93 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/interceptors.d.ts +80 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/mock-client.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/package.json +55 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/patch.d.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/pool.d.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/readable.d.ts +68 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/util.d.ts +18 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/utility.d.ts +7 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/webidl.d.ts +346 -0
- package/skills/poteto-mode/scripts/node_modules/undici-types/websocket.d.ts +188 -0
- package/skills/poteto-mode/scripts/package.json +1 -1
- package/skills/poteto-mode/worker.md +11 -0
- package/skills/principle-attack-the-premise/SKILL.md +4 -10
- package/skills/principle-boundary-discipline/SKILL.md +2 -25
- package/skills/principle-build-the-lever/SKILL.md +6 -15
- package/skills/principle-explain-the-number/SKILL.md +5 -9
- package/skills/principle-fix-root-causes/SKILL.md +5 -12
- package/skills/principle-foundational-thinking/SKILL.md +3 -11
- package/skills/principle-make-operations-idempotent/SKILL.md +4 -11
- package/skills/principle-minimize-reader-load/SKILL.md +5 -8
- package/skills/principle-model-the-domain/SKILL.md +4 -13
- package/skills/principle-prove-it-works/SKILL.md +2 -13
- package/skills/principle-separate-before-serializing-shared-state/SKILL.md +2 -7
- package/skills/principle-sequence-verifiable-units/SKILL.md +3 -7
- package/skills/principle-test-behavior-not-implementation/SKILL.md +4 -8
- package/skills/principle-type-system-discipline/SKILL.md +6 -4
- package/skills/reflect/SKILL.md +5 -57
- package/skills/setup-pstack/SKILL.md +15 -20
- package/skills/show-me-your-work/SKILL.md +1 -1
- package/skills/technical-writing/SKILL.md +33 -69
- package/skills/unslop/SKILL.md +28 -50
- package/src/credentials.ts +4 -4
- package/src/index.ts +71 -17
- package/src/sandbox.ts +11 -0
- package/src/sweep.ts +24 -9
- package/src/transcript.ts +5 -2
- package/rules/no-inline-imports.md +0 -8
- package/rules/typescript-exhaustive-switch.md +0 -6
- package/skills/architect/references/design-red-flags.md +0 -57
- package/skills/architect/references/rationale-template.md +0 -35
- package/skills/architect/references/runner-prompt.md +0 -20
- package/skills/poteto-mode/playbooks/orchestrate.md +0 -25
- package/skills/poteto-mode/scripts/check-plan.mjs +0 -205
- package/skills/poteto-mode/scripts/check-plan.test.ts +0 -110
- package/skills/reflect/references/divergent-reviewer.md +0 -38
- package/skills/reflect/references/judgment-reviewer.md +0 -37
- package/skills/reflect/references/synthesizer.md +0 -56
- package/skills/reflect/references/tooling-reviewer.md +0 -48
|
@@ -0,0 +1,1010 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Utils
|
|
3
|
+
description: Use Bun's utility functions to work with the runtime
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## `Bun.version`
|
|
7
|
+
|
|
8
|
+
A `string` containing the version of the `bun` CLI that is currently running.
|
|
9
|
+
|
|
10
|
+
```ts terminal icon="terminal"
|
|
11
|
+
Bun.version;
|
|
12
|
+
// => "1.3.3"
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## `Bun.revision`
|
|
16
|
+
|
|
17
|
+
The git commit of [Bun](https://github.com/oven-sh/bun) that was compiled to create the current `bun` CLI.
|
|
18
|
+
|
|
19
|
+
```ts terminal icon="terminal"
|
|
20
|
+
Bun.revision;
|
|
21
|
+
// => "f02561530fda1ee9396f51c8bc99b38716e38296"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## `Bun.env`
|
|
25
|
+
|
|
26
|
+
An alias for `process.env`.
|
|
27
|
+
|
|
28
|
+
## `Bun.main`
|
|
29
|
+
|
|
30
|
+
An absolute path to the entrypoint of the current program (the file that was executed with `bun run`).
|
|
31
|
+
|
|
32
|
+
```ts script.ts
|
|
33
|
+
Bun.main;
|
|
34
|
+
// /path/to/script.ts
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
This is particular useful for determining whether a script is being directly executed, as opposed to being imported by another script.
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
if (import.meta.path === Bun.main) {
|
|
41
|
+
// this script is being directly executed
|
|
42
|
+
} else {
|
|
43
|
+
// this file is being imported from another script
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
This is analogous to the [`require.main = module` trick](https://stackoverflow.com/questions/6398196/detect-if-called-through-require-or-directly-by-command-line) in Node.js.
|
|
48
|
+
|
|
49
|
+
## `Bun.sleep()`
|
|
50
|
+
|
|
51
|
+
`Bun.sleep(ms: number)`
|
|
52
|
+
|
|
53
|
+
Returns a `Promise` that resolves after the given number of milliseconds.
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
console.log("hello");
|
|
57
|
+
await Bun.sleep(1000);
|
|
58
|
+
console.log("hello one second later!");
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Alternatively, pass a `Date` object to receive a `Promise` that resolves at that point in time.
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
const oneSecondInFuture = new Date(Date.now() + 1000);
|
|
65
|
+
|
|
66
|
+
console.log("hello");
|
|
67
|
+
await Bun.sleep(oneSecondInFuture);
|
|
68
|
+
console.log("hello one second later!");
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## `Bun.sleepSync()`
|
|
72
|
+
|
|
73
|
+
`Bun.sleepSync(ms: number)`
|
|
74
|
+
|
|
75
|
+
A blocking synchronous version of `Bun.sleep`.
|
|
76
|
+
|
|
77
|
+
```ts
|
|
78
|
+
console.log("hello");
|
|
79
|
+
Bun.sleepSync(1000); // blocks thread for one second
|
|
80
|
+
console.log("hello one second later!");
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## `Bun.which()`
|
|
84
|
+
|
|
85
|
+
`Bun.which(bin: string)`
|
|
86
|
+
|
|
87
|
+
Returns the path to an executable, similar to typing `which` in your terminal.
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
const ls = Bun.which("ls");
|
|
91
|
+
console.log(ls); // "/usr/bin/ls"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
By default Bun looks at the current `PATH` environment variable to determine the path. To configure `PATH`:
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
const ls = Bun.which("ls", {
|
|
98
|
+
PATH: "/usr/local/bin:/usr/bin:/bin",
|
|
99
|
+
});
|
|
100
|
+
console.log(ls); // "/usr/bin/ls"
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Pass a `cwd` option to resolve for executable from within a specific directory.
|
|
104
|
+
|
|
105
|
+
```ts
|
|
106
|
+
const ls = Bun.which("ls", {
|
|
107
|
+
cwd: "/tmp",
|
|
108
|
+
PATH: "",
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
console.log(ls); // null
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
You can think of this as a builtin alternative to the [`which`](https://www.npmjs.com/package/which) npm package.
|
|
115
|
+
|
|
116
|
+
## `Bun.randomUUIDv7()`
|
|
117
|
+
|
|
118
|
+
`Bun.randomUUIDv7()` returns a [UUID v7](https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-01.html#name-uuidv7-layout-and-bit-order), which is monotonic and suitable for sorting and databases.
|
|
119
|
+
|
|
120
|
+
```ts
|
|
121
|
+
import { randomUUIDv7 } from "bun";
|
|
122
|
+
|
|
123
|
+
const id = randomUUIDv7();
|
|
124
|
+
// => "0192ce11-26d5-7dc3-9305-1426de888c5a"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
A UUID v7 is a 128-bit value that encodes the current timestamp, a random value, and a counter. The timestamp is encoded using the lowest 48 bits, and the random value and counter are encoded using the remaining bits.
|
|
128
|
+
|
|
129
|
+
The `timestamp` parameter defaults to the current time in milliseconds. When the timestamp changes, the counter is reset to a pseudo-random integer wrapped to 4096. This counter is atomic and threadsafe, meaning that using `Bun.randomUUIDv7()` in many Workers within the same process running at the same timestamp will not have colliding counter values.
|
|
130
|
+
|
|
131
|
+
The final 8 bytes of the UUID are a cryptographically secure random value. It uses the same random number generator used by `crypto.randomUUID()` (which comes from BoringSSL, which in turn comes from the platform-specific system random number generator usually provided by the underlying hardware).
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
namespace Bun {
|
|
135
|
+
function randomUUIDv7(encoding?: "hex" | "base64" | "base64url" = "hex", timestamp?: number = Date.now()): string;
|
|
136
|
+
/**
|
|
137
|
+
* If you pass "buffer", you get a 16-byte buffer instead of a string.
|
|
138
|
+
*/
|
|
139
|
+
function randomUUIDv7(encoding: "buffer", timestamp?: number = Date.now()): Buffer;
|
|
140
|
+
|
|
141
|
+
// If you only pass a timestamp, you get a hex string
|
|
142
|
+
function randomUUIDv7(timestamp?: number = Date.now()): string;
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
You can optionally set encoding to `"buffer"` to get a 16-byte buffer instead of a string. This can sometimes avoid string conversion overhead.
|
|
147
|
+
|
|
148
|
+
```ts buffer.ts
|
|
149
|
+
const buffer = Bun.randomUUIDv7("buffer");
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
`base64` and `base64url` encodings are also supported when you want a slightly shorter string.
|
|
153
|
+
|
|
154
|
+
```ts base64.ts
|
|
155
|
+
const base64 = Bun.randomUUIDv7("base64");
|
|
156
|
+
const base64url = Bun.randomUUIDv7("base64url");
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## `Bun.peek()`
|
|
160
|
+
|
|
161
|
+
`Bun.peek(prom: Promise)`
|
|
162
|
+
|
|
163
|
+
Reads a promise's result without `await` or `.then`, but only if the promise has already fulfilled or rejected.
|
|
164
|
+
|
|
165
|
+
```ts
|
|
166
|
+
import { peek } from "bun";
|
|
167
|
+
|
|
168
|
+
const promise = Promise.resolve("hi");
|
|
169
|
+
|
|
170
|
+
// no await!
|
|
171
|
+
const result = peek(promise);
|
|
172
|
+
console.log(result); // "hi"
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
This is important when attempting to reduce the number of extraneous microticks in performance-sensitive code. It's an advanced API — review the examples below before using it in production.
|
|
176
|
+
|
|
177
|
+
```ts
|
|
178
|
+
import { peek } from "bun";
|
|
179
|
+
import { expect, test } from "bun:test";
|
|
180
|
+
|
|
181
|
+
test("peek", () => {
|
|
182
|
+
const promise = Promise.resolve(true);
|
|
183
|
+
|
|
184
|
+
// no await necessary!
|
|
185
|
+
expect(peek(promise)).toBe(true);
|
|
186
|
+
|
|
187
|
+
// if we peek again, it returns the same value
|
|
188
|
+
const again = peek(promise);
|
|
189
|
+
expect(again).toBe(true);
|
|
190
|
+
|
|
191
|
+
// if we peek a non-promise, it returns the value
|
|
192
|
+
const value = peek(42);
|
|
193
|
+
expect(value).toBe(42);
|
|
194
|
+
|
|
195
|
+
// if we peek a pending promise, it returns the promise again
|
|
196
|
+
const pending = new Promise(() => {});
|
|
197
|
+
expect(peek(pending)).toBe(pending);
|
|
198
|
+
|
|
199
|
+
// If we peek a rejected promise, it:
|
|
200
|
+
// - returns the error
|
|
201
|
+
// - does not mark the promise as handled
|
|
202
|
+
const rejected = Promise.reject(new Error("Successfully tested promise rejection"));
|
|
203
|
+
expect(peek(rejected).message).toBe("Successfully tested promise rejection");
|
|
204
|
+
});
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
The `peek.status` function lets you read the status of a promise without resolving it.
|
|
208
|
+
|
|
209
|
+
```ts
|
|
210
|
+
import { peek } from "bun";
|
|
211
|
+
import { expect, test } from "bun:test";
|
|
212
|
+
|
|
213
|
+
test("peek.status", () => {
|
|
214
|
+
const promise = Promise.resolve(true);
|
|
215
|
+
expect(peek.status(promise)).toBe("fulfilled");
|
|
216
|
+
|
|
217
|
+
const pending = new Promise(() => {});
|
|
218
|
+
expect(peek.status(pending)).toBe("pending");
|
|
219
|
+
|
|
220
|
+
const rejected = Promise.reject(new Error("oh nooo"));
|
|
221
|
+
expect(peek.status(rejected)).toBe("rejected");
|
|
222
|
+
});
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## `Bun.openInEditor()`
|
|
226
|
+
|
|
227
|
+
Opens a file in your default editor. Bun auto-detects your editor via the `$VISUAL` or `$EDITOR` environment variables.
|
|
228
|
+
|
|
229
|
+
```ts
|
|
230
|
+
const currentFile = import.meta.url;
|
|
231
|
+
Bun.openInEditor(currentFile);
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
You can override this via the `debug.editor` setting in your [`bunfig.toml`](/docs/runtime/bunfig).
|
|
235
|
+
|
|
236
|
+
```toml bunfig.toml icon="settings"
|
|
237
|
+
[debug] # [!code ++]
|
|
238
|
+
editor = "code" # [!code ++]
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
Or specify an editor with the `editor` param. You can also specify a line and column number.
|
|
242
|
+
|
|
243
|
+
```ts
|
|
244
|
+
Bun.openInEditor(import.meta.url, {
|
|
245
|
+
editor: "vscode", // or "subl"
|
|
246
|
+
line: 10,
|
|
247
|
+
column: 5,
|
|
248
|
+
});
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
## `Bun.deepEquals()`
|
|
252
|
+
|
|
253
|
+
Recursively checks if two objects are equivalent. `expect().toEqual()` in `bun:test` uses this internally.
|
|
254
|
+
|
|
255
|
+
```ts
|
|
256
|
+
const foo = { a: 1, b: 2, c: { d: 3 } };
|
|
257
|
+
|
|
258
|
+
// true
|
|
259
|
+
Bun.deepEquals(foo, { a: 1, b: 2, c: { d: 3 } });
|
|
260
|
+
|
|
261
|
+
// false
|
|
262
|
+
Bun.deepEquals(foo, { a: 1, b: 2, c: { d: 4 } });
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Pass a third boolean parameter to enable "strict" mode. `expect().toStrictEqual()` in the test runner uses this.
|
|
266
|
+
|
|
267
|
+
```ts
|
|
268
|
+
const a = { entries: [1, 2] };
|
|
269
|
+
const b = { entries: [1, 2], extra: undefined };
|
|
270
|
+
|
|
271
|
+
Bun.deepEquals(a, b); // => true
|
|
272
|
+
Bun.deepEquals(a, b, true); // => false
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
In strict mode, the following are considered unequal:
|
|
276
|
+
|
|
277
|
+
```ts
|
|
278
|
+
// undefined values
|
|
279
|
+
Bun.deepEquals({}, { a: undefined }, true); // false
|
|
280
|
+
|
|
281
|
+
// undefined in arrays
|
|
282
|
+
Bun.deepEquals(["asdf"], ["asdf", undefined], true); // false
|
|
283
|
+
|
|
284
|
+
// sparse arrays
|
|
285
|
+
Bun.deepEquals([, 1], [undefined, 1], true); // false
|
|
286
|
+
|
|
287
|
+
// object literals vs instances w/ same properties
|
|
288
|
+
class Foo {
|
|
289
|
+
a = 1;
|
|
290
|
+
}
|
|
291
|
+
Bun.deepEquals(new Foo(), { a: 1 }, true); // false
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
## `Bun.escapeHTML()`
|
|
295
|
+
|
|
296
|
+
`Bun.escapeHTML(value: string | object | number | boolean): string`
|
|
297
|
+
|
|
298
|
+
Escapes the following characters from an input string:
|
|
299
|
+
|
|
300
|
+
- `"` becomes `"`
|
|
301
|
+
- `&` becomes `&`
|
|
302
|
+
- `'` becomes `'`
|
|
303
|
+
- `<` becomes `<`
|
|
304
|
+
- `>` becomes `>`
|
|
305
|
+
|
|
306
|
+
This function is optimized for large input. On an M1X, it processes 480 MB/s -
|
|
307
|
+
20 GB/s, depending on how much data is being escaped and whether there is non-ascii
|
|
308
|
+
text. Non-string types will be converted to a string before escaping.
|
|
309
|
+
|
|
310
|
+
## `Bun.stringWidth()`
|
|
311
|
+
|
|
312
|
+
<Note>~6,756x faster `string-width` alternative</Note>
|
|
313
|
+
|
|
314
|
+
Get the column count of a string as it would be displayed in a terminal.
|
|
315
|
+
Supports ANSI escape codes, emoji, and wide characters.
|
|
316
|
+
|
|
317
|
+
Example usage:
|
|
318
|
+
|
|
319
|
+
```ts
|
|
320
|
+
Bun.stringWidth("hello"); // => 5
|
|
321
|
+
Bun.stringWidth("\u001b[31mhello\u001b[0m"); // => 5
|
|
322
|
+
Bun.stringWidth("\u001b[31mhello\u001b[0m", { countAnsiEscapeCodes: true }); // => 12
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
This is useful for:
|
|
326
|
+
|
|
327
|
+
- Aligning text in a terminal
|
|
328
|
+
- Quickly checking if a string contains ANSI escape codes
|
|
329
|
+
- Measuring the width of a string in a terminal
|
|
330
|
+
|
|
331
|
+
This API is designed to match the popular "string-width" package, so that
|
|
332
|
+
existing code can be ported to Bun and vice versa.
|
|
333
|
+
|
|
334
|
+
[In this benchmark](https://github.com/oven-sh/bun/blob/5147c0ba7379d85d4d1ed0714b84d6544af917eb/bench/snippets/string-width.mjs#L13), `Bun.stringWidth` is a ~6,756x faster than the `string-width` npm package for input larger than about 500 characters. Big thanks to [sindresorhus](https://github.com/sindresorhus) for their work on `string-width`!
|
|
335
|
+
|
|
336
|
+
```ts
|
|
337
|
+
❯ bun string-width.mjs
|
|
338
|
+
cpu: 13th Gen Intel(R) Core(TM) i9-13900
|
|
339
|
+
runtime: bun 1.0.29 (x64-linux)
|
|
340
|
+
|
|
341
|
+
benchmark time (avg) (min … max) p75 p99 p995
|
|
342
|
+
------------------------------------------------------------------------------------- -----------------------------
|
|
343
|
+
Bun.stringWidth 500 chars ascii 37.09 ns/iter (36.77 ns … 41.11 ns) 37.07 ns 38.84 ns 38.99 ns
|
|
344
|
+
|
|
345
|
+
❯ node string-width.mjs
|
|
346
|
+
|
|
347
|
+
benchmark time (avg) (min … max) p75 p99 p995
|
|
348
|
+
------------------------------------------------------------------------------------- -----------------------------
|
|
349
|
+
npm/string-width 500 chars ascii 249,710 ns/iter (239,970 ns … 293,180 ns) 250,930 ns 276,700 ns 281,450 ns
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
To make `Bun.stringWidth` fast, we've implemented it in Zig using optimized SIMD instructions, accounting for Latin1, UTF-16, and UTF-8 encodings. It passes `string-width`'s tests.
|
|
353
|
+
|
|
354
|
+
<Accordion title="View full benchmark">
|
|
355
|
+
|
|
356
|
+
As a reminder, 1 nanosecond (ns) is 1 billionth of a second. Here's a reference for converting between units:
|
|
357
|
+
|
|
358
|
+
| Unit | 1 Millisecond |
|
|
359
|
+
| ---- | ------------- |
|
|
360
|
+
| ns | 1,000,000 |
|
|
361
|
+
| µs | 1,000 |
|
|
362
|
+
| ms | 1 |
|
|
363
|
+
|
|
364
|
+
```bash terminal icon="terminal"
|
|
365
|
+
❯ bun string-width.mjs
|
|
366
|
+
cpu: 13th Gen Intel(R) Core(TM) i9-13900
|
|
367
|
+
runtime: bun 1.0.29 (x64-linux)
|
|
368
|
+
|
|
369
|
+
benchmark time (avg) (min … max) p75 p99 p995
|
|
370
|
+
------------------------------------------------------------------------------------- -----------------------------
|
|
371
|
+
Bun.stringWidth 5 chars ascii 16.45 ns/iter (16.27 ns … 19.71 ns) 16.48 ns 16.93 ns 17.21 ns
|
|
372
|
+
Bun.stringWidth 50 chars ascii 19.42 ns/iter (18.61 ns … 27.85 ns) 19.35 ns 21.7 ns 22.31 ns
|
|
373
|
+
Bun.stringWidth 500 chars ascii 37.09 ns/iter (36.77 ns … 41.11 ns) 37.07 ns 38.84 ns 38.99 ns
|
|
374
|
+
Bun.stringWidth 5,000 chars ascii 216.9 ns/iter (215.8 ns … 228.54 ns) 216.23 ns 228.52 ns 228.53 ns
|
|
375
|
+
Bun.stringWidth 25,000 chars ascii 1.01 µs/iter (1.01 µs … 1.01 µs) 1.01 µs 1.01 µs 1.01 µs
|
|
376
|
+
Bun.stringWidth 7 chars ascii+emoji 54.2 ns/iter (53.36 ns … 58.19 ns) 54.23 ns 57.55 ns 57.94 ns
|
|
377
|
+
Bun.stringWidth 70 chars ascii+emoji 354.26 ns/iter (350.51 ns … 363.96 ns) 355.93 ns 363.11 ns 363.96 ns
|
|
378
|
+
Bun.stringWidth 700 chars ascii+emoji 3.3 µs/iter (3.27 µs … 3.4 µs) 3.3 µs 3.4 µs 3.4 µs
|
|
379
|
+
Bun.stringWidth 7,000 chars ascii+emoji 32.69 µs/iter (32.22 µs … 45.27 µs) 32.7 µs 34.57 µs 34.68 µs
|
|
380
|
+
Bun.stringWidth 35,000 chars ascii+emoji 163.35 µs/iter (161.17 µs … 170.79 µs) 163.82 µs 169.66 µs 169.93 µs
|
|
381
|
+
Bun.stringWidth 8 chars ansi+emoji 66.15 ns/iter (65.17 ns … 69.97 ns) 66.12 ns 69.8 ns 69.87 ns
|
|
382
|
+
Bun.stringWidth 80 chars ansi+emoji 492.95 ns/iter (488.05 ns … 499.5 ns) 494.8 ns 498.58 ns 499.5 ns
|
|
383
|
+
Bun.stringWidth 800 chars ansi+emoji 4.73 µs/iter (4.71 µs … 4.88 µs) 4.72 µs 4.88 µs 4.88 µs
|
|
384
|
+
Bun.stringWidth 8,000 chars ansi+emoji 47.02 µs/iter (46.37 µs … 67.44 µs) 46.96 µs 49.57 µs 49.63 µs
|
|
385
|
+
Bun.stringWidth 40,000 chars ansi+emoji 234.45 µs/iter (231.78 µs … 240.98 µs) 234.92 µs 236.34 µs 236.62 µs
|
|
386
|
+
Bun.stringWidth 19 chars ansi+emoji+ascii 135.46 ns/iter (133.67 ns … 143.26 ns) 135.32 ns 142.55 ns 142.77 ns
|
|
387
|
+
Bun.stringWidth 190 chars ansi+emoji+ascii 1.17 µs/iter (1.16 µs … 1.17 µs) 1.17 µs 1.17 µs 1.17 µs
|
|
388
|
+
Bun.stringWidth 1,900 chars ansi+emoji+ascii 11.45 µs/iter (11.26 µs … 20.41 µs) 11.45 µs 12.08 µs 12.11 µs
|
|
389
|
+
Bun.stringWidth 19,000 chars ansi+emoji+ascii 114.06 µs/iter (112.86 µs … 120.06 µs) 114.25 µs 115.86 µs 116.15 µs
|
|
390
|
+
Bun.stringWidth 95,000 chars ansi+emoji+ascii 572.69 µs/iter (565.52 µs … 607.22 µs) 572.45 µs 604.86 µs 605.21 µs
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
```bash terminal icon="terminal"
|
|
394
|
+
❯ node string-width.mjs
|
|
395
|
+
cpu: 13th Gen Intel(R) Core(TM) i9-13900
|
|
396
|
+
runtime: node v21.4.0 (x64-linux)
|
|
397
|
+
|
|
398
|
+
benchmark time (avg) (min … max) p75 p99 p995
|
|
399
|
+
-------------------------------------------------------------------------------------- -----------------------------
|
|
400
|
+
npm/string-width 5 chars ascii 3.19 µs/iter (3.13 µs … 3.48 µs) 3.25 µs 3.48 µs 3.48 µs
|
|
401
|
+
npm/string-width 50 chars ascii 20.09 µs/iter (18.93 µs … 435.06 µs) 19.49 µs 21.89 µs 22.59 µs
|
|
402
|
+
npm/string-width 500 chars ascii 249.71 µs/iter (239.97 µs … 293.18 µs) 250.93 µs 276.7 µs 281.45 µs
|
|
403
|
+
npm/string-width 5,000 chars ascii 6.69 ms/iter (6.58 ms … 6.76 ms) 6.72 ms 6.76 ms 6.76 ms
|
|
404
|
+
npm/string-width 25,000 chars ascii 139.57 ms/iter (137.17 ms … 143.28 ms) 140.49 ms 143.28 ms 143.28 ms
|
|
405
|
+
npm/string-width 7 chars ascii+emoji 3.7 µs/iter (3.62 µs … 3.94 µs) 3.73 µs 3.94 µs 3.94 µs
|
|
406
|
+
npm/string-width 70 chars ascii+emoji 23.93 µs/iter (22.44 µs … 331.2 µs) 23.15 µs 25.98 µs 30.2 µs
|
|
407
|
+
npm/string-width 700 chars ascii+emoji 251.65 µs/iter (237.78 µs … 444.69 µs) 252.92 µs 325.89 µs 354.08 µs
|
|
408
|
+
npm/string-width 7,000 chars ascii+emoji 4.95 ms/iter (4.82 ms … 5.19 ms) 5 ms 5.04 ms 5.19 ms
|
|
409
|
+
npm/string-width 35,000 chars ascii+emoji 96.93 ms/iter (94.39 ms … 102.58 ms) 97.68 ms 102.58 ms 102.58 ms
|
|
410
|
+
npm/string-width 8 chars ansi+emoji 3.92 µs/iter (3.45 µs … 4.57 µs) 4.09 µs 4.57 µs 4.57 µs
|
|
411
|
+
npm/string-width 80 chars ansi+emoji 24.46 µs/iter (22.87 µs … 4.2 ms) 23.54 µs 25.89 µs 27.41 µs
|
|
412
|
+
npm/string-width 800 chars ansi+emoji 259.62 µs/iter (246.76 µs … 480.12 µs) 258.65 µs 349.84 µs 372.55 µs
|
|
413
|
+
npm/string-width 8,000 chars ansi+emoji 5.46 ms/iter (5.41 ms … 5.57 ms) 5.48 ms 5.55 ms 5.57 ms
|
|
414
|
+
npm/string-width 40,000 chars ansi+emoji 108.91 ms/iter (107.55 ms … 109.5 ms) 109.25 ms 109.5 ms 109.5 ms
|
|
415
|
+
npm/string-width 19 chars ansi+emoji+ascii 6.53 µs/iter (6.35 µs … 6.75 µs) 6.54 µs 6.75 µs 6.75 µs
|
|
416
|
+
npm/string-width 190 chars ansi+emoji+ascii 55.52 µs/iter (52.59 µs … 352.73 µs) 54.19 µs 80.77 µs 167.21 µs
|
|
417
|
+
npm/string-width 1,900 chars ansi+emoji+ascii 701.71 µs/iter (653.94 µs … 893.78 µs) 715.3 µs 855.37 µs 872.9 µs
|
|
418
|
+
npm/string-width 19,000 chars ansi+emoji+ascii 27.19 ms/iter (26.89 ms … 27.41 ms) 27.28 ms 27.41 ms 27.41 ms
|
|
419
|
+
npm/string-width 95,000 chars ansi+emoji+ascii 3.68 s/iter (3.66 s … 3.7 s) 3.69 s 3.7 s 3.7 s
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
</Accordion>
|
|
423
|
+
|
|
424
|
+
TypeScript definition:
|
|
425
|
+
|
|
426
|
+
```ts expandable
|
|
427
|
+
namespace Bun {
|
|
428
|
+
export function stringWidth(
|
|
429
|
+
/**
|
|
430
|
+
* The string to measure
|
|
431
|
+
*/
|
|
432
|
+
input: string,
|
|
433
|
+
options?: {
|
|
434
|
+
/**
|
|
435
|
+
* If `true`, count ANSI escape codes as part of the string width. If `false`, ANSI escape codes are ignored when calculating the string width.
|
|
436
|
+
*
|
|
437
|
+
* @default false
|
|
438
|
+
*/
|
|
439
|
+
countAnsiEscapeCodes?: boolean;
|
|
440
|
+
/**
|
|
441
|
+
* When it's ambiugous and `true`, count emoji as 1 characters wide. If `false`, emoji are counted as 2 character wide.
|
|
442
|
+
*
|
|
443
|
+
* @default true
|
|
444
|
+
*/
|
|
445
|
+
ambiguousIsNarrow?: boolean;
|
|
446
|
+
},
|
|
447
|
+
): number;
|
|
448
|
+
}
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
---
|
|
452
|
+
|
|
453
|
+
## `Bun.fileURLToPath()`
|
|
454
|
+
|
|
455
|
+
Converts a `file://` URL to an absolute path.
|
|
456
|
+
|
|
457
|
+
```ts
|
|
458
|
+
const path = Bun.fileURLToPath(new URL("file:///foo/bar.txt"));
|
|
459
|
+
console.log(path); // "/foo/bar.txt"
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
## `Bun.pathToFileURL()`
|
|
465
|
+
|
|
466
|
+
Converts an absolute path to a `file://` URL.
|
|
467
|
+
|
|
468
|
+
```ts
|
|
469
|
+
const url = Bun.pathToFileURL("/foo/bar.txt");
|
|
470
|
+
console.log(url); // "file:///foo/bar.txt"
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## `Bun.gzipSync()`
|
|
476
|
+
|
|
477
|
+
Compresses a `Uint8Array` using zlib's GZIP algorithm.
|
|
478
|
+
|
|
479
|
+
```ts
|
|
480
|
+
const buf = Buffer.from("hello".repeat(100)); // Buffer extends Uint8Array
|
|
481
|
+
const compressed = Bun.gzipSync(buf);
|
|
482
|
+
|
|
483
|
+
buf; // => Uint8Array(500)
|
|
484
|
+
compressed; // => Uint8Array(30)
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
Optionally, pass a parameters object as the second argument:
|
|
488
|
+
|
|
489
|
+
<Accordion title="zlib compression options">
|
|
490
|
+
|
|
491
|
+
```ts expandable
|
|
492
|
+
export type ZlibCompressionOptions = {
|
|
493
|
+
/**
|
|
494
|
+
* The compression level to use. Must be between `-1` and `9`.
|
|
495
|
+
* - A value of `-1` uses the default compression level (Currently `6`)
|
|
496
|
+
* - A value of `0` gives no compression
|
|
497
|
+
* - A value of `1` gives least compression, fastest speed
|
|
498
|
+
* - A value of `9` gives best compression, slowest speed
|
|
499
|
+
*/
|
|
500
|
+
level?: -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
501
|
+
/**
|
|
502
|
+
* How much memory should be allocated for the internal compression state.
|
|
503
|
+
*
|
|
504
|
+
* A value of `1` uses minimum memory but is slow and reduces compression ratio.
|
|
505
|
+
*
|
|
506
|
+
* A value of `9` uses maximum memory for optimal speed. The default is `8`.
|
|
507
|
+
*/
|
|
508
|
+
memLevel?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
509
|
+
/**
|
|
510
|
+
* The base 2 logarithm of the window size (the size of the history buffer).
|
|
511
|
+
*
|
|
512
|
+
* Larger values of this parameter result in better compression at the expense of memory usage.
|
|
513
|
+
*
|
|
514
|
+
* The following value ranges are supported:
|
|
515
|
+
* - `9..15`: The output will have a zlib header and footer (Deflate)
|
|
516
|
+
* - `-9..-15`: The output will **not** have a zlib header or footer (Raw Deflate)
|
|
517
|
+
* - `25..31` (16+`9..15`): The output will have a gzip header and footer (gzip)
|
|
518
|
+
*
|
|
519
|
+
* The gzip header will have no file name, no extra data, no comment, no modification time (set to zero) and no header CRC.
|
|
520
|
+
*/
|
|
521
|
+
windowBits?:
|
|
522
|
+
| -9
|
|
523
|
+
| -10
|
|
524
|
+
| -11
|
|
525
|
+
| -12
|
|
526
|
+
| -13
|
|
527
|
+
| -14
|
|
528
|
+
| -15
|
|
529
|
+
| 9
|
|
530
|
+
| 10
|
|
531
|
+
| 11
|
|
532
|
+
| 12
|
|
533
|
+
| 13
|
|
534
|
+
| 14
|
|
535
|
+
| 15
|
|
536
|
+
| 25
|
|
537
|
+
| 26
|
|
538
|
+
| 27
|
|
539
|
+
| 28
|
|
540
|
+
| 29
|
|
541
|
+
| 30
|
|
542
|
+
| 31;
|
|
543
|
+
/**
|
|
544
|
+
* Tunes the compression algorithm.
|
|
545
|
+
*
|
|
546
|
+
* - `Z_DEFAULT_STRATEGY`: For normal data **(Default)**
|
|
547
|
+
* - `Z_FILTERED`: For data produced by a filter or predictor
|
|
548
|
+
* - `Z_HUFFMAN_ONLY`: Force Huffman encoding only (no string match)
|
|
549
|
+
* - `Z_RLE`: Limit match distances to one (run-length encoding)
|
|
550
|
+
* - `Z_FIXED` prevents the use of dynamic Huffman codes
|
|
551
|
+
*
|
|
552
|
+
* `Z_RLE` is designed to be almost as fast as `Z_HUFFMAN_ONLY`, but give better compression for PNG image data.
|
|
553
|
+
*
|
|
554
|
+
* `Z_FILTERED` forces more Huffman coding and less string matching, it is
|
|
555
|
+
* somewhat intermediate between `Z_DEFAULT_STRATEGY` and `Z_HUFFMAN_ONLY`.
|
|
556
|
+
* Filtered data consists mostly of small values with a somewhat random distribution.
|
|
557
|
+
*/
|
|
558
|
+
strategy?: number;
|
|
559
|
+
};
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
</Accordion>
|
|
563
|
+
|
|
564
|
+
---
|
|
565
|
+
|
|
566
|
+
## `Bun.gunzipSync()`
|
|
567
|
+
|
|
568
|
+
Decompresses a `Uint8Array` using zlib's GUNZIP algorithm.
|
|
569
|
+
|
|
570
|
+
```ts
|
|
571
|
+
const buf = Buffer.from("hello".repeat(100)); // Buffer extends Uint8Array
|
|
572
|
+
const compressed = Bun.gzipSync(buf);
|
|
573
|
+
|
|
574
|
+
const dec = new TextDecoder();
|
|
575
|
+
const uncompressed = Bun.gunzipSync(compressed);
|
|
576
|
+
dec.decode(uncompressed);
|
|
577
|
+
// => "hellohellohello..."
|
|
578
|
+
```
|
|
579
|
+
|
|
580
|
+
---
|
|
581
|
+
|
|
582
|
+
## `Bun.deflateSync()`
|
|
583
|
+
|
|
584
|
+
Compresses a `Uint8Array` using zlib's DEFLATE algorithm.
|
|
585
|
+
|
|
586
|
+
```ts
|
|
587
|
+
const buf = Buffer.from("hello".repeat(100));
|
|
588
|
+
const compressed = Bun.deflateSync(buf);
|
|
589
|
+
|
|
590
|
+
buf; // => Buffer(500)
|
|
591
|
+
compressed; // => Uint8Array(12)
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
The second argument supports the same set of configuration options as [`Bun.gzipSync`](#bun-gzipsync).
|
|
595
|
+
|
|
596
|
+
---
|
|
597
|
+
|
|
598
|
+
## `Bun.inflateSync()`
|
|
599
|
+
|
|
600
|
+
Decompresses a `Uint8Array` using zlib's INFLATE algorithm.
|
|
601
|
+
|
|
602
|
+
```ts
|
|
603
|
+
const buf = Buffer.from("hello".repeat(100));
|
|
604
|
+
const compressed = Bun.deflateSync(buf);
|
|
605
|
+
|
|
606
|
+
const dec = new TextDecoder();
|
|
607
|
+
const decompressed = Bun.inflateSync(compressed);
|
|
608
|
+
dec.decode(decompressed);
|
|
609
|
+
// => "hellohellohello..."
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
---
|
|
613
|
+
|
|
614
|
+
## `Bun.zstdCompress()` / `Bun.zstdCompressSync()`
|
|
615
|
+
|
|
616
|
+
Compresses a `Uint8Array` using the Zstandard algorithm.
|
|
617
|
+
|
|
618
|
+
```ts
|
|
619
|
+
const buf = Buffer.from("hello".repeat(100));
|
|
620
|
+
|
|
621
|
+
// Synchronous
|
|
622
|
+
const compressedSync = Bun.zstdCompressSync(buf);
|
|
623
|
+
// Asynchronous
|
|
624
|
+
const compressedAsync = await Bun.zstdCompress(buf);
|
|
625
|
+
|
|
626
|
+
// With compression level (1-22, default: 3)
|
|
627
|
+
const compressedLevel = Bun.zstdCompressSync(buf, { level: 6 });
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
## `Bun.zstdDecompress()` / `Bun.zstdDecompressSync()`
|
|
631
|
+
|
|
632
|
+
Decompresses a `Uint8Array` using the Zstandard algorithm.
|
|
633
|
+
|
|
634
|
+
```ts
|
|
635
|
+
const buf = Buffer.from("hello".repeat(100));
|
|
636
|
+
const compressed = Bun.zstdCompressSync(buf);
|
|
637
|
+
|
|
638
|
+
// Synchronous
|
|
639
|
+
const decompressedSync = Bun.zstdDecompressSync(compressed);
|
|
640
|
+
// Asynchronous
|
|
641
|
+
const decompressedAsync = await Bun.zstdDecompress(compressed);
|
|
642
|
+
|
|
643
|
+
const dec = new TextDecoder();
|
|
644
|
+
dec.decode(decompressedSync);
|
|
645
|
+
// => "hellohellohello..."
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
---
|
|
649
|
+
|
|
650
|
+
## `Bun.inspect()`
|
|
651
|
+
|
|
652
|
+
Serializes an object to a `string` exactly as it would be printed by `console.log`.
|
|
653
|
+
|
|
654
|
+
```ts
|
|
655
|
+
const obj = { foo: "bar" };
|
|
656
|
+
const str = Bun.inspect(obj);
|
|
657
|
+
// => '{\nfoo: "bar" \n}'
|
|
658
|
+
|
|
659
|
+
const arr = new Uint8Array([1, 2, 3]);
|
|
660
|
+
const str = Bun.inspect(arr);
|
|
661
|
+
// => "Uint8Array(3) [ 1, 2, 3 ]"
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
### `Bun.inspect.custom`
|
|
665
|
+
|
|
666
|
+
This is the symbol that Bun uses to implement `Bun.inspect`. You can override this to customize how your objects are printed. It is identical to `util.inspect.custom` in Node.js.
|
|
667
|
+
|
|
668
|
+
```ts
|
|
669
|
+
class Foo {
|
|
670
|
+
[Bun.inspect.custom]() {
|
|
671
|
+
return "foo";
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
const foo = new Foo();
|
|
676
|
+
console.log(foo); // => "foo"
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
### `Bun.inspect.table(tabularData, properties, options)`
|
|
680
|
+
|
|
681
|
+
Format tabular data into a string. Like [`console.table`](https://developer.mozilla.org/en-US/docs/Web/API/console/table_static), except it returns a string rather than printing to the console.
|
|
682
|
+
|
|
683
|
+
```ts
|
|
684
|
+
console.log(
|
|
685
|
+
Bun.inspect.table([
|
|
686
|
+
{ a: 1, b: 2, c: 3 },
|
|
687
|
+
{ a: 4, b: 5, c: 6 },
|
|
688
|
+
{ a: 7, b: 8, c: 9 },
|
|
689
|
+
]),
|
|
690
|
+
);
|
|
691
|
+
//
|
|
692
|
+
// ┌───┬───┬───┬───┐
|
|
693
|
+
// │ │ a │ b │ c │
|
|
694
|
+
// ├───┼───┼───┼───┤
|
|
695
|
+
// │ 0 │ 1 │ 2 │ 3 │
|
|
696
|
+
// │ 1 │ 4 │ 5 │ 6 │
|
|
697
|
+
// │ 2 │ 7 │ 8 │ 9 │
|
|
698
|
+
// └───┴───┴───┴───┘
|
|
699
|
+
```
|
|
700
|
+
|
|
701
|
+
Additionally, you can pass an array of property names to display only a subset of properties.
|
|
702
|
+
|
|
703
|
+
```ts
|
|
704
|
+
console.log(
|
|
705
|
+
Bun.inspect.table(
|
|
706
|
+
[
|
|
707
|
+
{ a: 1, b: 2, c: 3 },
|
|
708
|
+
{ a: 4, b: 5, c: 6 },
|
|
709
|
+
],
|
|
710
|
+
["a", "c"],
|
|
711
|
+
),
|
|
712
|
+
);
|
|
713
|
+
//
|
|
714
|
+
// ┌───┬───┬───┐
|
|
715
|
+
// │ │ a │ c │
|
|
716
|
+
// ├───┼───┼───┤
|
|
717
|
+
// │ 0 │ 1 │ 3 │
|
|
718
|
+
// │ 1 │ 4 │ 6 │
|
|
719
|
+
// └───┴───┴───┘
|
|
720
|
+
```
|
|
721
|
+
|
|
722
|
+
You can also conditionally enable ANSI colors by passing `{ colors: true }`.
|
|
723
|
+
|
|
724
|
+
```ts
|
|
725
|
+
console.log(
|
|
726
|
+
Bun.inspect.table(
|
|
727
|
+
[
|
|
728
|
+
{ a: 1, b: 2, c: 3 },
|
|
729
|
+
{ a: 4, b: 5, c: 6 },
|
|
730
|
+
],
|
|
731
|
+
{
|
|
732
|
+
colors: true,
|
|
733
|
+
},
|
|
734
|
+
),
|
|
735
|
+
);
|
|
736
|
+
```
|
|
737
|
+
|
|
738
|
+
---
|
|
739
|
+
|
|
740
|
+
## `Bun.nanoseconds()`
|
|
741
|
+
|
|
742
|
+
Returns the number of nanoseconds since the current `bun` process started, as a `number`. Useful for high-precision timing and benchmarking.
|
|
743
|
+
|
|
744
|
+
```ts
|
|
745
|
+
Bun.nanoseconds();
|
|
746
|
+
// => 7288958
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
---
|
|
750
|
+
|
|
751
|
+
## `Bun.readableStreamTo*()`
|
|
752
|
+
|
|
753
|
+
Bun implements a set of convenience functions for asynchronously consuming the body of a `ReadableStream` and converting it to various binary formats.
|
|
754
|
+
|
|
755
|
+
```ts
|
|
756
|
+
const stream = (await fetch("https://bun.com")).body;
|
|
757
|
+
stream; // => ReadableStream
|
|
758
|
+
|
|
759
|
+
await Bun.readableStreamToArrayBuffer(stream);
|
|
760
|
+
// => ArrayBuffer
|
|
761
|
+
|
|
762
|
+
await Bun.readableStreamToBytes(stream);
|
|
763
|
+
// => Uint8Array
|
|
764
|
+
|
|
765
|
+
await Bun.readableStreamToBlob(stream);
|
|
766
|
+
// => Blob
|
|
767
|
+
|
|
768
|
+
await Bun.readableStreamToJSON(stream);
|
|
769
|
+
// => object
|
|
770
|
+
|
|
771
|
+
await Bun.readableStreamToText(stream);
|
|
772
|
+
// => string
|
|
773
|
+
|
|
774
|
+
// returns all chunks as an array
|
|
775
|
+
await Bun.readableStreamToArray(stream);
|
|
776
|
+
// => unknown[]
|
|
777
|
+
|
|
778
|
+
// returns all chunks as a FormData object (encoded as x-www-form-urlencoded)
|
|
779
|
+
await Bun.readableStreamToFormData(stream);
|
|
780
|
+
|
|
781
|
+
// returns all chunks as a FormData object (encoded as multipart/form-data)
|
|
782
|
+
await Bun.readableStreamToFormData(stream, multipartFormBoundary);
|
|
783
|
+
```
|
|
784
|
+
|
|
785
|
+
---
|
|
786
|
+
|
|
787
|
+
## `Bun.resolveSync()`
|
|
788
|
+
|
|
789
|
+
Resolves a file path or module specifier using Bun's internal module resolution algorithm. The first argument is the path to resolve, and the second argument is the "root". If no match is found, an `Error` is thrown.
|
|
790
|
+
|
|
791
|
+
```ts
|
|
792
|
+
Bun.resolveSync("./foo.ts", "/path/to/project");
|
|
793
|
+
// => "/path/to/project/foo.ts"
|
|
794
|
+
|
|
795
|
+
Bun.resolveSync("zod", "/path/to/project");
|
|
796
|
+
// => "/path/to/project/node_modules/zod/index.ts"
|
|
797
|
+
```
|
|
798
|
+
|
|
799
|
+
To resolve relative to the current working directory, pass `process.cwd()` or `"."` as the root.
|
|
800
|
+
|
|
801
|
+
```ts
|
|
802
|
+
Bun.resolveSync("./foo.ts", process.cwd());
|
|
803
|
+
Bun.resolveSync("./foo.ts", "/path/to/project");
|
|
804
|
+
```
|
|
805
|
+
|
|
806
|
+
To resolve relative to the directory containing the current file, pass `import.meta.dir`.
|
|
807
|
+
|
|
808
|
+
```ts
|
|
809
|
+
Bun.resolveSync("./foo.ts", import.meta.dir);
|
|
810
|
+
```
|
|
811
|
+
|
|
812
|
+
---
|
|
813
|
+
|
|
814
|
+
## `Bun.stripANSI()`
|
|
815
|
+
|
|
816
|
+
<Note>~6-57x faster `strip-ansi` alternative</Note>
|
|
817
|
+
|
|
818
|
+
`Bun.stripANSI(text: string): string`
|
|
819
|
+
|
|
820
|
+
Strip ANSI escape codes from a string. This is useful for removing colors and formatting from terminal output.
|
|
821
|
+
|
|
822
|
+
```ts
|
|
823
|
+
const coloredText = "\u001b[31mHello\u001b[0m \u001b[32mWorld\u001b[0m";
|
|
824
|
+
const plainText = Bun.stripANSI(coloredText);
|
|
825
|
+
console.log(plainText); // => "Hello World"
|
|
826
|
+
|
|
827
|
+
// Works with various ANSI codes
|
|
828
|
+
const formatted = "\u001b[1m\u001b[4mBold and underlined\u001b[0m";
|
|
829
|
+
console.log(Bun.stripANSI(formatted)); // => "Bold and underlined"
|
|
830
|
+
```
|
|
831
|
+
|
|
832
|
+
`Bun.stripANSI` is significantly faster than the popular [`strip-ansi`](https://www.npmjs.com/package/strip-ansi) npm package:
|
|
833
|
+
|
|
834
|
+
```bash terminal icon="terminal"
|
|
835
|
+
bun bench/snippets/strip-ansi.mjs
|
|
836
|
+
```
|
|
837
|
+
|
|
838
|
+
```txt
|
|
839
|
+
cpu: Apple M3 Max
|
|
840
|
+
runtime: bun 1.2.21 (arm64-darwin)
|
|
841
|
+
|
|
842
|
+
benchmark avg (min … max) p75 / p99
|
|
843
|
+
------------------------------------------------------- ----------
|
|
844
|
+
Bun.stripANSI 11 chars no-ansi 8.13 ns/iter 8.27 ns
|
|
845
|
+
(7.45 ns … 33.59 ns) 10.29 ns
|
|
846
|
+
|
|
847
|
+
Bun.stripANSI 13 chars ansi 51.68 ns/iter 52.51 ns
|
|
848
|
+
(46.16 ns … 113.71 ns) 57.71 ns
|
|
849
|
+
|
|
850
|
+
Bun.stripANSI 16,384 chars long-no-ansi 298.39 ns/iter 305.44 ns
|
|
851
|
+
(281.50 ns … 331.65 ns) 320.70 ns
|
|
852
|
+
|
|
853
|
+
Bun.stripANSI 212,992 chars long-ansi 227.65 µs/iter 234.50 µs
|
|
854
|
+
(216.46 µs … 401.92 µs) 262.25 µs
|
|
855
|
+
```
|
|
856
|
+
|
|
857
|
+
```bash terminal icon="terminal"
|
|
858
|
+
node bench/snippets/strip-ansi.mjs
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
```txt
|
|
862
|
+
cpu: Apple M3 Max
|
|
863
|
+
runtime: node 24.6.0 (arm64-darwin)
|
|
864
|
+
|
|
865
|
+
benchmark avg (min … max) p75 / p99
|
|
866
|
+
-------------------------------------------------------- ---------
|
|
867
|
+
npm/strip-ansi 11 chars no-ansi 466.79 ns/iter 468.67 ns
|
|
868
|
+
(454.08 ns … 570.67 ns) 543.67 ns
|
|
869
|
+
|
|
870
|
+
npm/strip-ansi 13 chars ansi 546.77 ns/iter 550.23 ns
|
|
871
|
+
(532.74 ns … 651.08 ns) 590.35 ns
|
|
872
|
+
|
|
873
|
+
npm/strip-ansi 16,384 chars long-no-ansi 4.85 µs/iter 4.89 µs
|
|
874
|
+
(4.71 µs … 5.00 µs) 4.98 µs
|
|
875
|
+
|
|
876
|
+
npm/strip-ansi 212,992 chars long-ansi 1.36 ms/iter 1.38 ms
|
|
877
|
+
(1.27 ms … 1.73 ms) 1.49 ms
|
|
878
|
+
|
|
879
|
+
```
|
|
880
|
+
|
|
881
|
+
---
|
|
882
|
+
|
|
883
|
+
## `Bun.wrapAnsi()`
|
|
884
|
+
|
|
885
|
+
<Note>Drop-in replacement for `wrap-ansi` npm package</Note>
|
|
886
|
+
|
|
887
|
+
`Bun.wrapAnsi(input: string, columns: number, options?: WrapAnsiOptions): string`
|
|
888
|
+
|
|
889
|
+
Wrap text to a specified column width while preserving ANSI escape codes, hyperlinks, and handling Unicode/emoji width correctly. This is a native, high-performance alternative to the popular [`wrap-ansi`](https://www.npmjs.com/package/wrap-ansi) npm package.
|
|
890
|
+
|
|
891
|
+
```ts
|
|
892
|
+
// Basic wrapping at 20 columns
|
|
893
|
+
Bun.wrapAnsi("The quick brown fox jumps over the lazy dog", 20);
|
|
894
|
+
// => "The quick brown fox\njumps over the lazy\ndog"
|
|
895
|
+
|
|
896
|
+
// Preserves ANSI escape codes
|
|
897
|
+
Bun.wrapAnsi("\u001b[31mThe quick brown fox jumps over the lazy dog\u001b[0m", 20);
|
|
898
|
+
// => "\u001b[31mThe quick brown fox\njumps over the lazy\ndog\u001b[0m"
|
|
899
|
+
```
|
|
900
|
+
|
|
901
|
+
### Options
|
|
902
|
+
|
|
903
|
+
```ts
|
|
904
|
+
Bun.wrapAnsi("Hello World", 5, {
|
|
905
|
+
hard: true, // Break words that exceed column width (default: false)
|
|
906
|
+
wordWrap: true, // Wrap at word boundaries (default: true)
|
|
907
|
+
trim: true, // Trim leading/trailing whitespace per line (default: true)
|
|
908
|
+
ambiguousIsNarrow: true, // Treat ambiguous-width characters as narrow (default: true)
|
|
909
|
+
});
|
|
910
|
+
```
|
|
911
|
+
|
|
912
|
+
| Option | Default | Description |
|
|
913
|
+
| ------------------- | ------- | --------------------------------------------------------------------------------------------------------------- |
|
|
914
|
+
| `hard` | `false` | If `true`, break words in the middle if they exceed the column width. |
|
|
915
|
+
| `wordWrap` | `true` | If `true`, wrap at word boundaries. If `false`, only break at explicit newlines. |
|
|
916
|
+
| `trim` | `true` | If `true`, trim leading and trailing whitespace from each line. |
|
|
917
|
+
| `ambiguousIsNarrow` | `true` | If `true`, treat ambiguous-width Unicode characters as 1 column wide. If `false`, treat them as 2 columns wide. |
|
|
918
|
+
|
|
919
|
+
TypeScript definition:
|
|
920
|
+
|
|
921
|
+
```ts expandable
|
|
922
|
+
namespace Bun {
|
|
923
|
+
export function wrapAnsi(
|
|
924
|
+
/**
|
|
925
|
+
* The string to wrap
|
|
926
|
+
*/
|
|
927
|
+
input: string,
|
|
928
|
+
/**
|
|
929
|
+
* The maximum column width
|
|
930
|
+
*/
|
|
931
|
+
columns: number,
|
|
932
|
+
/**
|
|
933
|
+
* Wrapping options
|
|
934
|
+
*/
|
|
935
|
+
options?: {
|
|
936
|
+
/**
|
|
937
|
+
* If `true`, break words in the middle if they don't fit on a line.
|
|
938
|
+
* If `false`, only break at word boundaries.
|
|
939
|
+
*
|
|
940
|
+
* @default false
|
|
941
|
+
*/
|
|
942
|
+
hard?: boolean;
|
|
943
|
+
/**
|
|
944
|
+
* If `true`, wrap at word boundaries when possible.
|
|
945
|
+
* If `false`, don't perform word wrapping (only wrap at explicit newlines).
|
|
946
|
+
*
|
|
947
|
+
* @default true
|
|
948
|
+
*/
|
|
949
|
+
wordWrap?: boolean;
|
|
950
|
+
/**
|
|
951
|
+
* If `true`, trim leading and trailing whitespace from each line.
|
|
952
|
+
* If `false`, preserve whitespace.
|
|
953
|
+
*
|
|
954
|
+
* @default true
|
|
955
|
+
*/
|
|
956
|
+
trim?: boolean;
|
|
957
|
+
/**
|
|
958
|
+
* When it's ambiguous and `true`, count ambiguous width characters as 1 character wide.
|
|
959
|
+
* If `false`, count them as 2 characters wide.
|
|
960
|
+
*
|
|
961
|
+
* @default true
|
|
962
|
+
*/
|
|
963
|
+
ambiguousIsNarrow?: boolean;
|
|
964
|
+
},
|
|
965
|
+
): string;
|
|
966
|
+
}
|
|
967
|
+
```
|
|
968
|
+
|
|
969
|
+
---
|
|
970
|
+
|
|
971
|
+
## `serialize` & `deserialize` in `bun:jsc`
|
|
972
|
+
|
|
973
|
+
To save a JavaScript value into an ArrayBuffer & back, use `serialize` and `deserialize` from the `"bun:jsc"` module.
|
|
974
|
+
|
|
975
|
+
```js
|
|
976
|
+
import { serialize, deserialize } from "bun:jsc";
|
|
977
|
+
|
|
978
|
+
const buf = serialize({ foo: "bar" });
|
|
979
|
+
const obj = deserialize(buf);
|
|
980
|
+
console.log(obj); // => { foo: "bar" }
|
|
981
|
+
```
|
|
982
|
+
|
|
983
|
+
Internally, [`structuredClone`](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone) and [`postMessage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage) serialize and deserialize the same way. This exposes the underlying [HTML Structured Clone Algorithm](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm) to JavaScript as an ArrayBuffer.
|
|
984
|
+
|
|
985
|
+
---
|
|
986
|
+
|
|
987
|
+
## `estimateShallowMemoryUsageOf` in `bun:jsc`
|
|
988
|
+
|
|
989
|
+
The `estimateShallowMemoryUsageOf` function returns a best-effort estimate of the memory usage of an object in bytes, excluding the memory usage of properties or other objects it references. For accurate per-object memory usage, use `Bun.generateHeapSnapshot`.
|
|
990
|
+
|
|
991
|
+
```js
|
|
992
|
+
import { estimateShallowMemoryUsageOf } from "bun:jsc";
|
|
993
|
+
|
|
994
|
+
const obj = { foo: "bar" };
|
|
995
|
+
const usage = estimateShallowMemoryUsageOf(obj);
|
|
996
|
+
console.log(usage); // => 16
|
|
997
|
+
|
|
998
|
+
const buffer = Buffer.alloc(1024 * 1024);
|
|
999
|
+
estimateShallowMemoryUsageOf(buffer);
|
|
1000
|
+
// => 1048624
|
|
1001
|
+
|
|
1002
|
+
const req = new Request("https://bun.com");
|
|
1003
|
+
estimateShallowMemoryUsageOf(req);
|
|
1004
|
+
// => 167
|
|
1005
|
+
|
|
1006
|
+
const array = Array(1024).fill({ a: 1 });
|
|
1007
|
+
// Arrays are usually not stored contiguously in memory, so this will not return a useful value (which isn't a bug).
|
|
1008
|
+
estimateShallowMemoryUsageOf(array);
|
|
1009
|
+
// => 16
|
|
1010
|
+
```
|