Skip to content

Update index.cjs.js: support for node14 syntax#9

Open
tbuglc wants to merge 1 commit into
so-ric:masterfrom
tbuglc:patch-1
Open

Update index.cjs.js: support for node14 syntax#9
tbuglc wants to merge 1 commit into
so-ric:masterfrom
tbuglc:patch-1

Conversation

@tbuglc

@tbuglc tbuglc commented Feb 22, 2026

Copy link
Copy Markdown

From
(limiters[m] ||= [])[channel] = modifier;
to
(limiters[m] || (limiters[m] = []))[channel] = modifier;

From 
(limiters[m] ||= [])[channel] = modifier;
to 
(limiters[m] || (limiters[m] = []))[channel] = modifier;
@softwareplumber

Copy link
Copy Markdown

+1 for this. Just cost me 4 hours of head-scratching. To be clear, I don't want to be using node 14.

@tbuglc

tbuglc commented Feb 27, 2026

Copy link
Copy Markdown
Author

Yeah I feel you, I ended up upgrading node to 22+ and fixing dependency versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants