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

zzc-design-mobile

Package Overview
Dependencies
Maintainers
4
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zzc-design-mobile - npm Package Compare versions

Comparing version 3.8.4 to 3.8.5

6

lib/Calendar/components/CalendarListBox.js

@@ -145,3 +145,7 @@ 'use strict';

null,
dayInfo.main
dayInfo.isToday ? _react2.default.createElement(
'span',
null,
'\u4ECA'
) : dayInfo.main
),

@@ -148,0 +152,0 @@ dayInfo.sub != null && _react2.default.createElement(

26

lib/Calendar/util/createCalendarMap.js

@@ -144,3 +144,4 @@ 'use strict';

gone: false,
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n)
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n),
isToday: _isTodayFunc((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }))
}, dateExtension));

@@ -153,3 +154,4 @@ } else {

gone: yesterday && year == now.n_y && month == now.n_m && currData == now.n_d - 1 ? false : true,
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n)
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n),
isToday: _isTodayFunc((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }))
}, dateExtension));

@@ -165,3 +167,4 @@ }

gone: yesterday && year == now.n_y && month == now.n_m && currData == now.n_d - 1 ? false : true,
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n)
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n),
isToday: _isTodayFunc((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }))
}, dateExtension));

@@ -174,3 +177,4 @@ } else {

gone: false,
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n)
sub: _createDayInfoSubText((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }), i18n),
isToday: _isTodayFunc((0, _assign2.default)({}, nowTodayInfo, { c_y: year, c_m: month, c_d: currData }))
}, dateExtension));

@@ -242,3 +246,4 @@ }

main: dataInfo.day,
sub: dataInfo.sub || null
sub: dataInfo.sub || null,
isToday: dataInfo.isToday
};

@@ -266,3 +271,4 @@ var extensionItem = dateExtension[defaultItemInfo.y + '/' + (defaultItemInfo.m + 1) + '/' + defaultItemInfo.d];

main: dataInfo.day,
sub: dataInfo.sub
sub: dataInfo.sub,
isToday: dataInfo.isToday
};

@@ -302,7 +308,11 @@ } else {

}
function _createDayInfoSubText(data, i18n) {
function _createDayInfoSubText(data, _i18n) {
if (data.n_y == data.c_y && data.n_m == data.c_m && data.n_d == data.c_d) {
return i18n.today;
// return i18n.today;
return null;
}
return null;
}
function _isTodayFunc(data) {
return data.n_y == data.c_y && data.n_m == data.c_m && data.n_d == data.c_d;
}
{
"name": "zzc-design-mobile",
"name_cn": "租租车主流程UI规范",
"version": "3.8.4",
"version": "3.8.5",
"description": "",

@@ -6,0 +6,0 @@ "main": "./lib/index.js",

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