Skip to content

Commit be0ab67

Browse files
30c4404 fix(compiler): update @ng/component URL to be relative (#59620)
1 parent 6f7b800 commit be0ab67

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Mon Jan 20 08:05:06 UTC 2025
2-
f9b13e4e58b5499e0108df841e9f96ca10e0a667
1+
Mon Jan 20 08:16:22 UTC 2025
2+
30c440475245868b997be25ccbe65ff634be73e9

fesm2022/compiler.mjs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v19.2.0-next.0+sha-f9b13e4
2+
* @license Angular v19.2.0-next.0+sha-30c4404
33
* (c) 2010-2024 Google LLC. https://angular.io/
44
* License: MIT
55
*/
@@ -30730,7 +30730,7 @@ function publishFacade(global) {
3073030730
* @description
3073130731
* Entry point for all public APIs of the compiler package.
3073230732
*/
30733-
const VERSION = new Version('19.2.0-next.0+sha-f9b13e4');
30733+
const VERSION = new Version('19.2.0-next.0+sha-30c4404');
3073430734

3073530735
class CompilerConfig {
3073630736
defaultEncapsulation;
@@ -32482,7 +32482,7 @@ function compileClassDebugInfo(debugInfo) {
3248232482
*/
3248332483
function compileHmrInitializer(meta) {
3248432484
const id = encodeURIComponent(`${meta.filePath}@${meta.className}`);
32485-
const urlPartial = `/@ng/component?c=${id}&t=`;
32485+
const urlPartial = `./@ng/component?c=${id}&t=`;
3248632486
const moduleName = 'm';
3248732487
const dataName = 'd';
3248832488
const timestampName = 't';
@@ -32586,7 +32586,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
3258632586
function compileDeclareClassMetadata(metadata) {
3258732587
const definitionMap = new DefinitionMap();
3258832588
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
32589-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
32589+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3259032590
definitionMap.set('ngImport', importExpr(Identifiers.core));
3259132591
definitionMap.set('type', metadata.type);
3259232592
definitionMap.set('decorators', metadata.decorators);
@@ -32604,7 +32604,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
3260432604
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
3260532605
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
3260632606
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
32607-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
32607+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3260832608
definitionMap.set('ngImport', importExpr(Identifiers.core));
3260932609
definitionMap.set('type', metadata.type);
3261032610
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -32699,7 +32699,7 @@ function createDirectiveDefinitionMap(meta) {
3269932699
const definitionMap = new DefinitionMap();
3270032700
const minVersion = getMinimumVersionForPartialOutput(meta);
3270132701
definitionMap.set('minVersion', literal(minVersion));
32702-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
32702+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3270332703
// e.g. `type: MyDirective`
3270432704
definitionMap.set('type', meta.type.value);
3270532705
if (meta.isStandalone !== undefined) {
@@ -33118,7 +33118,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
3311833118
function compileDeclareFactoryFunction(meta) {
3311933119
const definitionMap = new DefinitionMap();
3312033120
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
33121-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
33121+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3312233122
definitionMap.set('ngImport', importExpr(Identifiers.core));
3312333123
definitionMap.set('type', meta.type.value);
3312433124
definitionMap.set('deps', compileDependencies(meta.deps));
@@ -33153,7 +33153,7 @@ function compileDeclareInjectableFromMetadata(meta) {
3315333153
function createInjectableDefinitionMap(meta) {
3315433154
const definitionMap = new DefinitionMap();
3315533155
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
33156-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
33156+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3315733157
definitionMap.set('ngImport', importExpr(Identifiers.core));
3315833158
definitionMap.set('type', meta.type.value);
3315933159
// Only generate providedIn property if it has a non-null value
@@ -33204,7 +33204,7 @@ function compileDeclareInjectorFromMetadata(meta) {
3320433204
function createInjectorDefinitionMap(meta) {
3320533205
const definitionMap = new DefinitionMap();
3320633206
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
33207-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
33207+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3320833208
definitionMap.set('ngImport', importExpr(Identifiers.core));
3320933209
definitionMap.set('type', meta.type.value);
3321033210
definitionMap.set('providers', meta.providers);
@@ -33237,7 +33237,7 @@ function createNgModuleDefinitionMap(meta) {
3323733237
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
3323833238
}
3323933239
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
33240-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
33240+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3324133241
definitionMap.set('ngImport', importExpr(Identifiers.core));
3324233242
definitionMap.set('type', meta.type.value);
3324333243
// We only generate the keys in the metadata if the arrays contain values.
@@ -33288,7 +33288,7 @@ function compileDeclarePipeFromMetadata(meta) {
3328833288
function createPipeDefinitionMap(meta) {
3328933289
const definitionMap = new DefinitionMap();
3329033290
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
33291-
definitionMap.set('version', literal('19.2.0-next.0+sha-f9b13e4'));
33291+
definitionMap.set('version', literal('19.2.0-next.0+sha-30c4404'));
3329233292
definitionMap.set('ngImport', importExpr(Identifiers.core));
3329333293
// e.g. `type: MyPipe`
3329433294
definitionMap.set('type', meta.type.value);

fesm2022/compiler.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v19.2.0-next.0+sha-f9b13e4
2+
* @license Angular v19.2.0-next.0+sha-30c4404
33
* (c) 2010-2024 Google LLC. https://angular.io/
44
* License: MIT
55
*/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/compiler",
3-
"version": "19.2.0-next.0+sha-f9b13e4",
3+
"version": "19.2.0-next.0+sha-30c4404",
44
"description": "Angular - the compiler library",
55
"author": "angular",
66
"license": "MIT",
@@ -11,7 +11,7 @@
1111
"tslib": "^2.3.0"
1212
},
1313
"peerDependencies": {
14-
"@angular/core": "19.2.0-next.0+sha-f9b13e4"
14+
"@angular/core": "19.2.0-next.0+sha-30c4404"
1515
},
1616
"peerDependenciesMeta": {
1717
"@angular/core": {

0 commit comments

Comments
 (0)