Initial commit

This commit is contained in:
robert committed 2025-05-30 18:13:30 +08:00
commit e49726988c
5445 files changed
+1089914

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index-browser.d.mts","sourceRoot":"","sources":["../../src/index-browser.mts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,eAAc,CAAC;AAEtC,eAAO,MAAM,QAAQ,sBAEpB,CAAC;AAEF,eAAO,MAAM,SAAS,sBAErB,CAAC"}
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index-browser.mjs","sourceRoot":"","sources":["../../src/index-browser.mts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC;AAEtC,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,IAAI,EAAE;IACjC,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,IAAI,EAAE;IAClC,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;AACnC,CAAC,CAAC"}
+4
View File
@@ -0,0 +1,4 @@
export declare const existsSync: () => boolean;
export declare const readFile: () => Promise<never>;
export declare const writeFile: () => Promise<never>;
//# sourceMappingURL=index-browser.d.mts.map
+8
View File
@@ -0,0 +1,8 @@
export const existsSync = () => false;
export const readFile = async () => {
throw new Error("Not supported");
};
export const writeFile = async () => {
throw new Error("Not supported");
};
//# sourceMappingURL=index-browser.mjs.map
+3
View File
@@ -0,0 +1,3 @@
{
"type": "module"
}
+5
View File
@@ -0,0 +1,5 @@
import { promises as fs } from "fs";
export { existsSync } from "fs";
export declare const readFile: typeof fs.readFile;
export declare const writeFile: typeof fs.writeFile;
//# sourceMappingURL=index.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,eAAO,MAAM,QAAQ,oBAAc,CAAC;AACpC,eAAO,MAAM,SAAS,qBAAe,CAAC"}
+9
View File
@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeFile = exports.readFile = exports.existsSync = void 0;
const fs_1 = require("fs");
var fs_2 = require("fs");
Object.defineProperty(exports, "existsSync", { enumerable: true, get: function () { return fs_2.existsSync; } });
exports.readFile = fs_1.promises.readFile;
exports.writeFile = fs_1.promises.writeFile;
//# sourceMappingURL=index.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,2BAAoC;AAEpC,yBAAgC;AAAvB,gGAAA,UAAU,OAAA;AACN,QAAA,QAAQ,GAAG,aAAE,CAAC,QAAQ,CAAC;AACvB,QAAA,SAAS,GAAG,aAAE,CAAC,SAAS,CAAC"}
+3
View File
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
+5
View File
@@ -0,0 +1,5 @@
import { promises as fs } from "fs";
export { existsSync } from "fs";
export declare const readFile: typeof fs.readFile;
export declare const writeFile: typeof fs.writeFile;
//# sourceMappingURL=index.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,eAAO,MAAM,QAAQ,oBAAc,CAAC;AACpC,eAAO,MAAM,SAAS,qBAAe,CAAC"}
+5
View File
@@ -0,0 +1,5 @@
import { promises as fs } from "fs";
export { existsSync } from "fs";
export const readFile = fs.readFile;
export const writeFile = fs.writeFile;
//# sourceMappingURL=index.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,CAAC,QAAQ,CAAC;AACpC,MAAM,CAAC,MAAM,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC"}
+3
View File
@@ -0,0 +1,3 @@
{
"type": "module"
}