Git Product home page Git Product logo

Comments (6)

antonmedv avatar antonmedv commented on May 7, 2024 1

Done.

from zx.

antonmedv avatar antonmedv commented on May 7, 2024

Maybe it’s better to add check in package.json?

from zx.

tobilg avatar tobilg commented on May 7, 2024

I thought about that as well, but wasn't sure if that would really help as you can use an IIF as workaround for older versions, and the engine property in the package.json is only advisorial unless engine-strict is used (see https://docs.npmjs.com/cli/v7/configuring-npm/package-json#engines).

So I chose to only add some info to the README. What do you think?

from zx.

tobilg avatar tobilg commented on May 7, 2024

@antonmedv I currently don't see a hint in the README.md, and in the package.json there's only a reference to the "wrong" Node version with top-level await support (see https://github.com/google/zx/blob/main/package.json#L11)

from zx.

antonmedv avatar antonmedv commented on May 7, 2024

What version is minimal supposed?

from zx.

tobilg avatar tobilg commented on May 7, 2024

It's v14.8.0 according to https://dev.to/mikeesto/top-level-await-in-node-2jad

Please also see my PR https://github.com/google/zx/pull/9/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R35

from zx.

Related Issues (20)

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.