Socket
Socket
Sign inDemoInstall

is-yarn-global

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

.travis.yml

2

index.js

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

module.exports = function () {
const isWindows = process.platform === 'win32' || process.env.OSTYPE === 'cygwin' || process.env.OSTYPE === 'msys';
const isWindows = process.platform === 'win32';
const yarnPath = isWindows ? path.join('Yarn', 'config', 'global') : path.join('.config', 'yarn', 'global');

@@ -9,0 +9,0 @@ if (process.cwd().includes(yarnPath)) {

{
"name": "is-yarn-global",
"version": "0.1.0",
"description": "Check if installed by yarn globally without `fs` calls",
"version": "0.2.0",
"description": "Check if installed by yarn globally without any `fs` calls",
"repository": "git@github.com:LitoMore/is-yarn-global.git",

@@ -6,0 +6,0 @@ "author": "LitoMore (litomore@gmail.com)",

# is-yarn-global
Check if installed by yarn globally without `fs` calls
[![](https://img.shields.io/travis/LitoMore/is-yarn-global/master.svg)](https://travis-ci.org/LitoMore/is-yarn-global)
[![](https://img.shields.io/npm/v/is-yarn-global.svg)](https://www.npmjs.com/package/is-yarn-global)
[![](https://img.shields.io/npm/l/is-yarn-global.svg)](https://github.com/LitoMore/is-yarn-global/blob/master/LICENSE)
[![](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
Check if installed by yarn globally without any `fs` calls
## Install

@@ -6,0 +11,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc