@jsenv/node-esm-resolution
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "@jsenv/node-esm-resolution", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -9,5 +9,5 @@ import { readFileSync } from "node:fs"; | ||
return JSON.parse(string); | ||
} catch (e) { | ||
} catch { | ||
throw new Error(`Invalid package configuration`); | ||
} | ||
}; |
@@ -96,3 +96,3 @@ /* | ||
}; | ||
} catch (e) { | ||
} catch { | ||
// bare specifier | ||
@@ -99,0 +99,0 @@ const browserFieldResolution = applyBrowserFieldResolution( |
@@ -40,3 +40,3 @@ export const asDirectoryUrl = (url) => { | ||
return true; | ||
} catch (e) { | ||
} catch { | ||
return false; | ||
@@ -43,0 +43,0 @@ } |
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
34149