Comparing version 1.0.8 to 1.0.9
@@ -10,4 +10,2 @@ /** | ||
* parse("example.com/path") // "https://example.com/path" | ||
* parse("example.com/path/to/resource") // "https://example.com/path/to/resource" | ||
* parse("example.com/path/to/resource?query=string") // "https://example.com/path/to/resource?query=string" | ||
* parse("example.com/path/to/resource?query=string#fragment") // "https://example.com/path/to/resource?query=string#fragment" | ||
@@ -24,3 +22,3 @@ * ``` | ||
* ```ts | ||
* import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
* import shurley from 'jsr:@brn/shurley@1.0.9'; // or import shurley from 'https://deno.land/x/shurley@1.0.9/mod.ts'; | ||
* | ||
@@ -27,0 +25,0 @@ * const parsedUrl = shurley.parse('example.com'); // "https://example.com" |
@@ -10,4 +10,2 @@ /** | ||
* parse("example.com/path") // "https://example.com/path" | ||
* parse("example.com/path/to/resource") // "https://example.com/path/to/resource" | ||
* parse("example.com/path/to/resource?query=string") // "https://example.com/path/to/resource?query=string" | ||
* parse("example.com/path/to/resource?query=string#fragment") // "https://example.com/path/to/resource?query=string#fragment" | ||
@@ -41,3 +39,3 @@ * ``` | ||
* ```ts | ||
* import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
* import shurley from 'jsr:@brn/shurley@1.0.9'; // or import shurley from 'https://deno.land/x/shurley@1.0.9/mod.ts'; | ||
* | ||
@@ -44,0 +42,0 @@ * const parsedUrl = shurley.parse('example.com'); // "https://example.com" |
{ | ||
"name": "shurley", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Validate or fix URLs from user input. People make mistakes!", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,3 +26,3 @@ # Shurley | ||
```ts | ||
import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
import shurley from 'jsr:@brn/shurley@1.0.9'; // or import shurley from 'https://deno.land/x/shurley@1.0.9/mod.ts'; | ||
@@ -29,0 +29,0 @@ const parsedUrl = shurley.parse('example.com'); |
@@ -10,4 +10,2 @@ /** | ||
* parse("example.com/path") // "https://example.com/path" | ||
* parse("example.com/path/to/resource") // "https://example.com/path/to/resource" | ||
* parse("example.com/path/to/resource?query=string") // "https://example.com/path/to/resource?query=string" | ||
* parse("example.com/path/to/resource?query=string#fragment") // "https://example.com/path/to/resource?query=string#fragment" | ||
@@ -24,3 +22,3 @@ * ``` | ||
* ```ts | ||
* import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
* import shurley from 'jsr:@brn/shurley@1.0.9'; // or import shurley from 'https://deno.land/x/shurley@1.0.9/mod.ts'; | ||
* | ||
@@ -27,0 +25,0 @@ * const parsedUrl = shurley.parse('example.com'); // "https://example.com" |
@@ -13,4 +13,2 @@ "use strict"; | ||
* parse("example.com/path") // "https://example.com/path" | ||
* parse("example.com/path/to/resource") // "https://example.com/path/to/resource" | ||
* parse("example.com/path/to/resource?query=string") // "https://example.com/path/to/resource?query=string" | ||
* parse("example.com/path/to/resource?query=string#fragment") // "https://example.com/path/to/resource?query=string#fragment" | ||
@@ -45,3 +43,3 @@ * ``` | ||
* ```ts | ||
* import shurley from 'jsr:@brn/shurley@1.0.8'; // or import shurley from 'https://deno.land/x/shurley@1.0.8/mod.ts'; | ||
* import shurley from 'jsr:@brn/shurley@1.0.9'; // or import shurley from 'https://deno.land/x/shurley@1.0.9/mod.ts'; | ||
* | ||
@@ -48,0 +46,0 @@ * const parsedUrl = shurley.parse('example.com'); // "https://example.com" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36510
148