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

@arcteryx/components-cart

Package Overview
Dependencies
Maintainers
6
Versions
940
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcteryx/components-cart - npm Package Compare versions

Comparing version 1.1.22 to 1.1.23

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.1.23](http://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-cart@1.1.22...@arcteryx/components-cart@1.1.23) (2020-08-24)
**Note:** Version bump only for package @arcteryx/components-cart
## [1.1.22](http://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-cart@1.1.21...@arcteryx/components-cart@1.1.22) (2020-08-11)

@@ -8,0 +16,0 @@

18

dist/cjs/index.js

@@ -346,3 +346,4 @@ 'use strict';

var priceFormat = function priceFormat(price, currencyCode, _country, _language) {
var currencyDisplay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "symbol";
var _currencyDisplay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "symbol";
var formattedPrice = "";

@@ -354,2 +355,4 @@

var currencyDisplay = _currencyDisplay;
if (price !== null && price !== "") {

@@ -372,3 +375,14 @@ if (language === "jp") {

language = "ja";
country = "ca";
country = "CA";
} // When country/currency is NOK always display with CODE (not symbol like `kr`)
if (country === "NO") {
currencyDisplay = "code";
} // When language is no, be consitent with showing CA$ and US$
// (if using no as language, the currency code is not consistent between runtimes)
if (language === "no" && (country === "CA" || country === "US")) {
language = "zh";
}

@@ -375,0 +389,0 @@

@@ -338,3 +338,4 @@ import React, { useContext } from 'react';

var priceFormat = function priceFormat(price, currencyCode, _country, _language) {
var currencyDisplay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "symbol";
var _currencyDisplay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "symbol";
var formattedPrice = "";

@@ -346,2 +347,4 @@

var currencyDisplay = _currencyDisplay;
if (price !== null && price !== "") {

@@ -364,3 +367,14 @@ if (language === "jp") {

language = "ja";
country = "ca";
country = "CA";
} // When country/currency is NOK always display with CODE (not symbol like `kr`)
if (country === "NO") {
currencyDisplay = "code";
} // When language is no, be consitent with showing CA$ and US$
// (if using no as language, the currency code is not consistent between runtimes)
if (language === "no" && (country === "CA" || country === "US")) {
language = "zh";
}

@@ -367,0 +381,0 @@

@@ -347,3 +347,4 @@ (function (global, factory) {

var priceFormat = function priceFormat(price, currencyCode, _country, _language) {
var currencyDisplay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "symbol";
var _currencyDisplay = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "symbol";
var formattedPrice = "";

@@ -355,2 +356,4 @@

var currencyDisplay = _currencyDisplay;
if (price !== null && price !== "") {

@@ -373,3 +376,14 @@ if (language === "jp") {

language = "ja";
country = "ca";
country = "CA";
} // When country/currency is NOK always display with CODE (not symbol like `kr`)
if (country === "NO") {
currencyDisplay = "code";
} // When language is no, be consitent with showing CA$ and US$
// (if using no as language, the currency code is not consistent between runtimes)
if (language === "no" && (country === "CA" || country === "US")) {
language = "zh";
}

@@ -376,0 +390,0 @@

6

package.json
{
"name": "@arcteryx/components-cart",
"version": "1.1.22",
"version": "1.1.23",
"description": "Arcteryx Cart",

@@ -18,3 +18,3 @@ "source": "src/index.js",

"license": "ISC",
"gitHead": "a75283d8c63b3d6a10105449f9d2f89d12cb0cb3",
"gitHead": "074799a683c67e11ae1402b30c40a2f5b5d5fd2f",
"peerDependencies": {

@@ -25,3 +25,3 @@ "@arcteryx/components-contexts": "^1.1.0"

"@arcteryx/components-button": "^1.28.0",
"@arcteryx/components-price": "^1.2.0",
"@arcteryx/components-price": "^1.2.1",
"react-i18next": "^11.3.3"

@@ -28,0 +28,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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