2018-08-09 09:23:56 -04:00
{
"name" : "angular-integration" ,
"version" : "0.0.0" ,
"license" : "MIT" ,
"dependencies" : {
"@angular/animations" : "file:../../dist/packages-dist/animations" ,
2019-12-03 07:39:16 -05:00
"@angular/cdk" : "9.0.0-rc.4" ,
2018-08-09 09:23:56 -04:00
"@angular/common" : "file:../../dist/packages-dist/common" ,
"@angular/compiler" : "file:../../dist/packages-dist/compiler" ,
"@angular/compiler-cli" : "file:../../dist/packages-dist/compiler-cli" ,
"@angular/core" : "file:../../dist/packages-dist/core" ,
"@angular/forms" : "file:../../dist/packages-dist/forms" ,
2019-12-03 07:39:16 -05:00
"@angular/material" : "9.0.0-rc.4" ,
2018-08-09 09:23:56 -04:00
"@angular/platform-browser" : "file:../../dist/packages-dist/platform-browser" ,
"@angular/platform-browser-dynamic" : "file:../../dist/packages-dist/platform-browser-dynamic" ,
fix(ngcc): do not collect private declarations from external packages (#34811)
Previously, while trying to build an `NgccReflectionHost`'s
`privateDtsDeclarationMap`, `computePrivateDtsDeclarationMap()` would
try to collect exported declarations from all source files of the
program (i.e. without checking whether they were within the target
package, as happens for declarations in `.d.ts` files).
Most of the time, that would not be a problem, because external packages
would be represented as `.d.ts` files in the program. But when an
external package had no typings, the JS files would be used instead. As
a result, the `ReflectionHost` would try to (unnecessarilly) parse the
file in order to extract exported declarations, which in turn would be
harmless in most cases.
There are certain cases, though, where the `ReflectionHost` would throw
an error, because it cannot parse the external package's JS file. This
could happen, for example, in `UmdReflectionHost`, which expects the
file to contain exactly one statement. See #34544 for more details on a
real-world failure.
This commit fixes the issue by ensuring that
`computePrivateDtsDeclarationMap()` will only collect exported
declarations from files within the target package.
Jira issue: [FW-1794](https://angular-team.atlassian.net/browse/FW-1794)
Fixes #34544
PR Close #34811
2020-01-15 14:54:36 -05:00
"@angular/platform-server" : "file:../../dist/packages-dist/platform-server" ,
2018-08-09 09:23:56 -04:00
"@angular/router" : "file:../../dist/packages-dist/router" ,
2019-10-17 07:18:19 -04:00
"@types/node" : "file:../../node_modules/@types/node" ,
2018-08-09 09:23:56 -04:00
"rxjs" : "file:../../node_modules/rxjs" ,
"typescript" : "file:../../node_modules/typescript" ,
2020-08-31 00:48:41 -04:00
"zone.js" : "file:../../dist/zone.js-dist/archive/zone.js.tgz"
2018-08-09 09:23:56 -04:00
} ,
"devDependencies" : {
2020-02-04 14:45:40 -05:00
"@types/jasmine" : "file:../../node_modules/@types/jasmine" ,
2018-08-09 09:23:56 -04:00
"concurrently" : "3.4.0" ,
"lite-server" : "2.2.2" ,
"protractor" : "file:../../node_modules/protractor"
} ,
2021-02-17 09:15:44 -05:00
"//resolutions-comment" : "Ensure a single version of webdriver-manager which comes from root node_modules that has already run webdriver-manager update" ,
"resolutions" : {
"**/webdriver-manager" : "file:../../node_modules/webdriver-manager"
} ,
2018-08-09 09:23:56 -04:00
"scripts" : {
"test" : "./test.sh"
}
}