From d837f183b5a596e0330c7daade17943aaedb0c5c Mon Sep 17 00:00:00 2001 From: Puru Vijay Date: Wed, 7 Aug 2024 19:32:44 +0530 Subject: [PATCH] Push --- lib/plugins/jsonp.js | 2 +- lib/plugins/query.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/plugins/jsonp.js b/lib/plugins/jsonp.js index e041b79e7..ee5c8769a 100644 --- a/lib/plugins/jsonp.js +++ b/lib/plugins/jsonp.js @@ -2,7 +2,7 @@ 'use strict'; -var qs = require('qs'); +var qs = require('neoqs/legacy'); ///--- API diff --git a/lib/plugins/query.js b/lib/plugins/query.js index 49aec971f..4b2f97b35 100644 --- a/lib/plugins/query.js +++ b/lib/plugins/query.js @@ -2,7 +2,7 @@ 'use strict'; -var qs = require('qs'); +var qs = require('neoqs/legacy'); var assert = require('assert-plus'); /** @@ -12,7 +12,7 @@ var assert = require('assert-plus'); * You can disable by passing in `mapParams: false` in the options object. * * Many options correspond directly to option defined for the underlying - * [`qs.parse`](https://github.com/ljharb/qs). + * [`qs.parse`](https://github.com/puruvj/neoqs). * * @public * @function queryParser diff --git a/package.json b/package.json index 6b07f155e..de5697d9b 100644 --- a/package.json +++ b/package.json @@ -104,10 +104,10 @@ "lru-cache": "^7.14.1", "mime": "^3.0.0", "negotiator": "^0.6.2", + "neoqs": "^6.12.4", "once": "^1.4.0", "pidusage": "^3.0.2", "pino": "^8.7.0", - "qs": "^6.7.0", "restify-errors": "^8.0.2", "semver": "^7.3.8", "send": "^0.18.0",