angular-cn/packages/service-worker
George Kalpakas 586234bb01 fix(service-worker): detect new version even if files are identical to an old one (#26006)
Previously, if an app version contained the same files as an older
version (e.g. making a change, then rolling it back), the SW would not
detect it as the latest version (and update clients).

This commit fixes it by adding a `timestamp` field in `ngsw.json`, which
makes each build unique (with sufficiently high probability).

Fixes #24338

PR Close #26006
2019-03-05 09:41:44 -08:00
..
cli build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
config fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00
src refactor(service-worker): Format comments and add additional test (#25860) 2018-11-01 15:13:33 -07:00
test fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00
testing build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
worker fix(service-worker): detect new version even if files are identical to an old one (#26006) 2019-03-05 09:41:44 -08:00
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
index.ts fix(aio): add service worker entrypoint to aio build (#19875) 2017-10-23 19:31:42 -04:00
package.json feat: update the package output of build.sh to APF v6 (#22808) 2018-03-18 09:33:51 -07:00
public_api.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
safety-worker.js feat(service-worker): add helper script which will uninstall SW (#21863) 2018-01-30 11:43:03 -08:00
tsconfig-build.json fix(service-worker): ensure initialised in browser only (#20782) 2017-12-06 06:55:33 -08:00