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

@peerbit/time

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerbit/time - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

lib/esm/index.d.ts
export declare class TimeoutError extends Error {
constructor(message: string);
constructor(message?: string);
}
export declare class AbortError extends Error {
constructor();
constructor(message?: string);
}

@@ -7,0 +7,0 @@ export declare const delay: (ms: number, options?: {

@@ -7,4 +7,4 @@ export class TimeoutError extends Error {

export class AbortError extends Error {
constructor() {
super();
constructor(message) {
super(message);
}

@@ -11,0 +11,0 @@ }

{
"name": "@peerbit/time",
"version": "2.0.1",
"version": "2.0.2",
"description": "Utility functions for time",

@@ -32,3 +32,3 @@ "type": "module",

"license": "MIT",
"gitHead": "f4cb6a526d26e98360c32fd28dcdf9eb7ea10551"
"gitHead": "a9a953326be9f26ded767042964c1a42451107a4"
}
export class TimeoutError extends Error {
constructor(message: string) {
constructor(message?: string) {
super(message);

@@ -8,4 +8,4 @@ }

export class AbortError extends Error {
constructor() {
super();
constructor(message?: string) {
super(message);
}

@@ -12,0 +12,0 @@ }

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