Socket
Socket
Sign inDemoInstall

vanilli-shop-client

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilli-shop-client - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

2

dist/models/product.js

@@ -29,3 +29,3 @@ "use strict";

var stock = product.stock;
return stock === undefined || stock > 0;
return stock == null || stock > 0;
};

@@ -32,0 +32,0 @@ return Product;

@@ -241,3 +241,3 @@ "use strict";

var stock = product.stock;
if (stock !== undefined && qty > stock) {
if (stock != null && qty > stock) {
var productName = product.name;

@@ -244,0 +244,0 @@ if (stock === 0) {

{
"name": "vanilli-shop-client",
"version": "1.5.3",
"version": "1.5.4",
"description": "Client for Vanilli Shop API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -49,3 +49,3 @@ import {IBaseDto, IPropertyDto} from "./base";

const stock = product.stock;
return stock === undefined || stock > 0;
return stock == null || stock > 0;
}

@@ -52,0 +52,0 @@ }

@@ -276,3 +276,3 @@ import BaseStore from "./base-store";

if (stock !== undefined && qty > stock) {
if (stock != null && qty > stock) {
const productName = product.name;

@@ -279,0 +279,0 @@

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