From 1fa17883bce86762b0dd32e0a2e599d6c9f9560e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:11:52 +0200 Subject: [PATCH] Bump ansis from 2.3.0 to 3.0.1 (#3417) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [ansis](https://github.com/webdiscus/ansis) from 2.3.0 to 3.0.1.
Release notes

Sourced from ansis's releases.

v3.0.0

Features

BREAKING CHANGE

In the new major version 3.x are removed unused styles and methods.

⚠️ Warning

Before update, please check your code whether is used deleted styles and methods.

Support Node.js

Drop supports for Node <= 14. Minimal supported version is 15.0.0 (Released 2020-10-20). In the theory the v3 can works with Node12, but we can't test it.

Deleted styles

The not widely supported styles are deleted:

Deleted methods

The methods are deleted:

Deleted clamp in functions

The clamp (0, 255) for the ANSI 256 codes and RGB values is removed, because is unused. You should self check the function arguments.

The affected functions:

Changelog

Sourced from ansis's changelog.

3.0.1 (2024-04-01)

3.0.0 (2024-03-29)

BREAKING CHANGE

In the new major version 3.x are removed unused styles and methods.

⚠️ Warning

Before update, please check your code whether is used deleted styles and methods.

Support Node.js

Drop supports for Node <= 14. Minimal supported version is 15.0.0 (Released 2020-10-20). In the theory the v3 can works with Node12, but we can't test it.

Deleted styles

The not widely supported styles are deleted:

Deleted methods

The methods are deleted:

Deleted clamp in functions

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ansis&package-manager=npm_and_yarn&previous-version=2.3.0&new-version=3.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) ---
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)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2717e6ae..08836b46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "ansis": "^2.3.0", + "ansis": "^3.0.1", "console-stamp": "^3.1.2", "envsub": "^4.1.0", "eslint": "^8.57.0", @@ -2361,11 +2361,11 @@ } }, "node_modules/ansis": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-2.3.0.tgz", - "integrity": "sha512-ih2ljYHaFnLc8rAHhm0yJmTBtpwT1ULyDrgFZQ2WAbWkikCiBkroPB4qJxTRqh3ocsaOstmg3aDeG+vCfPVtHg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-3.0.1.tgz", + "integrity": "sha512-NMqcJGNewJ+tVAK5fJFY7kBo698ViFSH8ceUfEwBHGZb4SNxHnbJPDBW0wNQU6rYjnBGBwBfUSmeIab/KrA5/A==", "engines": { - "node": ">=12.13" + "node": ">=15" }, "funding": { "type": "patreon", diff --git a/package.json b/package.json index f0f417e2..b29b700b 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "electron": "^29.1.6" }, "dependencies": { - "ansis": "^2.3.0", + "ansis": "^3.0.1", "console-stamp": "^3.1.2", "envsub": "^4.1.0", "eslint": "^8.57.0",