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

intervals-fn

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intervals-fn - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

7

dist/lib.d.ts

@@ -1,2 +0,2 @@

import { interval } from './data.structures';
import { interval, IntervalFT, IntervalSE } from './data.structures';
/**

@@ -11,3 +11,3 @@ * Complement of `intervals` bounded to `boundaries`. Convert space between two consecutive intervals into interval.

export declare function complement<T extends interval>(boundaries: interval, intervals: T | T[]): T[];
export declare function unify<T extends interval>(interval1: T | T[], interval2: T | T[]): T[];
export declare const unify: (interval1: IntervalSE | IntervalFT | interval[], interval2: IntervalSE | IntervalFT | interval[]) => interval[];
/**

@@ -17,3 +17,2 @@ * Intersections of `interval1` and `interval2`.

*/
export declare function intersect<T extends interval>(interval1: T, interval2: T): T;
export declare function intersect<T extends interval>(interval1: T | T[], interval2: T | T[]): T[];
export declare const intersect: (interval1: IntervalSE | IntervalFT | interval[], interval2: IntervalSE | IntervalFT | interval[]) => interval[];

@@ -1,1 +0,1 @@

{"name":"intervals-fn","version":"1.2.0","description":"Manipulate intervals in a functional way","main":"dist/index.bundle.js","types":"dist/lib.d.ts","scripts":{"ava":"ava build/*.test.js","test":"tslint -p ./ && tsc && nyc --reporter=lcov npm run ava","test:codecov":"tslint -p ./ && tsc && nyc npm run ava","build":"webpack && npm run doc","doc":"typedoc --out docs/ dist/","prepublish":"npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post","watch:ts":"tsc -w","watch:ava":"ava -w build/*.test.js","watch:test":"concurrently -k -p \"[{name}]\" -n \"TypeScript,Ava\" -c \"blue.bold,magenta.bold\" \"npm run watch:ts\" \"npm run watch:ava\""},"repository":{"type":"git","url":"https://github.com/js-republic/intervals-fn"},"private":false,"publishConfig":{"tag":"dev","access":"public"},"keywords":["interval","range","intersection","union","subtraction","typescript"],"license":"MIT","bugs":{"url":"https://github.com/js-republic/intervals-fn/issues"},"homepage":"https://github.com/js-republic/intervals-fn#readme","dependencies":{},"devDependencies":{"@semantic-release/release-notes-generator":"^5.0.1","@types/moment-range":"^3.0.4","@types/ramda":"github:types/npm-ramda#dist","ava":"^0.23.0","concurrently":"^3.5.0","cz-conventional-changelog":"^2.1.0","moment":"^2.19.2","moment-range":"^3.0.3","nyc":"^11.3.0","prettier":"^1.8.2","ramda":"^0.25.0","semantic-release":"^8.2.0","ts-loader":"^3.1.1","tslint":"^5.8.0","tslint-config-prettier":"^1.6.0","typedoc":"^0.9.0","typescript":"^2.6.1","webpack":"^3.8.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}}}
{"name":"intervals-fn","version":"2.0.0","description":"Manipulate intervals in a functional way","main":"dist/index.bundle.js","types":"dist/lib.d.ts","scripts":{"ava":"ava build/*.test.js","test":"tslint -p ./ && tsc && nyc --reporter=lcov npm run ava","test:codecov":"tslint -p ./ && tsc && nyc npm run ava","build":"webpack && npm run doc","doc":"typedoc --out docs/ dist/","prepublish":"npm run build","semantic-release":"semantic-release pre && npm publish && semantic-release post","watch:ts":"tsc -w","watch:ava":"ava -w build/*.test.js","watch:test":"concurrently -k -p \"[{name}]\" -n \"TypeScript,Ava\" -c \"blue.bold,magenta.bold\" \"npm run watch:ts\" \"npm run watch:ava\""},"repository":{"type":"git","url":"https://github.com/js-republic/intervals-fn"},"private":false,"publishConfig":{"tag":"dev","access":"public"},"keywords":["interval","range","intersection","union","subtraction","typescript"],"license":"MIT","bugs":{"url":"https://github.com/js-republic/intervals-fn/issues"},"homepage":"https://github.com/js-republic/intervals-fn#readme","dependencies":{},"devDependencies":{"@semantic-release/release-notes-generator":"^5.0.1","@types/moment-range":"^3.0.4","@types/ramda":"github:types/npm-ramda#dist","ava":"^0.23.0","concurrently":"^3.5.0","cz-conventional-changelog":"^2.1.0","moment":"^2.19.2","moment-range":"^3.0.3","nyc":"^11.3.0","prettier":"^1.8.2","ramda":"^0.25.0","semantic-release":"^8.2.0","ts-loader":"^3.1.1","tslint":"^5.8.0","tslint-config-prettier":"^1.6.0","typedoc":"^0.9.0","typescript":"^2.6.1","webpack":"^3.8.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}}}

Sorry, the diff of this file is too big to display

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