From 84f37ea2c59c21d7a241138d21b6e8ee2b39603b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Fern=C3=A1ndez-Capel?= Date: Mon, 8 Jan 2024 10:12:11 +0000 Subject: [PATCH] Upgrade idiomorph to 0.3.0 Use the upstream version that now includes a ESM dist file since https://github.com/bigskysoftware/idiomorph/commit/6cc541f4fe1bd341b16003c6560d243928f00b91 --- package.json | 2 +- src/core/drive/morph_renderer.js | 2 +- yarn.lock | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2bd3c2401..afc8aded4 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "chai": "~4.3.4", "eslint": "^8.13.0", "express": "^4.18.2", - "idiomorph": "https://github.com/basecamp/idiomorph#rollout-build", + "idiomorph": "^0.3.0", "multer": "^1.4.2", "rollup": "^2.35.1" }, diff --git a/src/core/drive/morph_renderer.js b/src/core/drive/morph_renderer.js index 2269e9ed4..beb94bfb1 100644 --- a/src/core/drive/morph_renderer.js +++ b/src/core/drive/morph_renderer.js @@ -1,4 +1,4 @@ -import Idiomorph from "idiomorph" +import { Idiomorph } from "idiomorph/dist/idiomorph.esm.js" import { dispatch } from "../../util" import { Renderer } from "../renderer" diff --git a/yarn.lock b/yarn.lock index b0e316fa0..45b1ad28f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1865,9 +1865,10 @@ iconv-lite@0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -"idiomorph@https://github.com/basecamp/idiomorph#rollout-build": - version "0.0.8" - resolved "https://github.com/basecamp/idiomorph#e906820368e4c9c52489a3336b8c3826b1bf6de5" +idiomorph@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/idiomorph/-/idiomorph-0.3.0.tgz#f6675bc5bef1a72c94021e43141a3f605d2d6288" + integrity sha512-UhV1Ey5xCxIwR9B+OgIjQa+1Jx99XQ1vQHUsKBU1RpQzCx1u+b+N6SOXgf5mEJDqemUI/ffccu6+71l2mJUsRA== ieee754@^1.1.13: version "1.2.1"