@ngtools/webpack 17.3.0 → 18.0.0-next.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngtools/webpack",
3
- "version": "17.3.0",
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": "^17.0.0",
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.13.0 || >=20.9.0",
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
  }
@@ -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(path: string): Buffer;
13
- statSync(path: string): {
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;