GithubHelp home page GithubHelp logo

ecma6 not supported about js-map-parser HOT 6 OPEN

megaboich avatar megaboich commented on August 22, 2024
ecma6 not supported

from js-map-parser.

Comments (6)

megaboich avatar megaboich commented on August 22, 2024

Yes, I admit. Currently extension is using https://github.com/sebastienros/jint which is EcmaScript5.1 compatible. There is a promising project https://github.com/sebastienros/esprima-dotnet which supports ES2016. But still some efforts are required to switch.

from js-map-parser.

nattlip avatar nattlip commented on August 22, 2024

from js-map-parser.

msamaann avatar msamaann commented on August 22, 2024

would be really nice if this plugin supported ecma6

from js-map-parser.

robert777robert777 avatar robert777robert777 commented on August 22, 2024

JINT 3.X (beta) DOES support ES6 and even some features up to ECMAScript 2020.
Any chance to build with JINT 3.X? According to jint docs it's supposed to be compatible

from js-map-parser.

chcg avatar chcg commented on August 22, 2024

This plugin uses https://github.com/sebastienros/jint/tree/release/2.x/Jint/Parser at https://github.com/megaboich/js-map-parser/tree/master/source/Jint.Parser. Jint 3.X has no longer a own parser, but uses https://github.com/sebastienros/esprima-dotnet/tree/main/src/Esprima, see e.g. https://github.com/sebastienros/jint/blob/main/Jint.Tests/Parser/JavascriptParserTests.cs.
I'm afraid that might be no dropin replacement but needs some major adaptions.

from js-map-parser.

mlisowsk avatar mlisowsk commented on August 22, 2024

Well at least you can put comments around problematic code like import statements:
// jsparser:off
import * from "abc"
// jsparser:on
and the JS Map Parser will cooperate again

from js-map-parser.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.