ajv-validator / ajv-validator/ajv

Error: Keyword 0 is not a valid identifier

オープン
#1,615 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
missing info
主要言語
TypeScript
スター
14.8k
フォーク
1k
PR マージ指標
30日以内にマージされた PR はありません

説明

ajv version with bug: 6.12.6
works without this bug on version: 6.10.2

When I pass keywords as `["typeof"]`, it fails with `Error: Keyword 0 is not a valid identifier`

this is the change that causes the issue:
https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6#diff-b6fa9229efcb357261c6326aec2d14f9022d4b466e145a8517a307adfbc0ebf2R72

github seems to not lead to the line with the link above, so the line is there: `lib/ajv.js:72`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。