service_worker 0.3.0-nullsafety.1 service_worker: ^0.3.0-nullsafety.1 copied to clipboard
JavaScript bindings for the Service Worker API.
0.3.0-nullsafety.1 #
- Null safety migration (#27 by alextekartik).
0.2.4 #
- Removed
fakeConstructor$
from JavaScript facade classes which caused breaks in recent Dart SDKs.
0.2.3 #
- Support Dart 2 stable.
0.2.2 #
- Fix runtime errors casting List
0.2.1 #
- Fixed a use of
dynamic
as bottom by adding type parameters tofutureToPromise
.
0.2.0 #
- Updated to work with
dart:html
for2.0.0-dev.40.0
:ExtendableEvent
,FetchEvent
removesdeepPath
orscoped
members.- Added
composed
andcomposedPath
members.
- Migrate off deprecated APIs from the core libraries.
- Fixed a strong-mode cast warning that will become an error soon.
0.1.2 #
- Style cleanup: preferring single quotes.
- Removed generic type comments.
0.1.1 #
- Remove
package:func
dependency.
0.1.0 #
- Upgraded dependencies.
0.0.16 #
- Remove 'implements' from JS facade methods, as it seems to break with dart2js.
0.0.15 #
- Implement new methods for classes that implement
Event
.
0.0.14 #
- Don't return
ServiceWorker
instances when the underlying JS object is null. - Mask types from JS facade, to prevent type check errors in Dartium.
0.0.13 #
- expose
Notification.close()
- expose
ServiceWorkerClientsMatchOptions
0.0.12 #
- expose keys in
PushSubscription
0.0.11 #
- expose
ServiceWorkerRegistration.jsObject
- fix a few typing bug
0.0.10 #
- export ShowNotificationAction
0.0.9 #
PushManager.hasPermission()
is a deprecated API and it doesn't work in Chrome anymore, clients should usepermissionState()
instead.
0.0.8 #
- ServiceWorkerClient.postMessage() to use List as transfer objects parameter.
- ServiceWorker.postMessage(): any Transferable object can be set, not only MessagePorts.
0.0.7 #
- removed Worker interface from JS facade, solves Dartium issue