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

karl-common-util

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karl-common-util - npm Package Compare versions

Comparing version 1.5.11 to 1.7.0

6

dist/http/index.js

@@ -108,3 +108,3 @@ "use strict";

if (!Array.isArray(v)) {
v = encodeURI(v);
v = encodeURIComponent(v);
} else {

@@ -114,7 +114,7 @@ v = v.map(function (d) {

for (var k1 in d) {
d[k1] = encodeURI(d[k1]);
d[k1] = encodeURIComponent(d[k1]);
}
return d;
} else {
return encodeURI(d);
return encodeURIComponent(d);
}

@@ -121,0 +121,0 @@ });

{
"name": "karl-common-util",
"version": "1.5.11",
"version": "1.7.0",
"description": "karl common lib for client and server",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -71,3 +71,3 @@ import "isomorphic-fetch"

if (!Array.isArray(v)) {
v = encodeURI(v)
v = encodeURIComponent(v)
} else {

@@ -77,7 +77,7 @@ v = v.map(d => {

for (let k1 in d) {
d[k1] = encodeURI(d[k1])
d[k1] = encodeURIComponent(d[k1])
}
return d
} else {
return encodeURI(d)
return encodeURIComponent(d)
}

@@ -84,0 +84,0 @@ })

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