Socket
Socket
Sign inDemoInstall

git-semver-tags

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-semver-tags - npm Package Compare versions

Comparing version 1.2.0-alpha.1 to 1.2.0

CHANGELOG.md

11

cli.js

@@ -11,14 +11,7 @@ #!/usr/bin/env node

'Options',
' --lerna, -l parse lerna style git tags',
' --package, -p when listing lerna style tags, filter by a package'
' --lerna parse lerna style git tags',
' --package when listing lerna style tags, filter by a package'
]
});
// the package argument only makes sense
// when used in the context of lerna-style git-tags.
if (args.flags.package && !args.flags.lerna) {
console.error('--package should only be used when running in --lerna mode');
process.exit(1);
}
gitSemverTags(function(err, tags) {

@@ -25,0 +18,0 @@ if (err) {

@@ -18,2 +18,7 @@ 'use strict';

if (opts.package && !opts.lernaTags) {
callback(Error('opts.package should only be used when running in lerna mode'));
return;
}
exec(cmd, {

@@ -20,0 +25,0 @@ maxBuffer: Infinity

{
"name": "git-semver-tags",
"version": "1.2.0-alpha.1",
"version": "1.2.0",
"description": "Get all git semver tags of your repository in reverse chronological order",

@@ -30,3 +30,2 @@ "homepage": "https://github.com/stevemao/git-semver-tags",

"devDependencies": {
"coveralls": "^2.11.2",
"git-dummy-commit": "^1.1.0",

@@ -40,5 +39,5 @@ "istanbul": "^0.4.2",

"scripts": {
"coverage": "istanbul cover _mocha -- -R spec && rm -rf ./coverage",
"lint": "jshint *.js --exclude node_modules && jscs *.js",
"test": "npm run-script lint && mocha --timeout 10000"
"test": "npm run-script lint && mocha --timeout 30000",
"test-windows": "mocha --timeout 30000"
},

@@ -45,0 +44,0 @@ "bin": {

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