iterable-linq-utility 0.0.5 → 0.0.7
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/functions/some.d.ts +2 -1
- package/dist/linqIterable.d.ts +2 -2
- package/package.json +55 -55
package/dist/functions/some.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { Predicate } from "@/types";
|
|
2
|
+
export declare function some<T>(iterable: Iterable<T>, predicate: Predicate<T>): boolean;
|
package/dist/linqIterable.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface ILinqIterable<T> {
|
|
|
6
6
|
map<R>(mapper: Mapper<T, R>): ILinqIterable<R>;
|
|
7
7
|
materialize(): ILinqIterable<T>;
|
|
8
8
|
memoize(): ILinqIterable<T>;
|
|
9
|
-
some(predicate:
|
|
9
|
+
some(predicate: Predicate<T>): boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare class LinqIterable<T> implements ILinqIterable<T> {
|
|
12
12
|
constructor(iterable: Iterable<T>);
|
|
@@ -17,5 +17,5 @@ export declare class LinqIterable<T> implements ILinqIterable<T> {
|
|
|
17
17
|
map<R>(mapper: Mapper<T, R>): ILinqIterable<R>;
|
|
18
18
|
materialize(): ILinqIterable<T>;
|
|
19
19
|
memoize(): ILinqIterable<T>;
|
|
20
|
-
some(predicate:
|
|
20
|
+
some(predicate: Predicate<T>): boolean;
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "iterable-linq-utility",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "An Iterable mutation utility inspired by .net Linq and Javascript Array interface",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/
|
|
7
|
-
"module": "./dist/
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/
|
|
12
|
-
"require": "./dist/
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"build": "tsc -p tsconfig.build.json && vite build",
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .eslintignore",
|
|
22
|
-
"lint-fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix --ignore-path .eslintignore",
|
|
23
|
-
"test": "vitest",
|
|
24
|
-
"test:coverage": "vitest run --coverage",
|
|
25
|
-
"test:ui": "vitest --ui"
|
|
26
|
-
},
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/Amebus/iterable-linq-utility.git"
|
|
30
|
-
},
|
|
31
|
-
"author": "Amebus",
|
|
32
|
-
"license": "ISC",
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/Amebus/iterable-linq-utility/issues"
|
|
35
|
-
},
|
|
36
|
-
"homepage": "https://github.com/Amebus/iterable-linq-utility#readme",
|
|
37
|
-
"keywords": ["linq", "itearable", "utility"],
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@rushstack/eslint-patch": "^1.1.4",
|
|
40
|
-
"@types/node": "18.11.10",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "5.36.2",
|
|
42
|
-
"@typescript-eslint/parser": "5.36.2",
|
|
43
|
-
"@vitest/ui": "0.25.2",
|
|
44
|
-
"eslint": "8.22.0",
|
|
45
|
-
"eslint-plugin-import": "2.26.0",
|
|
46
|
-
"eslint-plugin-node": "11.1.0",
|
|
47
|
-
"eslint-plugin-promise": "6.0.1",
|
|
48
|
-
"eslint-plugin-standard": "5.0.0",
|
|
49
|
-
"typescript": "4.9.3",
|
|
50
|
-
"vite": "3.2.4",
|
|
51
|
-
"vite-plugin-dts": "1.7.1",
|
|
52
|
-
"vite-tsconfig-paths": "3.6.0",
|
|
53
|
-
"vitest": "0.25.3"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "iterable-linq-utility",
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"description": "An Iterable mutation utility inspired by .net Linq and Javascript Array interface",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/interable-linq-utility.umd.cjs",
|
|
7
|
+
"module": "./dist/interable-linq-utility.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/interable-linq-utility.js",
|
|
12
|
+
"require": "./dist/interable-linq-utility.umd.cjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc -p tsconfig.build.json && vite build",
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .eslintignore",
|
|
22
|
+
"lint-fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix --ignore-path .eslintignore",
|
|
23
|
+
"test": "vitest",
|
|
24
|
+
"test:coverage": "vitest run --coverage",
|
|
25
|
+
"test:ui": "vitest --ui"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/Amebus/iterable-linq-utility.git"
|
|
30
|
+
},
|
|
31
|
+
"author": "Amebus",
|
|
32
|
+
"license": "ISC",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/Amebus/iterable-linq-utility/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/Amebus/iterable-linq-utility#readme",
|
|
37
|
+
"keywords": ["linq", "itearable", "utility"],
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@rushstack/eslint-patch": "^1.1.4",
|
|
40
|
+
"@types/node": "18.11.10",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "5.36.2",
|
|
42
|
+
"@typescript-eslint/parser": "5.36.2",
|
|
43
|
+
"@vitest/ui": "0.25.2",
|
|
44
|
+
"eslint": "8.22.0",
|
|
45
|
+
"eslint-plugin-import": "2.26.0",
|
|
46
|
+
"eslint-plugin-node": "11.1.0",
|
|
47
|
+
"eslint-plugin-promise": "6.0.1",
|
|
48
|
+
"eslint-plugin-standard": "5.0.0",
|
|
49
|
+
"typescript": "4.9.3",
|
|
50
|
+
"vite": "3.2.4",
|
|
51
|
+
"vite-plugin-dts": "1.7.1",
|
|
52
|
+
"vite-tsconfig-paths": "3.6.0",
|
|
53
|
+
"vitest": "0.25.3"
|
|
54
|
+
}
|
|
55
|
+
}
|