angular/packages/compiler
Kristiyan Kostadinov 302ab340e0 fix(compiler): avoid error in template parser for tag names that can occur in object prototype (#52225)
Fixes that the compiler was throwing an error if an element tag name is the same as a built-in prototype property (e.g. `constructor` or `toString`). The problem was that we were storing the tag names in an object literal with the `Object` prototype. These changes resolve the issue by creating an object without a prototype.

Fixes #52224.

PR Close #52225
2023-10-16 18:22:15 +02:00
..
design feat(core): remove entryComponents (#49484) 2023-03-23 10:38:03 -07:00
src fix(compiler): avoid error in template parser for tag names that can occur in object prototype (#52225) 2023-10-16 18:22:15 +02:00
test fix(compiler): avoid error in template parser for tag names that can occur in object prototype (#52225) 2023-10-16 18:22:15 +02:00
BUILD.bazel refactor(compiler): Delete the @angular/compiler/testing module. (#49872) 2023-10-09 15:58:25 -07:00
compiler.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: remove support for Node.js v16 (#51755) 2023-09-13 10:49:06 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00