You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// this is kinda awkward, but that's the only way to make it work as of now in pure ESM w/o post-processingimport{fullFormats}from"ajv-formats/dist/formats"const{ int32 }=fullFormats
Are you going to resolve the issue?
I've tried to look into it, but it seems to be coupled with many ajv packages, so please let me know your proposal.
I believe the resolution should be done in multiple steps:
the import should be used instead of require (this issue)
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.11.0
(currently latest)Ajv options object
JSON Schema
Output
What results did you expect?
Are you going to resolve the issue?
I've tried to look into it, but it seems to be coupled with many ajv packages, so please let me know your proposal.
I believe the resolution should be done in multiple steps:
import
should be used instead ofrequire
(this issue)ajv-formats
should export every function separately, not scoped withinfullFormats
,fastFormats
, etc. (Export formats separately, without scoping #65)The text was updated successfully, but these errors were encountered: