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:
14
vendor/sdk/_shims/bun-runtime.js
vendored
Normal file
14
vendor/sdk/_shims/bun-runtime.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getRuntime = void 0;
|
||||
const web_runtime_1 = require("./web-runtime.js");
|
||||
const node_fs_1 = require("node:fs");
|
||||
function getRuntime() {
|
||||
const runtime = (0, web_runtime_1.getRuntime)();
|
||||
function isFsReadStream(value) {
|
||||
return value instanceof node_fs_1.ReadStream;
|
||||
}
|
||||
return { ...runtime, isFsReadStream };
|
||||
}
|
||||
exports.getRuntime = getRuntime;
|
||||
//# sourceMappingURL=bun-runtime.js.map
|
||||
Reference in New Issue
Block a user