angular-cn/tools
Alex Rickabaugh f10f8db5fb fix(service-worker): several misc fixes for corner cases
This commit fixes several issues discovered through use in real apps.

* The sha1() function operated on text content, causing issues for binary-format files.
  A sha1Binary() function which operates on unparsed data now avoids any encoding issues.
* The characters '?' and '+' were not escaped in Glob-to-regex conversion previously, but
  are now.
* URLs from the browser contain the full origin, but were checked against the table of
  hashes from the manifest which only has the path for URLs from the same origin. Now the
  origin is checked and URLs are relativized to the domain root before comparison if
  appropriate.
* ngsw: prefix was missing from data groups, is now added.
* Occasionally servers will return a redirected response for an asset, and caching it could
  cause errors for navigation requests. The SW now handles this by detecting such responses
  and following the redirect manually, to avoid caching a redirected response.
* The request for known assets is now created from scratch from the URL before fetching from
  the network, in order to sanitize it and avoid carrying any special modes or headers that
  might result in opaque responses.
* Debugging log for troubleshooting.
* Avoid creating errors by returning 504 responses on error.
* Fix bug where idle queue doesn't run in some circumstances.
* Add tests for the above.
2017-10-05 13:27:31 -07:00
..
build build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
cjs-jasmine feat(platform-server): add an API to transfer state from server (#19134) 2017-09-21 13:56:13 -07:00
code.angularjs.org build: use subshells when changing directories 2017-05-12 12:19:51 -07:00
gulp-tasks feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
karma build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
npm build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
public_api_guard fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
source-map-test build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
travis build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
tree-shaking-test refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
tsc-watch build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
tslint refactor: update angular to support TypeScript 2.4 2017-09-12 10:31:30 -07:00
validate-commit-message feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
check-environment.js build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
chromedriverpatch.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
tsconfig.json refactor(compiler-cli): move ngc-wrapped to packages/bazel (#18733) 2017-08-23 11:34:51 -05:00
types.d.ts fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
utils.inc feat(bundle): add script to push bundles to code.angularjs.org 2015-04-14 14:50:53 -07:00