🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

ysk-utils

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ysk-utils - npm Package Compare versions

Comparing version
1.0.82
to
1.0.83
+1
-5
dist/limit.js

@@ -25,5 +25,2 @@ "use strict";

shopUserInfo = shopUserInfo || {};
if (shopInfo.isMemberPrice) {
shopUserInfo.isMemberPrice = 1;
}
if (!limitTimeDiscountRes || !limitTimeDiscountRes.id) {

@@ -77,4 +74,3 @@ return false;

if (shopUserInfo.isMemberPrice == 1 &&
shopUserInfo.isVip == 1 &&
shopInfo.isMemberPrice == 1) {
shopUserInfo.isVip == 1) {
const memberPrice = goods.memberPrice || goods.salePrice;

@@ -81,0 +77,0 @@ //是会员而且启用会员价

+1
-1
{
"name": "ysk-utils",
"version": "1.0.82",
"version": "1.0.83",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",