Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 5dc04e1

Browse files
authored
fix(lambda-at-edge): downgrade @rollup/plugin-commonjs to 18.1.0 to fix bundling issue of decodeHTML functions in SQS client (#1227)
1 parent 6ac6939 commit 5dc04e1

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ updates:
1313
# No point updating @sls-next/* dependencies as they are linked
1414
ignore:
1515
- dependency-name: "@sls-next/*"
16+
# FIXME: don't update plugin-commonjs, v19.0.0 had breaking change causing some decodeHTML functions not to be bundled
17+
- dependency-name: "@rollup/plugin-commonjs"
1618
# FIXME: don't update plugin-node-resolve yet, versions >10 seems to be bundling browser version of uuid etc: https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md#v1100
1719
- dependency-name: "@rollup/plugin-node-resolve"
1820
# FIXME: CDK dependencies must be updated together but Dependabot cannot group updates

packages/libs/lambda-at-edge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"homepage": "https://github.com/serverless-nextjs/serverless-next.js#readme",
3939
"devDependencies": {
40-
"@rollup/plugin-commonjs": "^19.0.0",
40+
"@rollup/plugin-commonjs": "^18.1.0",
4141
"@rollup/plugin-json": "^4.1.0",
4242
"@rollup/plugin-node-resolve": "^10.0.0",
4343
"@types/aws-lambda": "^8.10.57",

packages/libs/lambda-at-edge/yarn.lock

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,10 +1066,10 @@
10661066
"@nodelib/fs.scandir" "2.1.5"
10671067
fastq "^1.6.0"
10681068

1069-
"@rollup/plugin-commonjs@^19.0.0":
1070-
version "19.0.0"
1071-
resolved "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-19.0.0.tgz#8c3e71f9a66908e60d70cc1be205834ef3e45f71"
1072-
integrity sha512-adTpD6ATGbehdaQoZQ6ipDFhdjqsTgpOAhFiPwl+dzre4pPshsecptDPyEFb61JMJ1+mGljktaC4jI8ARMSNyw==
1069+
"@rollup/plugin-commonjs@^18.1.0":
1070+
version "18.1.0"
1071+
resolved "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-18.1.0.tgz#5a760d757af168a50727c0ae080251fbfcc5eb02"
1072+
integrity sha512-h3e6T9rUxVMAQswpDIobfUHn/doMzM9sgkMrsMWCFLmB84PSoC8mV8tOloAJjSRwdqhXBqstlX2BwBpHJvbhxg==
10731073
dependencies:
10741074
"@rollup/pluginutils" "^3.1.0"
10751075
commondir "^1.0.1"
@@ -1116,13 +1116,8 @@
11161116
picomatch "^2.2.2"
11171117

11181118
"@sls-next/core@link:../core":
1119-
version "1.0.0-alpha.22"
1120-
dependencies:
1121-
"@hapi/accept" "^5.0.1"
1122-
cookie "^0.4.1"
1123-
jsonwebtoken "^8.5.1"
1124-
path-to-regexp "^6.1.0"
1125-
regex-parser "^2.2.10"
1119+
version "0.0.0"
1120+
uid ""
11261121

11271122
"@tsconfig/node10@^1.0.7":
11281123
version "1.0.7"

0 commit comments

Comments
 (0)