Skip to content

Commit

Permalink
9b8f699 refactor: remove unnecessary // tslint:disable rule flags i…
Browse files Browse the repository at this point in the history
…n devtools (#59365)
  • Loading branch information
thePunderWoman committed Jan 7, 2025
1 parent 84c4ca3 commit 96c526a
Show file tree
Hide file tree
Showing 14 changed files with 194 additions and 196 deletions.
4 changes: 2 additions & 2 deletions BUILD_INFO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Tue Jan 7 16:00:34 UTC 2025
0e23f20c4117ffd5c871549a8012b8e22b03b5f4
Tue Jan 7 16:11:57 UTC 2025
9b8f699032dbcc584126215afd25c8e710ef7035
235 changes: 117 additions & 118 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.

74 changes: 37 additions & 37 deletions fesm2022/http.mjs

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.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -315,10 +315,10 @@ class HttpClientTestingBackend {
return `Match by function: ${matcher.name}`;
}
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingBackend });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingBackend });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
type: Injectable
}] });
function describeRequest(testRequest) {
Expand Down Expand Up @@ -346,11 +346,11 @@ function provideHttpClientTesting() {
* @deprecated Add `provideHttpClientTesting()` to your providers instead.
*/
class HttpClientTestingModule {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: HttpClientTestingModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: HttpClientTestingModule, decorators: [{
type: NgModule,
args: [{
imports: [HttpClientModule],
Expand Down
33 changes: 16 additions & 17 deletions fesm2022/testing.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand All @@ -14,10 +14,10 @@ import { Subject } from 'rxjs';
* implementations.
*/
class PlatformNavigation {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: PlatformNavigation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: PlatformNavigation, decorators: [{
type: Injectable,
args: [{ providedIn: 'platform', useFactory: () => window.navigation }]
}] });
Expand Down Expand Up @@ -504,7 +504,6 @@ class FakeNavigationHistoryEntry {
index;
state;
historyState;
// tslint:disable-next-line:no-any
ondispose = null;
constructor(url, { id, key, index, sameDocument, state, historyState, }) {
this.url = url;
Expand Down Expand Up @@ -910,10 +909,10 @@ class MockPlatformLocation {
});
}
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: MockPlatformLocation });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: MockPlatformLocation });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: MockPlatformLocation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: MockPlatformLocation, decorators: [{
type: Injectable
}], ctorParameters: () => [{ type: undefined, decorators: [{
type: Inject,
Expand Down Expand Up @@ -984,10 +983,10 @@ class FakeNavigationPlatformLocation {
getState() {
return this._platformNavigation.currentEntry.getHistoryState();
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: FakeNavigationPlatformLocation });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: FakeNavigationPlatformLocation });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
type: Injectable
}], ctorParameters: () => [] });

Expand Down Expand Up @@ -1161,10 +1160,10 @@ class SpyLocation {
this._history.push(new LocationState(path, query, state));
this._historyIndex = this._history.length - 1;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: SpyLocation });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: SpyLocation });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: SpyLocation, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: SpyLocation, decorators: [{
type: Injectable
}] });
class LocationState {
Expand Down Expand Up @@ -1246,10 +1245,10 @@ class MockLocationStrategy extends LocationStrategy {
getState() {
return this.stateChanges[(this.stateChanges.length || 1) - 1];
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: MockLocationStrategy });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: MockLocationStrategy });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: MockLocationStrategy, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: MockLocationStrategy, decorators: [{
type: Injectable
}], ctorParameters: () => [] });
class _MockPopStateEvent {
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/testing.mjs.map

Large diffs are not rendered by default.

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.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -854,11 +854,11 @@ class LocationUpgradeModule {
],
};
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-0e23f20", ngImport: i0, type: LocationUpgradeModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0-next.4+sha-9b8f699", ngImport: i0, type: LocationUpgradeModule, decorators: [{
type: NgModule,
args: [{ imports: [CommonModule] }]
}] });
Expand Down
2 changes: 1 addition & 1 deletion http/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
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.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (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.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (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.1.0-next.4+sha-0e23f20",
"version": "19.1.0-next.4+sha-9b8f699",
"description": "Angular - commonly needed directives and services",
"author": "angular",
"license": "MIT",
Expand Down Expand Up @@ -44,7 +44,7 @@
}
},
"peerDependencies": {
"@angular/core": "19.1.0-next.4+sha-0e23f20",
"@angular/core": "19.1.0-next.4+sha-9b8f699",
"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.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (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.1.0-next.4+sha-0e23f20
* @license Angular v19.1.0-next.4+sha-9b8f699
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down

0 comments on commit 96c526a

Please sign in to comment.