angular-docs-cn/packages
Alex Rickabaugh d82adbe8c4 fix(ivy): align DebugNode/DebugElement behavior with View Engine (#30756)
Two issues with DebugNode/DebugElement in Ivy were causing problems in user
tests.

1. The DebugNodes returned by Ivy were not actually instances of DebugNode.

This was due to an issue with the Ivy switch logic in debug_node.ts.
The declaration of the exported DebugNode reference was set to
`DebugNode__PRE_R3__ as any`. The cast prevented the Ivy switch transform
from detecting this as a switchable declaration. The transform cannot handle
arbitrary syntax, and exports *must* be of the form "const x = y__PRE_R3__;"
or they will not work. The cast to any in this case was not needed, so this
commit removes it.

2. DebugNodes returned by Ivy multiple times for the same element were not
reference-identical. This was previously considered a minor breaking change
in Ivy, but testing has shown that users depend on referential equality of
DebugNodes. This commit caches a DebugNode on a DOM node when first creating
it, to allow returning the same instance in subsequent operations.

PR Close #30756
2019-05-30 20:45:31 -07:00
..
animations refactor: remove toplevel property accesses (#29329) 2019-05-16 12:08:49 -07:00
bazel fix(bazel): allow ts_library interop with list-typed inputs (#30600) 2019-05-22 16:22:10 -07:00
benchpress build: update rxjs version requirements to 6.4.0 (#30032) 2019-04-22 11:15:33 -07:00
common feat(ivy): use i18n locale data to determine the plural form of ICU expressions (#29249) 2019-05-30 15:09:02 -04:00
compiler feat(ivy): add `AttributeMarker.I18n` for i18n attributes (#30402) 2019-05-30 16:39:24 -04:00
compiler-cli feat(ivy): add `AttributeMarker.I18n` for i18n attributes (#30402) 2019-05-30 16:39:24 -04:00
core fix(ivy): align DebugNode/DebugElement behavior with View Engine (#30756) 2019-05-30 20:45:31 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements refactor: remove toplevel property accesses (#29329) 2019-05-16 12:08:49 -07:00
examples test(compiler): update examples and compiler tests (#30626) 2019-05-23 10:31:32 -07:00
forms refactor: remove toplevel property accesses (#29329) 2019-05-16 12:08:49 -07:00
http refactor: remove toplevel property accesses (#29329) 2019-05-16 12:08:49 -07:00
language-service test: improve language service tests performance (#30585) 2019-05-24 18:17:21 -04:00
platform-browser fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
platform-browser-dynamic test(platform-browser-dynamic): avoid swallowing error in `CachedResourceLoader` test (#30515) 2019-05-16 20:14:04 -07:00
platform-server feat(common): add @angular/common/upgrade package for $location-related APIs (#30055) 2019-04-24 13:49:29 -07:00
platform-webworker feat(platform-webworker): deprecate platform-webworker (#30642) 2019-05-23 15:09:48 -07:00
platform-webworker-dynamic feat(platform-webworker): deprecate platform-webworker (#30642) 2019-05-23 15:09:48 -07:00
private/testing test(ivy): add onlyInIvy perf counter expectations (#30339) 2019-05-09 11:22:00 -07:00
router fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
service-worker feat(service-worker): support bypassing SW with specific header/query param (#30010) 2019-04-25 13:09:44 -07:00
upgrade test(upgrade): rename `angular.module()` to `angular.module_()` (#30126) 2019-04-25 12:01:18 -07: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
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
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08: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 build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig-test.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig.json docs(service-worker): improve `SwRegistrationOptions` docs and add example (#21842) 2019-04-25 12:29:58 -07:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05: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