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

auction

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auction - npm Package Compare versions

Comparing version

to
0.1.12

2

lib/core.js

@@ -288,3 +288,3 @@ 'use strict';

error = 'Auction already started.';
} else if (!this.openPrice || 'number' !== typeof this.openPrice) {
} else if (!this.openPrice || !_.isNumber(this.openPrice)) {
error = 'Invalid opening price.';

@@ -291,0 +291,0 @@ }

@@ -354,3 +354,3 @@ 'use strict';

error = 'Auction already started.';
} else if (!this.openPrice || 'number' !== typeof this.openPrice) {
} else if (!this.openPrice || !_lodash2['default'].isNumber(this.openPrice)) {
error = 'Invalid opening price.';

@@ -357,0 +357,0 @@ }

{
"name": "auction",
"version": "0.1.11",
"version": "0.1.12",
"description": "Easy way to create auctions",

@@ -5,0 +5,0 @@ "author": {