first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
/** Convert any platform-specific path to a POSIX path.
* @privateRemarks
* Metro's equivalent is `normalizePathSeparatorsToPosix`
*/
export declare function toPosixPath(filePath: string): string;

View File

@@ -0,0 +1,15 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.toPosixPath = toPosixPath;
const node_path_1 = __importDefault(require("node:path"));
/** Convert any platform-specific path to a POSIX path.
* @privateRemarks
* Metro's equivalent is `normalizePathSeparatorsToPosix`
*/
function toPosixPath(filePath) {
return node_path_1.default.sep === '\\' ? filePath.replaceAll('\\', '/') : filePath;
}
//# sourceMappingURL=filePath.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"filePath.js","sourceRoot":"","sources":["../../src/utils/filePath.ts"],"names":[],"mappings":";;;;;AAMA,kCAEC;AARD,0DAA6B;AAE7B;;;GAGG;AACH,SAAgB,WAAW,CAAC,QAAgB;IAC1C,OAAO,mBAAI,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AACvE,CAAC"}

View File

@@ -0,0 +1 @@
export declare function hashString(str: string): string;

11
node_modules/@expo/metro-config/build/utils/hash.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.hashString = hashString;
const crypto_1 = __importDefault(require("crypto"));
function hashString(str) {
return crypto_1.default.createHash('md5').update(str).digest('hex');
}
//# sourceMappingURL=hash.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"hash.js","sourceRoot":"","sources":["../../src/utils/hash.ts"],"names":[],"mappings":";;;;;AAEA,gCAEC;AAJD,oDAA4B;AAE5B,SAAgB,UAAU,CAAC,GAAW;IACpC,OAAO,gBAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5D,CAAC"}

View File

@@ -0,0 +1,4 @@
/** Set `value` on `obj[key]` while bypassing readonly property annotations */
export declare function setOnReadonly<T, K extends keyof T, V extends T[K]>(obj: T, key: K, value: V): asserts obj is T & {
[key in K]: V;
};

View File

@@ -0,0 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setOnReadonly = setOnReadonly;
/** Set `value` on `obj[key]` while bypassing readonly property annotations */
function setOnReadonly(obj, key, value) {
obj[key] = value;
}
//# sourceMappingURL=setOnReadonly.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"setOnReadonly.js","sourceRoot":"","sources":["../../src/utils/setOnReadonly.ts"],"names":[],"mappings":";;AACA,sCAMC;AAPD,8EAA8E;AAC9E,SAAgB,aAAa,CAC3B,GAAM,EACN,GAAM,EACN,KAAQ;IAER,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AACnB,CAAC"}