Comments (10)
Interesting tool @apottere, it does indeed look all green.
This is compared with what we currently have
I'll just check it out a bit more, but looking good 👍
from ajv.
any updates on this?
from ajv.
Looks good in https://arethetypeswrong.github.io/?p=%40benasher44%2Fajv%408.12.1 and seems to resolve the issue in my reproduction 👍
from ajv.
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.
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.
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.
I see, I will take a look, thanks.
from ajv.
This should be fixed by #2365. Can you try @benasher44/ajv
? I published that PR there
from ajv.
When can we expect the fix to be in? Thanks
from ajv.
Related Issues (20)
- Error: strict mode: unknown keyword: "errorMessage" HOT 3
- Disable reportTypeError to enable users to implement their own coercion rule
- default value not applied when using $ref HOT 1
- / gets converted to ~1 in errors HOT 1
- anyOf is failing, although data is valid HOT 3
- validate.errors format HOT 1
- `oneOf` with coercion produces the wrong coerced value HOT 2
- Change Linter HOT 2
- Why regex pattern not works ? HOT 1
- Runtime discriminator to be able to support useDefaults within anyOf/oneOf HOT 1
- Unexpected behavior with removeAdditional and minProperties HOT 2
- Contains object property with unknown key matching a schema HOT 1
- Distinction between addVocabulary and addKeyword in the docs
- Documentation dead links HOT 1
- Toss a Warning instead of throwing an error when adding a keyword HOT 6
- Ref within def does not act consistently
- JSONSchemaType $ref doesn't work in array type. HOT 5
- oneOf returns unwanted errors HOT 1
- Description key set as boolean returns error that it must be string HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ajv.