New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dep-tracer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dep-tracer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

dist/index.js

@@ -87,3 +87,3 @@ #!/usr/bin/env node

memo.add(pkgJson.context);
if (pkgJson.name == target) {
if (!tips.length && pkgJson.name == target) {
return [[{ location: pkgJson.context, chain: [] }], true];

@@ -131,2 +131,3 @@ }

const args = process.argv.slice(2);
console.log("Start scanning ...");
const result = await find(process.cwd(), args);

@@ -139,3 +140,3 @@ if (!result.length) {

.reverse()
.join(" -> ")}\n`)}`);
.join(" > ")}\n`)}`);
console.log(`Cost: ${Date.now() - startTime}ms`);

@@ -142,0 +143,0 @@ }

{
"name": "dep-tracer",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -14,3 +14,4 @@ "main": "./dist/index.js",

"scripts": {
"build": "tsc"
"build": "tsc",
"prepublishOnly": "npm run build"
},

@@ -17,0 +18,0 @@ "keywords": [],

16

README.md

@@ -1,2 +0,2 @@

# Dep Trace
# Dep Tracer

@@ -8,2 +8,16 @@ This is a tiny tool to find a installed dependency location in your project.

## Install
```bash
npm i dep-tracer -g
pnpm i dep-tracer -g
yarn add dep-tracer -g
```
Or use latest and not install locally:
```bash
npx dep-tracer foo
```
## Usage

@@ -10,0 +24,0 @@

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