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(deps): update all non-major dependencies #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@commitlint/cli (source) ^19.6.0 -> ^19.6.1 age adoption passing confidence devDependencies patch
@radix-ui/react-accordion (source) ^1.2.1 -> ^1.2.2 age adoption passing confidence dependencies patch
@radix-ui/react-alert-dialog (source) ^1.1.2 -> ^1.1.4 age adoption passing confidence dependencies patch
@radix-ui/react-avatar (source) ^1.1.1 -> ^1.1.2 age adoption passing confidence dependencies patch
@radix-ui/react-context-menu (source) ^2.2.2 -> ^2.2.4 age adoption passing confidence dependencies patch
@radix-ui/react-dialog (source) ^1.1.2 -> ^1.1.4 age adoption passing confidence dependencies patch
@radix-ui/react-dropdown-menu (source) ^2.1.2 -> ^2.1.4 age adoption passing confidence dependencies patch
@radix-ui/react-hover-card (source) ^1.1.2 -> ^1.1.4 age adoption passing confidence dependencies patch
@radix-ui/react-label (source) ^2.1.0 -> ^2.1.1 age adoption passing confidence dependencies patch
@radix-ui/react-navigation-menu (source) ^1.2.1 -> ^1.2.3 age adoption passing confidence dependencies patch
@radix-ui/react-popover (source) ^1.1.2 -> ^1.1.4 age adoption passing confidence dependencies patch
@radix-ui/react-scroll-area (source) ^1.2.1 -> ^1.2.2 age adoption passing confidence dependencies patch
@radix-ui/react-separator (source) ^1.1.0 -> ^1.1.1 age adoption passing confidence dependencies patch
@radix-ui/react-slot (source) ^1.1.0 -> ^1.1.1 age adoption passing confidence dependencies patch
@radix-ui/react-toast (source) ^1.2.2 -> ^1.2.4 age adoption passing confidence dependencies patch
@radix-ui/react-toggle (source) ^1.1.0 -> ^1.1.1 age adoption passing confidence dependencies patch
@radix-ui/react-toggle-group (source) ^1.1.0 -> ^1.1.1 age adoption passing confidence dependencies patch
@radix-ui/react-tooltip (source) ^1.1.4 -> ^1.1.6 age adoption passing confidence dependencies patch
@types/node (source) 22.10.1 -> 22.10.5 age adoption passing confidence devDependencies patch
@typescript-eslint/eslint-plugin (source) ^8.16.0 -> ^8.19.0 age adoption passing confidence devDependencies minor
@typescript-eslint/parser (source) ^8.16.0 -> ^8.19.0 age adoption passing confidence devDependencies minor
@​upstash/ratelimit ^2.0.4 -> ^2.0.5 age adoption passing confidence dependencies patch
drizzle-kit (source) ^0.28.1 -> ^0.30.1 age adoption passing confidence devDependencies minor
drizzle-orm (source) ^0.36.4 -> ^0.38.3 age adoption passing confidence dependencies minor
eslint (source) 9.16.0 -> 9.17.0 age adoption passing confidence devDependencies minor
eslint-config-next (source) 15.0.3 -> 15.1.3 age adoption passing confidence devDependencies minor
jiti ^2.4.1 -> ^2.4.2 age adoption passing confidence devDependencies patch
lint-staged ^15.2.10 -> ^15.3.0 age adoption passing confidence devDependencies minor
lucide-react (source) ^0.462.0 -> ^0.469.0 age adoption passing confidence dependencies minor
next (source) ^15.0.4-canary.33 -> ^15.1.3 age adoption passing confidence dependencies minor
next-themes ^0.4.3 -> ^0.4.4 age adoption passing confidence dependencies patch
node 22.11.0-alpine -> 22.12.0-alpine age adoption passing confidence final minor
node (source) >=22.11.0 -> >=22.12.0 age adoption passing confidence engines minor
prettier (source) ^3.4.1 -> ^3.4.2 age adoption passing confidence devDependencies patch
react (source) 19.0.0-rc-fb9a90fa48-20240614 -> 19.0.0 age adoption passing confidence dependencies patch
react-dom (source) 19.0.0-rc-fb9a90fa48-20240614 -> 19.0.0 age adoption passing confidence dependencies patch
react-hook-form (source) ^7.53.2 -> ^7.54.2 age adoption passing confidence dependencies minor
sonner (source) ^1.7.0 -> ^1.7.1 age adoption passing confidence dependencies patch
tailwind-merge ^2.5.5 -> ^2.6.0 age adoption passing confidence dependencies minor
tailwindcss (source) 3.4.15 -> 3.4.17 age adoption passing confidence devDependencies patch
uuid ^11.0.3 -> ^11.0.4 age adoption passing confidence dependencies patch
zod (source) ^3.23.8 -> ^3.24.1 age adoption passing confidence dependencies minor

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v19.6.1

