angular/packages/core/src
Igor Minar 3961b3c360 fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#42529)
Previously the autoRegisterModuleById registration was marked with noSideEffects wrapper to ensure that we don't end up retaining all NgModules.

However the return value was not referenced by anything, so closure compiler removed it because it determined that this code has no side effects and is not referenced by anyone.

This issue affects apps that use Closure Compiler and also rely on https://angular.io/api/core/getModuleFactory to retrieve factories by ID. This combination is used heavily in google3, especially in Pantheon.

Fixes b/188453434

PR Close #42529
2021-06-09 12:13:23 -07:00
..
change_detection fix(common): infer correct type when trackBy is used in ngFor (#41995) 2021-06-03 11:33:26 -07:00
compiler refactor(compiler): implement ngDeclareInjectable() (#41316) 2021-04-07 13:57:13 -07:00
debug docs: add docs for DebugElement (#42352) 2021-05-27 17:02:24 -07:00
di ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
i18n Revert "refactor: remove checked-in locale files" (#42521) 2021-06-08 10:06:24 -07:00
interface docs(core): Fix typo in JSDoc for AbstractType<T> (#38541) 2020-08-20 09:30:17 -07:00
linker docs: add links to examples for ComponentFactoryResolver (#42496) 2021-06-08 10:41:33 -07:00
metadata docs: add selector documentation for ViewChildren, ContentChildren, and ContentChild (#42366) 2021-06-08 10:42:21 -07:00
reflection fix(core): detect synthesized constructors that have been downleveled using TS 4.2 (#41305) 2021-03-23 11:23:04 -07:00
render refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
render3 fix(core): ensure that autoRegisterModuleById registration in ɵɵdefineNgModule is not DCE-ed by closure (#42529) 2021-06-09 12:13:23 -07:00
sanitization feat(core): manually annotate de-sugarred core tree-shakable providers with @pureOrBreakMyCode (#41096) 2021-03-08 10:30:08 -08:00
testability docs: Remove references to protractor from documentation (#41731) 2021-05-03 14:26:09 -07:00
util ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
view feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
zone fix(core): NgZone coaleascing options should trigger onStable correctly (#40540) 2021-02-22 10:01:31 -08:00
application_init.ts docs(core): add usage examples for APP_INITIALIZER token (#41095) 2021-03-08 09:58:18 -08:00
application_module.ts perf(core): use ngDevMode to tree-shake warning (#40876) 2021-02-17 11:41:28 -08:00
application_ref.ts perf(core): use ngDevMode to tree-shake warning (#40876) 2021-02-17 11:41:28 -08:00
application_tokens.ts docs: clean up api doc in core (#37053) 2020-06-30 12:11:15 -07:00
change_detection.ts fix(core): remove CollectionChangeRecord symbol (#38668) 2020-09-02 16:45:19 -07:00
codegen_private_exports.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
console.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.ts fix(core): do not error when ngDevMode is undeclared (#39415) 2020-10-27 10:45:18 -07:00
core_private_export.ts refactor(common): change missing NgSwitch provider error message (#41704) 2021-05-06 15:44:38 -04:00
core_render3_private_export.ts refactor(compiler-cli): introduce declaration function to declare class metadata (#41200) 2021-04-12 10:41:17 -07:00
di.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
error_handler.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
errors.ts refactor(core): reduce the number of circular deps (#38805) 2020-09-18 11:20:08 -07:00
event_emitter.ts refactor(core): remove deprecated rxjs signature usage in event emitter and make more minifier-friendly (#41450) 2021-04-07 11:53:09 -07:00
ivy_switch.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
linker.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata.ts refactor(core): move injectAttributeImpl to avoid cycles (#37085) 2020-11-19 12:19:42 -08:00
platform_core_providers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
r3_symbols.ts refactor(core): rename ɵɵInjectableDef interface to ɵɵInjectableDeclaration (#41316) 2021-04-07 13:57:12 -07:00
render.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
version.ts Revert "refactor(core): optimize calls to split and slice while computing version parts (#41208)" 2021-05-12 14:13:50 -04:00
zone.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00