diff --git a/clouds/snowflake/common/package.json b/clouds/snowflake/common/package.json index 4df7aa55f..a4fc6827b 100644 --- a/clouds/snowflake/common/package.json +++ b/clouds/snowflake/common/package.json @@ -1,16 +1,16 @@ { "license": "BSD-3-Clause", "devDependencies": { - "@rollup/plugin-commonjs": "^26.0.1", - "@rollup/plugin-json": "^6.1.0", - "@rollup/plugin-node-resolve": "^15.2.3", - "@rollup/plugin-terser": "^0.4.4", - "cli-progress": "^3.12.0", + "@rollup/plugin-commonjs": "^17.1.0", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.0.0", + "@rollup/plugin-replace": "^2.4.2", + "cli-progress": "^3.11.2", "eslint": "^7.25.0", "jest": "^29.0.0", - "markdownlint-cli": "^0.41.0", - "rollup": "^4.18.0", + "markdownlint-cli": "^0.32.2", + "rollup": "^2.47.0", "rollup-plugin-bundle-size": "^1.0.3", - "snowflake-sdk": "1.9.3" + "rollup-plugin-terser": "^7.0.2" } } diff --git a/clouds/snowflake/common/rollup.config.mjs b/clouds/snowflake/common/rollup.config.js similarity index 97% rename from clouds/snowflake/common/rollup.config.mjs rename to clouds/snowflake/common/rollup.config.js index 165820e34..3c19ed6ed 100644 --- a/clouds/snowflake/common/rollup.config.mjs +++ b/clouds/snowflake/common/rollup.config.js @@ -3,7 +3,7 @@ import path from 'path'; import commonjs from '@rollup/plugin-commonjs'; import resolve from '@rollup/plugin-node-resolve'; import json from '@rollup/plugin-json'; -import terser from '@rollup/plugin-terser'; +import { terser } from 'rollup-plugin-terser'; import bundleSize from 'rollup-plugin-bundle-size'; // Find final input path from dirs array diff --git a/clouds/snowflake/libraries/javascript/Makefile b/clouds/snowflake/libraries/javascript/Makefile index 81ad71982..49e9dfa90 100644 --- a/clouds/snowflake/libraries/javascript/Makefile +++ b/clouds/snowflake/libraries/javascript/Makefile @@ -49,7 +49,7 @@ ifdef UNIT_TEST DIRS=$(LIBS_DIR) \ FILENAME=$${f}.js \ OUTPUT=$(BUILD_DIR)/$${f}.js \ - rollup --config $(COMMON_DIR)/rollup.config.mjs $(BUILD_PARAMS); \ + rollup --config $(COMMON_DIR)/rollup.config.js $(BUILD_PARAMS); \ done else $(COMMON_DIR)/list_libraries.js $(MODULES_DIRS) --diff="$(diff)" --modules=$(modules) --functions=$(functions) --nodeps=$(nodeps) 1>/dev/null # Check errors @@ -59,7 +59,7 @@ else DIRS=$(LIBS_DIRS) \ FILENAME=$${f}.js \ OUTPUT=$(BUILD_DIR)/$${f}.js \ - rollup --config $(COMMON_DIR)/rollup.config.mjs $(BUILD_PARAMS); \ + rollup --config $(COMMON_DIR)/rollup.config.js $(BUILD_PARAMS); \ done endif