diff --git a/tools/dep_updaters/update-eslint.sh b/tools/dep_updaters/update-eslint.sh index 60292fb505d293..66b47596551c1f 100755 --- a/tools/dep_updaters/update-eslint.sh +++ b/tools/dep_updaters/update-eslint.sh @@ -58,6 +58,7 @@ rm -rf ../node_modules/eslint --no-save \ --omit=dev \ --omit=peer \ + --legacy-peer-deps \ eslint-plugin-jsdoc \ eslint-plugin-markdown \ @babel/core \ diff --git a/tools/dep_updaters/update-minimatch.sh b/tools/dep_updaters/update-minimatch.sh index 2e6fdd0c11890b..d487eb760632cb 100755 --- a/tools/dep_updaters/update-minimatch.sh +++ b/tools/dep_updaters/update-minimatch.sh @@ -54,7 +54,7 @@ cd package "$NODE" "$NPM" install esbuild --save-dev -"$NODE" "$NPM" pkg set scripts.node-build="esbuild ./dist/cjs/index.js --bundle --platform=node --outfile=index.js" +"$NODE" "$NPM" pkg set scripts.node-build="esbuild ./dist/commonjs/index.js --bundle --platform=node --outfile=index.js" "$NODE" "$NPM" run node-build