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

flow-status-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-status-webpack-plugin - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

19

index.js

@@ -1,2 +0,2 @@

const colors = require('colors'),
var colors = require('colors'),
shell = require('shelljs');

@@ -9,7 +9,6 @@

FlowStatusWebpackPlugin.prototype.apply = function(compiler) {
const options = this.options,
var options = this.options,
flowArgs = options.flowArgs || '',
flow = options.binaryPath || 'flow';
var firstRun = true,
flow = options.binaryPath || 'flow',
firstRun = true,
waitingForFlow = false;

@@ -19,6 +18,6 @@

if (options.restartFlow === false) {
shell.exec(flow + ' start ' + flowArgs, () => cb());
shell.exec(flow + ' start ' + flowArgs, cb);
} else {
shell.exec(flow + ' stop', () => {
shell.exec(flow + ' start ' + flowArgs, () => cb());
shell.exec(flow + ' stop', function() {
shell.exec(flow + ' start ' + flowArgs, cb);
});

@@ -48,4 +47,4 @@ }

// this will start a flow server if it was not running
shell.exec(flow + ' status --color always', {silent: true}, (code, stdout, stderr) => {
const hasErrors = code !== 0;
shell.exec(flow + ' status --color always', {silent: true}, function(code, stdout, stderr) {
var hasErrors = code !== 0;

@@ -52,0 +51,0 @@ if (hasErrors) {

{
"name": "flow-status-webpack-plugin",
"version": "0.1.3",
"version": "0.1.4",
"author": "Diego Durli <dgodurli@gmail> (https://github.com/diegodurli)",

@@ -5,0 +5,0 @@ "dependencies": {

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