@angular/service-worker 21.0.0-next.6 → 21.0.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/config.mjs +2 -2
- package/fesm2022/service-worker.mjs +12 -12
- package/ngsw-worker.js +1 -1
- package/package.json +2 -2
- package/types/config.d.ts +2 -2
- package/types/service-worker.d.ts +2 -2
package/fesm2022/config.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.0-next.
|
|
3
|
-
* (c) 2010-2025 Google LLC. https://angular.
|
|
2
|
+
* @license Angular v21.0.0-next.7
|
|
3
|
+
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -352,10 +352,10 @@ class SwPush {
|
|
|
352
352
|
decodeBase64(input) {
|
|
353
353
|
return atob(input);
|
|
354
354
|
}
|
|
355
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
356
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
355
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: SwPush, deps: [{ token: NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
356
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: SwPush });
|
|
357
357
|
}
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: SwPush, decorators: [{
|
|
359
359
|
type: Injectable
|
|
360
360
|
}], ctorParameters: () => [{ type: NgswCommChannel }] });
|
|
361
361
|
|
|
@@ -464,10 +464,10 @@ class SwUpdate {
|
|
|
464
464
|
const nonce = this.sw.generateNonce();
|
|
465
465
|
return this.sw.postMessageWithOperation('ACTIVATE_UPDATE', { nonce }, nonce);
|
|
466
466
|
}
|
|
467
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
468
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: SwUpdate, deps: [{ token: NgswCommChannel }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
468
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: SwUpdate });
|
|
469
469
|
}
|
|
470
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: SwUpdate, decorators: [{
|
|
471
471
|
type: Injectable
|
|
472
472
|
}], ctorParameters: () => [{ type: NgswCommChannel }] });
|
|
473
473
|
|
|
@@ -678,11 +678,11 @@ class ServiceWorkerModule {
|
|
|
678
678
|
providers: [provideServiceWorker(script, options)],
|
|
679
679
|
};
|
|
680
680
|
}
|
|
681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
682
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.
|
|
683
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: ServiceWorkerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
682
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.7", ngImport: i0, type: ServiceWorkerModule });
|
|
683
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: ServiceWorkerModule, providers: [SwPush, SwUpdate] });
|
|
684
684
|
}
|
|
685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.
|
|
685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.7", ngImport: i0, type: ServiceWorkerModule, decorators: [{
|
|
686
686
|
type: NgModule,
|
|
687
687
|
args: [{ providers: [SwPush, SwUpdate] }]
|
|
688
688
|
}] });
|
package/ngsw-worker.js
CHANGED
|
@@ -1285,7 +1285,7 @@ ${error.stack}`;
|
|
|
1285
1285
|
};
|
|
1286
1286
|
|
|
1287
1287
|
// packages/service-worker/worker/src/debug.js
|
|
1288
|
-
var SW_VERSION = "21.0.0-next.
|
|
1288
|
+
var SW_VERSION = "21.0.0-next.7";
|
|
1289
1289
|
var DEBUG_LOG_BUFFER_SIZE = 100;
|
|
1290
1290
|
var DebugHandler = class {
|
|
1291
1291
|
constructor(driver, adapter2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/service-worker",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.7",
|
|
4
4
|
"description": "Angular - service worker tooling!",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"tslib": "^2.3.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@angular/core": "21.0.0-next.
|
|
36
|
+
"@angular/core": "21.0.0-next.7",
|
|
37
37
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
package/types/config.d.ts
CHANGED