From f38bb0b5b2e5e6ef2f27337bd5d8448ea612a9a8 Mon Sep 17 00:00:00 2001 From: "Michael Pilosov, PhD" Date: Fri, 3 Apr 2026 16:21:43 +0000 Subject: [PATCH 1/3] es2017 --- pyproject.toml | 2 +- uv.lock | 2 +- vite.web.config.mts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 41ecaf2b..60db321e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "hiplot-mm" -version = "0.0.4rc17" +version = "0.0.4rc18" description = "High dimensional Interactive Plotting tool" readme = "README.md" license = "MIT" diff --git a/uv.lock b/uv.lock index 7e081115..f9c71822 100644 --- a/uv.lock +++ b/uv.lock @@ -924,7 +924,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/f4/7d/aed8cd5e4ca52bb85 [[package]] name = "hiplot-mm" -version = "0.0.4rc17" +version = "0.0.4rc18" source = { editable = "." } dependencies = [ { name = "beautifulsoup4" }, diff --git a/vite.web.config.mts b/vite.web.config.mts index b04c57c7..a9cb26b5 100644 --- a/vite.web.config.mts +++ b/vite.web.config.mts @@ -143,7 +143,7 @@ export default defineConfig(({ mode }) => { outDir: "npm-dist", emptyOutDir: false, sourcemap: true, - target: "es2020", + target: "es2017", chunkSizeWarningLimit: 2000, rollupOptions: { input: entryPath, From dc0cdea7c2f498fcc5058dac0f607404eba209af Mon Sep 17 00:00:00 2001 From: "Michael Pilosov, PhD" Date: Fri, 3 Apr 2026 17:17:16 +0000 Subject: [PATCH 2/3] polyfill --- vite.lib.config.mts | 1 + vite.web.config.mts | 1 + 2 files changed, 2 insertions(+) diff --git a/vite.lib.config.mts b/vite.lib.config.mts index f3a9d316..04dd842c 100644 --- a/vite.lib.config.mts +++ b/vite.lib.config.mts @@ -99,6 +99,7 @@ export default defineConfig(({ mode }) => { rollupOptions: { external: ["react"], output: { + intro: `if(!Object.hasOwn){Object.hasOwn=function(o,p){return Object.prototype.hasOwnProperty.call(o,p)};}`, globals: { react: "React", }, diff --git a/vite.web.config.mts b/vite.web.config.mts index a9cb26b5..4f608a9f 100644 --- a/vite.web.config.mts +++ b/vite.web.config.mts @@ -152,6 +152,7 @@ export default defineConfig(({ mode }) => { name: "hiplot", entryFileNames: `${entryName}.bundle.js`, inlineDynamicImports: true, + intro: `if(!Object.hasOwn){Object.hasOwn=function(o,p){return Object.prototype.hasOwnProperty.call(o,p)};}`, }, }, }, From 59abb78be1b7972681dd649d4e7f99edd064e698 Mon Sep 17 00:00:00 2001 From: "Michael Pilosov, PhD" Date: Fri, 3 Apr 2026 17:17:38 +0000 Subject: [PATCH 3/3] polyfill version bump --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 60db321e..832575c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "hiplot-mm" -version = "0.0.4rc18" +version = "0.0.4rc19" description = "High dimensional Interactive Plotting tool" readme = "README.md" license = "MIT" diff --git a/uv.lock b/uv.lock index f9c71822..bc262c93 100644 --- a/uv.lock +++ b/uv.lock @@ -924,7 +924,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/f4/7d/aed8cd5e4ca52bb85 [[package]] name = "hiplot-mm" -version = "0.0.4rc18" +version = "0.0.4rc19" source = { editable = "." } dependencies = [ { name = "beautifulsoup4" },