Socket
Socket
Sign inDemoInstall

wsrun

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wsrun - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

14

build/index.js

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

const workspace_1 = require("./workspace");
yargs
let yargsParser = yargs
.wrap(yargs.terminalWidth() - 1)

@@ -102,3 +102,13 @@ .updateStrings({

});
const argv = yargs.argv;
function parsePositionally(yargs, cmd) {
let newCmd = cmd.map((c, i) => (c.startsWith('-') ? c : c + ':' + i.toString()));
let positional = yargs.parse(newCmd);
if (!positional._.length)
return yargs.parse(cmd);
let position = Number(positional._[0].substr(positional._[0].lastIndexOf(':') + 1));
let result = yargs.parse(cmd.slice(0, position));
result._ = result._.concat(cmd.slice(position));
return result;
}
const argv = parsePositionally(yargsParser, process.argv.slice(2)); // yargs.argv
const bin = argv.bin || 'yarn';

@@ -105,0 +115,0 @@ let mode;

2

package.json
{
"name": "wsrun",
"version": "3.1.0",
"version": "3.2.0",
"description": "executes commands on packages in parallel, but is aware of the dependencies between them",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

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