Socket
Socket
Sign inDemoInstall

@polka/url

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polka/url - npm Package Compare versions

Comparing version 1.0.0-next.7 to 1.0.0-next.9

4

build.js

@@ -28,3 +28,5 @@ function parse(str) {

if (toDecode && !req._decoded && !!~url.indexOf('%', 1)) {
url = req.url = obj.href = obj.path = obj.pathname = obj._raw = decodeURIComponent(url);
let nxt = url;
try { nxt = decodeURIComponent(url) } catch (e) {/* bad */}
url = req.url = obj.href = obj.path = obj.pathname = obj._raw = nxt;
req._decoded = true;

@@ -31,0 +33,0 @@ }

{
"version": "1.0.0-next.7",
"version": "1.0.0-next.9",
"name": "@polka/url",

@@ -20,3 +20,3 @@ "repository": "lukeed/polka",

},
"gitHead": "60d0e15ad0fa36b0331fc5e4707dd409982f9824"
"gitHead": "5c8f314e57c1edb3132f2556ce13fb6c2b4e839b"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc