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.7 to 1.0.8

9

esm/mod.d.ts

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

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

2

package.json
{
"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": [

@@ -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');

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

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

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