Compare Source

Note: Version bump only for package @​commitlint/cli

radix-ui/primitives (@​radix-ui/react-accordion)

v1.2.2

Compare Source

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.19.0

Compare Source

🚀 Features
  • eslint-plugin: [strict-boolean-expressions] check array predicate functions' return statements (#​10106)
🩹 Fixes
  • eslint-plugin: [member-ordering] ignore method overloading (#​10536)
  • eslint-plugin: [consistent-indexed-object-style] don't report on indirect circular references (#​10537)
  • eslint-plugin: [array-type] autofix with conditional types needs parentheses (#​10522)
  • eslint-plugin: add getConstraintInfo to handle generic constraints better (#​10496)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.18.2

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-condition] handle noUncheckedIndexedAccess true (#​10514)
  • eslint-plugin: [consistent-type-assertions] allow default assertionStyle option (#​10512)
  • eslint-plugin: [no-unnecessary-type-arguments] handle type/value context (#​10503)
  • eslint-plugin: [no-unsafe-type-assertion] fix for unsafe assertion to a constrained type parameter (#​10461)
  • eslint-plugin: [consistent-indexed-object-style] use a suggestion over an auto-fix if can't reliably determine that produced index signature is valid (#​10490)
  • eslint-plugin: [no-unnecessary-condition] don't flag values of an unconstrained or valid type parameter (#​10473)
  • eslint-plugin: [prefer-reduce-type-parameter] don't report cases in which the fix results in a type error (#​10494)
  • eslint-plugin: [no-deprecated] not reporting usages of deprecated declared constants as object value (#​10498)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.18.1

Compare Source

🩹 Fixes
  • scope-manager: visit params decorator before nest scope (#​10475)
  • eslint-plugin: [no-unnecessary-condition] better message when comparing between literal types (#​10454)
  • eslint-plugin: use consistent naming for asserting types and casting values (#​10472)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] flag values of a type parameter with boolean type constraints (#​10474)
  • eslint-plugin: handle string like index type (#​10460)
  • eslint-plugin: [no-unnecessary-template-expression] don't report when an expression includes comment (#​10444)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.18.0

Compare Source

🚀 Features
  • eslint-plugin: [switch-exhaustiveness-check] add support for "no default" comment (#​10218)
  • eslint-plugin: [no-deprecated] report on super call of deprecated constructor (#​10397)
🩹 Fixes
  • eslint-plugin: [use-unknown-in-catch-callback-variable] only flag function literals (#​10436)
  • eslint-plugin: [no-base-to-string] handle more robustly when multiple toString() declarations are present for a type (#​10432)
  • eslint-plugin: [no-deprecated] check if a JSX attribute is deprecated (#​10374)
  • typescript peer dependency (#​10373)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.17.0

Compare Source

🚀 Features
  • eslint-plugin: [prefer-promise-reject-errors] options to allow any and unknown (#​10392)
🩹 Fixes
  • eslint-plugin: [promise-function-async] handle function overloading (#​10304)
  • eslint-plugin: remove references to "extendDefaults" in no-restricted-types (#​10401)
  • eslint-plugin: [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (#​10363)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v8.19.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.18.2

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.18.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

v8.18.0

Compare Source

🩹 Fixes
❤️ Thank You
  • rtritto

You can read about our versioning strategy and releases on our website.

v8.17.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

You can read about our versioning strategy and releases on our website.

drizzle-team/drizzle-orm (drizzle-kit)

v0.30.1

Compare Source

New Features

drizzle-kit export

To make drizzle-kit integration with other migration tools, like Atlas much easier, we've prepared a new command called export. It will translate your drizzle schema in SQL representation(DDL) statements and outputs to the console

// schema.ts
import { pgTable, serial, text } from 'drizzle-orm/pg-core'

export const users = pgTable('users', {
	id: serial('id').primaryKey(),
	email: text('email').notNull(),
	name: text('name')
});

Running

npx drizzle-kit export

will output this string to console

CREATE TABLE "users" (
        "id" serial PRIMARY KEY NOT NULL,
        "email" text NOT NULL,
        "name" text
);

By default, the only option for now is --sql, so the output format will be SQL DDL statements. In the future, we will support additional output formats to accommodate more migration tools

npx drizzle-kit export --sql

v0.30.0

Compare Source

Starting from this update, the PostgreSQL dialect will align with the behavior of all other dialects. It will no longer include IF NOT EXISTS, $DO, or similar statements, which could cause incorrect DDL statements to not fail when an object already exists in the database and should actually fail.

This change marks our first step toward several major upgrades we are preparing:

  • An updated and improved migration workflow featuring commutative migrations, a revised folder structure, and enhanced collaboration capabilities for migrations.
  • Better support for Xata migrations.
  • Compatibility with CockroachDB (achieving full compatibility will only require removing serial fields from the migration folder).

v0.29.1

Compare Source

Fixes
New Features/Helpers
🎉 Detailed JSDoc for all query builders in all dialects - thanks @​realmikesolo

You can now access more information, hints, documentation links, etc. while developing and using JSDoc right in your IDE. Previously, we had them only for filter expressions, but now you can see them for all parts of the Drizzle query builder

🎉 New helpers for aggregate functions in SQL - thanks @​L-Mario564

Remember, aggregation functions are often used with the GROUP BY clause of the SELECT statement. So if you are selecting using aggregating functions and other columns in one query,
be sure to use the .groupBy clause

Here is a list of functions and equivalent using sql template

count

await db.select({ value: count() }).from(users);
await db.select({ value: count(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`count('*'))`.mapWith(Number) 
}).from(users);
await db.select({ 
  value: sql`count(${users.id})`.mapWith(Number) 
}).from(users);

countDistinct

await db.select({ value: countDistinct(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`count(${users.id})`.mapWith(Number) 
}).from(users);

avg

await db.select({ value: avg(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`avg(${users.id})`.mapWith(String) 
}).from(users);

avgDistinct

await db.select({ value: avgDistinct(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`avg(distinct ${users.id})`.mapWith(String) 
}).from(users);

sum

await db.select({ value: sum(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`sum(${users.id})`.mapWith(String) 
}).from(users);

sumDistinct

await db.select({ value: sumDistinct(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`sum(distinct ${users.id})`.mapWith(String) 
}).from(users);

max

await db.select({ value: max(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`max(${expression})`.mapWith(users.id) 
}).from(users);

min

await db.select({ value: min(users.id) }).from(users);

// It's equivalent to writing
await db.select({ 
  value: sql`min(${users.id})`.mapWith(users.id) 
}).from(users);
New Packages
🎉 ESLint Drizzle Plugin

For cases where it's impossible to perform type checks for specific scenarios, or where it's possible but error messages would be challenging to understand, we've decided to create an ESLint package with recommended rules. This package aims to assist developers in handling crucial scenarios during development

Big thanks to @​Angelelz for initiating the development of this package and transferring it to the Drizzle Team's npm

Install
[ npm | yarn | pnpm | bun ] install eslint eslint-plugin-drizzle

You can install those packages for typescript support in your IDE

[ npm | yarn | pnpm | bun ] install @​typescript-eslint/eslint-plugin @​typescript-eslint/parser
Usage

Create a .eslintrc.yml file, add drizzle to the plugins, and specify the rules you want to use. You can find a list of all existing rules below

root: true
parser: '@​typescript-eslint/parser'
parserOptions:
  project: './tsconfig.json'
plugins:
  - drizzle
rules:
  'drizzle/enforce-delete-with-where': "error"
  'drizzle/enforce-update-with-where': "error"
All config

This plugin exports an all config that makes use of all rules (except for deprecated ones).

root: true
extends:
  - "plugin:drizzle/all"
parser: '@​typescript-eslint/parser'
parserOptions:
  project: './tsconfig.json'
plugins:
  - drizzle

At the moment, all is equivalent to recommended

root: true
extends:
  - "plugin:drizzle/recommended"
parser: '@​typescript-eslint/parser'
parserOptions:
  project: './tsconfig.json'
plugins:
  - drizzle
Rules

enforce-delete-with-where: Enforce using delete with the.where() clause in the .delete() statement. Most of the time, you don't need to delete all rows in the table and require some kind of WHERE statements.

Error Message:

Without `.where(...)` you will delete all the rows in a table. If you didn't want to do it, please use `db.delete(...).where(...)` instead. Otherwise you can ignore this rule here

Optionally, you can define a drizzleObjectName in the plugin options that accept a string or string[]. This is useful when you have objects or classes with a delete method that's not from Drizzle. Such a delete method will trigger the ESLint rule. To avoid that, you can define the name of the Drizzle object that you use in your codebase (like db) so that the rule would only trigger if the delete method comes from this object:

Example, config 1:

"rules": {
  "drizzle/enforce-delete-with-where": ["error"]
}
class MyClass {
  public delete() {
    return {}
  }
}

const myClassObj = new MyClass();

// ---> Will be triggered by ESLint Rule
myClassObj.delete()

const db = drizzle(...)
// ---> Will be triggered by ESLint Rule
db.delete()

Example, config 2:

"rules": {
  "drizzle/enforce-delete-with-where": ["error", { "drizzleObjectName": ["db"] }],
}
class MyClass {
  public delete() {
    return {}
  }
}

const myClassObj = new MyClass();

// ---> Will NOT be triggered by ESLint Rule
myClassObj.delete()

const db = drizzle(...)
// ---> Will be triggered by ESLint Rule
db.delete()

enforce-update-with-where: Enforce using update with the.where() clause in the .update() statement. Most of the time, you don't need to update all rows in the table and require some kind of WHERE statements.

Error Message:

Without `.where(...)` you will update all the rows in a table. If you didn't want to do it, please use `db.update(...).set(...).where(...)` instead. Otherwise you can ignore this rule here

Optionally, you can define a drizzleObjectName in the plugin options that accept a string or string[]. This is useful when you have objects or classes with a delete method that's not from Drizzle. Such as update method will trigger the ESLint rule. To avoid that, you can define the name of the Drizzle object that you use in your codebase (like db) so that the rule would only trigger if the delete method comes from this object:

Example, config 1:

"rules": {
  "drizzle/enforce-update-with-where": ["error"]
}
class MyClass {
  public update() {
    return {}
  }
}

const myClassObj = new MyClass();

// ---> Will be triggered by ESLint Rule
myClassObj.update()

const db = drizzle(...)
// ---> Will be triggered by ESLint Rule
db.update()

Example, config 2:

"rules": {
  "drizzle/enforce-update-

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/rajput-hemant/lipi).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuODUuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Copy link

vercel bot commented Dec 9, 2024

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

Name Status Preview Comments Updated (UTC)
lipi ❌ Failed (Inspect) Jan 5, 2025 4:47pm

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 62faa57 to e5fa2cd Compare December 9, 2024 17:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from e5fa2cd to 18440eb Compare December 9, 2024 19:13
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 18440eb to 38c9cd7 Compare December 10, 2024 10:19
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 38c9cd7 to 8741501 Compare December 10, 2024 16:12
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 8741501 to a4bcb09 Compare December 10, 2024 22:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from a4bcb09 to 4792990 Compare December 11, 2024 03:51
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4792990 to 1721ad0 Compare December 11, 2024 11:21
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 1721ad0 to a32acd4 Compare December 11, 2024 22:14
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from a32acd4 to 3324f61 Compare December 12, 2024 23:07
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 3324f61 to c167d49 Compare December 13, 2024 03:10
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from c167d49 to e24a2a3 Compare December 13, 2024 17:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from e24a2a3 to d6cccdb Compare December 13, 2024 19:08
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from d6cccdb to fbc1e5b Compare December 13, 2024 23:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from fbc1e5b to b970d4c Compare December 15, 2024 16:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 3ea6a0e to b2fe0e1 Compare December 17, 2024 21:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b2fe0e1 to b5c2c51 Compare December 18, 2024 02:46
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b5c2c51 to de50be5 Compare December 19, 2024 15:22
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from de50be5 to f8b5631 Compare December 20, 2024 11:49
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from f8b5631 to cdce058 Compare December 21, 2024 00:35
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from cdce058 to da1be86 Compare December 23, 2024 19:52
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from da1be86 to 7d3af52 Compare December 25, 2024 15:40
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7d3af52 to 5ae0ce9 Compare December 26, 2024 19:31
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 5ae0ce9 to 0e93624 Compare December 28, 2024 11:20
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 0e93624 to 7ea230f Compare December 30, 2024 17:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7ea230f to 4fe63d8 Compare January 1, 2025 01:46
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 4fe63d8 to c8ad5bc Compare January 2, 2025 22:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from c8ad5bc to 9dc7575 Compare January 3, 2025 06:42
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.

0 participants