Skip to content

Conversation

@domq
Copy link

@domq domq commented Feb 6, 2026

Fixes #13

This prevents an infinite loop for e.g. modules that export a variable named $.

@CLAassistant
Copy link

CLAassistant commented Feb 6, 2026

CLA assistant check
All committers have signed the CLA.

domq added a commit to epfl-si/ATARI that referenced this pull request Feb 6, 2026
This prevents a Meteor compiler crash when processing a module that exports a symbol named `$`.

See: meteor/reify#14
@domq
Copy link
Author

domq commented Feb 6, 2026

Meh — RegExp.escape doesn't exist in Node v22.22.0 😐 I'll come again.

Fixes meteor#13

This prevents an infinite loop for e.g. modules that export a variable named `$`.

In Node 24.x we could use `RegExp.escape()`, but that doesn't exist in
Node 22.x which Meteor 3.4.0 uses. Provide a polyfill
@domq domq force-pushed the fix/export-dollar branch from 2298902 to b6e3ca3 Compare February 6, 2026 15:30
@domq
Copy link
Author

domq commented Feb 6, 2026

I unfortunately can't seem to change the PR title now 😐😐

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.

Chokes on code that exports $

2 participants