Skip to content

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

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

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

Conversation

@tbuglc
Copy link

@tbuglc tbuglc commented Feb 22, 2026

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

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

@tbuglc
Copy link
Author

tbuglc commented Feb 27, 2026

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