Socket
Socket
Sign inDemoInstall

@types/qs

Package Overview
Dependencies
0
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.9.7 to 6.9.8

20

qs/index.d.ts

@@ -25,13 +25,15 @@ // Type definitions for qs 6.9

encode?: boolean | undefined;
encoder?: ((str: any, defaultEncoder: defaultEncoder, charset: string, type: 'key' | 'value') => string) | undefined;
encoder?:
| ((str: any, defaultEncoder: defaultEncoder, charset: string, type: "key" | "value") => string)
| undefined;
filter?: Array<string | number> | ((prefix: string, value: any) => any) | undefined;
arrayFormat?: 'indices' | 'brackets' | 'repeat' | 'comma' | undefined;
arrayFormat?: "indices" | "brackets" | "repeat" | "comma" | undefined;
indices?: boolean | undefined;
sort?: ((a: any, b: any) => number) | undefined;
serializeDate?: ((d: Date) => string) | undefined;
format?: 'RFC1738' | 'RFC3986' | undefined;
format?: "RFC1738" | "RFC3986" | undefined;
encodeValuesOnly?: boolean | undefined;
addQueryPrefix?: boolean | undefined;
allowDots?: boolean | undefined;
charset?: 'utf-8' | 'iso-8859-1' | undefined;
charset?: "utf-8" | "iso-8859-1" | undefined;
charsetSentinel?: boolean | undefined;

@@ -44,3 +46,5 @@ }

depth?: number | false | undefined;
decoder?: ((str: string, defaultDecoder: defaultDecoder, charset: string, type: 'key' | 'value') => any) | undefined;
decoder?:
| ((str: string, defaultDecoder: defaultDecoder, charset: string, type: "key" | "value") => any)
| undefined;
arrayLimit?: number | undefined;

@@ -54,3 +58,3 @@ parseArrays?: boolean | undefined;

ignoreQueryPrefix?: boolean | undefined;
charset?: 'utf-8' | 'iso-8859-1' | undefined;
charset?: "utf-8" | "iso-8859-1" | undefined;
charsetSentinel?: boolean | undefined;

@@ -60,3 +64,5 @@ interpretNumericEntities?: boolean | undefined;

interface ParsedQs { [key: string]: undefined | string | string[] | ParsedQs | ParsedQs[] }
interface ParsedQs {
[key: string]: undefined | string | string[] | ParsedQs | ParsedQs[];
}

@@ -63,0 +69,0 @@ function stringify(obj: any, options?: IStringifyOptions): string;

{
"name": "@types/qs",
"version": "6.9.7",
"version": "6.9.8",
"description": "TypeScript definitions for qs",

@@ -63,4 +63,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs",

"dependencies": {},
"typesPublisherContentHash": "b33fed3eed022f94c7db53593571f370eaa77aa17b3e302dc1bd77304f03e56c",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "b958a7001e037ec7b965c8c760bb8a500c4f6e4d9cc575bd5f8bead56fa20afd",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:42 GMT
* Last updated: Wed, 30 Aug 2023 19:35:25 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `qs`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc