Skip to content

Commit

Permalink
3b35c4e fix(docs-infra): allow tutorial component to be GCed (#58028)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Oct 1, 2024
1 parent 7930c3b commit 3ff5fb8
Show file tree
Hide file tree
Showing 14 changed files with 208 additions and 204 deletions.
4 changes: 2 additions & 2 deletions BUILD_INFO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Tue Oct 1 11:33:49 UTC 2024
9ce839fc7d104dd1fe746a5fc506b11bb53a7a84
Tue Oct 1 13:59:47 UTC 2024
3b35c4e8f39f6a5273c82400f9c87547edbbcceb
234 changes: 117 additions & 117 deletions fesm2022/common.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fesm2022/common.mjs.map

Large diffs are not rendered by default.

97 changes: 50 additions & 47 deletions fesm2022/http.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fesm2022/http.mjs.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions fesm2022/http/testing.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -311,10 +311,10 @@ class HttpClientTestingBackend {
return `Match by function: ${matcher.name}`;
}
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingBackend }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingBackend }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
type: Injectable
}] });
function describeRequest(testRequest) {
Expand Down Expand Up @@ -342,11 +342,11 @@ function provideHttpClientTesting() {
* @deprecated Add `provideHttpClientTesting()` to your providers instead.
*/
class HttpClientTestingModule {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: HttpClientTestingModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: HttpClientTestingModule, decorators: [{
type: NgModule,
args: [{
imports: [HttpClientModule],
Expand Down
32 changes: 16 additions & 16 deletions fesm2022/testing.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand All @@ -14,10 +14,10 @@ import { Subject } from 'rxjs';
* implementations.
*/
class PlatformNavigation {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: PlatformNavigation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: PlatformNavigation, decorators: [{
type: Injectable,
args: [{ providedIn: 'platform', useFactory: () => window.navigation }]
}] });
Expand Down Expand Up @@ -888,10 +888,10 @@ class MockPlatformLocation {
});
}
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: MockPlatformLocation }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: MockPlatformLocation }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: MockPlatformLocation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: MockPlatformLocation, decorators: [{
type: Injectable
}], ctorParameters: () => [{ type: undefined, decorators: [{
type: Inject,
Expand Down Expand Up @@ -962,10 +962,10 @@ class FakeNavigationPlatformLocation {
getState() {
return this._platformNavigation.currentEntry.getHistoryState();
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: FakeNavigationPlatformLocation }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: FakeNavigationPlatformLocation }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
type: Injectable
}], ctorParameters: () => [] });

Expand Down Expand Up @@ -1141,10 +1141,10 @@ class SpyLocation {
this._history.push(new LocationState(path, query, state));
this._historyIndex = this._history.length - 1;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: SpyLocation }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: SpyLocation }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: SpyLocation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: SpyLocation, decorators: [{
type: Injectable
}] });
class LocationState {
Expand Down Expand Up @@ -1223,10 +1223,10 @@ class MockLocationStrategy extends LocationStrategy {
getState() {
return this.stateChanges[(this.stateChanges.length || 1) - 1];
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: MockLocationStrategy }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: MockLocationStrategy }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: MockLocationStrategy, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: MockLocationStrategy, decorators: [{
type: Injectable
}], ctorParameters: () => [] });
class _MockPopStateEvent {
Expand Down
10 changes: 5 additions & 5 deletions fesm2022/upgrade.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -841,11 +841,11 @@ class LocationUpgradeModule {
],
};
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-9ce839f", ngImport: i0, type: LocationUpgradeModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.7+sha-3b35c4e", ngImport: i0, type: LocationUpgradeModule, decorators: [{
type: NgModule,
args: [{ imports: [CommonModule] }]
}] });
Expand Down
3 changes: 2 additions & 1 deletion http/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -3613,6 +3613,7 @@ export declare class HttpHeaders {
private copyFrom;
private clone;
private applyUpdate;
private addHeaderEntry;
private setHeaderEntries;
}

Expand Down
2 changes: 1 addition & 1 deletion http/testing/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular/common",
"version": "19.0.0-next.7+sha-9ce839f",
"version": "19.0.0-next.7+sha-3b35c4e",
"description": "Angular - commonly needed directives and services",
"author": "angular",
"license": "MIT",
Expand Down Expand Up @@ -44,7 +44,7 @@
}
},
"peerDependencies": {
"@angular/core": "19.0.0-next.7+sha-9ce839f",
"@angular/core": "19.0.0-next.7+sha-3b35c4e",
"rxjs": "^6.5.3 || ^7.4.0"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion testing/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion upgrade/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.7+sha-9ce839f
* @license Angular v19.0.0-next.7+sha-3b35c4e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down

0 comments on commit 3ff5fb8

Please sign in to comment.