angular-docs-cn/packages
Pete Bacon Darwin 641c671bac fix(core): support `ngInjectableDef` on types with inherited `ɵprov` (#33732)
The `ngInjectableDef` property was renamed to `ɵprov`, but core must
still support both because there are published libraries that use the
older term.

We are only interested in such properties that are defined directly on
the type being injected, not on base classes. So there is a check that
the defintion is specifically for the given type.

Previously if you tried to inject a class that had `ngInjectableDef` but
also inherited `ɵprov` then the check would fail on the `ɵprov` property
and never even try the `ngInjectableDef` property resulting in a failed
injection.

This commit fixes this by attempting to find each of the properties
independently.

Fixes https://github.com/angular/ngcc-validation/pull/526

PR Close #33732
2019-11-12 11:54:15 -08:00
..
animations feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
bazel build: fix ng_package & ng_rollup_bundle windows issues (#33607) 2019-11-06 19:56:57 +00:00
benchpress feat: update rxjs peerDependencies minimum requirment to 6.5.3 (#32812) 2019-10-01 14:56:45 -07:00
common build(common): generate correct "global" locale files (#33662) 2019-11-12 11:39:19 -08:00
compiler perf(ivy): chain listener instructions (#33720) 2019-11-12 09:59:13 -08:00
compiler-cli fix(core): support `ngInjectableDef` on types with inherited `ɵprov` (#33732) 2019-11-12 11:54:15 -08:00
core fix(core): support `ngInjectableDef` on types with inherited `ɵprov` (#33732) 2019-11-12 11:54:15 -08:00
docs refactor(core): remove deprecated Renderer (#33019) 2019-10-08 09:23:00 -07:00
elements build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
examples build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
forms docs(forms): Add a missing space (#33352) 2019-10-31 23:46:54 +00:00
http feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
language-service fix(language-service): Resolve template variable in nested ngFor (#33676) 2019-11-11 16:06:00 -08:00
localize fix(compiler): i18n - ignore `alt-trans` tags in XLIFF 1.2 (#33450) 2019-10-29 11:49:32 -07:00
platform-browser fix(ivy): ensure that the correct `document` is available (#33712) 2019-11-11 14:01:04 -08:00
platform-browser-dynamic feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
platform-server fix(ivy): ensure that the correct `document` is available (#33712) 2019-11-11 14:01:04 -08:00
platform-webworker fix(ivy): ensure that the correct `document` is available (#33712) 2019-11-11 14:01:04 -08:00
platform-webworker-dynamic feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
private/testing test: cleanup `document` "after" each test (#33712) 2019-11-11 14:01:04 -08:00
router build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
service-worker fix(service-worker): ensure initialization before handling messages (#32525) 2019-10-31 22:55:35 +00:00
upgrade build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
zone.js build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00: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 fix(ivy): use goog.LOCALE for Closure Compiler to define default LOCALE_ID (#31519) 2019-07-16 13:02:10 -04: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-no-strict.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
types.d.ts build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00: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