@lwrjs/shared-utils
Advanced tools
Comparing version 0.0.2-alpha34 to 0.0.2-alpha36
@@ -109,2 +109,3 @@ import getCacheKeyFromJson from 'fast-json-stable-stringify'; | ||
export { getCacheKeyFromJson }; | ||
export declare function isExternalUrl(url: string): boolean; | ||
//# sourceMappingURL=identity.d.ts.map |
@@ -182,2 +182,6 @@ import slugifyText from 'slugify'; | ||
export { getCacheKeyFromJson }; | ||
const REGEX_URL_SCHEMA_PREFIX = /^(https?|\/\/)/; | ||
export function isExternalUrl(url) { | ||
return REGEX_URL_SCHEMA_PREFIX.test(url); | ||
} | ||
//# sourceMappingURL=identity.js.map |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.0.2-alpha34", | ||
"version": "0.0.2-alpha36", | ||
"homepage": "https://lwr.dev/", | ||
@@ -40,3 +40,3 @@ "repository": { | ||
"devDependencies": { | ||
"@lwrjs/types": "0.0.2-alpha34" | ||
"@lwrjs/types": "0.0.2-alpha36" | ||
}, | ||
@@ -46,3 +46,3 @@ "engines": { | ||
}, | ||
"gitHead": "89f63e3860b912a7907ef55ee7dd420487f7a016" | ||
"gitHead": "90780d8ce526e05385aa60f74bf86cd1716268e8" | ||
} |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
69452
29
1807
4