Update ava to 4.3.3
The [release notes](https://github.com/avajs/ava/releases/tag/v4.3.3) mention compatibility with Node 18.8.
This commit is contained in:
parent
21530f507f
commit
bea5e4b220
160 changed files with 2647 additions and 2263 deletions
19
node_modules/figures/index.js
generated
vendored
19
node_modules/figures/index.js
generated
vendored
|
|
@ -1,3 +1,4 @@
|
|||
import process from 'node:process';
|
||||
import escapeStringRegexp from 'escape-string-regexp';
|
||||
import isUnicodeSupported from 'is-unicode-supported';
|
||||
|
||||
|
|
@ -195,21 +196,21 @@ const common = {
|
|||
lineUpDownLeftDoubleRightDouble: '╪',
|
||||
lineCross: '╳',
|
||||
lineBackslash: '╲',
|
||||
lineSlash: '╱'
|
||||
lineSlash: '╱',
|
||||
};
|
||||
|
||||
export const mainSymbols = {
|
||||
...common,
|
||||
// The main symbols for those do not look that good on Ubuntu.
|
||||
...(
|
||||
platform === 'linux' ?
|
||||
{
|
||||
platform === 'linux'
|
||||
? {
|
||||
circleQuestionMark: '?⃝',
|
||||
questionMarkPrefix: '?⃝'
|
||||
} :
|
||||
{
|
||||
questionMarkPrefix: '?⃝',
|
||||
}
|
||||
: {
|
||||
circleQuestionMark: '?',
|
||||
questionMarkPrefix: '?'
|
||||
questionMarkPrefix: '?',
|
||||
}
|
||||
),
|
||||
tick: '✔',
|
||||
|
|
@ -245,7 +246,7 @@ export const mainSymbols = {
|
|||
nodejs: '⬢',
|
||||
oneSeventh: '⅐',
|
||||
oneNinth: '⅑',
|
||||
oneTenth: '⅒'
|
||||
oneTenth: '⅒',
|
||||
};
|
||||
|
||||
export const fallbackSymbols = {
|
||||
|
|
@ -285,7 +286,7 @@ export const fallbackSymbols = {
|
|||
nodejs: '♦',
|
||||
oneSeventh: '1/7',
|
||||
oneNinth: '1/9',
|
||||
oneTenth: '1/10'
|
||||
oneTenth: '1/10',
|
||||
};
|
||||
|
||||
const shouldUseMain = isUnicodeSupported();
|
||||
|
|
|
|||
12
node_modules/figures/package.json
generated
vendored
12
node_modules/figures/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "figures",
|
||||
"version": "4.0.0",
|
||||
"version": "4.0.1",
|
||||
"description": "Unicode symbols with fallbacks for older terminals",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/figures",
|
||||
|
|
@ -36,12 +36,12 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"escape-string-regexp": "^5.0.0",
|
||||
"is-unicode-supported": "^1.0.0"
|
||||
"is-unicode-supported": "^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "^3.15.0",
|
||||
"tsd": "^0.17.0",
|
||||
"typescript": "^4.3.5",
|
||||
"xo": "^0.40.3"
|
||||
"ava": "^4.1.0",
|
||||
"tsd": "^0.19.1",
|
||||
"typescript": "^4.6.3",
|
||||
"xo": "^0.48.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
node_modules/figures/readme.md
generated
vendored
2
node_modules/figures/readme.md
generated
vendored
|
|
@ -27,7 +27,7 @@ console.log(figures.mainSymbols.tick);
|
|||
// On all terminals: ✔︎
|
||||
|
||||
console.log(figures.fallbackSymbols.tick);
|
||||
// On all terminal: √
|
||||
// On all terminals: √
|
||||
|
||||
console.log(figures.replaceSymbols('✔︎ check'));
|
||||
// On terminals with Unicode symbols: ✔︎ check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue