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

lil-uri

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lil-uri - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

2

package.json
{
"name": "lil-uri",
"description": "Tiny URI parser and builder with chainable API",
"version": "0.2.2",
"version": "0.3.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "lil-js/uri",

@@ -24,3 +24,7 @@ /*! lil-uri - v0.2.0 - MIT License - https://github.com/lil-js/uri */

function decode (uri) {
return decodeURIComponent(escape(uri))
try{
return decodeURIComponent(uri)
}catch(e){
return unescape(uri)
}
}

@@ -155,3 +159,3 @@

} else {
return name + (p.query[name] ? '=' + p.query[name] : '')
return name + (p.query[name] != null ? '=' + p.query[name] : '')
}

@@ -158,0 +162,0 @@ }).join('&')))

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