@pkgr/utils
Advanced tools
Comparing version 2.0.3 to 2.1.0
# Change Log | ||
## 2.1.0 | ||
### Minor Changes | ||
- [#282](https://github.com/rx-ts/pkgr/pull/282) [`0b06f95`](https://github.com/rx-ts/pkgr/commit/0b06f95b1d93f987ea5f3ca452a125e97bbd7218) Thanks [@JounQin](https://github.com/JounQin)! - chore(utils): replace `chalk` with `picocolors` | ||
## 2.0.3 | ||
@@ -4,0 +10,0 @@ |
@@ -5,5 +5,5 @@ // based on https://github.com/facebook/create-react-app/blob/master/packages/react-dev-utils/openBrowser.js | ||
import { fileURLToPath } from 'url'; | ||
import chalk from 'chalk'; | ||
import spawn from 'cross-spawn'; | ||
import open from 'open'; | ||
import picocolors from 'picocolors'; | ||
// https://github.com/sindresorhus/open#app | ||
@@ -49,4 +49,4 @@ const OSX_CHROME = 'google chrome'; | ||
console.log(); | ||
console.log(chalk.red('The script specified as BROWSER environment variable failed.')); | ||
console.log(`${chalk.cyan(scriptPath)} exited with code ${code}`); | ||
console.log(picocolors.red('The script specified as BROWSER environment variable failed.')); | ||
console.log(`${picocolors.cyan(scriptPath)} exited with code ${code}`); | ||
console.log(); | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "@pkgr/utils", | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"type": "module", | ||
@@ -25,6 +25,6 @@ "description": "Shared utils for `@pkgr` packages or any package else", | ||
"dependencies": { | ||
"chalk": "^4.1.2", | ||
"cross-spawn": "^7.0.3", | ||
"is-glob": "^4.0.3", | ||
"open": "^8.4.0", | ||
"picocolors": "^1.0.0", | ||
"tiny-glob": "^0.2.9", | ||
@@ -31,0 +31,0 @@ "tslib": "^2.3.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39740
+ Addedpicocolors@^1.0.0
+ Addedpicocolors@1.1.0(transitive)
- Removedchalk@^4.1.2
- Removedansi-styles@4.3.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedsupports-color@7.2.0(transitive)