From baff1956684117478ca38f43b359189549a37060 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Mon, 25 May 2026 16:45:02 +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 adcb324..337d3e0 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_body = (hookName, args, cb) => { const templateFile = 'ep_set_title_on_pad/templates/title.ejs'; diff --git a/package.json b/package.json index 6e9f63f..c554c5a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ep_set_title_on_pad", "description": "Set the title on a pad in Etherpad, also includes real time updates to the UI", - "version": "0.7.7", + "version": "0.7.8", "license": "Apache-2.0", "author": "johnyma22 (John McLear) ", "keywords": [