@ngtools/webpack 11.2.8 → 11.2.12

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.
Files changed (75) hide show
  1. package/package.json +2 -2
  2. package/src/angular_compiler_plugin.js +1 -1
  3. package/src/benchmark.js +1 -1
  4. package/src/compiler_host.d.ts +1 -1
  5. package/src/compiler_host.js +1 -1
  6. package/src/diagnostics.d.ts +1 -1
  7. package/src/diagnostics.js +1 -1
  8. package/src/entry_resolver.d.ts +1 -1
  9. package/src/entry_resolver.js +1 -1
  10. package/src/index.d.ts +1 -1
  11. package/src/index.js +1 -1
  12. package/src/interfaces.d.ts +1 -1
  13. package/src/interfaces.js +1 -1
  14. package/src/ivy/cache.d.ts +4 -1
  15. package/src/ivy/cache.js +20 -1
  16. package/src/ivy/diagnostics.d.ts +1 -1
  17. package/src/ivy/diagnostics.js +1 -1
  18. package/src/ivy/index.d.ts +1 -1
  19. package/src/ivy/index.js +1 -1
  20. package/src/ivy/loader.js +1 -1
  21. package/src/ivy/paths.js +1 -1
  22. package/src/ivy/plugin.d.ts +1 -1
  23. package/src/ivy/plugin.js +58 -18
  24. package/src/ivy/symbol.d.ts +1 -1
  25. package/src/ivy/symbol.js +1 -1
  26. package/src/ivy/system.d.ts +1 -1
  27. package/src/ivy/system.js +1 -1
  28. package/src/ivy/transformation.js +1 -1
  29. package/src/lazy_routes.js +1 -1
  30. package/src/loader.js +1 -1
  31. package/src/ngcc_processor.d.ts +1 -1
  32. package/src/ngcc_processor.js +1 -1
  33. package/src/paths-plugin.js +1 -1
  34. package/src/refactor.js +1 -1
  35. package/src/resource_loader.js +1 -1
  36. package/src/transformers/ast_helpers.d.ts +1 -1
  37. package/src/transformers/ast_helpers.js +1 -1
  38. package/src/transformers/elide_imports.d.ts +1 -1
  39. package/src/transformers/elide_imports.js +1 -1
  40. package/src/transformers/export_lazy_module_map.js +1 -1
  41. package/src/transformers/export_ngfactory.js +1 -1
  42. package/src/transformers/find_resources.d.ts +1 -1
  43. package/src/transformers/find_resources.js +1 -1
  44. package/src/transformers/import_factory.js +1 -1
  45. package/src/transformers/index.d.ts +1 -1
  46. package/src/transformers/index.js +1 -1
  47. package/src/transformers/insert_import.d.ts +1 -1
  48. package/src/transformers/insert_import.js +1 -1
  49. package/src/transformers/interfaces.d.ts +1 -1
  50. package/src/transformers/make_transform.d.ts +1 -1
  51. package/src/transformers/make_transform.js +1 -1
  52. package/src/transformers/register_locale_data.d.ts +1 -1
  53. package/src/transformers/register_locale_data.js +1 -1
  54. package/src/transformers/remove-ivy-jit-support-calls.d.ts +1 -1
  55. package/src/transformers/remove-ivy-jit-support-calls.js +1 -1
  56. package/src/transformers/remove_decorators.d.ts +1 -1
  57. package/src/transformers/remove_decorators.js +1 -1
  58. package/src/transformers/replace_bootstrap.js +1 -1
  59. package/src/transformers/replace_resources.d.ts +1 -1
  60. package/src/transformers/replace_resources.js +1 -1
  61. package/src/transformers/replace_server_bootstrap.js +1 -1
  62. package/src/transformers/spec_helpers.js +1 -1
  63. package/src/type_checker.js +1 -1
  64. package/src/type_checker_bootstrap.js +1 -1
  65. package/src/type_checker_messages.d.ts +1 -1
  66. package/src/type_checker_worker.js +1 -1
  67. package/src/utils.d.ts +1 -1
  68. package/src/utils.js +1 -1
  69. package/src/virtual_file_system_decorator.d.ts +1 -1
  70. package/src/virtual_file_system_decorator.js +1 -1
  71. package/src/webpack-diagnostics.d.ts +1 -1
  72. package/src/webpack-input-host.d.ts +1 -1
  73. package/src/webpack-input-host.js +1 -1
  74. package/src/webpack-version.js +1 -1
  75. package/src/webpack.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngtools/webpack",
