Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Httpsnippet uses ajv but doesn't actually depend on it #360

Closed
pimterry opened this issue Jun 26, 2024 · 0 comments · Fixed by #371
Closed

Httpsnippet uses ajv but doesn't actually depend on it #360

pimterry opened this issue Jun 26, 2024 · 0 comments · Fixed by #371

Comments

@pimterry
Copy link
Contributor

In an empty directory:

$ npm install httpsnippet
$ node
> require('httpsnippet')
Uncaught Error: Cannot find module 'ajv'

Used here:

import Ajv, { ErrorObject } from 'ajv';

Ajv is a dev dependency in this repo (via eslint) but not an actual dependency of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant