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

ez-spawn

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ez-spawn - npm Package Compare versions

Comparing version 2.1.6 to 3.0.0

index.d.ts

24

CHANGELOG.md

@@ -1,8 +0,22 @@

# Change Log
Change Log
====================================================================================================
All notable changes will be documented in this file.
`EZ-Spawn` adheres to [Semantic Versioning](http://semver.org/).
EZ Spawn adheres to [Semantic Versioning](http://semver.org/).
## [v2.1.0](https://github.com/JS-DevTools/ez-spawn/tree/v2.1.0) (2018-12-21)
[v3.0.0](https://github.com/JS-DevTools/ez-spawn/tree/v3.0.0) (2020-02-19)
----------------------------------------------------------------------------------------------------
- Moved EZ Spawn to the [@JSDevTools scope](https://www.npmjs.com/org/jsdevtools) on NPM
- The "ez-spawn" NPM package is now just a wrapper around the scoped "@jsdevtools/ez-spawn" package
[Full Changelog](https://github.com/JS-DevTools/ez-spawn/compare/v5.1.1...v3.0.0)
[v2.1.0](https://github.com/JS-DevTools/ez-spawn/tree/v2.1.0) (2018-12-21)
----------------------------------------------------------------------------------------------------
- If the process exits with a non-zero exit code, the error message now always includes the command, args, and exit code. If there was any stderr output, then that is appended to the error message as well.

@@ -13,4 +27,6 @@

## [v2.0.0](https://github.com/JS-DevTools/ez-spawn/tree/v2.0.0) (2018-12-16)
[v2.0.0](https://github.com/JS-DevTools/ez-spawn/tree/v2.0.0) (2018-12-16)
----------------------------------------------------------------------------------------------------
### Breaking Changes

@@ -17,0 +33,0 @@

39

package.json
{
"name": "ez-spawn",
"version": "2.1.6",
"version": "3.0.0",
"description": "Simple, consistent sync or async process spawning",

@@ -27,37 +27,14 @@ "keywords": [

},
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"main": "index.js",
"types": "index.d.ts",
"files": [
"lib"
"index.js",
"index.d.ts"
],
"scripts": {
"lint": "eslint lib test",
"test": "mocha && npm run lint",
"test:typescript": "tsc --noEmit test/specs/typescript-definition.spec.ts",
"coverage": "nyc --reporter=text --reporter=lcov mocha",
"upgrade": "npm-check -u",
"bump": "bump --tag --push --all",
"release": "npm run upgrade && npm test && npm run bump"
"engines": {
"node": ">=10"
},
"devDependencies": {
"@types/node": "^12.7.12",
"chai": "^4.2.0",
"coveralls": "^3.0.7",
"eslint": "^6.5.1",
"eslint-config-modular": "^7.0.1",
"mocha": "^6.2.1",
"npm-check": "^5.9.0",
"nyc": "^14.1.1",
"typescript": "^3.6.4",
"version-bump-prompt": "^5.0.5"
},
"dependencies": {
"call-me-maybe": "^1.0.1",
"cross-spawn": "^7.0.1",
"string-argv": "^0.3.1",
"type-detect": "^4.0.8"
},
"engines": {
"node": ">=6"
"@jsdevtools/ez-spawn": "3.0.0"
}
}

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

EZ-Spawn
EZ Spawn
=======================

@@ -6,4 +6,4 @@

[![Cross-Platform Compatibility](https://jstools.dev/img/badges/os-badges.svg)](https://travis-ci.com/JS-DevTools/ez-spawn)
[![Build Status](https://api.travis-ci.com/JS-DevTools/ez-spawn.svg?branch=master)](https://travis-ci.com/JS-DevTools/ez-spawn)
[![Cross-Platform Compatibility](https://jstools.dev/img/badges/os-badges.svg)](https://github.com/JS-DevTools/ez-spawn/blob/master/.github/workflows/CI-CD.yaml)
[![Build Status](https://github.com/JS-DevTools/ez-spawn/workflows/CI-CD/badge.svg)](https://github.com/JS-DevTools/ez-spawn/blob/master/.github/workflows/CI-CD.yaml)

@@ -13,4 +13,4 @@ [![Coverage Status](https://coveralls.io/repos/github/JS-DevTools/ez-spawn/badge.svg?branch=master)](https://coveralls.io/github/JS-DevTools/ez-spawn?branch=master)

[![npm](https://img.shields.io/npm/v/ez-spawn.svg?maxAge=43200)](https://www.npmjs.com/package/ez-spawn)
[![License](https://img.shields.io/npm/l/ez-spawn.svg?maxAge=2592000)](LICENSE)
[![npm](https://img.shields.io/npm/v/@jsdevtools/ez-spawn.svg?maxAge=43200)](https://www.npmjs.com/package/@jsdevtools/ez-spawn)
[![License](https://img.shields.io/npm/l/@jsdevtools/ez-spawn.svg?maxAge=2592000)](LICENSE)

@@ -46,3 +46,3 @@

```javascript
const ezSpawn = require('ez-spawn');
const ezSpawn = require('@jsdevtools/ez-spawn');

@@ -82,3 +82,3 @@ // These are all identical

```bash
npm install ez-spawn
npm install @jsdevtools/ez-spawn
```

@@ -90,7 +90,7 @@

// Require the whole package
const ezSpawn = require("ez-spawn");
const ezSpawn = require("@jsdevtools/ez-spawn");
// Or require "sync" or "async" directly
const ezSpawnSync = require("ez-spawn").sync;
const ezSpawnAsync = require("ez-spawn").async;
const ezSpawnSync = require("@jsdevtools/ez-spawn").sync;
const ezSpawnAsync = require("@jsdevtools/ez-spawn").async;
```

@@ -204,3 +204,3 @@

EZ-Spawn simplifies things by treating all errors the same. If any error occurs, or if the process exits with a non-zero exit code, then an error is thrown. The error will have all the same properties as the [`Process` object](#process-object), such as `status`, `stderr`, `signal`, etc.
EZ Spawn simplifies things by treating all errors the same. If any error occurs, or if the process exits with a non-zero exit code, then an error is thrown. The error will have all the same properties as the [`Process` object](#process-object), such as `status`, `stderr`, `signal`, etc.

@@ -237,3 +237,3 @@ ```javascript

--------------------------
ez-spawn is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.
EZ Spawn is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.

@@ -240,0 +240,0 @@

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