Skip to content

DOCS-3131: Upgrade crawlee and remove unused dependencies - #3153

Merged
ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:dependabot-4-crawlee
Oct 22, 2026
Merged

ctauchen merged 1 commit into
tigera:mainfrom
ctauchen:dependabot-4-crawlee

Conversation

@ctauchen

@ctauchen ctauchen commented Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Upgrades crawlee for the link checker to 3.18, and removes three dependencies that nothing imports: @crawlee/utils, @apify/datastructures and jest-junit. This closes 4 Dependabot alerts (stream-json, uuid).

https://tigera.atlassian.net/browse/DOCS-3131

Preview: https://deploy-preview-3153--tigera.netlify.app/

  • Part 4 of 5, stacked on DOCS-3131: Raise dompurify and js-yaml pins and remove unused mermaid theme #3152. Merge in order.
  • jest-junit had no reporter configured, and no workflow reads its output.
  • sockjs/uuid overrides the uuid copy in sockjs. webpack-dev-server uses ws, so sockjs is not loaded. I checked that sockjs still loads with uuid 11.
  • crawlee 3.18 exports everything crawler.test.js imports.
  • To rebuild the lockfile after a rebase: yarn install.

@ctauchen
ctauchen requested a review from a team as a code owner October 22, 2026 10:21
Copilot AI lite review requested due to automatic review settings October 22, 2026 10:21
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0ecacea
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6ad9faee39eb203211c95f18
😎 Deploy Preview https://deploy-preview-3153--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 67 (🔴 down 28 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit 0ecacea
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6ad9faee97b37709e53b9f7d
😎 Deploy Preview https://deploy-preview-3153--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Regenerate yarn.lock so all declared dependency descriptors remain represented for immutable installs.

No open issues 🎉

What changed in this PR

This pull request upgrades Crawlee for the documentation link checker, removes unused dependencies and Mermaid configuration, and refreshes dependency resolutions.

Changes:

  • Upgrades Crawlee to 3.18.2 and refreshes its dependency tree.
  • Removes unused @apify/datastructures, @crawlee/utils, and jest-junit.
  • Removes unused Mermaid configuration from the Docusaurus setup.
  • Updates dependency resolutions for security fixes.
File Summary
yarn.lock Records the dependency upgrade and cleanup, but must retain the sockjs → uuid@^8.3.2 and patch-package → tmp@^0.0.33 descriptors while applying their overridden resolutions.
package.json Updates Crawlee, removes unused dependencies, and adjusts package resolutions.
docusaurus.config.js Removes unused Mermaid Markdown and theme configuration.

Review effort: Lite

@ctauchen
ctauchen force-pushed the dependabot-4-crawlee branch from 91ca588 to 0ecacea Compare October 22, 2026 12:00
@ctauchen
ctauchen merged commit deaea0e into tigera:main Oct 22, 2026
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants