Socket
Socket
Sign inDemoInstall

is-yarn-global

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-yarn-global - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

index.js

@@ -8,3 +8,3 @@ 'use strict';

const yarnPath = isWindows ? path.join('Yarn', 'config', 'global') : path.join('.config', 'yarn', 'global');
if (process.cwd().includes(yarnPath)) {
if (__dirname.includes(yarnPath)) {
return true;

@@ -11,0 +11,0 @@ }

{
"name": "is-yarn-global",
"version": "0.2.0",
"version": "0.3.0",
"description": "Check if installed by yarn globally without any `fs` calls",

@@ -5,0 +5,0 @@ "repository": "git@github.com:LitoMore/is-yarn-global.git",

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