Comparing version 1.0.3 to 1.0.4
{ | ||
"module": "./esm/mod.js", | ||
"main": "./script/mod.js", | ||
"types": "./types/mod.d.ts", | ||
"name": "shurley", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Validate or fix URLs from user input. People make mistakes!", | ||
"license": "ISC", | ||
"author": "Bruno Bernardino <me@brunobernardino.com>", | ||
"keywords": [ | ||
@@ -22,2 +17,3 @@ "url", | ||
], | ||
"author": "Bruno Bernardino <me@brunobernardino.com>", | ||
"repository": { | ||
@@ -27,15 +23,12 @@ "type": "git", | ||
}, | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/BrunoBernardino/shurley/issues" | ||
}, | ||
"main": "./script/mod.js", | ||
"module": "./esm/mod.js", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./types/mod.d.ts", | ||
"default": "./esm/mod.js" | ||
}, | ||
"require": { | ||
"types": "./types/mod.d.ts", | ||
"default": "./script/mod.js" | ||
} | ||
"import": "./esm/mod.js", | ||
"require": "./script/mod.js" | ||
} | ||
@@ -47,6 +40,7 @@ }, | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"chalk": "^4.1.2", | ||
"@deno/shim-deno": "~0.11.0" | ||
} | ||
"@types/node": "^20.9.0", | ||
"picocolors": "^1.0.0", | ||
"@deno/shim-deno": "~0.17.0" | ||
}, | ||
"_generatedBy": "dnt@0.39.0" | ||
} |
@@ -26,3 +26,3 @@ # Shurley | ||
```ts | ||
import shurley from 'https://deno.land/x/shurley@1.0.3/mod.ts'; | ||
import shurley from 'https://deno.land/x/shurley@1.0.4/mod.ts'; | ||
@@ -29,0 +29,0 @@ const parsedUrl = shurley.parse('example.com'); |
4235
8
52