Visitar URL original
Can't parse ES2020 · Issue #21 · unassert-js/unassert · GitHub
Skip to content

Can't parse ES2020 #21

Description

@falsandtru

Could you support ES2021?

Message:
    Unknown node type ChainExpression.
Details:
    domainEmitter: [object Object]
    domainThrown: false

Stack:
Error: Unknown node type ChainExpression.
    at Controller.replace (...\node_modules\estraverse\estraverse.js:608:27)
    at Object.replace (...\node_modules\estraverse\estraverse.js:651:27)
    at unassert (...\node_modules\unassert\index.js:120:23)
    at applyUnassertWithoutSourceMap (...\node_modules\gulp-unassert\index.js:74:29)
    at transform (...\node_modules\gulp-unassert\index.js:81:33)
    at DestroyableTransform._transform (...\node_modules\gulp-unassert\index.js:92:9)
    at DestroyableTransform.Transform._read (...\node_modules\readable-stream\lib\_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (...\node_modules\readable-stream\lib\_stream_transform.js:172:83)
    at doWrite (...\node_modules\readable-stream\lib\_stream_writable.js:428:64)
    at writeOrBuffer (...\node_modules\readable-stream\lib\_stream_writable.js:417:5)

Activity

  1. twada commented on Oct 3, 2021

    @twada
    Member

    Okay I'll work on it. This will take a while.

  2. twada commented on Oct 8, 2021

    @twada
    Member

    I'll working on this and it may contain some little breaking changes, but most of users does not get affected.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions