@itrocks/sorted-array
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -31,4 +31,4 @@ { | ||
"license": "MIT", | ||
"main": "./sorted-array.js", | ||
"module": "./esm/sorted-array.js", | ||
"main": "./cjs/sorted-array.js", | ||
"module": "./sorted-array.js", | ||
"name": "@itrocks/sorted-array", | ||
@@ -41,3 +41,3 @@ "repository": "https://github.com/itrocks-ts/sorted-array", | ||
}, | ||
"version": "0.0.5" | ||
"version": "0.0.6" | ||
} |
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SortedArrayCompareFn = exports.SortedArrayBy = exports.SortedArray = void 0; | ||
class ASortedArray extends Array { | ||
@@ -12,3 +9,3 @@ distinct = false; | ||
} | ||
class SortedArray extends ASortedArray { | ||
export class SortedArray extends ASortedArray { | ||
#leftOf(element) { | ||
@@ -52,4 +49,3 @@ let left = 0; | ||
} | ||
exports.SortedArray = SortedArray; | ||
class SortedArrayBy extends ASortedArray { | ||
export class SortedArrayBy extends ASortedArray { | ||
compareBy; | ||
@@ -107,4 +103,3 @@ constructor(compareBy, ...items) { | ||
} | ||
exports.SortedArrayBy = SortedArrayBy; | ||
class SortedArrayCompareFn extends ASortedArray { | ||
export class SortedArrayCompareFn extends ASortedArray { | ||
compareFn; | ||
@@ -156,2 +151,1 @@ constructor(compareFn, ...items) { | ||
} | ||
exports.SortedArrayCompareFn = SortedArrayCompareFn; |
16471
5
183