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

git-validate

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-validate - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

10

lib/utils.js

@@ -7,2 +7,8 @@ var Fs = require('fs');

internals.throwWarn = function (warning) {
console.error('WARNING:', warning, 'installation aborted.');
process.exit(0);
};
// Find the topmost parent of the given module.

@@ -139,3 +145,3 @@ internals.findParent = function (mod) {

else {
throw new Error('Unable to find a .git folder for this project');
return internals.throwWarn('Unable to find a .git folder for this project');
}

@@ -159,3 +165,3 @@

if (root === Path.resolve(root, '..')) {
throw new Error('Unable to find a package.json for this project');
return internals.throwWarn('Unable to find a package.json for this project');
}

@@ -162,0 +168,0 @@

2

package.json
{
"name": "git-validate",
"version": "1.1.2",
"version": "1.2.0",
"description": "the extensible core of precommit-hook",

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

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