Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jsenv/url-meta

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsenv/url-meta - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

7

package.json
{
"name": "@jsenv/url-meta",
"version": "7.0.0",
"version": "7.0.1",
"license": "MIT",

@@ -11,4 +11,3 @@ "repository": {

"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
"access": "public"
},

@@ -34,2 +33,2 @@ "author": {

"dependencies": {}
}
}

@@ -22,5 +22,5 @@ import { assertUrlLike } from "./assertions.js"

if (/^[a-zA-Z]{2,}:/.test(urlPattern)) {
return urlPattern
return new URL(urlPattern).href // to perform url encoding of url resource
}
return String(new URL(urlPattern, baseUrl))
}
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