-
Notifications
You must be signed in to change notification settings - Fork 375
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
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported #7029
Open
Labels
dependencies
Pull requests that update a dependency file
Comments
serhalp
added a commit
to netlify/build
that referenced
this issue
Feb 18, 2025
Installing netlify-cli prints a deprecation warning: netlify/cli#7029. I was going to upgrade `glob`, but then I remembered it's a fairly large library, so why not use this as an opportunity to replace it? See https://github.com/es-tooling/module-replacements/blob/main/docs/modules/glob.md. Compare the APIs: - https://github.com/isaacs/node-glob#readme - https://github.com/SuperchupuDev/tinyglobby?tab=readme-ov-file#api The only differences are option names, which I've updated. Our uses either hardcode patterns or enforce precisely documented user patterns, so we won't hit any of the limitations of tinyglobby.
serhalp
added a commit
to netlify/build
that referenced
this issue
Feb 18, 2025
Installing netlify-cli prints a deprecation warning: netlify/cli#7029. I was going to upgrade `glob`, but then I remembered it's a fairly large library, so why not use this as an opportunity to replace it? See https://github.com/es-tooling/module-replacements/blob/main/docs/modules/glob.md. Compare the APIs: - https://github.com/isaacs/node-glob#readme - https://github.com/SuperchupuDev/tinyglobby?tab=readme-ov-file#api The only differences are option names, which I've updated. Our uses either hardcode patterns or enforce precisely documented user patterns, so we won't hit any of the limitations of tinyglobby.
Thanks @pythoncarpenter. Until recently, this printed three deprecation warnings! We were actually just about to look into this last one. I think I've got it with netlify/build#6094. |
serhalp
added a commit
to netlify/build
that referenced
this issue
Feb 18, 2025
Installing netlify-cli prints a deprecation warning: netlify/cli#7029. I was going to upgrade `glob`, but then I remembered it's a fairly large library, so why not use this as an opportunity to replace it? See https://github.com/es-tooling/module-replacements/blob/main/docs/modules/glob.md. Compare the APIs: - https://github.com/isaacs/node-glob#readme - https://github.com/SuperchupuDev/tinyglobby?tab=readme-ov-file#api The only differences are option names, which I've updated. Our uses either hardcode patterns or enforce precisely documented user patterns, so we won't hit any of the limitations of tinyglobby.
Thanks so much 🙋♂️ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NPM Warns About Deprecated Pre-V9 Glob
For some time now, installing the Netlify CLI has produced this warning:
Given that Glob v9 has been out for a while, seeing this warning during installation might confuse or concern users. It's unclear whether there's a dependency chain within the Netlify CLI codebase that still relies on an older version of
glob
.Steps to Reproduce
npm install -g netlify-cli
ornpm install netlify-cli
in a project.Expected behavior
No deprecation warnings should appear if all dependencies support and use the latest maintained version of glob.
Environment Information (Optional)
Additional context
The text was updated successfully, but these errors were encountered: