@arcteryx/js-url
Advanced tools
Comparing version 0.4.0 to 1.1.0
{ | ||
"name": "@arcteryx/js-url", | ||
"version": "0.4.0", | ||
"version": "1.1.0", | ||
"source": "src/index.js", | ||
"main": "src/index.js", | ||
"module": "dist/index.module.js", | ||
"main": "dist/cjs/index.js", | ||
"umd:main": "dist/umd/index.js", | ||
"module": "dist/es/index.js", | ||
"scripts": { | ||
"build": "microbundle -o dist", | ||
"dev": "microbundle watch -o dist" | ||
"build": "../node_modules/.bin/rollup -c ../scripts/rollup.config.js", | ||
"start": "../node_modules/.bin/rollup -c ../scripts/rollup.config.js -w" | ||
}, | ||
"devDependencies": { | ||
"microbundle": "^0.11.0" | ||
} | ||
"license": "ISC", | ||
"gitHead": "1e57de91be04d631364578cb00a7a65b064472e1" | ||
} |
# ARCTERYX.js | ||
ARCTERYX JavaScript URL. | ||
ARCTERYX JavaScript URL | ||
@@ -14,2 +14,3 @@ This package is an ES Module that you can include in source code to access a list of helper functions. | ||
Build and test locally like this: | ||
``` | ||
@@ -16,0 +17,0 @@ npm install |
@@ -14,3 +14,3 @@ /** | ||
* @brief Converts the product model to match the new PDP model URL. | ||
* Specifically for womens products ending -w or products with periods in them (e.g. B.A.C hat) | ||
* Specifically for womens products ending -w or products with periods in them (e.g. B.A.C hat) | ||
* @param model | ||
@@ -84,3 +84,5 @@ * @returns {String} convertedModel | ||
if (Array.isArray(obj[x])) { | ||
return obj[x].map(i => `${encodeURIComponent(x)}=${encodeURIComponent(i)}`).join("&"); | ||
return obj[x] | ||
.map(i => `${encodeURIComponent(x)}=${encodeURIComponent(i)}`) | ||
.join("&"); | ||
} | ||
@@ -87,0 +89,0 @@ return `${encodeURIComponent(x)}=${encodeURIComponent(obj[x])}`; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
32955
0
10
0
388
1
19
1