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

@namchee/dependent

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@namchee/dependent - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

bin/package.js

@@ -39,3 +39,3 @@ "use strict";

return new Promise((resolve, reject) => {
const lsCheck = child_process_1.spawn('npm', ['ls', dependency]);
const lsCheck = child_process_1.spawn(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', ['ls', dependency]);
lsCheck.stdout.on('data', (data) => {

@@ -42,0 +42,0 @@ const isInstalled = data.includes(dependency) &&

@@ -0,1 +1,13 @@

# v0.6.1 (Sun Aug 01 2021)
#### 🐛 Bug Fix
- fix: Use different script when executing on Windows-based machines [#12](https://github.com/Namchee/dependent/pull/12) ([@Namchee](https://github.com/Namchee))
#### Authors: 1
- Cristopher ([@Namchee](https://github.com/Namchee))
---
# v0.2.0 (Sat Jul 31 2021)

@@ -2,0 +14,0 @@

{
"name": "@namchee/dependent",
"version": "0.6.0",
"version": "0.6.1",
"description": "Simple utility CLI tool to analyze which files are using a Node dependency 🚀",

@@ -5,0 +5,0 @@ "repository": "git@github.com:Namchee/dependent.git",

@@ -72,3 +72,6 @@ import { existsSync } from 'fs';

return new Promise((resolve, reject) => {
const lsCheck = spawn('npm', ['ls', dependency])
const lsCheck = spawn(
/^win/.test(process.platform) ? 'npm.cmd' : 'npm',
['ls', dependency],
)

@@ -75,0 +78,0 @@ lsCheck.stdout.on('data', (data) => {

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