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 [email protected]: Glob versions prior to v9 are no longer supported

> [email protected] 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 [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
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: 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 [email protected]
npm notice
2024-12-26 04:46:07
@mark-wiemer mark-wiemer self-assigned this Dec 26, 2024
@mark-wiemer mark-wiemer moved this to Todo in (old) AHK++ Jan 4, 2025
@mark-wiemer
Copy link
Owner Author

$ npm why glob@8
2025-01-11 07:25:19
[email protected] dev
node_modules/mocha/node_modules/glob
  glob@"^8.1.0" from [email protected]
  node_modules/mocha
    dev mocha@"^10.0.0" from the root project
    mocha@"^10.2.0" from @vscode/[email protected]
    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
[email protected] dev
node_modules/glob
  glob@"^7.1.3" from [email protected]
  node_modules/sort-package-json/node_modules/globby
    globby@"10.0.0" from [email protected]
    node_modules/sort-package-json
      dev sort-package-json@"^1.57.0" from the root project
  glob@"^7.1.4" from [email protected]
  node_modules/test-exclude
    test-exclude@"^6.0.0" from [email protected]
    node_modules/c8
      c8@"^9.1.0" from @vscode/[email protected]
      node_modules/@vscode/test-cli
        dev @vscode/test-cli@"^0.0.10" from the root project
  glob@"^7.1.6" from [email protected]
  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
[email protected] dev
node_modules/inflight
  inflight@"^1.0.4" from [email protected]
  node_modules/glob
    glob@"^7.1.3" from [email protected]
    node_modules/sort-package-json/node_modules/globby
      globby@"10.0.0" from [email protected]
      node_modules/sort-package-json
        dev sort-package-json@"^1.57.0" from the root project
    glob@"^7.1.4" from [email protected]
    node_modules/test-exclude
      test-exclude@"^6.0.0" from [email protected]
      node_modules/c8
        c8@"^9.1.0" from @vscode/[email protected]
        node_modules/@vscode/test-cli
          dev @vscode/test-cli@"^0.0.10" from the root project
    glob@"^7.1.6" from [email protected]
    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