@tstdl/base 0.88.0-alpha2 → 0.88.0-alpha4
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/package.json +16 -7
- package/utils/index.d.ts +8 -0
- package/utils/index.js +8 -0
- package/utils/repl.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tstdl/base",
|
|
3
|
-
"version": "0.88.0-
|
|
3
|
+
"version": "0.88.0-alpha4",
|
|
4
4
|
"author": "Patrick Hein",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"exports": {
|
|
22
22
|
"./tsconfig.json": "./tsconfig.json",
|
|
23
23
|
|
|
24
|
-
"
|
|
24
|
+
".": "./index.js",
|
|
25
25
|
"./environment": "./environment.js",
|
|
26
26
|
"./interfaces": "./interfaces.js",
|
|
27
27
|
"./polyfills": "./polyfills.js",
|
|
@@ -107,7 +107,16 @@
|
|
|
107
107
|
"./theme": "./theme/index.js",
|
|
108
108
|
"./theme/adapters": "./theme/adapters/index.js",
|
|
109
109
|
"./threading": "./threading/index.js",
|
|
110
|
-
"./types/geo-json": "./types/geo-json.js"
|
|
110
|
+
"./types/geo-json": "./types/geo-json.js",
|
|
111
|
+
"./utils": "./utils/index.js",
|
|
112
|
+
"./utils/array": "./utils/array/index.js",
|
|
113
|
+
"./utils/async-iterable-helpers": "./utils/async-iterable-helpers/index.js",
|
|
114
|
+
"./utils/async-iterable-helpers/parallel": "./utils/async-iterable-helpers/parallel/index.js",
|
|
115
|
+
"./utils/function": "./utils/function/index.js",
|
|
116
|
+
"./utils/iterable-helpers": "./utils/iterable-helpers/index.js",
|
|
117
|
+
"./utils/object": "./utils/object/index.js",
|
|
118
|
+
"./utils/stream": "./utils/stream/index.js",
|
|
119
|
+
"./utils/string": "./utils/object/index.js"
|
|
111
120
|
},
|
|
112
121
|
"dependencies": {
|
|
113
122
|
"disposablestack": "^1.1.1",
|
|
@@ -124,11 +133,11 @@
|
|
|
124
133
|
"@types/mjml": "4.7",
|
|
125
134
|
"@types/node": "20",
|
|
126
135
|
"@types/nodemailer": "6.4",
|
|
127
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
128
|
-
"@typescript-eslint/parser": "6.
|
|
136
|
+
"@typescript-eslint/eslint-plugin": "6.7",
|
|
137
|
+
"@typescript-eslint/parser": "6.7",
|
|
129
138
|
"concurrently": "8.2",
|
|
130
139
|
"esbuild": "0.19",
|
|
131
|
-
"eslint": "8.
|
|
140
|
+
"eslint": "8.49",
|
|
132
141
|
"eslint-import-resolver-typescript": "3.6",
|
|
133
142
|
"eslint-plugin-import": "2.28",
|
|
134
143
|
"tsc-alias": "1.8",
|
|
@@ -154,7 +163,7 @@
|
|
|
154
163
|
"playwright": "^1.37",
|
|
155
164
|
"preact": "^10.17",
|
|
156
165
|
"preact-render-to-string": "^6.2",
|
|
157
|
-
"undici": "^5.
|
|
166
|
+
"undici": "^5.24",
|
|
158
167
|
"urlpattern-polyfill": "^9.0"
|
|
159
168
|
},
|
|
160
169
|
"peerDependenciesMeta": {
|
package/utils/index.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export * from './binary-search.js';
|
|
|
8
8
|
export * from './binary.js';
|
|
9
9
|
export * from './clone.js';
|
|
10
10
|
export * from './comparison.js';
|
|
11
|
+
export * from './compression.js';
|
|
12
|
+
export * from './config-parser.js';
|
|
13
|
+
export * from './crc32.js';
|
|
14
|
+
export * from './cryptography.js';
|
|
11
15
|
export * from './date-time.js';
|
|
12
16
|
export * from './encoding.js';
|
|
13
17
|
export * from './enum.js';
|
|
@@ -17,8 +21,10 @@ export * from './factory-map.js';
|
|
|
17
21
|
export * from './feedable-async-iterable.js';
|
|
18
22
|
export * from './file-reader.js';
|
|
19
23
|
export * from './format-error.js';
|
|
24
|
+
export * from './format.js';
|
|
20
25
|
export * from './helpers.js';
|
|
21
26
|
export * from './image.js';
|
|
27
|
+
export * from './jwt.js';
|
|
22
28
|
export * from './map.js';
|
|
23
29
|
export * from './math.js';
|
|
24
30
|
export * from './merge.js';
|
|
@@ -26,6 +32,7 @@ export * from './middleware.js';
|
|
|
26
32
|
export * from './moving-metric.js';
|
|
27
33
|
export * from './noop.js';
|
|
28
34
|
export * from './ordered-feedable-async-iterable.js';
|
|
35
|
+
export * from './patch-worker.js';
|
|
29
36
|
export * from './patterns.js';
|
|
30
37
|
export * from './periodic-reporter.js';
|
|
31
38
|
export * from './periodic-sampler.js';
|
|
@@ -33,6 +40,7 @@ export * from './provider-function-iterable.js';
|
|
|
33
40
|
export * from './proxy.js';
|
|
34
41
|
export * from './random.js';
|
|
35
42
|
export * from './reflection.js';
|
|
43
|
+
export * from './repl.js';
|
|
36
44
|
export * from './set.js';
|
|
37
45
|
export * from './singleton.js';
|
|
38
46
|
export * from './sort.js';
|
package/utils/index.js
CHANGED
|
@@ -8,6 +8,10 @@ export * from './binary-search.js';
|
|
|
8
8
|
export * from './binary.js';
|
|
9
9
|
export * from './clone.js';
|
|
10
10
|
export * from './comparison.js';
|
|
11
|
+
export * from './compression.js';
|
|
12
|
+
export * from './config-parser.js';
|
|
13
|
+
export * from './crc32.js';
|
|
14
|
+
export * from './cryptography.js';
|
|
11
15
|
export * from './date-time.js';
|
|
12
16
|
export * from './encoding.js';
|
|
13
17
|
export * from './enum.js';
|
|
@@ -17,8 +21,10 @@ export * from './factory-map.js';
|
|
|
17
21
|
export * from './feedable-async-iterable.js';
|
|
18
22
|
export * from './file-reader.js';
|
|
19
23
|
export * from './format-error.js';
|
|
24
|
+
export * from './format.js';
|
|
20
25
|
export * from './helpers.js';
|
|
21
26
|
export * from './image.js';
|
|
27
|
+
export * from './jwt.js';
|
|
22
28
|
export * from './map.js';
|
|
23
29
|
export * from './math.js';
|
|
24
30
|
export * from './merge.js';
|
|
@@ -26,6 +32,7 @@ export * from './middleware.js';
|
|
|
26
32
|
export * from './moving-metric.js';
|
|
27
33
|
export * from './noop.js';
|
|
28
34
|
export * from './ordered-feedable-async-iterable.js';
|
|
35
|
+
export * from './patch-worker.js';
|
|
29
36
|
export * from './patterns.js';
|
|
30
37
|
export * from './periodic-reporter.js';
|
|
31
38
|
export * from './periodic-sampler.js';
|
|
@@ -33,6 +40,7 @@ export * from './provider-function-iterable.js';
|
|
|
33
40
|
export * from './proxy.js';
|
|
34
41
|
export * from './random.js';
|
|
35
42
|
export * from './reflection.js';
|
|
43
|
+
export * from './repl.js';
|
|
36
44
|
export * from './set.js';
|
|
37
45
|
export * from './singleton.js';
|
|
38
46
|
export * from './sort.js';
|
package/utils/repl.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { start as startRepl } from 'node:repl';
|
|
2
1
|
import { objectEntries } from './object/object.js';
|
|
3
2
|
import { isDefined } from './type-guards.js';
|
|
4
3
|
/**
|
|
@@ -6,6 +5,7 @@ import { isDefined } from './type-guards.js';
|
|
|
6
5
|
* @param context context to set the repl context to
|
|
7
6
|
*/
|
|
8
7
|
export async function repl(options) {
|
|
8
|
+
const { start: startRepl } = await import('node:repl');
|
|
9
9
|
const replServer = startRepl(options);
|
|
10
10
|
if (isDefined(options?.context)) {
|
|
11
11
|
for (const [key, value] of objectEntries(options.context)) {
|