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

query-string

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

query-string - npm Package Compare versions

Comparing version 6.4.0 to 6.4.2

3

index.js
'use strict';
const strictUriEncode = require('strict-uri-encode');
const decodeComponent = require('decode-uri-component');
const splitOnFirst = require('split-on-first');

@@ -185,3 +186,3 @@ function encoderForArrayFormat(options) {

for (const param of input.split('&')) {
let [key, value] = param.replace(/\+/g, ' ').split('=');
let [key, value] = splitOnFirst(param.replace(/\+/g, ' '), '=');

@@ -188,0 +189,0 @@ // Missing `=` should be `null`:

{
"name": "query-string",
"version": "6.4.0",
"version": "6.4.2",
"description": "Parse and stringify URL query strings",

@@ -38,2 +38,3 @@ "license": "MIT",

"dependencies": {
"split-on-first": "^1.0.0",
"decode-uri-component": "^0.2.0",

@@ -40,0 +41,0 @@ "strict-uri-encode": "^2.0.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