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

backk-frontend-utils

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backk-frontend-utils - npm Package Compare versions

Comparing version 1.0.103 to 1.0.104

20

lib/decorators/typeproperty/IsTimestampBetween.js

@@ -56,3 +56,3 @@ import { registerDecorator } from 'cv-pksilen';

validate(value) {
const date = dayjs(value);
let date = dayjs(value);
if (unit === 'isoDayOfWeek') {

@@ -73,11 +73,11 @@ const dayOfWeek = date.isoWeekday();

if (unit === 'hour' || unit === 'minute') {
date.set('year', 1970);
date.set('month', 0);
date.set('date', 1);
startTimestamp.set('year', 1970);
startTimestamp.set('month', 0);
startTimestamp.set('date', 1);
endTimestamp.set('year', 1970);
endTimestamp.set('month', 0);
endTimestamp.set('date', 1);
date = date.set('year', 1970);
date = date.set('month', 0);
date = date.set('date', 1);
startTimestamp = startTimestamp.set('year', 1970);
startTimestamp = startTimestamp.set('month', 0);
startTimestamp = startTimestamp.set('date', 1);
endTimestamp = endTimestamp.set('year', 1970);
endTimestamp = endTimestamp.set('month', 0);
endTimestamp = endTimestamp.set('date', 1);
}

@@ -84,0 +84,0 @@ return date.isBetween(startTimestamp, endTimestamp, unit);

{
"name": "backk-frontend-utils",
"version": "1.0.103",
"version": "1.0.104",
"description": "Web frontend utils for Backk microservices",

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

Sorry, the diff of this file is not supported yet

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