@rnx-kit/tools-react-native
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -20,2 +20,3 @@ /** | ||
export declare function requireModuleFromMetro(moduleName: "metro-resolver", fromDir?: string): typeof import("metro-resolver"); | ||
export declare function requireModuleFromMetro(moduleName: "metro-source-map", fromDir?: string): typeof import("metro-source-map"); | ||
//# sourceMappingURL=metro.d.ts.map |
{ | ||
"name": "@rnx-kit/tools-react-native", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "A collection of supplemental react-native functions and types", | ||
@@ -51,15 +51,20 @@ "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/tools-react-native#readme", | ||
"devDependencies": { | ||
"@rnx-kit/eslint-config": "*", | ||
"@rnx-kit/jest-preset": "*", | ||
"@rnx-kit/scripts": "*", | ||
"@types/node": "^18.0.0", | ||
"eslint": "^8.0.0", | ||
"@rnx-kit/tsconfig": "*", | ||
"@types/node": "^20.0.0", | ||
"eslint": "^8.23.0", | ||
"jest": "^29.2.1", | ||
"metro": "^0.76.5", | ||
"metro-config": "^0.76.5", | ||
"metro-core": "^0.76.5", | ||
"metro-resolver": "^0.76.5", | ||
"metro-source-map": "^0.76.5", | ||
"prettier": "^3.0.0", | ||
"typescript": "^5.0.0" | ||
}, | ||
"eslintConfig": { | ||
"extends": "@rnx-kit/eslint-config" | ||
}, | ||
"jest": { | ||
"preset": "@rnx-kit/scripts" | ||
"preset": "@rnx-kit/jest-preset/private" | ||
} | ||
} |
@@ -13,3 +13,4 @@ import { | ||
| typeof import("metro-core") | ||
| typeof import("metro-resolver"); | ||
| typeof import("metro-resolver") | ||
| typeof import("metro-source-map"); | ||
@@ -23,3 +24,4 @@ type MetroModule = | ||
| "metro-core" | ||
| "metro-resolver"; | ||
| "metro-resolver" | ||
| "metro-source-map"; | ||
@@ -115,2 +117,7 @@ function resolveFrom(name: string, startDir: string): string | undefined { | ||
export function requireModuleFromMetro( | ||
moduleName: "metro-source-map", | ||
fromDir?: string | ||
): typeof import("metro-source-map"); | ||
/** | ||
@@ -117,0 +124,0 @@ * Imports specified module starting from the installation directory of the |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34246
561
14