dev-AshishRanjan / Idea-Arca

Idea Arca (Latin: "Idea Vault") is a Project Idea Bank. Unleash your tech creativity. Discover, collaborate, and bring to life innovative project ideas in various tech fields through this inspirational repository.
https://idea-arca.vercel.app
MIT License
6 stars 8 forks source link

chore(deps)[npm]: bump astro from 2.10.15 to 4.7.1 #80

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps astro from 2.10.15 to 4.7.1.

Release notes

Sourced from astro's releases.

astro@4.7.1

Patch Changes

astro@4.7.0

Minor Changes

  • #10665 7b4f284 Thanks @​Princesseuh! - Adds new utilities to ease the creation of toolbar apps including defineToolbarApp to make it easier to define your toolbar app and app and server helpers for easier communication between the toolbar and the server. These new utilities abstract away some of the boilerplate code that is common in toolbar apps, and lower the barrier of entry for app authors.

    For example, instead of creating an event listener for the app-toggled event and manually typing the value in the callback, you can now use the onAppToggled method. Additionally, communicating with the server does not require knowing any of the Vite APIs anymore, as a new server object is passed to the init function that contains easy to use methods for communicating with the server.

    import { defineToolbarApp } from "astro/toolbar";
    

    export default defineToolbarApp({ init(canvas, app, server) {

    • app.addEventListener("app-toggled", (e) => {
    •  console.log(`App is now ${state ? "enabled" : "disabled"}`);.
      
    • });
    • app.onToggled(({ state }) => {
    •    console.log(`App is now ${state ? "enabled" : "disabled"}`);
      
    • });
    • if (import.meta.hot) {
    •  import.meta.hot.send("my-app:my-client-event", { message: "world" });
      
    • }
    • server.send("my-app:my-client-event", { message: "world" })
    • if (import.meta.hot) {
    •  import.meta.hot.on("my-server-event", (data: {message: string}) => {
      
    •    console.log(data.message);
      
    •  });
      
    • }
    • server.on<{ message: string }>("my-server-event", (data) => {
    •  console.log(data.message); // data is typed using the type parameter
      
    • }); }, })

... (truncated)

Changelog

Sourced from astro's changelog.

4.7.1

Patch Changes

4.7.0

Minor Changes

  • #10665 7b4f284 Thanks @​Princesseuh! - Adds new utilities to ease the creation of toolbar apps including defineToolbarApp to make it easier to define your toolbar app and app and server helpers for easier communication between the toolbar and the server. These new utilities abstract away some of the boilerplate code that is common in toolbar apps, and lower the barrier of entry for app authors.

    For example, instead of creating an event listener for the app-toggled event and manually typing the value in the callback, you can now use the onAppToggled method. Additionally, communicating with the server does not require knowing any of the Vite APIs anymore, as a new server object is passed to the init function that contains easy to use methods for communicating with the server.

    import { defineToolbarApp } from "astro/toolbar";
    

    export default defineToolbarApp({ init(canvas, app, server) {

    • app.addEventListener("app-toggled", (e) => {
    •  console.log(`App is now ${state ? &quot;enabled&quot; : &quot;disabled&quot;}`);.
      
    • });
    • app.onToggled(({ state }) => {
    •    console.log(`App is now ${state ? &quot;enabled&quot; : &quot;disabled&quot;}`);
      
    • });
    • if (import.meta.hot) {
    •  import.meta.hot.send(&quot;my-app:my-client-event&quot;, { message: &quot;world&quot; });
      
    • }
    • server.send("my-app:my-client-event", { message: "world" })
    • if (import.meta.hot) {
    •  import.meta.hot.on(&quot;my-server-event&quot;, (data: {message: string}) =&gt; {
      
    •    console.log(data.message);
      
    •  });
      
    • }
    • server.on<{ message: string }>("my-server-event", (data) => {
    •  console.log(data.message); // data is typed using the type parameter
      
    • }); },

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
git-greetings[bot] commented 2 months ago

Thanks @dependabot[bot] for opening this PR!

For COLLABORATOR only :

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
idea-arca-dz4p ❌ Failed (Inspect) May 6, 2024 7:55pm
git-greetings[bot] commented 2 months ago
PR Details of @dependabot[bot] in Idea-Arca : OPEN CLOSED TOTAL
6 24 30
vizipi[bot] commented 2 months ago

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code. This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

No other active qualified developers found to review these specific changes. You might consider involving more team members with these code segments.


Potential missing files from this Pull request

No commonly committed files found with a 40% threashold


Committed file ranks

  • 97.73%[package-lock.json]
  • 95.45%[package.json]
  • dependabot[bot] commented 2 months ago

    Superseded by #82.