Socket
Socket
Sign inDemoInstall

npm-run-all2

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-run-all2 - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

8

CHANGELOG.md

@@ -10,4 +10,10 @@ # Changelog

## [v6.2.1](https://github.com/bcomnes/npm-run-all2/compare/v6.2.0...v6.2.1)
## [v6.2.2](https://github.com/bcomnes/npm-run-all2/compare/v6.2.1...v6.2.2)
### Commits
- Revert "Compatibility: npm, yarn and pnpm run scripts" [`fc35f0d`](https://github.com/bcomnes/npm-run-all2/commit/fc35f0dc4f78afc1c631fa94b6ac85ba0fb0e7b1)
## [v6.2.1](https://github.com/bcomnes/npm-run-all2/compare/v6.2.0...v6.2.1) - 2024-07-03
### Merged

@@ -14,0 +20,0 @@

25

lib/index.js

@@ -115,26 +115,5 @@ /**

function parsePatterns (patternOrPatterns, args) {
let patterns = toArray(patternOrPatterns)
const patterns = toArray(patternOrPatterns)
const hasPlaceholder = patterns.some(pattern => ARGS_PATTERN.test(pattern))
const isNPM = process.env.npm_config_user_agent && process.env.npm_config_user_agent.startsWith('npm')
if (!isNPM) {
// yarn | pnpm
patterns = patterns.map((pattern) => {
const match = ARGS_PATTERN.exec(pattern)
if (!match) {
return pattern
}
const patternList = pattern.split(' ')
const doubleDashIndex = patternList.findIndex((item) => item === '--')
patternList.splice(doubleDashIndex, 1)
pattern = patternList.join(' ')
return pattern
})
}
const hasPlaceholder = patterns.some((pattern) => ARGS_PATTERN.test(pattern))
return hasPlaceholder ? applyArguments(patterns, args) : patterns

@@ -141,0 +120,0 @@ }

{
"name": "npm-run-all2",
"version": "6.2.1",
"version": "6.2.2",
"description": "A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintainence fork)",

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

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