angular-docs-cn/packages
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
..
animations Revert "refactor(core): Removed readonly getters and changed to readonly (#19225)" 2017-09-28 13:36:44 -07:00
bazel fix(compiler): always emit summaries for jit with ng_module bazel rule. 2017-10-03 09:57:12 -07:00
benchpress build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
common Revert "refactor(core): Change `abstract get` to `readonly` (#19226)" 2017-09-28 13:36:56 -07:00
compiler fix(compiler): don’t use `ng://` in AOT source maps, and never point to the original source file 2017-10-04 16:20:55 -07:00
compiler-cli fix(compiler): don’t use `ng://` in AOT source maps, and never point to the original source file 2017-10-04 16:20:55 -07:00
core refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
forms Revert "refactor(core): Change `abstract get` to `readonly` (#19226)" 2017-09-28 13:36:56 -07:00
http build: Give names to the AMD modules nested in Angular UMD distro (#19425) 2017-09-28 09:29:22 -07:00
language-service Revert "refactor(core): Removed readonly getters and changed to readonly (#19225)" 2017-09-28 13:36:44 -07:00
platform-browser Revert "fix(platform-browser): support customEqualityTesters when overriding Jasmine toEqual" 2017-10-05 13:20:00 -07:00
platform-browser-dynamic build: Give names to the AMD modules nested in Angular UMD distro (#19425) 2017-09-28 09:29:22 -07:00
platform-server Revert "refactor(core): Removed readonly getters and changed to readonly (#19225)" 2017-09-28 13:36:44 -07:00
platform-webworker Revert "refactor(core): Removed readonly getters and changed to readonly (#19225)" 2017-09-28 13:36:44 -07:00
platform-webworker-dynamic build: Give names to the AMD modules nested in Angular UMD distro (#19425) 2017-09-28 09:29:22 -07:00
router Revert "refactor(core): Removed readonly getters and changed to readonly (#19225)" 2017-09-28 13:36:44 -07:00
service-worker fix(service-worker): several misc fixes for corner cases 2017-10-05 13:27:31 -07:00
upgrade fix(upgrade): call `ngOnInit()` after `ngOnChanges()` (on components with inputs) 2017-10-02 16:01:07 -07:00
BUILD.bazel build: update to latest @bazel/typescript (#19277) 2017-09-25 12:40:22 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00
goog.d.ts fix(compiler): add typings for `COMPILED`. 2017-09-29 09:26:38 -07:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
rollup.config.js build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json refactor: update angular to support TypeScript 2.4 2017-09-12 10:31:30 -07:00
tsconfig-metadata.json refactor(compiler): bump metadata version to 4 (#19338) 2017-09-26 13:31:59 -07:00
tsconfig.json build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
types.d.ts fix: don’t use the global `ng` at all with closure enhanced optimizations 2017-09-27 10:09:56 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT