Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcteryx/js-url

Package Overview
Dependencies
Maintainers
5
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcteryx/js-url - npm Package Compare versions

Comparing version 0.4.0 to 1.1.0

dist/cjs/index.js

16

package.json
{
"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])}`;

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