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

ahm-private-get-path

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

ahm-private-get-path - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

19

get-root-path.js
const fs = require('fs');
const dirUp = path => {
if (path === '/') {
return '/';
}
return path
.split('/')
.slice(0, -1)
.join('/');
};
function getProjectRootPath() {

@@ -18,10 +28,1 @@ let cwd = process.cwd();

const dirUp = path => {
if (path === '/') {
return '/';
}
return path
.split('/')
.slice(0, -1)
.join('/');
};
{
"name": "ahm-private-get-path",
"version": "1.1.0",
"version": "1.2.0",
"description": "Nothing special!",

@@ -5,0 +5,0 @@ "main": "index.js",

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