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

@platform/util.value

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platform/util.value - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

11

lib/time/types.d.ts
/// <reference types="node" />
import { Dayjs, ConfigType } from 'dayjs';
import { IDuration, TimeUnit } from '@platform/types';
export { IDuration, TimeUnit };
export declare type TimeDelay<T = any> = (msecs: number, callback?: () => T) => TimeDelayPromise<T>;

@@ -34,11 +36,2 @@ export declare type TimeDelayPromise<T = any> = Promise<T> & {

};
export declare type IDuration = {
msec: number;
sec: number;
min: number;
hour: number;
day: number;
toString(unit?: TimerUnit): string;
};
export declare type TimerUnit = 'msec' | 'ms' | 'sec' | 's' | 'min' | 'm' | 'hour' | 'h' | 'day' | 'd';
export declare type ITimer = {

@@ -45,0 +38,0 @@ startedAt: Date;

4

package.json
{
"name": "@platform/util.value",
"version": "0.6.1",
"version": "0.6.2",
"description": "Helpers for working with, transforming, and formatting values.",

@@ -16,3 +16,3 @@ "main": "lib/index",

"@platform/libs": "0.1.5",
"@platform/types": "0.2.0",
"@platform/types": "0.2.1",
"@platform/util.is": "0.0.99",

@@ -19,0 +19,0 @@ "@types/semver": "6.2.0",

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