Skip to content

Commit 2fd67e3

Browse files
committed
refactor: replace qs with neoqs
1 parent 06a28ee commit 2fd67e3

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"@types/on-finished": "^2.3.4",
7373
"@types/pem": "^1.14.4",
7474
"@types/proxy-addr": "^2.0.3",
75-
"@types/qs": "^6.9.15",
7675
"@types/supertest": "^6.0.2",
7776
"@types/type-is": "^1.6.6",
7877
"@types/vary": "^1.1.3",
@@ -112,9 +111,9 @@
112111
"etag": "^1.8.1",
113112
"fresh": "^0.5.2",
114113
"mime-types": "^2.1.35",
114+
"neoqs": "^6.12.3",
115115
"on-finished": "^2.4.1",
116116
"proxy-addr": "^2.0.7",
117-
"qs": "^6.12.1",
118117
"tmp-cache": "^1.1.0",
119118
"type-is": "^1.6.18",
120119
"vary": "^1.1.2",

src/qs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { parse, stringify } from 'qs'
10+
import { parse, stringify } from 'neoqs'
1111
import { QSParserConfig } from './types/qs.js'
1212

1313
/**

tests/router/router.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { parse } from 'qs'
10+
import { parse } from 'neoqs'
1111
import { test } from '@japa/runner'
1212
import { EncryptionFactory } from '@adonisjs/encryption/factories'
1313

0 commit comments

Comments
 (0)