@ngtools/webpack 17.3.0 → 18.0.0-next.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/src/ivy/system.d.ts +3 -8
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ngtools/webpack",
|
3
|
-
"version": "
|
3
|
+
"version": "18.0.0-next.0",
|
4
4
|
"description": "Webpack plugin that AoT compiles your Angular components and modules.",
|
5
5
|
"main": "./src/index.js",
|
6
6
|
"typings": "src/index.d.ts",
|
@@ -26,12 +26,12 @@
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
27
27
|
"dependencies": {},
|
28
28
|
"peerDependencies": {
|
29
|
-
"@angular/compiler-cli": "^
|
29
|
+
"@angular/compiler-cli": "^18.0.0-next.0",
|
30
30
|
"typescript": ">=5.2 <5.5",
|
31
31
|
"webpack": "^5.54.0"
|
32
32
|
},
|
33
33
|
"engines": {
|
34
|
-
"node": "^18.
|
34
|
+
"node": "^18.19.1 || >=20.11.1",
|
35
35
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
36
36
|
"yarn": ">= 1.13.0"
|
37
37
|
}
|
package/src/ivy/system.d.ts
CHANGED
@@ -7,14 +7,9 @@
|
|
7
7
|
*/
|
8
8
|
import * as ts from 'typescript';
|
9
9
|
import { Compiler } from 'webpack';
|
10
|
-
export type InputFileSystem = Compiler['inputFileSystem']
|
10
|
+
export type InputFileSystem = NonNullable<Compiler['inputFileSystem']>;
|
11
11
|
export interface InputFileSystemSync extends InputFileSystem {
|
12
|
-
readFileSync
|
13
|
-
statSync
|
14
|
-
size: number;
|
15
|
-
mtime: Date;
|
16
|
-
isDirectory(): boolean;
|
17
|
-
isFile(): boolean;
|
18
|
-
};
|
12
|
+
readFileSync: NonNullable<InputFileSystem['readFileSync']>;
|
13
|
+
statSync: NonNullable<InputFileSystem['statSync']>;
|
19
14
|
}
|
20
15
|
export declare function createWebpackSystem(input: InputFileSystemSync, currentDirectory: string): ts.System;
|