From 4ee2f75437df99e31581de4a4249122387ab09e8 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Mon, 25 May 2026 16:44:53 +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 8f6bc1b..21d46b1 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'); const settings = require('ep_etherpad-lite/node/utils/Settings'); exports.eejsBlock_styles = (hook_name, args, cb) => { diff --git a/package.json b/package.json index 5ff5bb3..d1de66f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ep_print", "description": "Support for printing, works cross browser, supports page breaks", - "version": "11.0.21", + "version": "11.0.22", "author": { "name": "johnyma22", "email": "john@mclear.co.uk",