intervals-fn
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -33,4 +33,4 @@ import { interval, roat } from './data.structures'; | ||
*/ | ||
export declare function isOverlapping<T extends interval>(intervalA: T | roat<T>, intervalB: T | roat<T>): boolean; | ||
export declare function isOverlapping<T extends interval>(intervalA: T | roat<T>): (intervalB: T | roat<T>) => boolean; | ||
export declare function isOverlapping(intervalA: interval | roat<interval>, intervalB: interval | roat<interval>): boolean; | ||
export declare function isOverlapping(intervalA: interval | roat<interval>): (intervalB: interval | roat<interval>) => boolean; | ||
/** | ||
@@ -50,4 +50,4 @@ * Test if `intervalA` is adjacent to (meets) `intervalB`. | ||
*/ | ||
export declare function isMeeting<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isMeeting<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isMeeting(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isMeeting(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -67,4 +67,4 @@ * Test if `intervalA` is before or adjacent `intervalB`. | ||
*/ | ||
export declare function isBefore<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isBefore<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isBefore(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isBefore(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -84,4 +84,4 @@ * Test if `intervalA` is after or adjacent `intervalB`. | ||
*/ | ||
export declare function isAfter<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isAfter<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isAfter(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isAfter(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -101,4 +101,4 @@ * Test if `intervalA` and `intervalB` share the same starting point. | ||
*/ | ||
export declare function isStarting<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isStarting<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isStarting(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isStarting(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -118,4 +118,4 @@ * Test if `intervalA` and `intervalB` share the same ending point. | ||
*/ | ||
export declare function isEnding<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isEnding<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isEnding(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isEnding(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -136,4 +136,4 @@ * Test if `intervalA` occurs in `intervalB`. `intervalsB` act as boundaries. Can share starting and/or ending point. | ||
*/ | ||
export declare function isDuring<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isDuring<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isDuring(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isDuring(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -153,4 +153,4 @@ * Test if `intervalA` is equivalent to `intervalB`. | ||
*/ | ||
export declare function isEqual<T extends interval>(intervalA: T, intervalB: T): boolean; | ||
export declare function isEqual<T extends interval>(intervalA: T): (intervalB: T) => boolean; | ||
export declare function isEqual(intervalA: interval, intervalB: interval): boolean; | ||
export declare function isEqual(intervalA: interval): (intervalB: interval) => boolean; | ||
/** | ||
@@ -157,0 +157,0 @@ * Simplification of `intervals`. Unify touching or overlapping intervals. |
@@ -1,1 +0,1 @@ | ||
{"name":"intervals-fn","version":"2.5.1","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","doc":"npm run build && 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.5.2","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","doc":"npm run build && 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
996948
3887