Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.2 to 2.0.3

6

CHANGELOG.md
# Change Log
## 2.0.3
### Patch Changes
- [#270](https://github.com/rx-ts/pkgr/pull/270) [`9278142`](https://github.com/rx-ts/pkgr/commit/9278142f2d4867c611c558eaffe0383a48050062) Thanks [@JounQin](https://github.com/JounQin)! - fix(utils): should not use \_\_dirname directly
## 2.0.2

@@ -4,0 +10,0 @@

7

lib/browser.js
// based on https://github.com/facebook/create-react-app/blob/master/packages/react-dev-utils/openBrowser.js
import { execSync } from 'child_process';
import path from 'path';
import { fileURLToPath } from 'url';
import chalk from 'chalk';

@@ -70,2 +72,5 @@ import spawn from 'cross-spawn';

];
const _dirname = typeof __dirname === 'undefined'
? path.dirname(fileURLToPath(import.meta.url))
: __dirname;
for (const chromiumBrowser of supportedChromiumBrowsers) {

@@ -81,3 +86,3 @@ try {

'"', {
cwd: __dirname,
cwd: _dirname,
stdio: 'ignore',

@@ -84,0 +89,0 @@ });

4

package.json
{
"name": "@pkgr/utils",
"version": "2.0.2",
"version": "2.0.3",
"type": "module",

@@ -28,3 +28,3 @@ "description": "Shared utils for `@pkgr` packages or any package else",

"is-glob": "^4.0.3",
"open": "^8.3.0",
"open": "^8.4.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