IBM/openapi-validator

Validator dependency not declared

Closed this issue ยท 3 comments

When running lint-openai with yarn pnp, you get the following error

Error: @ibm-cloud/openapi-ruleset tried to access validator, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Looks like openapi-ruleset/src/functions/security-scheme-attributes.js imports validator, but the validator package isn't declared as a dependency of the ruleset package.

Great catch! Will be resolved in #529

๐ŸŽ‰ This issue has been resolved in version 0.45.2 ๐ŸŽ‰

The release is available on npm package (@latest dist-tag)

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 0.97.2 ๐ŸŽ‰

The release is available on npm package (@latest dist-tag)

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€