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

@zambezi/address

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zambezi/address - npm Package Compare versions

Comparing version 2.0.2-url-parsing.0 to 2.0.2-url-parsing.1

10

lib/address.js

@@ -728,3 +728,9 @@ (function webpackUniversalModuleDefinition(root, factory) {

function decode(value) {
return value ? decodeURIComponent(value) : ''
if (value) {
return String(value).replace(/%[0-9a-fA-F]{2}/g, function(match) {
return decodeURIComponent(match)
})
} else {
return ''
}
}

@@ -754,3 +760,3 @@ }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))

function encodeKV(v) {
return encode(key) + '=' + encode(v)
return v? encode(key) + '=' + encode(v) : encode(key)
}

@@ -757,0 +763,0 @@ }

2

package.json
{
"name": "@zambezi/address",
"version": "2.0.2-url-parsing.0",
"version": "2.0.2-url-parsing.1",
"description": "API for nap resources",

@@ -5,0 +5,0 @@ "main": "lib/address.js",

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