fourdollar.tostringquery
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,5 +8,5 @@ "use strict"; | ||
if (typeof params === 'object') { | ||
var esc_1 = encodeURIComponent; | ||
const esc = encodeURIComponent; | ||
return Object.keys(params) | ||
.map(function (k) { return esc_1(k) + '=' + esc_1(params[k]); }) | ||
.map(k => esc(k) + '=' + esc(params[k])) | ||
.join('&'); | ||
@@ -20,3 +20,1 @@ } | ||
exports.default = toStringQuery; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "fourdollar.tostringquery", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"author": { | ||
@@ -19,4 +20,3 @@ "name": "bynaki", | ||
], | ||
"license": "MIT", | ||
"typings": "index.d.ts" | ||
"license": "MIT" | ||
} |
@@ -9,3 +9,3 @@ # fourdollar.toStringQuery | ||
```bash | ||
$ npm install --save fourdollar.tostringquery | ||
$ yarn add fourdollar.tostringquery | ||
``` | ||
@@ -12,0 +12,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
1270
4
23