@cspell/cspell-pipe 6.10.0 → 6.11.0
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/dist/helpers/toArray.d.ts +2 -0
- package/dist/helpers/toArray.js +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/operators/first.d.ts +10 -0
- package/dist/operators/first.js +40 -0
- package/dist/operators/index.d.ts +3 -1
- package/dist/operators/index.js +9 -1
- package/dist/operators/last.d.ts +10 -0
- package/dist/operators/last.js +45 -0
- package/dist/sync/index.d.ts +4 -0
- package/dist/sync/index.js +22 -0
- package/package.json +24 -7
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare function toArray<T>(i: AsyncIterable<T>): Promise<Awaited<T>[]>;
|
|
2
2
|
export declare function toArray<T>(i: Iterable<T>): T[];
|
|
3
3
|
export declare function toArray<T>(i: Iterable<T> | AsyncIterable<T>): T[] | Promise<Awaited<T>[]>;
|
|
4
|
+
export declare function toArraySync<T>(iter: Iterable<T>): T[];
|
|
5
|
+
export declare function toArrayAsync<T>(iter: AsyncIterable<T>): Promise<Awaited<T>[]>;
|
|
4
6
|
//# sourceMappingURL=toArray.d.ts.map
|
package/dist/helpers/toArray.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toArray = void 0;
|
|
3
|
+
exports.toArrayAsync = exports.toArraySync = exports.toArray = void 0;
|
|
4
4
|
const _1 = require(".");
|
|
5
5
|
function toArray(i) {
|
|
6
6
|
return (0, _1.isAsyncIterable)(i) ? toArrayAsync(i) : toArraySync(i);
|
|
@@ -9,6 +9,7 @@ exports.toArray = toArray;
|
|
|
9
9
|
function toArraySync(iter) {
|
|
10
10
|
return [...iter];
|
|
11
11
|
}
|
|
12
|
+
exports.toArraySync = toArraySync;
|
|
12
13
|
async function toArrayAsync(iter) {
|
|
13
14
|
const collection = [];
|
|
14
15
|
for await (const i of iter) {
|
|
@@ -16,4 +17,5 @@ async function toArrayAsync(iter) {
|
|
|
16
17
|
}
|
|
17
18
|
return collection;
|
|
18
19
|
}
|
|
20
|
+
exports.toArrayAsync = toArrayAsync;
|
|
19
21
|
//# sourceMappingURL=toArray.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _helpers from './helpers';
|
|
2
2
|
import * as _operators from './operators';
|
|
3
3
|
export { interleave, isAsyncIterable, toArray, toAsyncIterable, toDistributableIterable } from './helpers';
|
|
4
|
-
export { opAppend, opAwaitAsync, opConcatMap, opFilter, opFlatten, opJoinStrings, opMap, opSkip, opTake, opTap, opUnique, } from './operators';
|
|
4
|
+
export { opAppend, opAwaitAsync, opConcatMap, opFilter, opFirst, opFlatten, opJoinStrings, opLast, opMap, opSkip, opTake, opTap, opUnique, } from './operators';
|
|
5
5
|
export { pipeAsync, pipeSync } from './pipe';
|
|
6
6
|
export declare const operators: typeof _operators;
|
|
7
7
|
export declare const helpers: typeof _helpers;
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.helpers = exports.operators = exports.pipeSync = exports.pipeAsync = exports.opUnique = exports.opTap = exports.opTake = exports.opSkip = exports.opMap = exports.opJoinStrings = exports.opFlatten = exports.opFilter = exports.opConcatMap = exports.opAwaitAsync = exports.opAppend = exports.toDistributableIterable = exports.toAsyncIterable = exports.toArray = exports.isAsyncIterable = exports.interleave = void 0;
|
|
26
|
+
exports.helpers = exports.operators = exports.pipeSync = exports.pipeAsync = exports.opUnique = exports.opTap = exports.opTake = exports.opSkip = exports.opMap = exports.opLast = exports.opJoinStrings = exports.opFlatten = exports.opFirst = exports.opFilter = exports.opConcatMap = exports.opAwaitAsync = exports.opAppend = exports.toDistributableIterable = exports.toAsyncIterable = exports.toArray = exports.isAsyncIterable = exports.interleave = void 0;
|
|
27
27
|
const _helpers = __importStar(require("./helpers"));
|
|
28
28
|
const _operators = __importStar(require("./operators"));
|
|
29
29
|
var helpers_1 = require("./helpers");
|
|
@@ -37,8 +37,10 @@ Object.defineProperty(exports, "opAppend", { enumerable: true, get: function ()
|
|
|
37
37
|
Object.defineProperty(exports, "opAwaitAsync", { enumerable: true, get: function () { return operators_1.opAwaitAsync; } });
|
|
38
38
|
Object.defineProperty(exports, "opConcatMap", { enumerable: true, get: function () { return operators_1.opConcatMap; } });
|
|
39
39
|
Object.defineProperty(exports, "opFilter", { enumerable: true, get: function () { return operators_1.opFilter; } });
|
|
40
|
+
Object.defineProperty(exports, "opFirst", { enumerable: true, get: function () { return operators_1.opFirst; } });
|
|
40
41
|
Object.defineProperty(exports, "opFlatten", { enumerable: true, get: function () { return operators_1.opFlatten; } });
|
|
41
42
|
Object.defineProperty(exports, "opJoinStrings", { enumerable: true, get: function () { return operators_1.opJoinStrings; } });
|
|
43
|
+
Object.defineProperty(exports, "opLast", { enumerable: true, get: function () { return operators_1.opLast; } });
|
|
42
44
|
Object.defineProperty(exports, "opMap", { enumerable: true, get: function () { return operators_1.opMap; } });
|
|
43
45
|
Object.defineProperty(exports, "opSkip", { enumerable: true, get: function () { return operators_1.opSkip; } });
|
|
44
46
|
Object.defineProperty(exports, "opTake", { enumerable: true, get: function () { return operators_1.opTake; } });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeFn } from '../internalTypes';
|
|
2
|
+
export declare function opFirstAsync<T, S extends T>(firstFn: (v: T) => v is S): (iter: AsyncIterable<T>) => AsyncIterable<S>;
|
|
3
|
+
export declare function opFirstAsync<T, S extends Awaited<T>>(firstFn: (v: Awaited<T>) => v is S): (iter: AsyncIterable<T>) => AsyncIterable<S>;
|
|
4
|
+
export declare function opFirstAsync<T>(firstFn: (v: Awaited<T>) => boolean): (iter: AsyncIterable<T>) => AsyncIterable<Awaited<T>>;
|
|
5
|
+
export declare function opFirstAsync<T>(firstFn: (v: Awaited<T>) => Promise<boolean>): (iter: AsyncIterable<T>) => AsyncIterable<Awaited<T>>;
|
|
6
|
+
export declare function opFirstSync<T, S extends T>(firstFn: (v: T) => v is S): (iter: Iterable<T>) => Iterable<S>;
|
|
7
|
+
export declare function opFirstSync<T>(firstFn: (v: T) => boolean): (iter: Iterable<T>) => Iterable<T>;
|
|
8
|
+
export declare function opFirst<T, S extends T>(fn: (v: T) => v is S): PipeFn<T, S>;
|
|
9
|
+
export declare function opFirst<T>(fn: (v: T) => boolean): PipeFn<T, T>;
|
|
10
|
+
//# sourceMappingURL=first.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.opFirst = exports.opFirstSync = exports.opFirstAsync = void 0;
|
|
4
|
+
const util_1 = require("../helpers/util");
|
|
5
|
+
// prettier-ignore
|
|
6
|
+
function opFirstAsync(firstFn) {
|
|
7
|
+
async function* fn(iter) {
|
|
8
|
+
for await (const v of iter) {
|
|
9
|
+
const pass = await firstFn(v);
|
|
10
|
+
if (pass) {
|
|
11
|
+
yield v;
|
|
12
|
+
break;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return fn;
|
|
17
|
+
}
|
|
18
|
+
exports.opFirstAsync = opFirstAsync;
|
|
19
|
+
function opFirstSync(firstFn) {
|
|
20
|
+
function* fn(iter) {
|
|
21
|
+
for (const v of iter) {
|
|
22
|
+
if (firstFn(v)) {
|
|
23
|
+
yield v;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return fn;
|
|
29
|
+
}
|
|
30
|
+
exports.opFirstSync = opFirstSync;
|
|
31
|
+
function opFirst(fn) {
|
|
32
|
+
const asyncFn = opFirstAsync(fn);
|
|
33
|
+
const syncFn = opFirstSync(fn);
|
|
34
|
+
function _(i) {
|
|
35
|
+
return (0, util_1.isAsyncIterable)(i) ? asyncFn(i) : syncFn(i);
|
|
36
|
+
}
|
|
37
|
+
return _;
|
|
38
|
+
}
|
|
39
|
+
exports.opFirst = opFirst;
|
|
40
|
+
//# sourceMappingURL=first.js.map
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { opAppend, opAppendAsync, opAppendSync } from './append';
|
|
2
2
|
export { opAwaitAsync } from './await';
|
|
3
3
|
export { opConcatMap, opConcatMapAsync, opConcatMapSync } from './concatMap';
|
|
4
|
-
export { opFilter
|
|
4
|
+
export { opFilter, opFilterAsync, opFilterSync } from './filter';
|
|
5
|
+
export { opFirst, opFirstAsync, opFirstSync } from './first';
|
|
5
6
|
export { opFlatten, opFlattenAsync, opFlattenSync } from './flatten';
|
|
6
7
|
export { opJoinStrings, opJoinStringsAsync, opJoinStringsSync } from './joinStrings';
|
|
8
|
+
export { opLast, opLastAsync, opLastSync } from './last';
|
|
7
9
|
export { opMap, opMapAsync, opMapSync } from './map';
|
|
8
10
|
export { opSkip, opSkipAsync, opSkipSync } from './skip';
|
|
9
11
|
export { opTake, opTakeAsync, opTakeSync } from './take';
|
package/dist/operators/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.opUniqueSync = exports.opUniqueAsync = exports.opUnique = exports.opTapSync = exports.opTapAsync = exports.opTap = exports.opTakeSync = exports.opTakeAsync = exports.opTake = exports.opSkipSync = exports.opSkipAsync = exports.opSkip = exports.opMapSync = exports.opMapAsync = exports.opMap = exports.opJoinStringsSync = exports.opJoinStringsAsync = exports.opJoinStrings = exports.opFlattenSync = exports.opFlattenAsync = exports.opFlatten = exports.opFilterSync = exports.opFilterAsync = exports.opFilter = exports.opConcatMapSync = exports.opConcatMapAsync = exports.opConcatMap = exports.opAwaitAsync = exports.opAppendSync = exports.opAppendAsync = exports.opAppend = void 0;
|
|
3
|
+
exports.opUniqueSync = exports.opUniqueAsync = exports.opUnique = exports.opTapSync = exports.opTapAsync = exports.opTap = exports.opTakeSync = exports.opTakeAsync = exports.opTake = exports.opSkipSync = exports.opSkipAsync = exports.opSkip = exports.opMapSync = exports.opMapAsync = exports.opMap = exports.opLastSync = exports.opLastAsync = exports.opLast = exports.opJoinStringsSync = exports.opJoinStringsAsync = exports.opJoinStrings = exports.opFlattenSync = exports.opFlattenAsync = exports.opFlatten = exports.opFirstSync = exports.opFirstAsync = exports.opFirst = exports.opFilterSync = exports.opFilterAsync = exports.opFilter = exports.opConcatMapSync = exports.opConcatMapAsync = exports.opConcatMap = exports.opAwaitAsync = exports.opAppendSync = exports.opAppendAsync = exports.opAppend = void 0;
|
|
4
4
|
var append_1 = require("./append");
|
|
5
5
|
Object.defineProperty(exports, "opAppend", { enumerable: true, get: function () { return append_1.opAppend; } });
|
|
6
6
|
Object.defineProperty(exports, "opAppendAsync", { enumerable: true, get: function () { return append_1.opAppendAsync; } });
|
|
@@ -15,6 +15,10 @@ var filter_1 = require("./filter");
|
|
|
15
15
|
Object.defineProperty(exports, "opFilter", { enumerable: true, get: function () { return filter_1.opFilter; } });
|
|
16
16
|
Object.defineProperty(exports, "opFilterAsync", { enumerable: true, get: function () { return filter_1.opFilterAsync; } });
|
|
17
17
|
Object.defineProperty(exports, "opFilterSync", { enumerable: true, get: function () { return filter_1.opFilterSync; } });
|
|
18
|
+
var first_1 = require("./first");
|
|
19
|
+
Object.defineProperty(exports, "opFirst", { enumerable: true, get: function () { return first_1.opFirst; } });
|
|
20
|
+
Object.defineProperty(exports, "opFirstAsync", { enumerable: true, get: function () { return first_1.opFirstAsync; } });
|
|
21
|
+
Object.defineProperty(exports, "opFirstSync", { enumerable: true, get: function () { return first_1.opFirstSync; } });
|
|
18
22
|
var flatten_1 = require("./flatten");
|
|
19
23
|
Object.defineProperty(exports, "opFlatten", { enumerable: true, get: function () { return flatten_1.opFlatten; } });
|
|
20
24
|
Object.defineProperty(exports, "opFlattenAsync", { enumerable: true, get: function () { return flatten_1.opFlattenAsync; } });
|
|
@@ -23,6 +27,10 @@ var joinStrings_1 = require("./joinStrings");
|
|
|
23
27
|
Object.defineProperty(exports, "opJoinStrings", { enumerable: true, get: function () { return joinStrings_1.opJoinStrings; } });
|
|
24
28
|
Object.defineProperty(exports, "opJoinStringsAsync", { enumerable: true, get: function () { return joinStrings_1.opJoinStringsAsync; } });
|
|
25
29
|
Object.defineProperty(exports, "opJoinStringsSync", { enumerable: true, get: function () { return joinStrings_1.opJoinStringsSync; } });
|
|
30
|
+
var last_1 = require("./last");
|
|
31
|
+
Object.defineProperty(exports, "opLast", { enumerable: true, get: function () { return last_1.opLast; } });
|
|
32
|
+
Object.defineProperty(exports, "opLastAsync", { enumerable: true, get: function () { return last_1.opLastAsync; } });
|
|
33
|
+
Object.defineProperty(exports, "opLastSync", { enumerable: true, get: function () { return last_1.opLastSync; } });
|
|
26
34
|
var map_1 = require("./map");
|
|
27
35
|
Object.defineProperty(exports, "opMap", { enumerable: true, get: function () { return map_1.opMap; } });
|
|
28
36
|
Object.defineProperty(exports, "opMapAsync", { enumerable: true, get: function () { return map_1.opMapAsync; } });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PipeFn } from '../internalTypes';
|
|
2
|
+
export declare function opLastAsync<T, S extends T>(lastFn: (v: T) => v is S): (iter: AsyncIterable<T>) => AsyncIterable<S>;
|
|
3
|
+
export declare function opLastAsync<T, S extends Awaited<T>>(lastFn: (v: Awaited<T>) => v is S): (iter: AsyncIterable<T>) => AsyncIterable<S>;
|
|
4
|
+
export declare function opLastAsync<T>(lastFn: (v: Awaited<T>) => boolean): (iter: AsyncIterable<T>) => AsyncIterable<Awaited<T>>;
|
|
5
|
+
export declare function opLastAsync<T>(lastFn: (v: Awaited<T>) => Promise<boolean>): (iter: AsyncIterable<T>) => AsyncIterable<Awaited<T>>;
|
|
6
|
+
export declare function opLastSync<T, S extends T>(lastFn: (v: T) => v is S): (iter: Iterable<T>) => Iterable<S>;
|
|
7
|
+
export declare function opLastSync<T>(lastFn: (v: T) => boolean): (iter: Iterable<T>) => Iterable<T>;
|
|
8
|
+
export declare function opLast<T, S extends T>(fn: (v: T) => v is S): PipeFn<T, S>;
|
|
9
|
+
export declare function opLast<T>(fn: (v: T) => boolean): PipeFn<T, T>;
|
|
10
|
+
//# sourceMappingURL=last.d.ts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.opLast = exports.opLastSync = exports.opLastAsync = void 0;
|
|
4
|
+
const util_1 = require("../helpers/util");
|
|
5
|
+
const symNotFound = Symbol('LastNotFound');
|
|
6
|
+
// prettier-ignore
|
|
7
|
+
function opLastAsync(lastFn) {
|
|
8
|
+
async function* fn(iter) {
|
|
9
|
+
let last = symNotFound;
|
|
10
|
+
for await (const v of iter) {
|
|
11
|
+
const pass = await lastFn(v);
|
|
12
|
+
if (pass) {
|
|
13
|
+
last = v;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
if (last !== symNotFound)
|
|
17
|
+
yield last;
|
|
18
|
+
}
|
|
19
|
+
return fn;
|
|
20
|
+
}
|
|
21
|
+
exports.opLastAsync = opLastAsync;
|
|
22
|
+
function opLastSync(lastFn) {
|
|
23
|
+
function* fn(iter) {
|
|
24
|
+
let last = symNotFound;
|
|
25
|
+
for (const v of iter) {
|
|
26
|
+
if (lastFn(v)) {
|
|
27
|
+
last = v;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (last !== symNotFound)
|
|
31
|
+
yield last;
|
|
32
|
+
}
|
|
33
|
+
return fn;
|
|
34
|
+
}
|
|
35
|
+
exports.opLastSync = opLastSync;
|
|
36
|
+
function opLast(fn) {
|
|
37
|
+
const asyncFn = opLastAsync(fn);
|
|
38
|
+
const syncFn = opLastSync(fn);
|
|
39
|
+
function _(i) {
|
|
40
|
+
return (0, util_1.isAsyncIterable)(i) ? asyncFn(i) : syncFn(i);
|
|
41
|
+
}
|
|
42
|
+
return _;
|
|
43
|
+
}
|
|
44
|
+
exports.opLast = opLast;
|
|
45
|
+
//# sourceMappingURL=last.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { toArraySync as toArray } from '../helpers/toArray';
|
|
2
|
+
export { opAppendSync as opAppend, opConcatMapSync as opConcatMap, opFilterSync as opFilter, opFirstSync as opFirst, opFlattenSync as opFlatten, opJoinStringsSync as opJoinStrings, opLastSync as opLast, opMapSync as opMap, opSkipSync as opSkip, opTakeSync as opTake, opTapSync as opTap, opUniqueSync as opUnique, } from '../operators';
|
|
3
|
+
export { pipeSync as pipe, pipeSync } from '../pipe';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.pipeSync = exports.pipe = exports.opUnique = exports.opTap = exports.opTake = exports.opSkip = exports.opMap = exports.opLast = exports.opJoinStrings = exports.opFlatten = exports.opFirst = exports.opFilter = exports.opConcatMap = exports.opAppend = exports.toArray = void 0;
|
|
4
|
+
var toArray_1 = require("../helpers/toArray");
|
|
5
|
+
Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return toArray_1.toArraySync; } });
|
|
6
|
+
var operators_1 = require("../operators");
|
|
7
|
+
Object.defineProperty(exports, "opAppend", { enumerable: true, get: function () { return operators_1.opAppendSync; } });
|
|
8
|
+
Object.defineProperty(exports, "opConcatMap", { enumerable: true, get: function () { return operators_1.opConcatMapSync; } });
|
|
9
|
+
Object.defineProperty(exports, "opFilter", { enumerable: true, get: function () { return operators_1.opFilterSync; } });
|
|
10
|
+
Object.defineProperty(exports, "opFirst", { enumerable: true, get: function () { return operators_1.opFirstSync; } });
|
|
11
|
+
Object.defineProperty(exports, "opFlatten", { enumerable: true, get: function () { return operators_1.opFlattenSync; } });
|
|
12
|
+
Object.defineProperty(exports, "opJoinStrings", { enumerable: true, get: function () { return operators_1.opJoinStringsSync; } });
|
|
13
|
+
Object.defineProperty(exports, "opLast", { enumerable: true, get: function () { return operators_1.opLastSync; } });
|
|
14
|
+
Object.defineProperty(exports, "opMap", { enumerable: true, get: function () { return operators_1.opMapSync; } });
|
|
15
|
+
Object.defineProperty(exports, "opSkip", { enumerable: true, get: function () { return operators_1.opSkipSync; } });
|
|
16
|
+
Object.defineProperty(exports, "opTake", { enumerable: true, get: function () { return operators_1.opTakeSync; } });
|
|
17
|
+
Object.defineProperty(exports, "opTap", { enumerable: true, get: function () { return operators_1.opTapSync; } });
|
|
18
|
+
Object.defineProperty(exports, "opUnique", { enumerable: true, get: function () { return operators_1.opUniqueSync; } });
|
|
19
|
+
var pipe_1 = require("../pipe");
|
|
20
|
+
Object.defineProperty(exports, "pipe", { enumerable: true, get: function () { return pipe_1.pipeSync; } });
|
|
21
|
+
Object.defineProperty(exports, "pipeSync", { enumerable: true, get: function () { return pipe_1.pipeSync; } });
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.11.0",
|
|
7
7
|
"description": "Library to make working with Iterators/AsyncIterators easier.",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"cspell",
|
|
@@ -24,9 +24,6 @@
|
|
|
24
24
|
".": {
|
|
25
25
|
"require": "./dist/index.js"
|
|
26
26
|
},
|
|
27
|
-
"./*": {
|
|
28
|
-
"require": "./dist/*.js"
|
|
29
|
-
},
|
|
30
27
|
"./index": "./dist/index.js",
|
|
31
28
|
"./index.js": "./dist/index.js",
|
|
32
29
|
"./index.d.ts": "./dist/index.d.ts",
|
|
@@ -38,6 +35,20 @@
|
|
|
38
35
|
},
|
|
39
36
|
"./operators/index.d.ts": {
|
|
40
37
|
"require": "./dist/operators/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./sync": {
|
|
40
|
+
"require": "./dist/sync/index.js",
|
|
41
|
+
"types": "./dist/sync/index.d.ts",
|
|
42
|
+
"default": "./dist/sync/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./sync/index": {
|
|
45
|
+
"require": "./dist/sync/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./sync/index.js": {
|
|
48
|
+
"require": "./dist/sync/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./sync/index.d.ts": {
|
|
51
|
+
"require": "./dist/sync/index.d.ts"
|
|
41
52
|
}
|
|
42
53
|
},
|
|
43
54
|
"typings": "dist/index.d.ts",
|
|
@@ -58,6 +69,12 @@
|
|
|
58
69
|
"operators/index.d.ts": [
|
|
59
70
|
"dist/operators/index.d.ts"
|
|
60
71
|
],
|
|
72
|
+
"sync": [
|
|
73
|
+
"dist/sync/index.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"sync/index.d.ts": [
|
|
76
|
+
"dist/sync/index.d.ts"
|
|
77
|
+
],
|
|
61
78
|
"*": [
|
|
62
79
|
"dist/*",
|
|
63
80
|
"dist/*/index.d.ts"
|
|
@@ -93,9 +110,9 @@
|
|
|
93
110
|
"node": ">=14"
|
|
94
111
|
},
|
|
95
112
|
"devDependencies": {
|
|
96
|
-
"@types/node": "^18.7.
|
|
97
|
-
"jest": "^29.
|
|
113
|
+
"@types/node": "^18.7.23",
|
|
114
|
+
"jest": "^29.1.1",
|
|
98
115
|
"rimraf": "^3.0.2"
|
|
99
116
|
},
|
|
100
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "664676692898c3b6aa150fb2c6656b56f49a54b8"
|
|
101
118
|
}
|