Socket
Socket
Sign inDemoInstall

@types/qs

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/qs - npm Package Compare versions

Comparing version 6.5.3 to 6.9.0

17

qs/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for qs 6.5
// Type definitions for qs 6.9
// Project: https://github.com/ljharb/qs

@@ -10,2 +10,3 @@ // Definitions by: Roman Korneev <https://github.com/RWander>

// Dan Smith <https://github.com/dpsmith3>
// Hunter Perrin <https://github.com/hperrin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -17,2 +18,5 @@

declare namespace QueryString {
type defaultEncoder = (str: any, defaultEncoder?: any, charset?: string) => string;
type defaultDecoder = (str: string, decoder?: any, charset?: string) => string;
interface IStringifyOptions {

@@ -23,3 +27,3 @@ delimiter?: string;

encode?: boolean;
encoder?: (str: string) => any;
encoder?: (str: any, defaultEncoder: defaultEncoder, charset: string, type: 'key' | 'value') => string;
filter?: Array<string | number> | ((prefix: string, value: any) => any);

@@ -34,2 +38,4 @@ arrayFormat?: 'indices' | 'brackets' | 'repeat' | 'comma';

allowDots?: boolean;
charset?: 'utf-8' | 'iso-8859-1';
charsetSentinel?: boolean;
}

@@ -40,4 +46,4 @@

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

@@ -51,2 +57,5 @@ parseArrays?: boolean;

ignoreQueryPrefix?: boolean;
charset?: 'utf-8' | 'iso-8859-1';
charsetSentinel?: boolean;
interpretNumericEntities?: boolean;
}

@@ -53,0 +62,0 @@

{
"name": "@types/qs",
"version": "6.5.3",
"version": "6.9.0",
"description": "TypeScript definitions for qs",

@@ -41,6 +41,11 @@ "license": "MIT",

"githubUsername": "dpsmith3"
},
{
"name": "Hunter Perrin",
"url": "https://github.com/hperrin",
"githubUsername": "hperrin"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -53,4 +58,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "faba65fe1700af3d6d1582b1ece4d0889a09d5b9d2f7d622a0782c78aa05c699",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "01d1eaa081866ad9ac523018dc2189ede33eb5ab2c5a891d4ab4a3f90f08ac5e",
"typeScriptVersion": "2.8"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for qs ( https://github.com/ljharb/qs ).
This package contains type definitions for qs (https://github.com/ljharb/qs).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Tue, 09 Apr 2019 17:21:11 GMT
* Last updated: Thu, 07 Nov 2019 21:09:39 GMT
* Dependencies: none

@@ -18,2 +18,2 @@ * Global values: qs

# Credits
These definitions were written by Roman Korneev <https://github.com/RWander>, Leon Yu <https://github.com/leonyu>, Belinda Teh <https://github.com/tehbelinda>, Melvin Lee <https://github.com/zyml>, Arturs Vonda <https://github.com/artursvonda>, Carlos Bonetti <https://github.com/CarlosBonetti>, Dan Smith <https://github.com/dpsmith3>.
These definitions were written by Roman Korneev <https://github.com/RWander>, Leon Yu <https://github.com/leonyu>, Belinda Teh <https://github.com/tehbelinda>, Melvin Lee <https://github.com/zyml>, Arturs Vonda <https://github.com/artursvonda>, Carlos Bonetti <https://github.com/CarlosBonetti>, Dan Smith <https://github.com/dpsmith3>, and Hunter Perrin <https://github.com/hperrin>.
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