@types/urlencode
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -7,3 +7,3 @@ // Type definitions for urlencode 1.1 | ||
interface charsetParam { | ||
charset: string; | ||
charset: string; | ||
} | ||
@@ -18,31 +18,31 @@ | ||
declare namespace urlencode { | ||
/** | ||
* Encode string | ||
* @param str The string for encoding. | ||
*/ | ||
function encode(str: string, charset?: string): string; | ||
/** | ||
* Encode string | ||
* @param str The string for encoding. | ||
*/ | ||
function encode(str: string, charset?: string): string; | ||
/** | ||
* Decode string | ||
* @param encodedString The encoded string. | ||
*/ | ||
function decode(encodedString: string, charset?: string): string; | ||
/** | ||
* Decode string | ||
* @param encodedString The encoded string. | ||
*/ | ||
function decode(encodedString: string, charset?: string): string; | ||
/** | ||
* Parse querystring | ||
* @param queryString Querystring | ||
* @param charsetParam The charset for parsing | ||
*/ | ||
function parse(queryString: string, charsetParam: charsetParam): any; | ||
interface charsetParam { | ||
charset: string; | ||
} | ||
/** | ||
* Stringify object | ||
* @param obj Query Object | ||
* @param charsetParam The charset for parsing | ||
*/ | ||
function stringify(obj: any, prefix?: charsetParam, charsetParam?: charsetParam): string; | ||
/** | ||
* Parse querystring | ||
* @param queryString Querystring | ||
* @param charsetParam The charset for parsing | ||
*/ | ||
function parse(queryString: string, charsetParam: charsetParam): any; | ||
interface charsetParam { | ||
charset: string; | ||
} | ||
/** | ||
* Stringify object | ||
* @param obj Query Object | ||
* @param charsetParam The charset for parsing | ||
*/ | ||
function stringify(obj: any, prefix?: charsetParam, charsetParam?: charsetParam): string; | ||
} | ||
export = urlencode; |
{ | ||
"name": "@types/urlencode", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "TypeScript definitions for urlencode", | ||
@@ -14,3 +14,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -23,4 +23,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "3bc75fb5fca67981c097a1d598e21834ef497f535d9a59e9f31aa8b9866624c0", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "afe7bdb9970f920151e8f3c476a4bd11a7942338f3dba515aced33d4e4795dda", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -5,9 +5,9 @@ # Installation | ||
# Summary | ||
This package contains type definitions for urlencode ( https://github.com/node-modules/urlencode ). | ||
This package contains type definitions for urlencode (https://github.com/node-modules/urlencode). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/urlencode | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/urlencode. | ||
Additional Details | ||
* Last updated: Mon, 11 Mar 2019 16:26:56 GMT | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 13:12:51 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by kimcoder <https://github.com/kimcoder>. | ||
These definitions were written by [kimcoder](https://github.com/kimcoder). |
Sorry, the diff of this file is not supported yet
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
3560