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: upgrade dependencies #1501

Merged
merged 5 commits into from
Dec 26, 2024
Merged

chore: upgrade dependencies #1501

merged 5 commits into from
Dec 26, 2024

Conversation

danielroe
Copy link
Owner

No description provided.

@danielroe danielroe self-assigned this Dec 26, 2024
Copy link

coderabbitai bot commented Dec 26, 2024

Warning

There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.

🔧 eslint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

test/unit/bundle.spec.ts

Oops! Something went wrong! :(

ESLint: 9.17.0

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/.nuxt/eslint.config.mjs' imported from /eslint.config.mjs
at finalizeResolution (node:internal/modules/esm/resolve:257:11)
at moduleResolve (node:internal/modules/esm/resolve:914:10)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

Walkthrough

The pull request updates the expected inline snapshots for bundle sizes in the unit test specification. The client bundle size expectation has increased from 270k to 271k, and the server bundle size expectation has changed from 443k to 444k. Additionally, the total bytes of modules in the server bundle have been adjusted from 8325k to 8669k, reflecting an increase of 344 kilobytes. New entries have also been added to the expected packages list, indicating changes in the dependencies being tracked.

Changes

File Change Summary
test/unit/bundle.spec.ts Updated inline snapshots for bundle size expectations:
- Client bundle size: 270k → 271k (+1k)
- Server bundle size: 443k → 444k (+1k)
- Total server bundle module bytes: 8325k → 8669k (+344k)
- Added new entries to the expected packages list, including "@jridgewell/sourcemap-codec" and several "@unocss/*" packages.

No sequence diagram is generated as the changes are purely related to test snapshot updates and do not involve any significant workflow or interaction modifications.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eaed3e3 and b1965b4.

⛔ Files ignored due to path filters (2)
  • package.json is excluded by !package.json, !**/package.json
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
📒 Files selected for processing (1)
  • test/unit/bundle.spec.ts (6 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/unit/bundle.spec.ts

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

socket-security bot commented Dec 26, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@atproto/[email protected] network +5 6.16 MB devinivy
npm/@aws-sdk/[email protected] Transitive: filesystem +92 6.81 MB amzn-oss, aws-sdk-bot, kuhe, ...2 more
npm/@aws-sdk/[email protected] None +33 1.01 MB amzn-oss, aws-sdk-bot, kuhe, ...2 more
npm/@commitlint/[email protected] Transitive: environment, eval, filesystem, shell, unsafe +25 3.82 MB escapedcat
npm/@iconify-json/[email protected] None +1 1.07 MB cyberalien
npm/@iconify-json/[email protected] None +1 89.4 kB cyberalien
npm/@iconify-json/[email protected] None +1 1.99 MB cyberalien
npm/@nuxt/[email protected] environment, network Transitive: filesystem +33 10.8 MB antfu
npm/@nuxt/[email protected] Transitive: environment, unsafe +10 3.38 MB danielroe
npm/@nuxt/[email protected] Transitive: environment +7 1.69 MB danielroe
npm/@nuxtjs/[email protected] Transitive: environment, network +8 1.66 MB johannschopplich
npm/@nuxtjs/[email protected] Transitive: environment, eval, network +22 12.7 MB danielroe
npm/@playwright/[email protected] None 0 25.4 kB yurys
npm/@sanity/[email protected] Transitive: environment, filesystem, unsafe +110 14 MB sanity-io
npm/@sanity/[email protected] Transitive: environment +29 14.2 MB armandocerna, ash, atombender, ...62 more
npm/@types/[email protected] None +2 1.69 MB types
npm/@unhead/[email protected] environment +2 202 kB harlan_zw
npm/@unocss/[email protected] Transitive: environment, filesystem +37 5.55 MB antfu
npm/@unocss/[email protected] Transitive: unsafe +4 1.5 MB antfu
npm/@unocss/[email protected] None 0 49.7 kB antfu, unocss-bot

🚮 Removed packages: npm/@atproto/[email protected], npm/@aws-sdk/[email protected], npm/@aws-sdk/[email protected], npm/@commitlint/[email protected], npm/@iconify-json/[email protected], npm/@iconify-json/[email protected], npm/@iconify-json/[email protected], npm/@nuxt/[email protected], npm/@nuxt/[email protected], npm/@nuxt/[email protected], npm/@nuxtjs/[email protected], npm/@nuxtjs/[email protected], npm/@playwright/[email protected], npm/@sanity/[email protected], npm/@sanity/[email protected], npm/@types/[email protected], npm/@unhead/[email protected], npm/@unocss/[email protected], npm/@unocss/[email protected], npm/@unocss/[email protected]

View full report↗︎

Copy link

netlify bot commented Dec 26, 2024

Deploy Preview for roe-cms ready!

Name Link
🔨 Latest commit b1965b4
🔍 Latest deploy log https://app.netlify.com/sites/roe-cms/deploys/676de59110a8ea00085aee74
😎 Deploy Preview https://deploy-preview-1501--roe-cms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

cloudflare-workers-and-pages bot commented Dec 26, 2024

Deploying danielroe with  Cloudflare Pages  Cloudflare Pages

Latest commit: b1965b4
Status: ✅  Deploy successful!
Preview URL: https://c0b0e2f5.danielroe.pages.dev
Branch Preview URL: https://chore-deps.danielroe.pages.dev

View logs

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
test/unit/bundle.spec.ts (1)

87-87: Acknowledgement of total modules size increase.

The total server bundle modules have expanded from "8325k" to "8344k". This change can be expected when dependencies grow. However, consider revisiting infrequently used dependencies if size constraints are critical.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9e470c6 and eaed3e3.

⛔ Files ignored due to path filters (3)
  • cms/package.json is excluded by !**/package.json
  • package.json is excluded by !package.json, !**/package.json
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
📒 Files selected for processing (1)
  • test/unit/bundle.spec.ts (2 hunks)
🔇 Additional comments (2)
test/unit/bundle.spec.ts (2)

39-39: Acknowledgement of updated client bundle size.

The new inline snapshot of "271k" indicates that the client bundle size has increased slightly. This is presumably an expected change reflecting updated dependencies or additional features.


82-82: Acknowledgement of updated server bundle size.

The updated "444k" snapshot suggests the server bundle has grown by 1k. Please verify that this increase is within acceptable limits for your performance constraints.

@danielroe danielroe merged commit 4eec957 into main Dec 26, 2024
12 checks passed
@danielroe danielroe deleted the chore/deps branch December 26, 2024 23:30
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.

1 participant