+3
-0
@@ -349,2 +349,5 @@ module.exports = (function () { | ||
| }; | ||
| ArrayX.fromArray = function (arr) { | ||
| return new (ArrayX.bind.apply(ArrayX, [void 0].concat(arr)))(); | ||
| }; | ||
| return ArrayX; | ||
@@ -351,0 +354,0 @@ }()); |
+3
-3
@@ -107,6 +107,6 @@ declare namespace X { | ||
| static fromSize(size?: number): Array<any>; | ||
| static fromRange(from: number, to: number): Array<any>; | ||
| static fromLength<K>(size?: number): X.Array<K>; | ||
| static fromRange<K>(from: number, to: number): X.Array<K>; | ||
| static fromArray<K>(arr: any[]): X.Array<K>; | ||
| /** | ||
@@ -113,0 +113,0 @@ * Gets or sets the length of the array. This is a number one higher than the highest element defined in an array. |
+1
-1
| { | ||
| "name": "array-x", | ||
| "version": "3.0.8", | ||
| "version": "3.0.9", | ||
| "description": "Functional extension methods (inspired by LINQ .NET) on JavaScript arrays", | ||
@@ -5,0 +5,0 @@ "types": "./dist/types.d.ts", |
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
39150
0.54%630
0.64%