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

qs-lite

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qs-lite - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

dist/qs-lite.min.js

@@ -1,1 +0,1 @@

!function(n,e){n||(n=e.qs={}),n.parse=function(n){var e={};n&&n.replace(/\+/g," ").split(/[&;]/).forEach((function(n){var o=n.length;if(!o)return;var t=n.indexOf("=");t<0&&(t=o);var r=decodeURIComponent(n.substr(0,t)),i=decodeURIComponent(n.substr(t+1));e[r]=i}));return e},n.stringify=function(n){var e=[];"object"==typeof n&&null!==n&&Object.keys(n).map((function(o){var t=n[o];if(null==t)return;if(t instanceof Function)return;var r=encodeURIComponent(o)+"="+encodeURIComponent(t);e.push(r)}));return e.join("&")}}("undefined"!=typeof exports&&exports,"undefined"!=typeof window?window:{});
var qs=function(n,r,e){return n.parse=function(n){var r={};n&&n.replace(/\+/g," ").split(/[&;]/).forEach((function(n){var t=n.length;if(!t)return;var o=n.indexOf("=");o<0&&(o=t);var u=e(n.substr(0,o)),i=e(n.substr(o+1));r[u]=i}));return r},n.stringify=function(n){var e=[];"object"==typeof n&&null!==n&&Object.keys(n).map((function(t){var o=n[t];if(null==o)return;if(o instanceof Function)return;var u=r(t)+"="+r(o);e.push(u)}));return e.join("&")},n}("undefined"!=typeof exports?exports:{},encodeURIComponent,decodeURIComponent);
{
"name": "qs-lite",
"description": "Lightweight querystring parse() & stringify() at less than 1KB minified",
"version": "0.0.2",
"version": "0.0.3",
"author": "@kawanet",

@@ -11,6 +11,6 @@ "bugs": {

"chai": "^4.3.4",
"jsdoc": "^3.6.6",
"jshint": "^2.12.0",
"mocha": "^8.4.0",
"terser": "^5.7.0"
"jsdoc": "^3.6.7",
"jshint": "^2.13.1",
"mocha": "^9.0.3",
"terser": "^5.7.1"
},

@@ -27,4 +27,3 @@ "files": [

"globals": {
"exports": true,
"window": true
"exports": true
},

@@ -31,0 +30,0 @@ "mocha": true,

@@ -11,8 +11,6 @@ /**

(function(exports, window) {
if (!exports) exports = window.qs = {};
var qs = (function(exports, encodeURIComponent, decodeURIComponent) {
exports.parse = parse;
exports.stringify = stringify;
return exports;

@@ -76,2 +74,2 @@ /**

})(("undefined" !== typeof exports) && exports, ("undefined" !== typeof window) ? window : {});
})(("undefined" !== typeof exports) ? exports : {}, encodeURIComponent, decodeURIComponent);
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