From 613e51a2b8382082acc2cea500af4d8b0695084e Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Mon, 25 May 2026 16:44:32 +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. --- eejs.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eejs.js b/eejs.js index 2baae59..8cda1e7 100644 --- a/eejs.js +++ b/eejs.js @@ -1,6 +1,6 @@ 'use strict'; -const eejs = require('ep_etherpad-lite/node/eejs/'); +const eejs = require('ep_etherpad-lite/node/eejs'); exports.eejsBlock_styles = (hookName, args, cb) => { const css = eejs.require( diff --git a/package.json b/package.json index eb11fcd..2d0cb8c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ep_file_menu_toolbar", "description": "File / Menu style toolbar", - "version": "0.2.53", + "version": "0.2.54", "author": "johnyma22 (John McLear) ", "engines": { "node": ">=18.0.0"