Socket
Socket
Sign inDemoInstall

intervals-fn

Package Overview
Dependencies
1
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

14

es/lib.d.ts
import { IntervalFT, IntervalSE } from './data.structures';
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => { [P in ({ [P in keyof T]: P; } & {
from: never;
to: never;
} & {
[x: string]: never;
})[keyof T]]: T[P]; } & IntervalSE;
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => Pick<T, Exclude<keyof T, "from" | "to">> & IntervalSE;
export declare const convertARtoSE: ([start, end]: [number, number]) => IntervalSE;
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => { [P in ({ [P in keyof T]: P; } & {
start: never;
end: never;
} & {
[x: string]: never;
})[keyof T]]: T[P]; } & IntervalFT;
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => Pick<T, Exclude<keyof T, "start" | "end">> & IntervalFT;
export declare const convertSEtoAR: (r: IntervalSE) => [number, number];

@@ -16,0 +6,0 @@ /**

import { IntervalFT, IntervalSE } from './data.structures';
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => { [P in ({ [P in keyof T]: P; } & {
from: never;
to: never;
} & {
[x: string]: never;
})[keyof T]]: T[P]; } & IntervalSE;
export declare const convertFTtoSE: <T extends IntervalFT>(r: T) => Pick<T, Exclude<keyof T, "from" | "to">> & IntervalSE;
export declare const convertARtoSE: ([start, end]: [number, number]) => IntervalSE;
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => { [P in ({ [P in keyof T]: P; } & {
start: never;
end: never;
} & {
[x: string]: never;
})[keyof T]]: T[P]; } & IntervalFT;
export declare const convertSEtoFT: <T extends IntervalSE>(r: T) => Pick<T, Exclude<keyof T, "start" | "end">> & IntervalFT;
export declare const convertSEtoAR: (r: IntervalSE) => [number, number];

@@ -16,0 +6,0 @@ /**

2

package.json
{
"name": "intervals-fn",
"version": "3.0.1",
"version": "3.0.2",
"description": "Manipulate intervals in a functional way",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc