Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@171h/utils

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@171h/utils - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

15

dist/index.d.ts

@@ -283,2 +283,15 @@ /**

/**
* 求给定日期的最小值
* @param dates // 日期数组, 可以是无效日期
* @returns
*/
declare function minDate(...dates: Date[]): Date;
/**
* 求给定日期的最大值
* @param dates // 日期数组, 可以是无效日期
* @returns
*/
declare function maxDate(...dates: Date[]): Date;
declare const isDef: <T = any>(val?: T | undefined) => val is T;

@@ -317,2 +330,2 @@ declare const isBoolean: (val: any) => val is boolean;

export { BusinessHours, BusinessHoursMap, Calendar, CalendarConfig, DD, DateTimeString, DayUnit, DurationUnit, HolidayDetail, Hour, HourUnit, MM, Minute, MinuteMaps, MinuteUnit, MonthUnit, Second, SecondUnit, Time, WeekDay, WeekMinute, WeekUnit, YYYY, YearUnit, addBusinessMinutes, assert, businessHoursMap, businessMinuteMap, businessTimeToDate, calendar24Hours, calendarNight, calendarStd, calendarWeek5, dayUnits, daysNameMaps, daysNames, diffBusinessMinutes, getBusinessTime, getDateFromMatch, getTypeName, holidays, hourUnits, isArray, isArrayOfObject, isBoolean, isBrowser, isDate, isDayUnit, isDef, isFunction, isHourUnit, isMinuteUnit, isMonthUnit, isNull, isNumber, isObject, isRegExp, isSecondUnit, isString, isUndefined, isValid, isWeekUnit, isWindow, isYearUnit, minuteUnits, monthUnits, noop, numToTime, numToWeekMinute, secondUnits, timeToNum, toString, units, weekUnits, yearUnits };
export { BusinessHours, BusinessHoursMap, Calendar, CalendarConfig, DD, DateTimeString, DayUnit, DurationUnit, HolidayDetail, Hour, HourUnit, MM, Minute, MinuteMaps, MinuteUnit, MonthUnit, Second, SecondUnit, Time, WeekDay, WeekMinute, WeekUnit, YYYY, YearUnit, addBusinessMinutes, assert, businessHoursMap, businessMinuteMap, businessTimeToDate, calendar24Hours, calendarNight, calendarStd, calendarWeek5, dayUnits, daysNameMaps, daysNames, diffBusinessMinutes, getBusinessTime, getDateFromMatch, getTypeName, holidays, hourUnits, isArray, isArrayOfObject, isBoolean, isBrowser, isDate, isDayUnit, isDef, isFunction, isHourUnit, isMinuteUnit, isMonthUnit, isNull, isNumber, isObject, isRegExp, isSecondUnit, isString, isUndefined, isValid, isWeekUnit, isWindow, isYearUnit, maxDate, minDate, minuteUnits, monthUnits, noop, numToTime, numToWeekMinute, secondUnits, timeToNum, toString, units, weekUnits, yearUnits };

2

package.json
{
"name": "@171h/utils",
"type": "module",
"version": "0.3.0",
"version": "0.4.0",
"packageManager": "pnpm@8.1.1",

@@ -6,0 +6,0 @@ "description": "",

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