mirror of
https://github.com/Onewon/claude-code.git
synced 2026-04-26 06:41:16 +03:00
Add all the original files from the deleted 0.2.8 npm package
This commit is contained in:
10
vendor/sdk/_shims/bun-runtime.mjs
vendored
Normal file
10
vendor/sdk/_shims/bun-runtime.mjs
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { getRuntime as getWebRuntime } from "./web-runtime.mjs";
|
||||
import { ReadStream as FsReadStream } from 'node:fs';
|
||||
export function getRuntime() {
|
||||
const runtime = getWebRuntime();
|
||||
function isFsReadStream(value) {
|
||||
return value instanceof FsReadStream;
|
||||
}
|
||||
return { ...runtime, isFsReadStream };
|
||||
}
|
||||
//# sourceMappingURL=bun-runtime.mjs.map
|
||||
Reference in New Issue
Block a user