Skip to content

Commit 2668986

Browse files
3606aab fix(platform-browser-dynamic): ensure compiler is loaded before @angular/common (#60458)
1 parent 07798d2 commit 2668986

File tree

7 files changed

+28
-25
lines changed

7 files changed

+28
-25
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Wed Mar 19 15:00:09 UTC 2025
2-
34f04533431aa4ea97623bbed253250931b7a3bd
1+
Wed Mar 19 16:01:33 UTC 2025
2+
3606aabd6b7b9ec9f1b7438f33505f715eeeebe5

fesm2022/platform-browser-dynamic.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v20.0.0-next.2+sha-34f0453
2+
* @license Angular v20.0.0-next.2+sha-3606aab
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/
@@ -113,10 +113,10 @@ class ResourceLoaderImpl extends ResourceLoader {
113113
xhr.send();
114114
return promise;
115115
}
116-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: ResourceLoaderImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
117-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: ResourceLoaderImpl });
116+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: ResourceLoaderImpl, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
117+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: ResourceLoaderImpl });
118118
}
119-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: ResourceLoaderImpl, decorators: [{
119+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: ResourceLoaderImpl, decorators: [{
120120
type: Injectable
121121
}] });
122122

@@ -141,7 +141,7 @@ const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [
141141
/**
142142
* @publicApi
143143
*/
144-
const VERSION = new Version('20.0.0-next.2+sha-34f0453');
144+
const VERSION = new Version('20.0.0-next.2+sha-3606aab');
145145

146146
/**
147147
* @publicApi

fesm2022/platform-browser-dynamic.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.

fesm2022/testing.mjs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/**
2-
* @license Angular v20.0.0-next.2+sha-34f0453
2+
* @license Angular v20.0.0-next.2+sha-3606aab
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/
66

7-
import { ɵgetDOM as _getDOM, DOCUMENT } from '@angular/common';
87
import * as i0 from '@angular/core';
98
import { Inject, Injectable, createPlatformFactory, NgModule } from '@angular/core';
109
import { TestComponentRenderer } from '@angular/core/testing';
1110
import { ɵplatformCoreDynamic as _platformCoreDynamic, ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as _INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS } from '@angular/platform-browser-dynamic';
1211
import { BrowserTestingModule } from '@angular/platform-browser/testing';
12+
import { ɵgetDOM as _getDOM, DOCUMENT } from '@angular/common';
1313

1414
/**
1515
* A DOM based implementation of the TestComponentRenderer.
@@ -42,10 +42,10 @@ class DOMTestComponentRenderer extends TestComponentRenderer {
4242
_getDOM().remove(oldRoots[i]);
4343
}
4444
}
45-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: DOMTestComponentRenderer, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
46-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: DOMTestComponentRenderer });
45+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: DOMTestComponentRenderer, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
46+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: DOMTestComponentRenderer });
4747
}
48-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: DOMTestComponentRenderer, decorators: [{
48+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: DOMTestComponentRenderer, decorators: [{
4949
type: Injectable
5050
}], ctorParameters: () => [{ type: undefined, decorators: [{
5151
type: Inject,
@@ -69,11 +69,11 @@ const platformBrowserDynamicTesting = createPlatformFactory(platformCoreDynamicT
6969
* @publicApi
7070
*/
7171
class BrowserDynamicTestingModule {
72-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: BrowserDynamicTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: BrowserDynamicTestingModule, exports: [BrowserTestingModule] });
74-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: BrowserDynamicTestingModule, providers: [{ provide: TestComponentRenderer, useClass: DOMTestComponentRenderer }], imports: [BrowserTestingModule] });
72+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: BrowserDynamicTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: BrowserDynamicTestingModule, exports: [BrowserTestingModule] });
74+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: BrowserDynamicTestingModule, providers: [{ provide: TestComponentRenderer, useClass: DOMTestComponentRenderer }], imports: [BrowserTestingModule] });
7575
}
76-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-34f0453", ngImport: i0, type: BrowserDynamicTestingModule, decorators: [{
76+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.2+sha-3606aab", ngImport: i0, type: BrowserDynamicTestingModule, decorators: [{
7777
type: NgModule,
7878
args: [{
7979
exports: [BrowserTestingModule],

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 v20.0.0-next.2+sha-34f0453
2+
* @license Angular v20.0.0-next.2+sha-3606aab
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/platform-browser-dynamic",
3-
"version": "20.0.0-next.2+sha-34f0453",
3+
"version": "20.0.0-next.2+sha-3606aab",
44
"description": "Angular - library for using Angular in a web browser with JIT compilation",
55
"author": "angular",
66
"license": "MIT",
@@ -11,10 +11,10 @@
1111
"tslib": "^2.3.0"
1212
},
1313
"peerDependencies": {
14-
"@angular/core": "20.0.0-next.2+sha-34f0453",
15-
"@angular/common": "20.0.0-next.2+sha-34f0453",
16-
"@angular/compiler": "20.0.0-next.2+sha-34f0453",
17-
"@angular/platform-browser": "20.0.0-next.2+sha-34f0453"
14+
"@angular/core": "20.0.0-next.2+sha-3606aab",
15+
"@angular/common": "20.0.0-next.2+sha-3606aab",
16+
"@angular/compiler": "20.0.0-next.2+sha-3606aab",
17+
"@angular/platform-browser": "20.0.0-next.2+sha-3606aab"
1818
},
1919
"repository": {
2020
"type": "git",
@@ -41,7 +41,10 @@
4141
"@angular/service-worker"
4242
]
4343
},
44-
"sideEffects": false,
44+
"sideEffects": [
45+
"./fesm2022/platform-browser-dynamic.mjs",
46+
"./fesm2022/testing.mjs"
47+
],
4548
"module": "./fesm2022/platform-browser-dynamic.mjs",
4649
"typings": "./index.d.ts",
4750
"type": "module",

testing/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 v20.0.0-next.2+sha-34f0453
2+
* @license Angular v20.0.0-next.2+sha-3606aab
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

0 commit comments

Comments
 (0)