@ngtools/webpack 15.0.0-next.3 → 15.0.0-next.5

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": "15.0.0-next.3",
3
+ "version": "15.0.0-next.5",
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",
@@ -27,11 +27,11 @@
27
27
  "dependencies": {},
28
28
  "peerDependencies": {
29
29
  "@angular/compiler-cli": "^15.0.0-next",
30
- "typescript": ">=4.6.2 <4.9",
30
+ "typescript": "~4.8.2",
31
31
  "webpack": "^5.54.0"
32
32
  },
33
33
  "engines": {
34
- "node": "^14.15.0 || >=16.10.0",
34
+ "node": "^14.20.0 || ^16.13.0 || >=18.10.0",
35
35
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
36
36
  "yarn": ">= 1.13.0"
37
37
  }
package/src/ivy/plugin.js CHANGED
@@ -421,7 +421,7 @@ class AngularWebpackPlugin {
421
421
  }
422
422
  // Collect sources that are required to be emitted
423
423
  if (!ignoreForEmit.has(sourceFile) &&
424
- !angularCompiler.incrementalDriver.safeToSkipEmit(sourceFile)) {
424
+ !angularCompiler.incrementalCompilation.safeToSkipEmit(sourceFile)) {
425
425
  this.requiredFilesToEmit.add((0, paths_1.normalizePath)(sourceFile.fileName));
426
426
  // If required to emit, diagnostics may have also changed
427
427
  if (!ignoreForDiagnostics.has(sourceFile)) {
@@ -451,7 +451,7 @@ class AngularWebpackPlugin {
451
451
  return {
452
452
  emitter: this.createFileEmitter(builder, (0, transformation_1.mergeTransformers)(angularCompiler.prepareEmit().transformers, transformers), getDependencies, (sourceFile) => {
453
453
  this.requiredFilesToEmit.delete((0, paths_1.normalizePath)(sourceFile.fileName));
454
- angularCompiler.incrementalDriver.recordSuccessfulEmit(sourceFile);
454
+ angularCompiler.incrementalCompilation.recordSuccessfulEmit(sourceFile);
455
455
  }),
456
456
  };
457
457
  })