@angular/build 19.2.15 → 19.2.17

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": "@angular/build",
3
- "version": "19.2.15",
3
+ "version": "19.2.17",
4
4
  "description": "Official build system for Angular",
5
5
  "keywords": [
6
6
  "Angular CLI",
@@ -23,7 +23,7 @@
23
23
  "builders": "builders.json",
24
24
  "dependencies": {
25
25
  "@ampproject/remapping": "2.3.0",
26
- "@angular-devkit/architect": "0.1902.15",
26
+ "@angular-devkit/architect": "0.1902.17",
27
27
  "@babel/core": "7.26.10",
28
28
  "@babel/helper-annotate-as-pure": "7.25.9",
29
29
  "@babel/helper-split-export-declaration": "7.24.7",
@@ -46,7 +46,7 @@
46
46
  "sass": "1.85.0",
47
47
  "semver": "7.7.1",
48
48
  "source-map-support": "0.5.21",
49
- "vite": "6.2.7",
49
+ "vite": "6.3.6",
50
50
  "watchpack": "2.4.2"
51
51
  },
52
52
  "optionalDependencies": {
@@ -58,7 +58,7 @@
58
58
  "@angular/localize": "^19.0.0 || ^19.2.0-next.0",
59
59
  "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0",
60
60
  "@angular/service-worker": "^19.0.0 || ^19.2.0-next.0",
61
- "@angular/ssr": "^19.2.15",
61
+ "@angular/ssr": "^19.2.17",
62
62
  "karma": "^6.4.0",
63
63
  "less": "^4.2.0",
64
64
  "ng-packagr": "^19.0.0 || ^19.2.0-next.0",
@@ -313,6 +313,7 @@ async function* serveWithVite(serverOptions, builderName, builderAction, context
313
313
  // Setup server and start listening
314
314
  const serverConfiguration = await setupServer(serverOptions, generatedFiles, assetFiles, browserOptions.preserveSymlinks, externalMetadata, ssrMode, prebundleTransformer, target, (0, internal_1.isZonelessApp)(polyfills), componentStyles, templateUpdates, browserOptions.loader, {
315
315
  ...browserOptions.define,
316
+ 'ngJitMode': browserOptions.aot ? 'false' : 'true',
316
317
  'ngHmrMode': browserOptions.templateUpdates ? 'true' : 'false',
317
318
  }, extensions?.middleware, transformers?.indexHtml, thirdPartySourcemaps);
318
319
  server = await createServer(serverConfiguration);
@@ -108,7 +108,7 @@ async function loadViteClientCode(file, disableViteTransport = false) {
108
108
  (0, node_assert_1.default)(originalContents !== updatedContents, 'Failed to update Vite client error overlay text.');
109
109
  if (disableViteTransport) {
110
110
  const previousUpdatedContents = updatedContents;
111
- updatedContents = updatedContents.replace('transport.connect(handleMessage)', '');
111
+ updatedContents = updatedContents.replace('transport.connect(createHMRHandler(handleMessage));', '');
112
112
  (0, node_assert_1.default)(previousUpdatedContents !== updatedContents, 'Failed to update Vite client WebSocket disable.');
113
113
  updatedContents = updatedContents.replace('console.debug("[vite] connecting...")', '');
114
114
  }
@@ -10,7 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.normalizeCacheOptions = normalizeCacheOptions;
11
11
  const node_path_1 = require("node:path");
12
12
  /** Version placeholder is replaced during the build process with actual package version */
13
- const VERSION = '19.2.15';
13
+ const VERSION = '19.2.17';
14
14
  function hasCacheMetadata(value) {
15
15
  return (!!value &&
16
16
  typeof value === 'object' &&
@@ -6,12 +6,13 @@
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
8
  import type { ApplicationRef, Type } from '@angular/core';
9
+ import type { BootstrapContext } from '@angular/platform-browser';
9
10
  import type { ɵextractRoutesAndCreateRouteTree, ɵgetOrCreateAngularServerApp } from '@angular/ssr';
10
11
  /**
11
12
  * Represents the exports available from the main server bundle.
12
13
  */
13
14
  interface MainServerBundleExports {
14
- default: (() => Promise<ApplicationRef>) | Type<unknown>;
15
+ default: ((context: BootstrapContext) => Promise<ApplicationRef>) | Type<unknown>;
15
16
  ɵextractRoutesAndCreateRouteTree: typeof ɵextractRoutesAndCreateRouteTree;
16
17
  ɵgetOrCreateAngularServerApp: typeof ɵgetOrCreateAngularServerApp;
17
18
  }