Giter VIP home page Giter VIP logo

Comments (10)

jasoniangreen avatar jasoniangreen commented on May 25, 2024 4

Interesting tool @apottere, it does indeed look all green.

Screenshot 2024-02-28 at 21 01 07

This is compared with what we currently have
Screenshot 2024-02-28 at 21 03 33

I'll just check it out a bit more, but looking good 👍

from ajv.

yernandus avatar yernandus commented on May 25, 2024 1

any updates on this?

from ajv.

apottere avatar apottere commented on May 25, 2024 1

Looks good in https://arethetypeswrong.github.io/?p=%40benasher44%2Fajv%408.12.1 and seems to resolve the issue in my reproduction 👍

from ajv.

jasoniangreen avatar jasoniangreen commented on May 25, 2024

Hi there, thanks for raising this.

Do you think this can be replicated in https://runkit.com/ ? Or would it need to be in a project.

I am wondering though, given Node 16 had it's EOL brought forward by 7 months due to potential vulnerabilities, should we actually by dropping support for node 16?

from ajv.

apottere avatar apottere commented on May 25, 2024

I haven't used runkit before but I'll take a look.

The node16 module resolution name is confusing. It isn't the module resolution for node 16, it's the module resolution compatible with the changes introduced in node 16. Per the docs:

'node16' or 'nodenext' for modern versions of Node.js. Node.js v12 and later supports both ECMAScript imports and CommonJS require, which resolve using different algorithms. These moduleResolution values, when combined with the corresponding module values, picks the right algorithm for each resolution based on whether Node.js will see an import or require in the output JavaScript code.

As of now, node16 is the most up-to-date value for moduleResolution (not including bundler of course).

from ajv.

apottere avatar apottere commented on May 25, 2024

It looks like there's no way to fiddle with builds in runkit, so I create a minimal reproduction here: https://github.com/apottere/ajv-typescript-node16

from ajv.

jasoniangreen avatar jasoniangreen commented on May 25, 2024

I see, I will take a look, thanks.

from ajv.

benasher44 avatar benasher44 commented on May 25, 2024

This should be fixed by #2365. Can you try @benasher44/ajv? I published that PR there

from ajv.

jomaa-daniel avatar jomaa-daniel commented on May 25, 2024

When can we expect the fix to be in? Thanks

from ajv.

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.