Skip to content

Commit

Permalink
422d0d5ca3 refactor(compiler): handle deferred when trigger with a pi…
Browse files Browse the repository at this point in the history
…pe (#51368)
  • Loading branch information
pkozlowski-opensource committed Aug 15, 2023
1 parent a87cee3 commit 4f7558b
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions BUILD_INFO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Tue 15 Aug 2023 05:19:23 PM UTC
17c6ad77755cb56faada5fbcd989fc05452046f6
Tue 15 Aug 2023 05:22:10 PM UTC
422d0d5ca3d4680fa621362378fad8a47b91129b
2 changes: 1 addition & 1 deletion config/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-17c6ad7
* @license Angular v17.0.0-next.0+sha-422d0d5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
8 changes: 4 additions & 4 deletions esm2022/src/module.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ export class ServiceWorkerModule {
providers: [provideServiceWorker(script, options)],
};
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule, providers: [SwPush, SwUpdate] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule, providers: [SwPush, SwUpdate] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule, decorators: [{
type: NgModule,
args: [{ providers: [SwPush, SwUpdate] }]
}] });
Expand Down
6 changes: 3 additions & 3 deletions esm2022/src/push.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions esm2022/src/update.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ export class SwUpdate {
const nonce = this.sw.generateNonce();
return this.sw.postMessageWithOperation('ACTIVATE_UPDATE', { nonce }, nonce);
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwUpdate, deps: [{ token: i1.NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwUpdate }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwUpdate, deps: [{ token: i1.NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwUpdate }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwUpdate, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwUpdate, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: i1.NgswCommChannel }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvc2VydmljZS13b3JrZXIvc3JjL3VwZGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBQyxLQUFLLEVBQWEsTUFBTSxNQUFNLENBQUM7QUFDdkMsT0FBTyxFQUFDLE1BQU0sRUFBRSxHQUFHLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUUzQyxPQUFPLEVBQUMsb0JBQW9CLEVBQUUsZUFBZSxFQUF1RyxNQUFNLGFBQWEsQ0FBQzs7O0FBSXhLOzs7Ozs7O0dBT0c7QUFFSCxNQUFNLE9BQU8sUUFBUTtJQXdDbkI7OztPQUdHO0lBQ0gsSUFBSSxTQUFTO1FBQ1gsT0FBTyxJQUFJLENBQUMsRUFBRSxDQUFDLFNBQVMsQ0FBQztJQUMzQixDQUFDO0lBRUQsWUFBb0IsRUFBbUI7UUFBbkIsT0FBRSxHQUFGLEVBQUUsQ0FBaUI7UUFDckMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxTQUFTLEVBQUU7WUFDakIsSUFBSSxDQUFDLGNBQWMsR0FBRyxLQUFLLENBQUM7WUFDNUIsSUFBSSxDQUFDLFNBQVMsR0FBRyxLQUFLLENBQUM7WUFDdkIsSUFBSSxDQUFDLFNBQVMsR0FBRyx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KEVSUl9TV19OT1RfU1VQUE9SVEVEKSk7XG4gICAgfVxuICAgIGNvbnN0IG5vbmNlID0gdGhpcy5zdy5nZW5lcmF0ZU5vbmNlKCk7XG4gICAgcmV0dXJuIHRoaXMuc3cucG9zdE1lc3NhZ2VXaXRoT3BlcmF0aW9uKCdBQ1RJVkFURV9VUERBVEUnLCB7bm9uY2V9LCBub25jZSk7XG4gIH1cbn1cbiJdfQ==
2 changes: 1 addition & 1 deletion fesm2022/config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v17.0.0-next.0+sha-17c6ad7
* @license Angular v17.0.0-next.0+sha-422d0d5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
22 changes: 11 additions & 11 deletions fesm2022/service-worker.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v17.0.0-next.0+sha-17c6ad7
* @license Angular v17.0.0-next.0+sha-422d0d5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -240,10 +240,10 @@ class SwPush {
decodeBase64(input) {
return atob(input);
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwPush, deps: [{ token: NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwPush }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwPush, deps: [{ token: NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwPush, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwPush, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: NgswCommChannel }]; } });

Expand Down Expand Up @@ -333,10 +333,10 @@ class SwUpdate {
const nonce = this.sw.generateNonce();
return this.sw.postMessageWithOperation('ACTIVATE_UPDATE', { nonce }, nonce);
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwUpdate, deps: [{ token: NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwUpdate }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwUpdate, deps: [{ token: NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwUpdate }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: SwUpdate, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: SwUpdate, decorators: [{
type: Injectable
}], ctorParameters: function () { return [{ type: NgswCommChannel }]; } });

Expand Down Expand Up @@ -471,11 +471,11 @@ class ServiceWorkerModule {
providers: [provideServiceWorker(script, options)],
};
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule, providers: [SwPush, SwUpdate] }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule }); }
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule, providers: [SwPush, SwUpdate] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-17c6ad7", ngImport: i0, type: ServiceWorkerModule, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.0+sha-422d0d5", ngImport: i0, type: ServiceWorkerModule, decorators: [{
type: NgModule,
args: [{ providers: [SwPush, SwUpdate] }]
}] });
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 v17.0.0-next.0+sha-17c6ad7
* @license Angular v17.0.0-next.0+sha-422d0d5
* (c) 2010-2022 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion ngsw-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ ${error.stack}`;
};

// bazel-out/k8-fastbuild-ST-2e5f3376adb5/bin/packages/service-worker/worker/src/debug.mjs
var SW_VERSION = "17.0.0-next.0+sha-17c6ad7";
var SW_VERSION = "17.0.0-next.0+sha-422d0d5";
var DEBUG_LOG_BUFFER_SIZE = 100;
var DebugHandler = class {
constructor(driver, adapter2) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular/service-worker",
"version": "17.0.0-next.0+sha-17c6ad7",
"version": "17.0.0-next.0+sha-422d0d5",
"description": "Angular - service worker tooling!",
"author": "angular",
"license": "MIT",
Expand Down Expand Up @@ -37,8 +37,8 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/core": "17.0.0-next.0+sha-17c6ad7",
"@angular/common": "17.0.0-next.0+sha-17c6ad7"
"@angular/core": "17.0.0-next.0+sha-422d0d5",
"@angular/common": "17.0.0-next.0+sha-422d0d5"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 4f7558b

Please sign in to comment.