@angular/service-worker
Advanced tools
/** | ||
* @license Angular v20.0.1 | ||
* @license Angular v20.1.0-next.0 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v20.0.1 | ||
* @license Angular v20.1.0-next.0 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -327,2 +327,37 @@ * License: MIT | ||
/** | ||
* Emits the payloads of notifications that were closed, along with the action (if any) | ||
* associated with the close event. If no action was used, the `action` property contains | ||
* an empty string `''`. | ||
* | ||
* Note that the `notification` property does **not** contain a | ||
* [Notification][Mozilla Notification] object but rather a | ||
* [NotificationOptions](https://notifications.spec.whatwg.org/#dictdef-notificationoptions) | ||
* object that also includes the `title` of the [Notification][Mozilla Notification] object. | ||
* | ||
* [Mozilla Notification]: https://developer.mozilla.org/en-US/docs/Web/API/Notification | ||
*/ | ||
readonly notificationCloses: Observable<{ | ||
action: string; | ||
notification: NotificationOptions & { | ||
title: string; | ||
}; | ||
}>; | ||
/** | ||
* Emits updates to the push subscription, including both the previous (`oldSubscription`) | ||
* and current (`newSubscription`) values. Either subscription may be `null`, depending on | ||
* the context: | ||
* | ||
* - `oldSubscription` is `null` if no previous subscription existed. | ||
* - `newSubscription` is `null` if the subscription was invalidated and not replaced. | ||
* | ||
* This stream allows clients to react to automatic changes in push subscriptions, | ||
* such as those triggered by browser expiration or key rotation. | ||
* | ||
* [Push API]: https://w3c.github.io/push-api | ||
*/ | ||
readonly pushSubscriptionChanges: Observable<{ | ||
oldSubscription: PushSubscription | null; | ||
newSubscription: PushSubscription | null; | ||
}>; | ||
/** | ||
* Emits the currently active | ||
@@ -329,0 +364,0 @@ * [PushSubscription](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription) |
@@ -7,3 +7,3 @@ #!/usr/bin/env node | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/config/src/duration.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/config/src/duration.js | ||
var PARSE_TO_PAIRS = /([0-9]+[^0-9]+)/g; | ||
@@ -46,3 +46,3 @@ var PAIR_SPLIT = /^([0-9]+)([dhmsu]+)$/; | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/config/src/glob.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/config/src/glob.js | ||
var QUESTION_MARK = "[^/]"; | ||
@@ -81,3 +81,3 @@ var WILD_SINGLE = "[^/]*"; | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/config/src/generator.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/config/src/generator.js | ||
var DEFAULT_NAVIGATION_URLS = [ | ||
@@ -221,11 +221,11 @@ "/**", | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/cli/main.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/cli/main.js | ||
import * as fs2 from "fs"; | ||
import * as path2 from "path"; | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/cli/filesystem.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/cli/filesystem.js | ||
import * as fs from "fs"; | ||
import * as path from "path"; | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/cli/sha1.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/cli/sha1.js | ||
function sha1Binary(buffer) { | ||
@@ -332,3 +332,3 @@ const words32 = arrayBufferToWords32(buffer, Endian.Big); | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/cli/filesystem.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/cli/filesystem.js | ||
var NodeFilesystem = class { | ||
@@ -363,3 +363,3 @@ base; | ||
// bazel-out/darwin_arm64-fastbuild-ST-2d99d9656325/bin/packages/service-worker/cli/main.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/service-worker/cli/main.js | ||
var cwd = process.cwd(); | ||
@@ -366,0 +366,0 @@ var distDir = path2.join(cwd, process.argv[2]); |
{ | ||
"name": "@angular/service-worker", | ||
"version": "20.0.1", | ||
"version": "20.1.0-next.0", | ||
"description": "Angular - service worker tooling!", | ||
@@ -36,3 +36,3 @@ "author": "angular", | ||
"peerDependencies": { | ||
"@angular/core": "20.0.1", | ||
"@angular/core": "20.1.0-next.0", | ||
"rxjs": "^6.5.3 || ^7.4.0" | ||
@@ -39,0 +39,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
223818
2.94%4005
2.38%2
100%