Socket
Socket
Sign inDemoInstall

@pkgr/utils

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pkgr/utils - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

6

CHANGELOG.md
# 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 @@

6

lib/browser.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc