diff --git a/package.json b/package.json index 7760360..a9cb42b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@skyra/start-banner": "^2.0.1", "@skyra/twitch-helpers": "^2.0.1", "discord-api-types": "^0.37.100", - "gradient-string": "^2.0.2", + "gradient-string": "^3.0.0", "tslib": "^2.8.0" }, "devDependencies": { diff --git a/src/main.ts b/src/main.ts index a7006b2..3dda6e6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,7 +4,7 @@ import { envParseInteger, envParseString } from '@skyra/env-utilities'; import { Client, container } from '@skyra/http-framework'; import { init, load } from '@skyra/http-framework-i18n'; import { createBanner } from '@skyra/start-banner'; -import gradient from 'gradient-string'; +import { pastel } from 'gradient-string'; setup(); @@ -21,7 +21,7 @@ const port = envParseInteger('HTTP_PORT', 3000); await client.listen({ address, port }); console.log( - gradient.pastel.multiline( + pastel.multiline( createBanner({ logo: [ String.raw` //\\ `, diff --git a/yarn.lock b/yarn.lock index 65c5647..a08aeb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -778,7 +778,7 @@ __metadata: eslint: "npm:^9.12.0" 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" lint-staged: "npm:^15.2.10" prettier: "npm:^3.3.3" prisma: "npm:^5.21.0" @@ -1363,7 +1363,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: @@ -2519,13 +2519,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