Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 4, 2021
1 parent 6aea985 commit 2ee4f5d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 14
- 12
- 16
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const logSymbols = {
info: 'ℹ️',
success: '✅',
warning: '⚠️',
error: '❌️'
error: '❌️',
};

export default logSymbols;
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ const main = {
info: chalk.blue('ℹ'),
success: chalk.green('✔'),
warning: chalk.yellow('⚠'),
error: chalk.red('✖')
error: chalk.red('✖'),
};

const fallback = {
info: chalk.blue('i'),
success: chalk.green('√'),
warning: chalk.yellow('‼'),
error: chalk.red('×')
error: chalk.red('×'),
};

const logSymbols = isUnicodeSupported() ? main : fallback;
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@
"stdout"
],
"dependencies": {
"chalk": "^4.1.0",
"is-unicode-supported": "^1.0.0"
"chalk": "^5.0.0",
"is-unicode-supported": "^1.1.0"
},
"devDependencies": {
"ava": "^3.15.0",
"strip-ansi": "^7.0.0",
"tsd": "^0.14.0",
"xo": "^0.38.2"
"strip-ansi": "^7.0.1",
"tsd": "^0.19.0",
"xo": "^0.47.0"
}
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Includes fallbacks for Windows CMD which only supports a [limited character set]

## Install

```
$ npm install log-symbols
```sh
npm install log-symbols
```

## Usage
Expand Down

0 comments on commit 2ee4f5d

Please sign in to comment.