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

[BUG]: your dependency on @YousefED/typescript-json-schema depends on old/buggy packages #2622

Open
robogeek opened this issue Jun 27, 2024 · 0 comments
Labels

Comments

@robogeek
Copy link

Issue Type

This is about packages pulled in by using Quicktype

Context (Environment, Version, Language)

This is about output from npm install

CLI, npm, or app.quicktype.io: npm install
Version: 23.0.170

Description

When running npm install I get this output

$ npm install
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported

The warnings are due to a dependency on @mark.probst/[email protected]:

$ npm ls glob
[email protected] /home/david/Projects/Evoke-mac/esx-core/server
├─┬ [email protected]
│ └─┬ @anttiviljami/[email protected]
│   └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ @mark.probst/[email protected]
│     └── [email protected]
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected] deduped

$ npm ls inflight
[email protected] /home/david/Projects/Evoke-mac/esx-core/server
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ @mark.probst/[email protected]
      └─┬ [email protected]
        └── [email protected]

Input Data

A dependency in npm package.json

    "quicktype": "^23.0.170",

Expected Behaviour / Output

There should be zero warnings or errors from npm

Current Behaviour / Output

See above

Steps to Reproduce

As noted above, create a project, depend on Quicktype, and run npm install

Possible Solution

Two issues exist against the offending package:

Failing any attention from the typescript-json-schema package maintainer, there is another package that might be of interest...? Maybe? I only know about that because of a link in the typescript-json-schema repository:

https://github.com/vega/ts-json-schema-generator

@robogeek robogeek added the bug label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant