angular/packages/upgrade/src
Kristiyan Kostadinov f67d2cabaf fix(compiler): inputs/outputs incorrectly parsed in jit mode (#46813)
The `Directive` and `Component` decorators support `inputs` and `outputs` fields which accept an array in the format of `"someInput"` or `"someInput: someAlias"`, however the parsing during JIT compilation was splitting on commas, not on colons, which resulted in incorrect parsing. E.g. `inputs: ["someInput: someAlias"]` was being parsed into `{"someInput: someAlias": "someInput: someAlias"}` instead of `{someInput: "someAlias"}`.

The feature was working by accident, because there's some logic further down in the compiler pipeline that was splitting the strings again.

PR Close #46813
2022-07-13 21:26:50 +00:00
..
common refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
dynamic fix(compiler): inputs/outputs incorrectly parsed in jit mode (#46813) 2022-07-13 21:26:50 +00:00