Socket
Socket
Sign inDemoInstall

videojs-swf

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

videojs-swf - npm Package Compare versions

Comparing version 4.3.1 to 4.3.3

dist/video-js.swf

83

Gruntfile.js

@@ -5,16 +5,2 @@ module.exports = function (grunt) {

pkg: grunt.file.readJSON('package.json'),
bumpup: {
options: {
updateProps: {
pkg: 'package.json'
}
},
file: 'package.json'
},
tagrelease: {
file: 'package.json',
commit: true,
message: 'Release %version%',
prefix: 'v'
},
connect: {

@@ -133,4 +119,30 @@ dev: {

}
},
bumpup: {
options: {
updateProps: {
pkg: 'package.json'
}
},
file: 'package.json'
},
tagrelease: {
file: 'package.json',
commit: true,
message: 'Release %version%',
prefix: 'v'
},
shell: {
options: {
failOnError: true
},
'git-add-dist-force': { command: 'git add dist --force' },
'git-merge-stable': { command: 'git merge stable' },
'git-merge-master': { command: 'git merge master' },
'git-checkout-stable': { command: 'git checkout stable' },
'git-checkout-master': { command: 'git checkout master' },
'git-push-stable': { command: 'git push origin stable' },
'git-push-master': { command: 'git push origin master' },
'git-push-tags': { command: 'git push --tags' }
}
});

@@ -141,2 +153,4 @@

grunt.loadNpmTasks('grunt-tagrelease');
grunt.loadNpmTasks('grunt-npm');
grunt.loadNpmTasks('grunt-shell');

@@ -151,3 +165,3 @@ grunt.registerTask('dist', ['mxmlc']);

var async = require('async');
console.log('mx');
var

@@ -237,30 +251,19 @@ options = this.options,

grunt.registerTask('release', 'Bump, build, and tag', function(type) {
var shell = require('shelljs');
// major, minor, patch
type = type ? type : 'patch';
// git is required in add-dist, so check now
if (!shell.which('git')) {
grunt.fatal('Sorry, this script requires git');
}
if (shell.exec('git checkout stable').code !== 0) {
grunt.fatal('`git checkout stable` failed');
}
grunt.task.run('bumpup:' + type); // bump up the package version
grunt.task.run('dist'); // build distribution
grunt.task.run('add-dist'); // force add the distribution
grunt.task.run('tagrelease'); // commit & tag the changes
grunt.task.run([
'shell:git-checkout-stable', // must start on the stable branch
'bumpup:'+type, // bump up the package version
'dist', // build distribution
'shell:git-add-dist-force', // force add the distribution
'tagrelease', // commit & tag the changes
'shell:git-push-stable',
'shell:git-push-tags',
'npm-publish',
'shell:git-checkout-master',
'shell:git-merge-stable',
'shell:git-push-master'
]);
});
grunt.registerTask('add-dist', 'Force add the built distribution files', function(type) {
var shell = require('shelljs');
if (shell.exec('git add dist --force').code !== 0) {
grunt.fatal('`git add dist --force` failed');
}
grunt.log.writeln('dist directory staged (git add dist --force)');
});
};
{
"name": "videojs-swf",
"description": "The Flash-fallback video player for video.js (http://videojs.com)",
"version": "4.3.1",
"version": "4.3.3",
"copyright": "Copyright 2014 Brightcove, Inc. https://github.com/videojs/video-js-swf/blob/master/LICENSE",

@@ -30,4 +30,4 @@ "keywords": [

"grunt-tagrelease": "~0.3.1",
"shelljs": "~0.2.6"
"grunt-shell": "~0.6.1"
}
}

Sorry, the diff of this file is not supported yet

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