-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
chore(types): remove querystring from dependencies #6957
Conversation
✅ [V2] 🔨 Explore the source changes: e71d77f 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/62397ebc862b900008cd13df 😎 Browse the preview: https://deploy-preview-6957--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-6957--docusaurus-2.netlify.app/ |
Size Change: 0 B Total Size: 805 kB ℹ️ View Unchanged
|
✅ [V2] 🔨 Explore the source changes: 613718d 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/6239803e440ab000080b3143 😎 Browse the preview: https://deploy-preview-6957--docusaurus-2.netlify.app |
@Josh-Cena for some weird reasons the CI does not complain but there's still one querystring usage in core code: routes.ts: import {stringify} from 'querystring';
function getModulePath(target: Module): string {
if (typeof target === 'string') {
return target;
}
const queryStr = target.query ? `?${stringify(target.query)}` : '';
return `${target.path}${queryStr}`;
} Should be easy to replace, let me know if you want to follow-up |
That one is using the built-in |
oh I see, didn't even know there was a built-in node module 😅 |
Motivation
Inspired by #6695
Have you read the Contributing Guidelines on pull requests?
Yes