New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@arcteryx/components-cart

Package Overview
Dependencies
Maintainers
7
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 5.4.0 to 5.4.1

11

CHANGELOG.md

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

## [5.4.1](http://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-cart@5.4.0...@arcteryx/components-cart@5.4.1) (2021-01-14)
### Bug Fixes
* **cart:** TMS-542 use AddMoreStock from TAS response for out of stock messaging ([e10bef9](http://bitbucket.org/arcteryx/arcteryx-js-helpers/commits/e10bef99189a89bc7bc6fb031591548b19d58818))
# [5.4.0](http://bitbucket.org/arcteryx/arcteryx-js-helpers/compare/@arcteryx/components-cart@5.3.1...@arcteryx/components-cart@5.4.0) (2021-01-14)

@@ -8,0 +19,0 @@

6

dist/cjs/index.js

@@ -282,9 +282,7 @@ 'use strict';

isSidebar,
stockMessage
insufficientInventory
}) => {
const tasInsufficientMessages = ['Sorry there is insufficient inventory to fulfil your request', 'Désolé, nous ne pouvons satisfaire votre demande en raison d’un stock insuffisant', 'Es tut uns leid, aber es sind nicht genügend Artikel auf Lager, um Ihre Anfrage zu bearbeiten', '申し訳ございません。ご注文に対応できる十分な数の在庫がありません', '对不起,存货不足', 'Beklager, vi har ikke nok varer på lager til å imøtekomme forespørselen din', 'Lo sentimos, no hay suficiente inventario para atender su solicitud'];
const {
t
} = reactI18next.useTranslation("components-cart");
const insufficientInventory = tasInsufficientMessages.includes(stockMessage);
const moreThanTen = quantity >= stock;

@@ -585,3 +583,3 @@

isSidebar: isSidebar,
stockMessage: product.stockMessage
insufficientInventory: product.isOutOfStock
}), /*#__PURE__*/React__default.createElement(LinePrice, {

@@ -588,0 +586,0 @@ className: "qa-cart-item-price",

@@ -274,9 +274,7 @@ import PropTypes from 'prop-types';

isSidebar,
stockMessage
insufficientInventory
}) => {
const tasInsufficientMessages = ['Sorry there is insufficient inventory to fulfil your request', 'Désolé, nous ne pouvons satisfaire votre demande en raison d’un stock insuffisant', 'Es tut uns leid, aber es sind nicht genügend Artikel auf Lager, um Ihre Anfrage zu bearbeiten', '申し訳ございません。ご注文に対応できる十分な数の在庫がありません', '对不起,存货不足', 'Beklager, vi har ikke nok varer på lager til å imøtekomme forespørselen din', 'Lo sentimos, no hay suficiente inventario para atender su solicitud'];
const {
t
} = useTranslation("components-cart");
const insufficientInventory = tasInsufficientMessages.includes(stockMessage);
const moreThanTen = quantity >= stock;

@@ -577,3 +575,3 @@

isSidebar: isSidebar,
stockMessage: product.stockMessage
insufficientInventory: product.isOutOfStock
}), /*#__PURE__*/React.createElement(LinePrice, {

@@ -580,0 +578,0 @@ className: "qa-cart-item-price",

@@ -281,9 +281,7 @@ (function (global, factory) {

isSidebar,
stockMessage
insufficientInventory
}) => {
const tasInsufficientMessages = ['Sorry there is insufficient inventory to fulfil your request', 'Désolé, nous ne pouvons satisfaire votre demande en raison d’un stock insuffisant', 'Es tut uns leid, aber es sind nicht genügend Artikel auf Lager, um Ihre Anfrage zu bearbeiten', '申し訳ございません。ご注文に対応できる十分な数の在庫がありません', '对不起,存货不足', 'Beklager, vi har ikke nok varer på lager til å imøtekomme forespørselen din', 'Lo sentimos, no hay suficiente inventario para atender su solicitud'];
const {
t
} = reactI18next.useTranslation("components-cart");
const insufficientInventory = tasInsufficientMessages.includes(stockMessage);
const moreThanTen = quantity >= stock;

@@ -584,3 +582,3 @@

isSidebar: isSidebar,
stockMessage: product.stockMessage
insufficientInventory: product.isOutOfStock
}), /*#__PURE__*/React__default.createElement(LinePrice, {

@@ -587,0 +585,0 @@ className: "qa-cart-item-price",

{
"name": "@arcteryx/components-cart",
"version": "5.4.0",
"version": "5.4.1",
"description": "Arcteryx Cart",

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

"license": "ISC",
"gitHead": "e9aa65784b48e5cf5150f818e1d5873917d2796f",
"gitHead": "b511b0a6be6c3161a50b95d90076864e14993d3f",
"peerDependencies": {

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

"devDependencies": {
"@arcteryx/data-models": "^5.5.0"
"@arcteryx/data-models": "^5.5.1"
},

@@ -34,0 +34,0 @@ "files": [

@@ -99,3 +99,3 @@ import PropTypes from "prop-types";

isSidebar={isSidebar}
stockMessage={product.stockMessage}
insufficientInventory={product.isOutOfStock}
/>

@@ -102,0 +102,0 @@

@@ -67,15 +67,5 @@ import React from "react";

isSidebar,
stockMessage
insufficientInventory
}) => {
const tasInsufficientMessages = [
'Sorry there is insufficient inventory to fulfil your request',
'Désolé, nous ne pouvons satisfaire votre demande en raison d’un stock insuffisant',
'Es tut uns leid, aber es sind nicht genügend Artikel auf Lager, um Ihre Anfrage zu bearbeiten',
'申し訳ございません。ご注文に対応できる十分な数の在庫がありません',
'对不起,存货不足',
'Beklager, vi har ikke nok varer på lager til å imøtekomme forespørselen din',
'Lo sentimos, no hay suficiente inventario para atender su solicitud'
]
const { t } = useTranslation("components-cart");
const insufficientInventory = tasInsufficientMessages.includes(stockMessage);
const moreThanTen = quantity >= stock;

@@ -82,0 +72,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

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