New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shurley

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shurley - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

esm/mod.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc