From 3e47deea790e98df8d495c032686f47e5ecee0a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Tue, 2 Jul 2024 15:12:50 +0200 Subject: [PATCH] test: fix h3 bundle in sf (#515) --- clouds/snowflake/common/package.json | 1 - clouds/snowflake/common/rollup.config.js | 3 --- clouds/snowflake/libraries/javascript/package.json | 5 ++++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/clouds/snowflake/common/package.json b/clouds/snowflake/common/package.json index f5fd44491..c227179cd 100644 --- a/clouds/snowflake/common/package.json +++ b/clouds/snowflake/common/package.json @@ -10,7 +10,6 @@ "markdownlint-cli": "^0.32.2", "rollup": "^2.47.0", "rollup-plugin-bundle-size": "^1.0.3", - "rollup-plugin-polyfill-node": "^0.13.0", "rollup-plugin-terser": "^7.0.2", "snowflake-sdk": "1.9.3" } diff --git a/clouds/snowflake/common/rollup.config.js b/clouds/snowflake/common/rollup.config.js index 1845c4901..3c19ed6ed 100644 --- a/clouds/snowflake/common/rollup.config.js +++ b/clouds/snowflake/common/rollup.config.js @@ -5,8 +5,6 @@ import resolve from '@rollup/plugin-node-resolve'; import json from '@rollup/plugin-json'; import { terser } from 'rollup-plugin-terser'; import bundleSize from 'rollup-plugin-bundle-size'; -import nodePolyfills from 'rollup-plugin-polyfill-node'; - // Find final input path from dirs array let input; @@ -40,7 +38,6 @@ export default { plugins: [ resolve(), commonjs({ requireReturnsDefault: 'auto' }), - nodePolyfills(), json(), terser(), bundleSize() diff --git a/clouds/snowflake/libraries/javascript/package.json b/clouds/snowflake/libraries/javascript/package.json index 86fbebf39..9fb6f405f 100644 --- a/clouds/snowflake/libraries/javascript/package.json +++ b/clouds/snowflake/libraries/javascript/package.json @@ -6,12 +6,15 @@ "license": "BSD-3-Clause", "private": true, "dependencies": { - "@math.gl/web-mercator": "^3.6.2", + "@math.gl/web-mercator": "3.6.3", "@mapbox/tile-cover": "3.0.2", "@mapbox/tilebelt": "1.0.2", "long": "4.0.0", "@turf/turf": "6.3.0", "h3-js": "3.7.2", "@placekey/placekey": "1.0.3" + }, + "resolutions": { + "@turf/bbox": "6.5.0" } }