Socket
Book a DemoInstallSign in
Socket

git-repo-version

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-repo-version - npm Package Compare versions

Comparing version

to
0.1.1

4

index.js

@@ -15,3 +15,5 @@ 'use strict';

var packageVersion = require(path.join(projectPath, 'package.json')).version;
return packageVersion + '.' + info.sha.slice(0, shaLength || 8);
var sha = info.sha || '';
return packageVersion + '.' + sha.slice(0, shaLength || 8);
};
{
"name": "git-repo-version",
"version": "0.1.0",
"version": "0.1.1",
"repository": "https://github.com/cibernox/git-repo-version",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.