Commit e7bb6f1
committed
fix: pin fast-xml-parser to ~5.6.0 to fix 
 entity validation bug
The @nodable/entities 2.x (used by fast-xml-parser >=5.7.0) introduced
a validateEntityName() check that rejects entity names starting with #.
This breaks parsing of valid XML numeric character references like 
(carriage return) in AWS STS responses, causing pipeline-deploy failures.
Pin fast-xml-parser to ~5.6.0 which uses @nodable/entities 1.x (no
validation bug). Also pin @nodable/entities to ^1.0.0 globally to
prevent 2.x from being pulled in transitively.
Fixes: aws-amplify/amplify-backend#31721 parent bddb2c8 commit e7bb6f1
4 files changed
Lines changed: 22 additions & 18 deletions
File tree
- packages
- amplify-data-construct
- amplify-graphql-api-construct
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
463 | 465 | | |
464 | 466 | | |
465 | 467 | | |
466 | | - | |
| 468 | + | |
| 469 | + | |
467 | 470 | | |
468 | 471 | | |
469 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
287 | | - | |
| 288 | + | |
| 289 | + | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
287 | | - | |
| 288 | + | |
| 289 | + | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11538 | 11538 | | |
11539 | 11539 | | |
11540 | 11540 | | |
| 11541 | + | |
| 11542 | + | |
| 11543 | + | |
| 11544 | + | |
| 11545 | + | |
11541 | 11546 | | |
11542 | 11547 | | |
11543 | 11548 | | |
| |||
18976 | 18981 | | |
18977 | 18982 | | |
18978 | 18983 | | |
18979 | | - | |
| 18984 | + | |
18980 | 18985 | | |
18981 | 18986 | | |
18982 | 18987 | | |
18983 | 18988 | | |
18984 | 18989 | | |
18985 | 18990 | | |
18986 | | - | |
18987 | | - | |
18988 | | - | |
18989 | | - | |
| 18991 | + | |
| 18992 | + | |
| 18993 | + | |
| 18994 | + | |
18990 | 18995 | | |
| 18996 | + | |
18991 | 18997 | | |
18992 | 18998 | | |
18993 | 18999 | | |
| |||
19006 | 19012 | | |
19007 | 19013 | | |
19008 | 19014 | | |
19009 | | - | |
19010 | | - | |
19011 | | - | |
19012 | | - | |
19013 | | - | |
19014 | | - | |
19015 | | - | |
19016 | | - | |
19017 | | - | |
19018 | 19015 | | |
19019 | 19016 | | |
19020 | 19017 | | |
| |||
24985 | 24982 | | |
24986 | 24983 | | |
24987 | 24984 | | |
24988 | | - | |
| 24985 | + | |
24989 | 24986 | | |
24990 | 24987 | | |
24991 | 24988 | | |
| |||
0 commit comments