You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
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
1.0.2

2

index.js

@@ -17,3 +17,3 @@ /* jshint node:true, eqnull:true */

var prefix;
if (info.tag && info.tag.includes(packageVersion)) {
if (info.tag && !(packageVersion && info.tag.includes(packageVersion))) {
prefix = info.tag;

@@ -20,0 +20,0 @@ } else if (packageVersion) {

{
"name": "git-repo-version",
"version": "1.0.1",
"version": "1.0.2",
"description": "Generates a version string based on the version specified in your package.json and the sha revision of the current commit branch.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/cibernox/git-repo-version",

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.