+9
-0
@@ -19,2 +19,11 @@ /** | ||
| export declare const parse: (url: string) => string; | ||
| /** | ||
| * This simply exports the `parse` function as the default export. | ||
| * | ||
| * ```ts | ||
| * import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
| * | ||
| * const parsedUrl = shurley.parse('example.com'); // "https://example.com" | ||
| * ``` | ||
| */ | ||
| declare const _default: { | ||
@@ -21,0 +30,0 @@ parse: (url: string) => string; |
+1
-1
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK,QAAS,MAAM,KAAG,MAqBnC,CAAC;;iBArByB,MAAM,KAAG,MAAM;;AAuB1C,wBAAyB"} | ||
| {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK,QAAS,MAAM,KAAG,MAqBnC,CAAC;AAEF;;;;;;;;GAQG;;iBA/BwB,MAAM,KAAG,MAAM;;AAgC1C,wBAAyB"} |
+9
-0
@@ -36,2 +36,11 @@ /** | ||
| }; | ||
| /** | ||
| * This simply exports the `parse` function as the default export. | ||
| * | ||
| * ```ts | ||
| * import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
| * | ||
| * const parsedUrl = shurley.parse('example.com'); // "https://example.com" | ||
| * ``` | ||
| */ | ||
| export default { parse }; |
+1
-1
| { | ||
| "name": "shurley", | ||
| "version": "1.0.7", | ||
| "version": "1.0.8", | ||
| "description": "Validate or fix URLs from user input. People make mistakes!", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
+1
-1
@@ -26,3 +26,3 @@ # Shurley | ||
| ```ts | ||
| import shurley from 'jsr:@brn/shurley@1.0.6'; // or import shurley from 'https://deno.land/x/shurley@1.0.6/mod.ts'; | ||
| import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
@@ -29,0 +29,0 @@ const parsedUrl = shurley.parse('example.com'); |
+9
-0
@@ -19,2 +19,11 @@ /** | ||
| export declare const parse: (url: string) => string; | ||
| /** | ||
| * This simply exports the `parse` function as the default export. | ||
| * | ||
| * ```ts | ||
| * import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
| * | ||
| * const parsedUrl = shurley.parse('example.com'); // "https://example.com" | ||
| * ``` | ||
| */ | ||
| declare const _default: { | ||
@@ -21,0 +30,0 @@ parse: (url: string) => string; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK,QAAS,MAAM,KAAG,MAqBnC,CAAC;;iBArByB,MAAM,KAAG,MAAM;;AAuB1C,wBAAyB"} | ||
| {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK,QAAS,MAAM,KAAG,MAqBnC,CAAC;AAEF;;;;;;;;GAQG;;iBA/BwB,MAAM,KAAG,MAAM;;AAgC1C,wBAAyB"} |
+9
-0
@@ -40,2 +40,11 @@ "use strict"; | ||
| exports.parse = parse; | ||
| /** | ||
| * This simply exports the `parse` function as the default export. | ||
| * | ||
| * ```ts | ||
| * import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
| * | ||
| * const parsedUrl = shurley.parse('example.com'); // "https://example.com" | ||
| * ``` | ||
| */ | ||
| exports.default = { parse: exports.parse }; |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
37284
3.33%156
30%4
Infinity%