From ec127d534a35cb5acedcefec2ae8bfef89a7a658 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Mon, 25 May 2026 16:44:29 +0200 Subject: [PATCH] fix: backward-compat for ESM etherpad - Drop trailing slash on ep_etherpad-lite/node/eejs/ require Backward-compatible with current CJS etherpad release; also compatible with the upcoming ESM etherpad branch which has stricter exports map resolution. --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index cd6ba74..ee264ed 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const settingsModule = require('ep_etherpad-lite/node/utils/Settings'); const settings = settingsModule.default || settingsModule; const {template, rawHTML} = require('ep_plugin_helpers'); -const eejs = require('ep_etherpad-lite/node/eejs/'); +const eejs = require('ep_etherpad-lite/node/eejs'); const shared = require('./static/js/shared'); exports.eejsBlock_editbarMenuLeft = template('ep_font_size/templates/editbarButtons.ejs', { diff --git a/package.json b/package.json index 9d76264..f5e623c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "description": "Apply sizes to fonts", "name": "ep_font_size", - "version": "0.4.110", + "version": "0.4.111", "license": "Apache-2.0", "author": { "name": "John McLear",