3
- "version": "11.2.8",
3
+ "version": "11.2.12",
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",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "homepage": "https://github.com/angular/angular-cli",
27
27
  "dependencies": {
28
- "@angular-devkit/core": "11.2.8",
28
+ "@angular-devkit/core": "11.2.12",
29
29
  "enhanced-resolve": "5.7.0",
30
30
  "webpack-sources": "2.2.0"
31
31
  },
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AngularCompilerPlugin = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
package/src/benchmark.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.timeEnd = exports.time = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WebpackCompilerHost = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.reportDiagnostics = exports.gatherDiagnostics = exports.hasErrors = exports.CancellationToken = exports.DiagnosticMode = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
package/src/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/interfaces.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
@@ -1,13 +1,16 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  import * as ts from 'typescript';
9
9
  export declare class SourceFileCache extends Map<string, ts.SourceFile> {
10
+ private readonly angularDiagnostics;
10
11
  invalidate(fileTimestamps: Map<string, number | {
11
12
  timestamp: number;
12
13
  } | null>, buildTimestamp: number): Set<string>;
14
+ updateAngularDiagnostics(sourceFile: ts.SourceFile, diagnostics: ts.Diagnostic[]): void;
15
+ getAngularDiagnostics(sourceFile: ts.SourceFile): ts.Diagnostic[] | undefined;
13
16
  }
package/src/ivy/cache.js CHANGED
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SourceFileCache = void 0;
4
4
  const paths_1 = require("./paths");
5
5
  class SourceFileCache extends Map {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.angularDiagnostics = new Map();
9
+ }
6
10
  invalidate(fileTimestamps, buildTimestamp) {
7
11
  const changedFiles = new Set();
8
12
  for (const [file, timeOrEntry] of fileTimestamps) {
@@ -10,11 +14,26 @@ class SourceFileCache extends Map {
10
14
  if (time === null || buildTimestamp < time) {
11
15
  // Cache stores paths using the POSIX directory separator
12
16
  const normalizedFile = paths_1.normalizePath(file);
13
- this.delete(normalizedFile);
17
+ const sourceFile = this.get(normalizedFile);
18
+ if (sourceFile) {
19
+ this.delete(normalizedFile);
20
+ this.angularDiagnostics.delete(sourceFile);
21
+ }
14
22
  changedFiles.add(normalizedFile);
15
23
  }
16
24
  }
17
25
  return changedFiles;
18
26
  }
27
+ updateAngularDiagnostics(sourceFile, diagnostics) {
28
+ if (diagnostics.length > 0) {
29
+ this.angularDiagnostics.set(sourceFile, diagnostics);
30
+ }
31
+ else {
32
+ this.angularDiagnostics.delete(sourceFile);
33
+ }
34
+ }
35
+ getAngularDiagnostics(sourceFile) {
36
+ return this.angularDiagnostics.get(sourceFile);
37
+ }
19
38
  }
20
39
  exports.SourceFileCache = SourceFileCache;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createDiagnosticsReporter = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/ivy/index.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AngularWebpackLoaderPath = exports.AngularWebpackPlugin = exports.default = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
package/src/ivy/loader.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = exports.angularWebpackLoader = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
package/src/ivy/paths.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.externalizePath = exports.normalizePath = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/ivy/plugin.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AngularWebpackPlugin = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -27,6 +27,12 @@ const paths_1 = require("./paths");
27
27
  const symbol_1 = require("./symbol");
28
28
  const system_1 = require("./system");
29
29
  const transformation_1 = require("./transformation");
