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

version-bump-prompt

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

version-bump-prompt - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

6

bin/bump.js

@@ -37,2 +37,3 @@ #!/usr/bin/env node

var manifests = api.manifests();
var bumpType = 'patch';
var i = 0;

@@ -52,3 +53,3 @@

message: 'How would you like to bump it?',
default: 'patch',
default: bumpType,
choices: [

@@ -65,3 +66,4 @@ {value: 'major', name: 'major (' + version.nextMajor + ')'},

function(answer) {
api.bump(manifest, answer.bump, program.preid);
bumpType = answer.bump;
api.bump(manifest, bumpType, program.preid);
bumpNextManifest();

@@ -68,0 +70,0 @@ }

'use strict';
var semver = require('semver'),
exec = require('child-process-promise').exec,
cwd = process.cwd(),
fs = require('fs'),
path = require('path'),
indent = require('detect-indent'),
var semver = require('semver'),
exec = require('child-process-promise').exec,
cwd = process.cwd(),
fs = require('fs'),
path = require('path'),
indent = require('detect-indent'),
logSymbols = require('log-symbols'),
version;

@@ -69,3 +70,3 @@

console.log('Updated %s to %s', manifest, current.version);
console.log('%s Updated %s to %s', logSymbols.success, manifest, current.version);
};

@@ -72,0 +73,0 @@

{
"name": "version-bump-prompt",
"version": "1.2.3",
"version": "1.2.4",
"description": "Automatically (or with prompts) bump your version number, commit, tag, and push",

@@ -38,7 +38,8 @@ "keywords": [

"dependencies": {
"child-process-promise": "^1.0.2",
"child-process-promise": "^1.1.0",
"commander": "^2.8.1",
"detect-indent": "^3.0.1",
"inquirer": "^0.8.3",
"semver": "^4.3.4"
"inquirer": "^0.8.5",
"log-symbols": "^1.0.2",
"semver": "^4.3.5"
},

@@ -49,7 +50,7 @@ "devDependencies": {

"jshint": "^2.7.0",
"lodash": "^3.8.0",
"mocha": "^2.2.4",
"lodash": "^3.9.3",
"mocha": "^2.2.5",
"npm-check-updates": "^1.5.1",
"version-bump-prompt": "^1.2.2"
"version-bump-prompt": "^1.2.3"
}
}
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