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

executive

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

executive - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3

2

package.json
{
"name": "executive",
"version": "1.6.2",
"version": "1.6.3",
"description": "Elegant command execution with built-in control flow",

@@ -5,0 +5,0 @@ "main": "lib/executive.cjs.js",

@@ -163,17 +163,17 @@ # executive

## Extra
Great with `sake`, `grunt`, `gulp` and other task runners. Even better mixed
with generator-based control flow libraries and/or ES7 `async`/`await`.
Great with `sake`, `grunt`, `gulp` and other task runners. Even nicer with
`async` and `await`.
Complex example using [`sake`](http://github.com/sakejs/sake-cli):
Fancy example using [`sake`](http://github.com/sakejs/sake-cli):
```coffeescript
task 'package', 'Package project', ->
# Create dist folder
await exec '''
```javascript
task('package', 'Package project', => {
// Create dist folder
await exec(`
mkdir -p dist/
rm -rf dist/*
'''
`)
# Copy assets to dist
await exec.parallel '''
// Copy assets to dist in parallel
await exec.parallel(`
cp manifest.json dist/

@@ -183,10 +183,11 @@ cp -rf assets/ dist/

cp -rf views/ dist/
'''
`)
# Get current git commit hash
{stdout} = await exec 'git rev-parse HEAD'
hash = stdout.substring 0, 8
// Get current git commit hash
let {stdout} = await exec('git rev-parse HEAD')
let hash = stdout.substring(0, 8)
# Zip up dist
exec "zip -r package-#{hash}.zip dist/"
exec(`zip -r package-${hash}.zip dist/`)
})
```

@@ -193,0 +194,0 @@

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