Skip to content

Commit a928f82

Browse files
author
Andrius Mozūraitis
committed
Changed deps
1 parent 1efa70e commit a928f82

File tree

5 files changed

+10
-182
lines changed

5 files changed

+10
-182
lines changed

docs/data/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"repositoryUrl": "https://github.com/digimuza/iterparse.git"
2+
"repositoryUrl": "https://github.com/digimuza/iterparse.git"
33
}

docs/data/data.json

Lines changed: 0 additions & 178 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,5 @@
11
{
22
"docs": [
3-
{
4-
"members": [
5-
{
6-
"kind": "TypeAlias",
7-
"comment": {
8-
"description": "",
9-
"examples": [],
10-
"parsed": []
11-
},
12-
"excerptTokens": [
13-
{
14-
"kind": "Content",
15-
"text": "export declare type AnyIterable<T> = "
16-
},
17-
{
18-
"kind": "Reference",
19-
"text": "Iterable",
20-
"canonicalReference": "!Iterable:interface"
21-
},
22-
{
23-
"kind": "Content",
24-
"text": "<T> | "
25-
},
26-
{
27-
"kind": "Reference",
28-
"text": "AsyncIterable",
29-
"canonicalReference": "!AsyncIterable:interface"
30-
},
31-
{
32-
"kind": "Content",
33-
"text": "<T>"
34-
},
35-
{
36-
"kind": "Content",
37-
"text": ";"
38-
}
39-
],
40-
"canonicalReference": "iterparse!AnyIterable:type",
41-
"canonicalReferenceGroup": "iterparse!AnyIterable"
42-
}
43-
],
44-
"kind": "TypeAlias",
45-
"name": "AnyIterable",
46-
"canonicalReference": "iterparse!AnyIterable:type",
47-
"package": "iterparse",
48-
"canonicalReferenceGroup": "iterparse!AnyIterable",
49-
"tags": []
50-
},
51-
{
52-
"members": [
53-
{
54-
"kind": "TypeAlias",
55-
"comment": {
56-
"description": "",
57-
"examples": [],
58-
"parsed": []
59-
},
60-
"excerptTokens": [
61-
{
62-
"kind": "Content",
63-
"text": "export declare type AnyIterableValueOf<O> = "
64-
},
65-
{
66-
"kind": "Content",
67-
"text": "O extends "
68-
},
69-
{
70-
"kind": "Reference",
71-
"text": "AnyIterable",
72-
"canonicalReference": "iterparse!AnyIterable:type"
73-
},
74-
{
75-
"kind": "Content",
76-
"text": "<infer T> ? T : never"
77-
},
78-
{
79-
"kind": "Content",
80-
"text": ";"
81-
}
82-
],
83-
"canonicalReference": "iterparse!AnyIterableValueOf:type",
84-
"canonicalReferenceGroup": "iterparse!AnyIterableValueOf"
85-
}
86-
],
87-
"kind": "TypeAlias",
88-
"name": "AnyIterableValueOf",
89-
"canonicalReference": "iterparse!AnyIterableValueOf:type",
90-
"package": "iterparse",
91-
"canonicalReferenceGroup": "iterparse!AnyIterableValueOf",
92-
"tags": []
93-
},
943
{
954
"members": [
965
{
@@ -1128,93 +1037,6 @@
11281037
"canonicalReferenceGroup": "iterparse!DownloadOptions",
11291038
"tags": []
11301039
},
1131-
{
1132-
"members": [
1133-
{
1134-
"kind": "Function",
1135-
"comment": {
1136-
"description": "",
1137-
"examples": [],
1138-
"parsed": []
1139-
},
1140-
"excerptTokens": [
1141-
{
1142-
"kind": "Content",
1143-
"text": "export declare function fileGroupBy<T>(args: "
1144-
},
1145-
{
1146-
"kind": "Reference",
1147-
"text": "FileGroupByOptions",
1148-
"canonicalReference": "iterparse!FileGroupByOptions:interface"
1149-
},
1150-
{
1151-
"kind": "Content",
1152-
"text": "<T>"
1153-
},
1154-
{
1155-
"kind": "Content",
1156-
"text": "): "
1157-
},
1158-
{
1159-
"kind": "Reference",
1160-
"text": "AsyncIterable",
1161-
"canonicalReference": "ix!AsyncIterableX:class"
1162-
},
1163-
{
1164-
"kind": "Content",
1165-
"text": "<"
1166-
},
1167-
{
1168-
"kind": "Reference",
1169-
"text": "GroupedItems",
1170-
"canonicalReference": "iterparse!GroupedItems:interface"
1171-
},
1172-
{
1173-
"kind": "Content",
1174-
"text": "<T>>"
1175-
},
1176-
{
1177-
"kind": "Content",
1178-
"text": ";"
1179-
}
1180-
],
1181-
"canonicalReference": "iterparse!fileGroupBy:function(1)",
1182-
"canonicalReferenceGroup": "iterparse!fileGroupBy"
1183-
}
1184-
],
1185-
"kind": "Function",
1186-
"name": "fileGroupBy",
1187-
"canonicalReference": "iterparse!fileGroupBy:function(1)",
1188-
"package": "iterparse",
1189-
"canonicalReferenceGroup": "iterparse!fileGroupBy",
1190-
"tags": []
1191-
},
1192-
{
1193-
"members": [
1194-
{
1195-
"kind": "Interface",
1196-
"comment": {
1197-
"description": "",
1198-
"examples": [],
1199-
"parsed": []
1200-
},
1201-
"excerptTokens": [
1202-
{
1203-
"kind": "Content",
1204-
"text": "export interface FileGroupByOptions<T> "
1205-
}
1206-
],
1207-
"canonicalReference": "iterparse!FileGroupByOptions:interface",
1208-
"canonicalReferenceGroup": "iterparse!FileGroupByOptions"
1209-
}
1210-
],
1211-
"kind": "Interface",
1212-
"name": "FileGroupByOptions",
1213-
"canonicalReference": "iterparse!FileGroupByOptions:interface",
1214-
"package": "iterparse",
1215-
"canonicalReferenceGroup": "iterparse!FileGroupByOptions",
1216-
"tags": []
1217-
},
12181040
{
12191041
"members": [
12201042
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"papaparse": "^5.2.0",
6262
"pretty-ms": "^7.0.1",
6363
"tmp": "^0.2.1",
64-
"ts-prime": "^0.3.11"
64+
"ts-prime": "0.3.15"
6565
}
6666
}

src/iteratorHelpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { AsyncIterable } from "ix"
22
import * as P from 'ts-prime'
33
import { GroupedItems } from "./fileGroupBy"
4+
import { formatBytes } from "./helpers"
45
import { AnyIterable } from "./types"
56

67

@@ -154,7 +155,7 @@ class Progress {
154155
constructor(private progress: ProgressTrack) { }
155156
toString() {
156157
const speed = this.progress.items > 1 ? ` Speed: ${(1 / (this.progress.average / 1000)).toFixed(2)} items/s,` : ""
157-
return `Items: ${this.progress.items.toLocaleString()},${speed} Memory: ${P.formatBytes(process.memoryUsage().heapUsed)}`
158+
return `Items: ${this.progress.items.toLocaleString()},${speed} Memory: ${formatBytes(process.memoryUsage().heapUsed)}`
158159
}
159160
toJSON() {
160161
return {

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,12 @@ ts-docflux@^0.0.13:
600600
xml-flow "^1.0.4"
601601
zod "^1.11.11"
602602

603-
ts-prime@^0.3.11, ts-prime@^0.3.7:
603+
ts-prime@0.3.15:
604+
version "0.3.15"
605+
resolved "https://registry.yarnpkg.com/ts-prime/-/ts-prime-0.3.15.tgz#75fc8777b6618ae3136a3d599d339f52617ad2ec"
606+
integrity sha512-ADiQE/4hGlzy/AkVCE+Vt5ETe8QOUSCbbrL9Vo9lGps/fUKIYykje9hLj/6Mbbcq684u872G3Ul7D84vM0+/xw==
607+
608+
ts-prime@^0.3.7:
604609
version "0.3.12"
605610
resolved "https://registry.yarnpkg.com/ts-prime/-/ts-prime-0.3.12.tgz#0b755d8dc366ecb49d4b337864b289d2e5c2161a"
606611
integrity sha512-HsaCT3zW5+HaSMXYVC7nC8fI7R2MqGOg6yvjmhY3OiMG5lETVDq1shmuL1/+t5jmHDI2XHDlR8UyH4aXFEKz8g==

0 commit comments

Comments
 (0)