@endpass/utils
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -6,2 +6,6 @@ 'use strict'; | ||
function mapToQueryString (url, params) { | ||
if (!params || Object.keys(params).length === 0) { | ||
return url; | ||
} | ||
var stringedParams = Object.keys(params).map(function (key) { | ||
@@ -8,0 +12,0 @@ return "".concat(key, "=").concat(params[key]); |
{ | ||
"name": "@endpass/utils", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Utils and helper functions", | ||
@@ -20,3 +20,5 @@ "author": "Endpass, Inc", | ||
"unit": "jest --config ./jest.conf.js", | ||
"format": "prettier --write \"src/**/*.{js,json}\"", | ||
"format:eslint": "eslint --ext .json,.js src/ --fix", | ||
"format:prettier": "prettier --write '**/*.{js,json}'", | ||
"format": "yarn format:eslint && yarn format:prettier", | ||
"lint": "eslint --fix \"./src/**/*.js\"" | ||
@@ -28,5 +30,5 @@ }, | ||
"lint-staged": { | ||
"./src/**/*.js": [ | ||
"*.{js,json}": [ | ||
"eslint --fix", | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
@@ -60,2 +62,3 @@ ] | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-json": "^1.4.0", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
@@ -62,0 +65,0 @@ "find": "^0.3.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
269382
18
306
22