Socket
Socket
Sign inDemoInstall

gulp-bump

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

.jshintrc

5

index.js

@@ -0,1 +1,4 @@

'use strict';
var path = require('path');
var gutil = require('gulp-util');

@@ -84,5 +87,5 @@ var through = require('through2');

gutil.log('Bumped ' + gutil.colors.magenta(key) + ' to: ' + gutil.colors.cyan(ver));
gutil.log('Bumped \'' + gutil.colors.cyan(path.basename(file.path)) + '\' ' + gutil.colors.magenta(key) + ' to: ' + gutil.colors.cyan(ver));
cb(null, file);
});
};

2

package.json
{
"name": "gulp-bump",
"description": "Bump npm versions with Gulp (gulpjs.com)",
"version": "0.2.0",
"version": "0.2.1",
"homepage": "http://github.com/stevelacy/gulp-bump",

@@ -6,0 +6,0 @@ "repository": "git://github.com/stevelacy/gulp-bump.git",

@@ -169,3 +169,17 @@ # gulp-bump

```
##### Dot notation is supported for nested versions:
```js
.pipe(bump({key: {'sublevel.version'}}))
/*
{
"sublevel": {
"version": "<semver>"
}
}
*/
```
### options.version

@@ -172,0 +186,0 @@ Set a specific version to bump to.

@@ -0,1 +1,3 @@

'use strict';
var gutil = require('gulp-util');

@@ -2,0 +4,0 @@ var should = require('should');

@@ -0,1 +1,3 @@

'use strict';
var gutil = require('gulp-util');

@@ -2,0 +4,0 @@ var should = require('should');

@@ -0,1 +1,3 @@

'use strict';
var fs = require('fs');

@@ -2,0 +4,0 @@ var gutil = require('gulp-util');

@@ -0,1 +1,3 @@

'use strict';
var gutil = require('gulp-util');

@@ -11,3 +13,4 @@ var should = require('should');

var fakeFile = new gutil.File({
contents: new Buffer('{ "version": "0.0.9" }')
contents: new Buffer('{ "version": "0.0.9" }'),
path: 'test/fixtures/test.json'
});

@@ -29,3 +32,4 @@

var fakeFile = new gutil.File({
contents: new Buffer('{ "appversion": "0.0.1" }')
contents: new Buffer('{ "appversion": "0.0.1" }'),
path: 'test/fixtures/test.json'
});

@@ -47,3 +51,4 @@

var fakeFile = new gutil.File({
contents: new Buffer('{ "version": "0.0.1" }')
contents: new Buffer('{ "version": "0.0.1" }'),
path: 'test/fixtures/test.json'
});

@@ -66,3 +71,4 @@

var fakeFile = new gutil.File({
contents: new Buffer('{ "version": "0.0.1" }')
contents: new Buffer('{ "version": "0.0.1" }'),
path: 'test/fixtures/test.json'
});

@@ -84,3 +90,4 @@

var fakeFile = new gutil.File({
contents: new Buffer('{}')
contents: new Buffer('{}'),
path: 'test/fixtures/test.json'
});

@@ -102,3 +109,4 @@

var fakeFile = new gutil.File({
contents: new Buffer('{ "version": "0.0.1-0"}')
contents: new Buffer('{ "version": "0.0.1-0"}'),
path: 'test/fixtures/test.json'
});

@@ -105,0 +113,0 @@

@@ -0,1 +1,3 @@

'use strict';
var gutil = require('gulp-util');

@@ -2,0 +4,0 @@ var should = require('should');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc