@sapphire/iterator-utilities 1.0.2-next.c6490032.0 → 1.0.2-next.d2ec5e56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -9
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1 -1
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -18,16 +18,63 @@
|
|
|
18
18
|
- [Features](#features)
|
|
19
19
|
- [Installation](#installation)
|
|
20
20
|
- [Usage](#usage)
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
21
|
+
- [`append`](#append)
|
|
22
|
+
- [`at`](#at)
|
|
23
|
+
- [`average`](#average)
|
|
24
|
+
- [`chain`](#chain)
|
|
25
|
+
- [`chunk`](#chunk)
|
|
26
|
+
- [`compact`](#compact)
|
|
27
|
+
- [`compress`](#compress)
|
|
28
|
+
- [`contains`](#contains)
|
|
29
|
+
- [`count`](#count)
|
|
30
|
+
- [`cycle`](#cycle)
|
|
31
|
+
- [`difference`](#difference)
|
|
32
|
+
- [`drop`](#drop)
|
|
33
|
+
- [`dropLast`](#droplast)
|
|
34
|
+
- [`dropWhile`](#dropwhile)
|
|
35
|
+
- [`empty`](#empty)
|
|
36
|
+
- [`enumerate`](#enumerate)
|
|
37
|
+
- [`every`](#every)
|
|
38
|
+
- [`filter`](#filter)
|
|
39
|
+
- [`find`](#find)
|
|
40
|
+
- [`findIndex`](#findindex)
|
|
41
|
+
- [`first`](#first)
|
|
42
|
+
- [`flat`](#flat)
|
|
43
|
+
- [`flatMap`](#flatmap)
|
|
44
|
+
- [`forEach`](#foreach)
|
|
45
|
+
- [`from`](#from)
|
|
46
|
+
- [`indexOf`](#indexof)
|
|
47
|
+
- [`intersect`](#intersect)
|
|
48
|
+
- [`isEmpty`](#isempty)
|
|
49
|
+
- [`last`](#last)
|
|
50
|
+
- [`map`](#map)
|
|
51
|
+
- [`max`](#max)
|
|
52
|
+
- [`min`](#min)
|
|
53
|
+
- [`partition`](#partition)
|
|
54
|
+
- [`peekable`](#peekable)
|
|
55
|
+
- [`prepend`](#prepend)
|
|
56
|
+
- [`product`](#product)
|
|
57
|
+
- [`range`](#range)
|
|
58
|
+
- [`reduce`](#reduce)
|
|
59
|
+
- [`repeat`](#repeat)
|
|
60
|
+
- [`reverse`](#reverse)
|
|
61
|
+
- [`slice`](#slice)
|
|
62
|
+
- [`some`](#some)
|
|
63
|
+
- [`sorted`](#sorted)
|
|
64
|
+
- [`starMap`](#starmap)
|
|
65
|
+
- [`sum`](#sum)
|
|
66
|
+
- [`take`](#take)
|
|
67
|
+
- [`takeLast`](#takelast)
|
|
68
|
+
- [`takeWhile`](#takewhile)
|
|
69
|
+
- [`tee`](#tee)
|
|
70
|
+
- [`toArray`](#toarray)
|
|
71
|
+
- [`toIterableIterator`](#toiterableiterator)
|
|
72
|
+
- [`union`](#union)
|
|
73
|
+
- [`unique`](#unique)
|
|
74
|
+
- [`unzip`](#unzip)
|
|
75
|
+
- [`zip`](#zip)
|
|
29
76
|
- [Buy us some doughnuts](#buy-us-some-doughnuts)
|
|
30
|
-
- [Contributors
|
|
77
|
+
- [Contributors](#contributors)
|
|
31
78
|
|
|
32
79
|
## Features
|
|
33
80
|
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from './lib/append';\nexport * from './lib/at';\nexport * from './lib/average';\nexport * from './lib/chain';\nexport * from './lib/chunk';\nexport * from './lib/compact';\nexport * from './lib/compress';\nexport * from './lib/contains';\nexport * from './lib/count';\nexport * from './lib/cycle';\nexport * from './lib/difference';\nexport * from './lib/drop';\nexport * from './lib/dropLast';\nexport * from './lib/dropWhile';\nexport * from './lib/empty';\nexport * from './lib/enumerate';\nexport * from './lib/every';\nexport * from './lib/filter';\nexport * from './lib/find';\nexport * from './lib/findIndex';\nexport * from './lib/first';\nexport * from './lib/flat';\nexport * from './lib/flatMap';\nexport * from './lib/forEach';\nexport * from './lib/from';\nexport * from './lib/indexOf';\nexport * from './lib/intersect';\nexport * from './lib/isEmpty';\nexport * from './lib/last';\nexport * from './lib/map';\nexport * from './lib/max';\nexport * from './lib/min';\nexport * from './lib/partition';\nexport * from './lib/peekable';\nexport * from './lib/prepend';\nexport * from './lib/product';\nexport * from './lib/range';\nexport * from './lib/reduce';\nexport * from './lib/repeat';\nexport * from './lib/reverse';\nexport type { NumberResolvable } from './lib/shared/_toNumberOrThrow';\nexport * from './lib/slice';\nexport * from './lib/some';\nexport * from './lib/sorted';\nexport * from './lib/starMap';\nexport * from './lib/sum';\nexport * from './lib/take';\nexport * from './lib/takeLast';\nexport * from './lib/tee';\nexport * from './lib/toArray';\nexport * from './lib/toIterableIterator';\nexport * from './lib/union';\nexport * from './lib/unique';\nexport * from './lib/unzip';\nexport * from './lib/zip';\n"]}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -38,6 +38,7 @@ export { range } from './lib/range.cjs';
|
|
|
38
38
|
export { reduce } from './lib/reduce.cjs';
|
|
39
39
|
export { repeat } from './lib/repeat.cjs';
|
|
40
40
|
export { reverse } from './lib/reverse.cjs';
|
|
41
|
+
export { NumberResolvable } from './lib/shared/_toNumberOrThrow.js';
|
|
41
42
|
export { slice } from './lib/slice.cjs';
|
|
42
43
|
export { some } from './lib/some.cjs';
|
|
43
44
|
export { sorted } from './lib/sorted.cjs';
|
|
@@ -52,4 +53,3 @@ export { union } from './lib/union.cjs';
|
|
|
52
53
|
export { unique } from './lib/unique.cjs';
|
|
53
54
|
export { UnzipIterable, unzip } from './lib/unzip.cjs';
|
|
54
55
|
export { ZipIterators, zip } from './lib/zip.cjs';
|
|
55
|
-
import './lib/shared/_toNumberOrThrow.js';
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -38,6 +38,7 @@ export { range } from './lib/range.mjs';
|
|
|
38
38
|
export { reduce } from './lib/reduce.mjs';
|
|
39
39
|
export { repeat } from './lib/repeat.mjs';
|
|
40
40
|
export { reverse } from './lib/reverse.mjs';
|
|
41
|
+
export { NumberResolvable } from './lib/shared/_toNumberOrThrow.mjs';
|
|
41
42
|
export { slice } from './lib/slice.mjs';
|
|
42
43
|
export { some } from './lib/some.mjs';
|
|
43
44
|
export { sorted } from './lib/sorted.mjs';
|
|
@@ -52,4 +53,3 @@ export { union } from './lib/union.mjs';
|
|
|
52
53
|
export { unique } from './lib/unique.mjs';
|
|
53
54
|
export { UnzipIterable, unzip } from './lib/unzip.mjs';
|
|
54
55
|
export { ZipIterators, zip } from './lib/zip.mjs';
|
|
55
|
-
import './lib/shared/_toNumberOrThrow.mjs';
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","sourcesContent":["export * from './lib/append';\nexport * from './lib/at';\nexport * from './lib/average';\nexport * from './lib/chain';\nexport * from './lib/chunk';\nexport * from './lib/compact';\nexport * from './lib/compress';\nexport * from './lib/contains';\nexport * from './lib/count';\nexport * from './lib/cycle';\nexport * from './lib/difference';\nexport * from './lib/drop';\nexport * from './lib/dropLast';\nexport * from './lib/dropWhile';\nexport * from './lib/empty';\nexport * from './lib/enumerate';\nexport * from './lib/every';\nexport * from './lib/filter';\nexport * from './lib/find';\nexport * from './lib/findIndex';\nexport * from './lib/first';\nexport * from './lib/flat';\nexport * from './lib/flatMap';\nexport * from './lib/forEach';\nexport * from './lib/from';\nexport * from './lib/indexOf';\nexport * from './lib/intersect';\nexport * from './lib/isEmpty';\nexport * from './lib/last';\nexport * from './lib/map';\nexport * from './lib/max';\nexport * from './lib/min';\nexport * from './lib/partition';\nexport * from './lib/peekable';\nexport * from './lib/prepend';\nexport * from './lib/product';\nexport * from './lib/range';\nexport * from './lib/reduce';\nexport * from './lib/repeat';\nexport * from './lib/reverse';\nexport type { NumberResolvable } from './lib/shared/_toNumberOrThrow';\nexport * from './lib/slice';\nexport * from './lib/some';\nexport * from './lib/sorted';\nexport * from './lib/starMap';\nexport * from './lib/sum';\nexport * from './lib/take';\nexport * from './lib/takeLast';\nexport * from './lib/tee';\nexport * from './lib/toArray';\nexport * from './lib/toIterableIterator';\nexport * from './lib/union';\nexport * from './lib/unique';\nexport * from './lib/unzip';\nexport * from './lib/zip';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/iterator-utilities",
|
|
3
|
-
"version": "1.0.2-next.
|
|
3
|
+
"version": "1.0.2-next.d2ec5e56",
|
|
4
4
|
"description": "An iterator utility library for JavaScript.",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@favware/cliff-jumper": "^
|
|
55
|
+
"@favware/cliff-jumper": "^4.0.0",
|
|
56
56
|
"@vitest/coverage-v8": "^1.6.0",
|
|
57
|
-
"npm-run-all2": "^6.
|
|
57
|
+
"npm-run-all2": "^6.2.0",
|
|
58
58
|
"tsup": "^8.0.2",
|
|
59
|
-
"tsx": "^4.
|
|
59
|
+
"tsx": "^4.11.0",
|
|
60
60
|
"typedoc": "^0.25.13",
|
|
61
61
|
"typedoc-json-parser": "^10.0.0",
|
|
62
62
|
"typescript": "^5.4.5",
|