Comparing version 6.9.10 to 6.9.11
@@ -41,2 +41,3 @@ export = QueryString; | ||
allowPrototypes?: boolean | undefined; | ||
allowSparse?: boolean | undefined; | ||
parameterLimit?: number | undefined; | ||
@@ -43,0 +44,0 @@ strictNullHandling?: boolean | undefined; |
{ | ||
"name": "@types/qs", | ||
"version": "6.9.10", | ||
"version": "6.9.11", | ||
"description": "TypeScript definitions for qs", | ||
@@ -63,4 +63,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "d935324b07497b49e62643ab51abd2ea063f34314b2f5a415424fdda6a6e8714", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "287e7b46b4d9d15d0cfed0047833433c5f412f05b83bac6095af50e2a091edc8", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -9,65 +9,5 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qs/index.d.ts) | ||
````ts | ||
export = QueryString; | ||
export as namespace qs; | ||
declare namespace QueryString { | ||
type defaultEncoder = (str: any, defaultEncoder?: any, charset?: string) => string; | ||
type defaultDecoder = (str: string, decoder?: any, charset?: string) => string; | ||
interface IStringifyOptions { | ||
delimiter?: string | undefined; | ||
strictNullHandling?: boolean | undefined; | ||
skipNulls?: boolean | undefined; | ||
encode?: boolean | 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; | ||
indices?: boolean | undefined; | ||
sort?: ((a: any, b: any) => number) | undefined; | ||
serializeDate?: ((d: Date) => string) | undefined; | ||
format?: "RFC1738" | "RFC3986" | undefined; | ||
encodeValuesOnly?: boolean | undefined; | ||
addQueryPrefix?: boolean | undefined; | ||
allowDots?: boolean | undefined; | ||
charset?: "utf-8" | "iso-8859-1" | undefined; | ||
charsetSentinel?: boolean | undefined; | ||
} | ||
interface IParseOptions { | ||
comma?: boolean | undefined; | ||
delimiter?: string | RegExp | undefined; | ||
depth?: number | false | undefined; | ||
decoder?: | ||
| ((str: string, defaultDecoder: defaultDecoder, charset: string, type: "key" | "value") => any) | ||
| undefined; | ||
arrayLimit?: number | undefined; | ||
parseArrays?: boolean | undefined; | ||
allowDots?: boolean | undefined; | ||
plainObjects?: boolean | undefined; | ||
allowPrototypes?: boolean | undefined; | ||
parameterLimit?: number | undefined; | ||
strictNullHandling?: boolean | undefined; | ||
ignoreQueryPrefix?: boolean | undefined; | ||
charset?: "utf-8" | "iso-8859-1" | undefined; | ||
charsetSentinel?: boolean | undefined; | ||
interpretNumericEntities?: boolean | undefined; | ||
} | ||
interface ParsedQs { | ||
[key: string]: undefined | string | string[] | ParsedQs | ParsedQs[]; | ||
} | ||
function stringify(obj: any, options?: IStringifyOptions): string; | ||
function parse(str: string, options?: IParseOptions & { decoder?: never | undefined }): ParsedQs; | ||
function parse(str: string | Record<string, string>, options?: IParseOptions): { [key: string]: unknown }; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT | ||
* Last updated: Thu, 21 Dec 2023 21:06:58 GMT | ||
* Dependencies: none | ||
@@ -74,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52
6394
16