30
+ /**
31
+ * The threshold used to determine whether Angular file diagnostics should optimize for full programs
32
+ * or single files. If the number of affected files for a build is more than the threshold, full
33
+ * program optimization will be used.
34
+ */
35
+ const DIAGNOSTICS_AFFECTED_THRESHOLD = 1;
30
36
  function initializeNgccProcessor(compiler, tsconfig) {
31
37
  var _a, _b;
32
38
  const { inputFileSystem, options: webpackOptions } = compiler;
@@ -286,11 +292,31 @@ class AngularWebpackPlugin {
286
292
  this.ngtscNextProgram = angularProgram;
287
293
  }
288
294
  // Update semantic diagnostics cache
295
+ const affectedFiles = new Set();
289
296
  while (true) {
290
- const result = builder.getSemanticDiagnosticsOfNextAffectedFile(undefined, (sourceFile) => ignoreForDiagnostics.has(sourceFile));
297
+ const result = builder.getSemanticDiagnosticsOfNextAffectedFile(undefined, (sourceFile) => {
298
+ // If the affected file is a TTC shim, add the shim's original source file.
299
+ // This ensures that changes that affect TTC are typechecked even when the changes
300
+ // are otherwise unrelated from a TS perspective and do not result in Ivy codegen changes.
301
+ // For example, changing @Input property types of a directive used in another component's
302
+ // template.
303
+ if (ignoreForDiagnostics.has(sourceFile) &&
304
+ sourceFile.fileName.endsWith('.ngtypecheck.ts')) {
305
+ // This file name conversion relies on internal compiler logic and should be converted
306
+ // to an official method when available. 15 is length of `.ngtypecheck.ts`
307
+ const originalFilename = sourceFile.fileName.slice(0, -15) + '.ts';
308
+ const originalSourceFile = builder.getSourceFile(originalFilename);
309
+ if (originalSourceFile) {
310
+ affectedFiles.add(originalSourceFile);
311
+ }
312
+ return true;
313
+ }
314
+ return false;
315
+ });
291
316
  if (!result) {
292
317
  break;
293
318
  }
319
+ affectedFiles.add(result.affected);
294
320
  }
295
321
  // Collect non-semantic diagnostics
296
322
  const diagnostics = [
@@ -319,28 +345,29 @@ class AngularWebpackPlugin {
319
345
  // Required to support asynchronous resource loading
320
346
  // Must be done before creating transformers or getting template diagnostics
321
347
  const pendingAnalysis = angularCompiler.analyzeAsync().then(() => {
348
+ var _a;
322
349
  this.requiredFilesToEmit.clear();
323
350
  for (const sourceFile of builder.getSourceFiles()) {
324
- // Collect Angular template diagnostics
325
- if (!ignoreForDiagnostics.has(sourceFile)) {
326
- // The below check should be removed once support for compiler 11.0 is dropped.
327
- // Also, the below require should be changed to an ES6 import.
328
- if (angularCompiler.getDiagnosticsForFile) {
329
- // @angular/compiler-cli 11.1+
330
- const { OptimizeFor } = require('@angular/compiler-cli/src/ngtsc/typecheck/api');
331
- diagnosticsReporter(angularCompiler.getDiagnosticsForFile(sourceFile, OptimizeFor.WholeProgram));
332
- }
333
- else {
334
- // @angular/compiler-cli 11.0+
335
- const getDiagnostics = angularCompiler.getDiagnostics;
336
- diagnosticsReporter(getDiagnostics.call(angularCompiler, sourceFile));
337
- }
351
+ if (sourceFile.isDeclarationFile) {
352
+ continue;
338
353
  }
339
354
  // Collect sources that are required to be emitted
340
- if (!sourceFile.isDeclarationFile &&
341
- !ignoreForEmit.has(sourceFile) &&
355
+ if (!ignoreForEmit.has(sourceFile) &&
342
356
  !angularCompiler.incrementalDriver.safeToSkipEmit(sourceFile)) {
343
357
  this.requiredFilesToEmit.add(paths_1.normalizePath(sourceFile.fileName));
358
+ // If required to emit, diagnostics may have also changed
359
+ if (!ignoreForDiagnostics.has(sourceFile)) {
360
+ affectedFiles.add(sourceFile);
361
+ }
362
+ }
363
+ else if (this.sourceFileCache &&
364
+ !affectedFiles.has(sourceFile) &&
365
+ !ignoreForDiagnostics.has(sourceFile)) {
366
+ // Use cached Angular diagnostics for unchanged and unaffected files
367
+ const angularDiagnostics = this.sourceFileCache.getAngularDiagnostics(sourceFile);
368
+ if (angularDiagnostics) {
369
+ diagnosticsReporter(angularDiagnostics);
370
+ }
344
371
  }
345
372
  }
346
373
  // NOTE: This can be removed once support for the deprecated lazy route string format is removed
@@ -348,6 +375,19 @@ class AngularWebpackPlugin {
348
375
  const [routeKey] = lazyRoute.route.split('#');
349
376
  this.lazyRouteMap[routeKey] = lazyRoute.referencedModule.filePath;
350
377
  }
378
+ // Collect new Angular diagnostics for files affected by changes
379
+ const { OptimizeFor } = require('@angular/compiler-cli/src/ngtsc/typecheck/api');
380
+ const optimizeDiagnosticsFor = affectedFiles.size <= DIAGNOSTICS_AFFECTED_THRESHOLD
381
+ ? OptimizeFor.SingleFile
382
+ : OptimizeFor.WholeProgram;
383
+ for (const affectedFile of affectedFiles) {
384
+ const angularDiagnostics = angularCompiler.getDiagnosticsForFile(affectedFile, optimizeDiagnosticsFor);
385
+ diagnosticsReporter(angularDiagnostics);
386
+ (_a = this.sourceFileCache) === null || _a === void 0 ? void 0 : _a.updateAngularDiagnostics(affectedFile, angularDiagnostics);
387
+ }
388
+ // NOTE: Workaround to fix stale reuse program. Can be removed once fixed upstream.
389
+ // tslint:disable-next-line: no-any
390
+ angularProgram.reuseTsProgram = angularCompiler.getNextProgram();
351
391
  return this.createFileEmitter(builder, transformation_1.mergeTransformers(angularCompiler.prepareEmit().transformers, transformers), getDependencies, (sourceFile) => {
352
392
  this.requiredFilesToEmit.delete(paths_1.normalizePath(sourceFile.fileName));
353
393
  angularCompiler.incrementalDriver.recordSuccessfulEmit(sourceFile);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/ivy/symbol.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AngularPluginSymbol = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/ivy/system.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createWebpackSystem = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.replaceBootstrap = exports.mergeTransformers = exports.createJitTransformers = exports.createAotTransformers = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.findLazyRoutes = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
package/src/loader.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngcLoader = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TypeScriptPathsPlugin = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
package/src/refactor.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TypeScriptFileRefactor = exports.resolve = exports.findAstNodes = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WebpackResourceLoader = exports.NoopResourceLoader = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getLastNode = exports.getFirstNode = exports.collectDeepNodes = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.elideImports = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.exportLazyModuleMap = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.exportNgFactory = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.findResources = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.importFactory = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -12,7 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  /**
14
14
  * @license
15
- * Copyright Google Inc. All Rights Reserved.
15
+ * Copyright Google LLC All Rights Reserved.
16
16
  *
17
17
  * Use of this source code is governed by an MIT-style license that can be
18
18
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.insertImport = exports.insertStarImport = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.makeTransform = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.registerLocaleData = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.removeIvyJitSupportCalls = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.removeDecorators = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.replaceBootstrap = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getResourceUrl = exports.replaceResources = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.replaceServerBootstrap = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transformTypescript = exports.createTypescriptContext = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TypeChecker = exports.AUTO_START_ARG = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  /**
4
4
  * @license
5
- * Copyright Google Inc. All Rights Reserved.
5
+ * Copyright Google LLC All Rights Reserved.
6
6
  *
7
7
  * Use of this source code is governed by an MIT-style license that can be
8
8
  * found in the LICENSE file at https://angular.io/license
package/src/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
package/src/utils.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.forwardSlashPath = exports.flattenArray = exports.workaroundResolve = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VirtualWatchFileSystemDecorator = exports.VirtualFileSystemDecorator = exports.NodeWatchFileSystem = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /**
3
3
  * @license
4
- * Copyright Google Inc. All Rights Reserved.
4
+ * Copyright Google LLC All Rights Reserved.
5
5
  *
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createWebpackInputHost = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mergeResolverMainFields = exports.isWebpackFiveOrHigher = void 0;
4
4
  /**
5
5
  * @license
6
- * Copyright Google Inc. All Rights Reserved.
6
+ * Copyright Google LLC All Rights Reserved.
7
7
  *
8
8
  * Use of this source code is governed by an MIT-style license that can be
9
9
  * found in the LICENSE file at https://angular.io/license
package/src/webpack.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright Google Inc. All Rights Reserved.
3
+ * Copyright Google LLC All Rights Reserved.
4
4
  *
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license