From a5a3c3117a80ac6680d162538095ce7c735e71f9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 29 Sep 2024 10:39:34 +0000 Subject: [PATCH] fix(deps): update dependency gradient-string to v3 (#269) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(deps): update dependency gradient-string to v3 * fix: update `gradient-string` usage --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Aura Román --- package.json | 2 +- src/main.ts | 4 ++-- yarn.lock | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index b788422b4..4ac805748 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "canvas-constructor": "^7.0.2", "culori": "^4.0.1", "discord-api-types": "^0.37.100", - "gradient-string": "^2.0.2", + "gradient-string": "^3.0.0", "he": "^1.2.0", "ioredis": "^5.4.1", "jsbd": "^0.0.11", diff --git a/src/main.ts b/src/main.ts index 66907b89e..dae084cfd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,7 +4,7 @@ import { Client, container } from '@skyra/http-framework'; import { init, load } from '@skyra/http-framework-i18n'; import { registerCommands } from '@skyra/shared-http-pieces'; import { createBanner } from '@skyra/start-banner'; -import gradient from 'gradient-string'; +import { vice } from 'gradient-string'; setup(); @@ -32,7 +32,7 @@ await client.listen({ address, port }); container.reminders.start(); console.log( - gradient.vice.multiline( + vice.multiline( createBanner({ logo: [ String.raw` ╱╲ ╱╲ ╱╲ `, diff --git a/yarn.lock b/yarn.lock index 7e4a8210f..b6259efa6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1444,7 +1444,7 @@ __metadata: eslint: "npm:^8.57.1" eslint-config-prettier: "npm:^9.1.0" eslint-plugin-prettier: "npm:^5.2.1" - gradient-string: "npm:^2.0.2" + gradient-string: "npm:^3.0.0" he: "npm:^1.2.0" ioredis: "npm:^5.4.1" jsbd: "npm:^0.0.11" @@ -2105,7 +2105,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2": +"chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1": version: 4.1.2 resolution: "chalk@npm:4.1.2" dependencies: @@ -3282,13 +3282,13 @@ __metadata: languageName: node linkType: hard -"gradient-string@npm:^2.0.2": - version: 2.0.2 - resolution: "gradient-string@npm:2.0.2" +"gradient-string@npm:^3.0.0": + version: 3.0.0 + resolution: "gradient-string@npm:3.0.0" dependencies: - chalk: "npm:^4.1.2" + chalk: "npm:^5.3.0" tinygradient: "npm:^1.1.5" - checksum: 10/3abca99686f9b0747264a34e8fb3b30b3d5bb54230ddbfa000ae1fa4bd386bdf4163284b9f740dbba36f04cf4a366b05b2f6591490b3e63ae120ec4c6ac4b958 + checksum: 10/b8fc1bec2e974a81e9d38443dfcd4e8b80fd7b3422a347421c901c9fa555a3edd17aa2714d2c0c49f82cffaa14f98dab923850a41e04fb1e3ac8d50d2e94207b languageName: node linkType: hard