We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples:
interface
public
This currently breaks serve when used with bunx
serve
bunx
❯ bunx --bun serve 341 | break; 342 | } 343 | 344 | if (entry) { 345 | const {public} = config; 346 | config.public = path.relative(cwd, (public ? path.resolve(entry, public) : entry)); ^ SyntaxError: Cannot use abbreviated destructuring syntax for reserved name 'public' in strict mode. at /usr/lib/node_modules/serve/bin/serve.js:346:2
Since bun only supports ESM & strict mode, this is necessary to do.
The text was updated successfully, but these errors were encountered:
An alternative approach is commenting out these lines in Keywords.table
# Reserved for future use in strict code. implements RESERVED_IF_STRICT interface RESERVED_IF_STRICT package RESERVED_IF_STRICT private RESERVED_IF_STRICT protected RESERVED_IF_STRICT public RESERVED_IF_STRICT static RESERVED_IF_STRICT
Sorry, something went wrong.
I think this is related: arguments needs to be renamed in addition to these keywords.
arguments
This is breaking runtime checks on the bundle test default/ArgumentsSpecialCaseNoBundle in this file, which are currently just set to use node.
default/ArgumentsSpecialCaseNoBundle
Edit: There's definetly some other symbols to handle too: var eval = 2; not sure on all of them.
var eval = 2;
Successfully merging a pull request may close this issue.
Examples:
interface
public
This currently breaks
serve
when used withbunx
Since bun only supports ESM & strict mode, this is necessary to do.
The text was updated successfully, but these errors were encountered: