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

Deprecated dependencies #583

Closed
mark-wiemer opened this issue Dec 26, 2024 · 3 comments
Closed

Deprecated dependencies #583

mark-wiemer opened this issue Dec 26, 2024 · 3 comments
Assignees

Comments

@mark-wiemer
Copy link
Owner

  1. Clone repo
  2. Run npm i

Expected: No npm warnings

Actual:

$ npm i
2024-12-26 04:44:30
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported

> vscode-autohotkey-plus-plus@6.4.2 prepare
> git submodule update --init --recursive && cd ahk2 && npm install

Submodule 'ahk2' (https://github.com/mark-wiemer-org/vscode-autohotkey2-lsp) registered for path 'ahk2'
Cloning into 'C:/Users/markw/myStuff/ahkpp/ahk2'...
Submodule path 'ahk2': checked out '5be918325917ddc9a3500778c30a55ca5dd4086d'
npm warn deprecated inflight@1.0.6: 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

added 482 packages in 26s

128 packages are looking for funding
  run `npm fund` for details

added 461 packages, and audited 462 packages in 2m

107 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.0.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
npm notice To update run: npm install -g npm@11.0.0
npm notice
2024-12-26 04:46:07
@mark-wiemer mark-wiemer self-assigned this Dec 26, 2024
@mark-wiemer
Copy link
Owner Author

$ npm why glob@8
2025-01-11 07:25:19
glob@8.1.0 dev
node_modules/mocha/node_modules/glob
  glob@"^8.1.0" from mocha@10.7.3
  node_modules/mocha
    dev mocha@"^10.0.0" from the root project
    mocha@"^10.2.0" from @vscode/test-cli@0.0.10
    node_modules/@vscode/test-cli
      dev @vscode/test-cli@"^0.0.10" from the root project

Ugh, do I have to fork another repo to get this fixed? Ref https://github.com/microsoft/vscode-test-cli, doesn't seem to get many updates

@mark-wiemer
Copy link
Owner Author

Remaining issues:

  1. sort-package-json
  2. @vscode/test-cli
  3. vscode-grammar-test
~/myStuff/ahk/ahkpp (mark-wiemer/583-dependencies)
$ npm why glob@7
2025-01-11 08:01:33
glob@7.2.3 dev
node_modules/glob
  glob@"^7.1.3" from globby@10.0.0
  node_modules/sort-package-json/node_modules/globby
    globby@"10.0.0" from sort-package-json@1.57.0
    node_modules/sort-package-json
      dev sort-package-json@"^1.57.0" from the root project
  glob@"^7.1.4" from test-exclude@6.0.0
  node_modules/test-exclude
    test-exclude@"^6.0.0" from c8@9.1.0
    node_modules/c8
      c8@"^9.1.0" from @vscode/test-cli@0.0.10
      node_modules/@vscode/test-cli
        dev @vscode/test-cli@"^0.0.10" from the root project
  glob@"^7.1.6" from vscode-tmgrammar-test@0.1.3
  node_modules/vscode-tmgrammar-test
    dev vscode-tmgrammar-test@"^0.1.1" from the root project
[last: 0s]
~/myStuff/ahk/ahkpp (mark-wiemer/583-dependencies)
$ npm why inflight
2025-01-11 08:01:46
inflight@1.0.6 dev
node_modules/inflight
  inflight@"^1.0.4" from glob@7.2.3
  node_modules/glob
    glob@"^7.1.3" from globby@10.0.0
    node_modules/sort-package-json/node_modules/globby
      globby@"10.0.0" from sort-package-json@1.57.0
      node_modules/sort-package-json
        dev sort-package-json@"^1.57.0" from the root project
    glob@"^7.1.4" from test-exclude@6.0.0
    node_modules/test-exclude
      test-exclude@"^6.0.0" from c8@9.1.0
      node_modules/c8
        c8@"^9.1.0" from @vscode/test-cli@0.0.10
        node_modules/@vscode/test-cli
          dev @vscode/test-cli@"^0.0.10" from the root project
    glob@"^7.1.6" from vscode-tmgrammar-test@0.1.3
    node_modules/vscode-tmgrammar-test
      dev vscode-tmgrammar-test@"^0.1.1" from the root project
[last: 1s]

@mark-wiemer
Copy link
Owner Author

None of those packages are actually used in the production build, so I'm closing this one, will continue updating dependencies separately :)

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

No branches or pull requests

1 participant