Comparing version 0.1.2 to 0.1.3
@@ -1,5 +0,17 @@ | ||
/// <reference path="./prototype.d.ts" /> | ||
import * as lib from './index'; | ||
declare global { | ||
interface Array<T> { | ||
qContains<TR>(r: TR[], predicate?: (l: T, r: TR) => boolean): boolean; | ||
qIntersect<TR>(r: TR[], predicate?: (l: T, r: TR) => boolean): T[]; | ||
qSame<TR>(r: TR[], predicate?: (l: T, r: TR) => boolean): boolean; | ||
qEmpty(): boolean; | ||
qFirst(predicate?: (l: T) => boolean): T; | ||
qLast(predicate?: (l: T) => boolean): T; | ||
qRotate(offset: number): T[]; | ||
qMapMany<TR>(selector?: (l: T) => TR[]): TR[]; | ||
qDistinct(key?: (l: T) => any): T[]; | ||
} | ||
} | ||
if (!Array.prototype.qContains) { | ||
@@ -6,0 +18,0 @@ Array.prototype.qContains = function(r, predicate?) { |
{ | ||
"name": "arrayq", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Array query methods for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/prototype.ts", |
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
388
18