Skip to content

issues Search Results · repo:acornjs/acorn language:JavaScript

Filter by

812 results
 (54 ms)

812 results

inacornjs/acorn (press backspace or delete to remove)

Как выпилить это гавно из вашего проекта? Все просто, в package.json: overrides : { acorn : npm:meriyah@4.2.1 , acorn-jsx : npm:meriyah@4.2.1 , acorn-walk : npm:meriyah@4.2.1 , ...
  • flerko
  • 1
  • Opened 
    on Jan 31
  • #1345

On modern runtimes, testing identifiers for matches with keywords is significantly (up to 60%) faster by using Set than by using a RegExp. The lookup is faster still if you first check the length of the ...
  • dmichon-msft
  • Opened 
    on Jan 23
  • #1342

Hello, first of all, thank you for this program. I can go around the difficulty I had but i give it to you anyway FYI in this expression: a ?. b ?. c; There are two chainExpression s but the ast tree ...
  • hugues-koolsol
  • 1
  • Opened 
    on Jan 15
  • #1341

The patch to fix #1334 doesn t seem to be correct. Although it correctly makes the parser reject async () = class { x = await 1 }, it will also reject async () = class { x = async () = await 1 }, which ...
  • adams85
  • 2
  • Opened 
    on Dec 28, 2024
  • #1338

spam
  • Jorgep77
  • Opened 
    on Dec 28, 2024
  • #1337

acorn is not throwing an error when parsing code containing array.at() when targeting versions before 2022. The example targets ES5. import * as acorn from acorn ; const acornOpts = { ecmaVersion: ...
  • christowiz
  • 2
  • Opened 
    on Dec 18, 2024
  • #1335

async () = class { x = await 1 }; The above should fail to parse but does not, I think the title is a correct diagnosis. @babel/parser, Node s REPL and Deno s REPL all fail to parse as expected.
  • CanadaHonk
  • 1
  • Opened 
    on Dec 14, 2024
  • #1334

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used patch-package to patch acorn@8.14.0 for the project I m working on. The original code used assignment to override the constructor ...
  • turadg
  • 3
  • Opened 
    on Dec 5, 2024
  • #1333

According to this: https://github.com/tc39/ecma262/pull/3057#issuecomment-2489170107 we are, or very soon will be, at stage 4 with dynamic import attributes. Dynamic import attributes are still in pending ...
  • 029A-h
  • 3
  • Opened 
    on Dec 5, 2024
  • #1332

export { // a AAA } from ./src/log.ts when write export like this and use acorn-loose AAA was not parsed as export specifier
  • lesliebeijing
  • 1
  • Opened 
    on Nov 16, 2024
  • #1331
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub