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

@gem-sdk/adapter-shopify

Package Overview
Dependencies
Maintainers
0
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gem-sdk/adapter-shopify - npm Package Compare versions

Comparing version 1.58.0 to 1.63.0

6

dist/cjs/graphql/fragments/cart-line.generated.js

@@ -15,6 +15,6 @@ 'use strict';

}
priceV2 {
price {
...MoneyV2Select
}
compareAtPriceV2 {
compareAtPrice {
...MoneyV2Select

@@ -39,3 +39,3 @@ }

const CartLineSelect = `
fragment CartLineSelect on CartLine {
fragment CartLineSelect on BaseCartLine {
id

@@ -42,0 +42,0 @@ quantity

'use strict';
const normalizeCartProductVariant = (variant)=>{
const { compareAtPriceV2, priceV2, weight, weightUnit, id, sku, image } = variant;
const { compareAtPrice, price, weight, weightUnit, id, sku, image } = variant;
return {

@@ -11,4 +11,4 @@ id,

name: variant.title,
listPrice: compareAtPriceV2?.amount ? +compareAtPriceV2?.amount : 0,
price: +priceV2.amount,
listPrice: compareAtPrice?.amount ? +compareAtPrice?.amount : 0,
price: +price.amount,
weight: {

@@ -15,0 +15,0 @@ value: weight ?? 0,

@@ -13,6 +13,6 @@ /* eslint-disable */ const CartProductVariantSelect = `

}
priceV2 {
price {
...MoneyV2Select
}
compareAtPriceV2 {
compareAtPrice {
...MoneyV2Select

@@ -37,3 +37,3 @@ }

const CartLineSelect = `
fragment CartLineSelect on CartLine {
fragment CartLineSelect on BaseCartLine {
id

@@ -40,0 +40,0 @@ quantity

const normalizeCartProductVariant = (variant)=>{
const { compareAtPriceV2, priceV2, weight, weightUnit, id, sku, image } = variant;
const { compareAtPrice, price, weight, weightUnit, id, sku, image } = variant;
return {

@@ -9,4 +9,4 @@ id,

name: variant.title,
listPrice: compareAtPriceV2?.amount ? +compareAtPriceV2?.amount : 0,
price: +priceV2.amount,
listPrice: compareAtPrice?.amount ? +compareAtPrice?.amount : 0,
price: +price.amount,
weight: {

@@ -13,0 +13,0 @@ value: weight ?? 0,

{
"name": "@gem-sdk/adapter-shopify",
"version": "1.58.0",
"version": "1.63.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "sideEffects": false,

Sorry, the diff of this file is too big to display

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