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

chore(types): remove querystring from dependencies #6957

Merged
merged 2 commits into from
Mar 22, 2022
Merged

chore(types): remove querystring from dependencies #6957

merged 2 commits into from
Mar 22, 2022

Conversation

Josh-Cena
Copy link
Collaborator

Motivation

Inspired by #6695

Have you read the Contributing Guidelines on pull requests?

Yes

@Josh-Cena Josh-Cena added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Mar 22, 2022
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Mar 22, 2022
@netlify
Copy link

netlify bot commented Mar 22, 2022

✅ [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

@github-actions
Copy link

github-actions bot commented Mar 22, 2022

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 60
🟢 Accessibility 100
🟢 Best practices 92
🟢 SEO 100
🟢 PWA 90

Lighthouse ran on https://deploy-preview-6957--docusaurus-2.netlify.app/

@github-actions
Copy link

github-actions bot commented Mar 22, 2022

Size Change: 0 B

Total Size: 805 kB

ℹ️ View Unchanged
Filename Size
website/.docusaurus/globalData.json 49.9 kB
website/build/assets/css/styles.********.css 105 kB
website/build/assets/js/main.********.js 612 kB
website/build/index.html 38.8 kB

compressed-size-action

@netlify
Copy link

netlify bot commented Mar 22, 2022

✅ [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 Josh-Cena merged commit 44107fb into main Mar 22, 2022
@Josh-Cena Josh-Cena deleted the jc/fix branch March 22, 2022 08:00
@slorber
Copy link
Collaborator

slorber commented Mar 23, 2022

@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

@Josh-Cena
Copy link
Collaborator Author

That one is using the built-in querystring node module. You can run yarn why querystring to see which ones are pulling in the deprecated NPM module: currently it's only the SSG webpack plugin.

@slorber
Copy link
Collaborator

slorber commented Mar 23, 2022

oh I see, didn't even know there was a built-in node module 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants