@cspell/cspell-pipe 5.17.0 → 5.18.0-alpha.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/index.d.ts +2 -0
- package/dist/index.js +12 -1
- package/dist/operators/index.d.ts +1 -1
- package/package.json +45 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as _helpers from './helpers';
|
|
2
2
|
import * as _operators from './operators';
|
|
3
|
+
export { isAsyncIterable, toArray, toAsyncIterable } from './helpers';
|
|
4
|
+
export { opAwaitAsync, opFilter, opFlatten, opJoinStrings, opMap, opUnique } from './operators';
|
|
3
5
|
export { pipeAsync, pipeSync } from './pipe';
|
|
4
6
|
export declare const operators: typeof _operators;
|
|
5
7
|
export declare const helpers: typeof _helpers;
|
package/dist/index.js
CHANGED
|
@@ -19,9 +19,20 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.helpers = exports.operators = exports.pipeSync = exports.pipeAsync = void 0;
|
|
22
|
+
exports.helpers = exports.operators = exports.pipeSync = exports.pipeAsync = exports.opUnique = exports.opMap = exports.opJoinStrings = exports.opFlatten = exports.opFilter = exports.opAwaitAsync = exports.toAsyncIterable = exports.toArray = exports.isAsyncIterable = void 0;
|
|
23
23
|
const _helpers = __importStar(require("./helpers"));
|
|
24
24
|
const _operators = __importStar(require("./operators"));
|
|
25
|
+
var helpers_1 = require("./helpers");
|
|
26
|
+
Object.defineProperty(exports, "isAsyncIterable", { enumerable: true, get: function () { return helpers_1.isAsyncIterable; } });
|
|
27
|
+
Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return helpers_1.toArray; } });
|
|
28
|
+
Object.defineProperty(exports, "toAsyncIterable", { enumerable: true, get: function () { return helpers_1.toAsyncIterable; } });
|
|
29
|
+
var operators_1 = require("./operators");
|
|
30
|
+
Object.defineProperty(exports, "opAwaitAsync", { enumerable: true, get: function () { return operators_1.opAwaitAsync; } });
|
|
31
|
+
Object.defineProperty(exports, "opFilter", { enumerable: true, get: function () { return operators_1.opFilter; } });
|
|
32
|
+
Object.defineProperty(exports, "opFlatten", { enumerable: true, get: function () { return operators_1.opFlatten; } });
|
|
33
|
+
Object.defineProperty(exports, "opJoinStrings", { enumerable: true, get: function () { return operators_1.opJoinStrings; } });
|
|
34
|
+
Object.defineProperty(exports, "opMap", { enumerable: true, get: function () { return operators_1.opMap; } });
|
|
35
|
+
Object.defineProperty(exports, "opUnique", { enumerable: true, get: function () { return operators_1.opUnique; } });
|
|
25
36
|
var pipe_1 = require("./pipe");
|
|
26
37
|
Object.defineProperty(exports, "pipeAsync", { enumerable: true, get: function () { return pipe_1.pipeAsync; } });
|
|
27
38
|
Object.defineProperty(exports, "pipeSync", { enumerable: true, get: function () { return pipe_1.pipeSync; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { opAwaitAsync } from './await';
|
|
2
|
-
export { opFilter, opFilterAsync, opFilterSync } from './filter';
|
|
2
|
+
export { opFilter as opFilter, opFilterAsync, opFilterSync } from './filter';
|
|
3
3
|
export { opFlatten, opFlattenAsync, opFlattenSync } from './flatten';
|
|
4
4
|
export { opJoinStrings, opJoinStringsAsync, opJoinStringsSync } from './joinStrings';
|
|
5
5
|
export { opMap, opMapAsync, opMapSync } from './map';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "5.
|
|
6
|
+
"version": "5.18.0-alpha.0",
|
|
7
7
|
"description": "Library to make working with Iterators/AsyncIterators easier.",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"cspell",
|
|
@@ -21,11 +21,49 @@
|
|
|
21
21
|
"dist": "dist"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
|
-
".":
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
".": {
|
|
25
|
+
"require": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./*": {
|
|
28
|
+
"require": "./dist/*.js"
|
|
29
|
+
},
|
|
30
|
+
"./index": "./dist/index.js",
|
|
31
|
+
"./index.js": "./dist/index.js",
|
|
32
|
+
"./index.d.ts": "./dist/index.d.ts",
|
|
33
|
+
"./operators": {
|
|
34
|
+
"require": "./dist/operators/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./operators/index.js": {
|
|
37
|
+
"require": "./dist/operators/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./operators/index.d.ts": {
|
|
40
|
+
"require": "./dist/operators/index.js"
|
|
41
|
+
}
|
|
27
42
|
},
|
|
28
43
|
"typings": "dist/index.d.ts",
|
|
44
|
+
"typesVersions": {
|
|
45
|
+
"*": {
|
|
46
|
+
"index.d.ts": [
|
|
47
|
+
"dist/index.d.ts"
|
|
48
|
+
],
|
|
49
|
+
"dist/index.d.ts": [
|
|
50
|
+
"dist/index.d.ts"
|
|
51
|
+
],
|
|
52
|
+
"operators": [
|
|
53
|
+
"dist/operators/index.d.ts"
|
|
54
|
+
],
|
|
55
|
+
"operators/*.js": [
|
|
56
|
+
"dist/operators/*.d.ts"
|
|
57
|
+
],
|
|
58
|
+
"operators/index.d.ts": [
|
|
59
|
+
"dist/operators/index.d.ts"
|
|
60
|
+
],
|
|
61
|
+
"*": [
|
|
62
|
+
"dist/*",
|
|
63
|
+
"dist/*/index.d.ts"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
29
67
|
"files": [
|
|
30
68
|
"dist",
|
|
31
69
|
"!**/__mocks__",
|
|
@@ -53,10 +91,10 @@
|
|
|
53
91
|
"engines": {
|
|
54
92
|
"node": ">=12.13.0"
|
|
55
93
|
},
|
|
56
|
-
"dependencies": {},
|
|
57
94
|
"devDependencies": {
|
|
58
|
-
"@types/node": "^17.0.
|
|
95
|
+
"@types/node": "^17.0.13",
|
|
59
96
|
"jest": "^27.4.7",
|
|
60
97
|
"rimraf": "^3.0.2"
|
|
61
|
-
}
|
|
98
|
+
},
|
|
99
|
+
"gitHead": "d3c6f34444f19e9d8e375d1cbea6f99d0f270716"
|
|
62
100
|
}
|