Skip to content

Commit adaf98d

Browse files
committed
fix: remove unscoped fast-xml-parser resolution to fix entity expansion limit
The unscoped resolution forced fast-xml-parser 5.5.x onto the AWS SDK which expects 4.4.1. Version 5.x introduced entity expansion limits (default 1000) that break CloudFormation XML parsing for large stacks. Keep the scoped **/aws-amplify/** resolution for construct packages while letting the AWS SDK resolve its own compatible version.
1 parent 5d222bb commit adaf98d

3 files changed

Lines changed: 37 additions & 6 deletions

File tree

dependency_licenses.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17035,7 +17035,7 @@ SOFTWARE.
1703517035

1703617036
-----
1703717037

17038-
The following software may be included in this product: fast-xml-parser. A copy of the source code may be downloaded from git+https://github.com/NaturalIntelligence/fast-xml-parser.git. This software contains the following license and notice below:
17038+
The following software may be included in this product: fast-xml-parser. A copy of the source code may be downloaded from https://github.com/NaturalIntelligence/fast-xml-parser. This software contains the following license and notice below:
1703917039

1704017040
MIT License
1704117041

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@
464464
"axios": "^1.15.0",
465465
"braces": "^3.0.3",
466466
"**/aws-amplify/**/fast-xml-parser": "~5.5.12",
467-
"fast-xml-parser": "~5.5.12",
468467
"@aws-sdk/core/@aws-sdk/xml-builder": "^3.972.15",
469468
"cookie": "^0.7.0",
470469
"@octokit/request-error": "^5.1.1",

yarn.lock

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18976,14 +18976,14 @@ fast-xml-builder@1.1.1:
1897618976
dependencies:
1897718977
path-expression-matcher "^1.1.3"
1897818978

18979-
fast-xml-builder@^1.1.4:
18979+
fast-xml-builder@^1.1.1, fast-xml-builder@^1.1.4:
1898018980
version "1.1.4"
1898118981
resolved "https://registry.yarnpkg.com/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz#0c407a1d9d5996336c0cd76f7ff785cac6413017"
1898218982
integrity sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==
1898318983
dependencies:
1898418984
path-expression-matcher "^1.1.3"
1898518985

18986-
fast-xml-parser@3.19.0, fast-xml-parser@4.4.1, fast-xml-parser@5.2.5, fast-xml-parser@5.5.2, fast-xml-parser@5.5.8, fast-xml-parser@^3.16.0, fast-xml-parser@~5.5.12:
18986+
fast-xml-parser@3.19.0, fast-xml-parser@^3.16.0, fast-xml-parser@~5.5.12:
1898718987
version "5.5.12"
1898818988
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.5.12.tgz#6e50e5a5bbb03c1dc72a9268a9bfe677b1b623b2"
1898918989
integrity sha512-nUR0q8PPfoA/svPM43Gup7vLOZWppaNrYgGmrVqrAVJa7cOH4hMG6FX9M4mQ8dZA1/ObGZHzES7Ed88hxEBSJg==
@@ -18992,6 +18992,38 @@ fast-xml-parser@3.19.0, fast-xml-parser@4.4.1, fast-xml-parser@5.2.5, fast-xml-p
1899218992
path-expression-matcher "^1.5.0"
1899318993
strnum "^2.2.3"
1899418994

18995+
fast-xml-parser@4.4.1:
18996+
version "4.4.1"
18997+
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f"
18998+
integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==
18999+
dependencies:
19000+
strnum "^1.0.5"
19001+
19002+
fast-xml-parser@5.2.5:
19003+
version "5.2.5"
19004+
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz#4809fdfb1310494e341098c25cb1341a01a9144a"
19005+
integrity sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==
19006+
dependencies:
19007+
strnum "^2.1.0"
19008+
19009+
fast-xml-parser@5.5.2:
19010+
version "5.5.2"
19011+
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.5.2.tgz#2c5b9c8d955fe201ecebc2365fc517ed0d329600"
19012+
integrity sha512-kA6Txdt1cHsk+/qWKuV1jZUHBD6QUXWKhWVBuSmfP5YElW5HvJ/yC7eFCS+DQg7LphBPuUoEBMQ+m1z6UlF24w==
19013+
dependencies:
19014+
fast-xml-builder "^1.1.1"
19015+
path-expression-matcher "^1.1.3"
19016+
strnum "^2.1.2"
19017+
19018+
fast-xml-parser@5.5.8:
19019+
version "5.5.8"
19020+
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.5.8.tgz#929571ed8c5eb96e6d9bd572ba14fc4b84875716"
19021+
integrity sha512-Z7Fh2nVQSb2d+poDViM063ix2ZGt9jmY1nWhPfHBOK2Hgnb/OW3P4Et3P/81SEej0J7QbWtJqxO05h8QYfK7LQ==
19022+
dependencies:
19023+
fast-xml-builder "^1.1.4"
19024+
path-expression-matcher "^1.2.0"
19025+
strnum "^2.2.0"
19026+
1899519027
fastq@^1.6.0:
1899619028
version "1.19.1"
1899719029
resolved "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz#d50eaba803c8846a883c16492821ebcd2cda55f5"
@@ -23154,7 +23186,7 @@ path-expression-matcher@1.1.3, path-expression-matcher@^1.1.3:
2315423186
resolved "https://registry.yarnpkg.com/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz#8bf7c629dc1b114e42b633c071f06d14625b4e0d"
2315523187
integrity sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==
2315623188

23157-
path-expression-matcher@^1.5.0:
23189+
path-expression-matcher@^1.2.0, path-expression-matcher@^1.5.0:
2315823190
version "1.5.0"
2315923191
resolved "https://registry.yarnpkg.com/path-expression-matcher/-/path-expression-matcher-1.5.0.tgz#3b98545dc88ffebb593e2d8458d0929da9275f4a"
2316023192
integrity sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ==
@@ -24953,7 +24985,7 @@ strnum@^1.0.5:
2495324985
resolved "https://registry.yarnpkg.com/strnum/-/strnum-1.1.2.tgz#57bca4fbaa6f271081715dbc9ed7cee5493e28e4"
2495424986
integrity sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==
2495524987

24956-
strnum@^2.2.3:
24988+
strnum@^2.1.0, strnum@^2.1.2, strnum@^2.2.0, strnum@^2.2.3:
2495724989
version "2.2.3"
2495824990
resolved "https://registry.yarnpkg.com/strnum/-/strnum-2.2.3.tgz#0119fce02749a11bb126a4d686ac5dbdf6e57586"
2495924991
integrity sha512-oKx6RUCuHfT3oyVjtnrmn19H1SiCqgJSg+54XqURKp5aCMbrXrhLjRN9TjuwMjiYstZ0MzDrHqkGZ5dFTKd+zg==

0 commit comments

Comments
 (0)