Skip to content

Commit

Permalink
6a60a29ff2 docs: Fix Promise.then wrong parameter (#51322)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Aug 14, 2023
1 parent e77e10a commit 311b15a
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions BUILD_INFO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Mon 14 Aug 2023 10:23:09 PM UTC
ccf32f62d9b61c72ab49eac89d807c0f6270b0dc
Mon 14 Aug 2023 10:39:04 PM UTC
6a60a29ff25c40ff54ead4d40116d7a58ba21435
2 changes: 1 addition & 1 deletion esm2022/src/common/src/version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ import { Version } from '@angular/core';
/**
* @publicApi
*/
export const VERSION = new Version('17.0.0-next.0+sha-ccf32f6');
export const VERSION = new Version('17.0.0-next.0+sha-6a60a29');
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3VwZ3JhZGUvc3JjL2NvbW1vbi9zcmMvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSDs7OztHQUlHO0FBRUgsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV0Qzs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSB1cGdyYWRlIHBhY2thZ2UuXG4gKi9cblxuaW1wb3J0IHtWZXJzaW9ufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLyoqXG4gKiBAcHVibGljQXBpXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gbmV3IFZlcnNpb24oJzAuMC4wLVBMQUNFSE9MREVSJyk7XG4iXX0=
6 changes: 3 additions & 3 deletions esm2022/src/dynamic/src/upgrade_ng1_adapter.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions esm2022/static/src/upgrade_component.mjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions esm2022/static/src/upgrade_module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ export class UpgradeModule {
}
return returnValue;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule, decorators: [{
type: NgModule,
args: [{ providers: [angular1Providers] }]
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.NgZone }, { type: i0.PlatformRef }]; } });
Expand Down
8 changes: 4 additions & 4 deletions esm2022/static/testing/src/create_angular_testing_module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ export class AngularTestingModule {
constructor(i) {
injector = i;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule, decorators: [{
type: NgModule,
args: [{ providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }]
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
Expand Down
18 changes: 9 additions & 9 deletions fesm2022/static.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v17.0.0-next.0+sha-ccf32f6
* @license Angular v17.0.0-next.0+sha-6a60a29
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -851,7 +851,7 @@ function downgradeInjectable(token, downgradedModule = '') {
/**
* @publicApi
*/
const VERSION = new Version('17.0.0-next.0+sha-ccf32f6');
const VERSION = new Version('17.0.0-next.0+sha-6a60a29');

// We have to do a little dance to get the ng1 injector into the module injector.
// We store the ng1 injector so that the provider in the module injector can access it
Expand Down Expand Up @@ -1546,10 +1546,10 @@ class UpgradeComponent {
bindingDestination.$onChanges(changes);
}
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-ccf32f6", type: UpgradeComponent, usesOnChanges: true, ngImport: i0 }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-6a60a29", type: UpgradeComponent, usesOnChanges: true, ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeComponent, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeComponent, decorators: [{
type: Directive
}], ctorParameters: function () { return [{ type: undefined }, { type: i0.ElementRef }, { type: i0.Injector }]; } });

Expand Down Expand Up @@ -1822,11 +1822,11 @@ class UpgradeModule {
}
return returnValue;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: i0.PlatformRef }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule, providers: [angular1Providers] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeModule, decorators: [{
type: NgModule,
args: [{ providers: [angular1Providers] }]
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.NgZone }, { type: i0.PlatformRef }]; } });
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/static.mjs.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions fesm2022/static/testing.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v17.0.0-next.0+sha-ccf32f6
* @license Angular v17.0.0-next.0+sha-6a60a29
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -109,11 +109,11 @@ class AngularTestingModule {
constructor(i) {
injector = i;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule, providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: AngularTestingModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: AngularTestingModule, decorators: [{
type: NgModule,
args: [{ providers: [{ provide: $INJECTOR, useFactory: $injectorFactory }] }]
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
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 v17.0.0-next.0+sha-ccf32f6
* @license Angular v17.0.0-next.0+sha-6a60a29
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand All @@ -17,7 +17,7 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
/**
* @publicApi
*/
const VERSION = new Version('17.0.0-next.0+sha-ccf32f6');
const VERSION = new Version('17.0.0-next.0+sha-6a60a29');

function noNg() {
throw new Error('AngularJS v1.x is not loaded!');
Expand Down Expand Up @@ -1288,10 +1288,10 @@ class UpgradeNg1ComponentAdapter {
setComponentProperty(name, value) {
this.destinationObj[this.propertyMap[name]] = value;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-ccf32f6", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeNg1ComponentAdapter, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-6a60a29", type: UpgradeNg1ComponentAdapter, usesOnChanges: true, ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-ccf32f6", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-6a60a29", ngImport: i0, type: UpgradeNg1ComponentAdapter, decorators: [{
type: Directive
}], ctorParameters: function () { return [{ type: UpgradeHelper }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }, { type: undefined }]; } });

Expand Down
2 changes: 1 addition & 1 deletion fesm2022/upgrade.mjs.map

Large diffs are not rendered by default.

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 v17.0.0-next.0+sha-ccf32f6
* @license Angular v17.0.0-next.0+sha-6a60a29
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular/upgrade",
"version": "17.0.0-next.0+sha-ccf32f6",
"version": "17.0.0-next.0+sha-6a60a29",
"description": "Angular - the library for easing update from v1 to v2",
"author": "angular",
"license": "MIT",
Expand All @@ -11,10 +11,10 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/core": "17.0.0-next.0+sha-ccf32f6",
"@angular/compiler": "17.0.0-next.0+sha-ccf32f6",
"@angular/platform-browser": "17.0.0-next.0+sha-ccf32f6",
"@angular/platform-browser-dynamic": "17.0.0-next.0+sha-ccf32f6"
"@angular/core": "17.0.0-next.0+sha-6a60a29",
"@angular/compiler": "17.0.0-next.0+sha-6a60a29",
"@angular/platform-browser": "17.0.0-next.0+sha-6a60a29",
"@angular/platform-browser-dynamic": "17.0.0-next.0+sha-6a60a29"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion static/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v17.0.0-next.0+sha-ccf32f6
* @license Angular v17.0.0-next.0+sha-6a60a29
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion static/testing/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v17.0.0-next.0+sha-ccf32f6
* @license Angular v17.0.0-next.0+sha-6a60a29
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down

0 comments on commit 311b15a

Please sign in to comment.