diff --git a/CHANGELOG.md b/CHANGELOG.md index d1ceb60..683c53f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [6.0.3](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.2...v6.0.3) (2018-01-23) + + + ## [6.0.2](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.1...v6.0.2) (2018-01-23) @@ -19,7 +24,7 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes * fix certain arguments not being correctly escaped or causing batch syntax error ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10)), closes [#82](https://github.com/moxystudio/node-cross-spawn/issues/82) [#51](https://github.com/moxystudio/node-cross-spawn/issues/51) -* fix commands as posix unix relatixe paths not working correctly ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10)) +* fix commands as posix relatixe paths not working correctly, e.g.: `./my-command` ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10)) * fix `options` argument being mutated ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10)) * fix commands resolution when PATH was actually Path ([900cf10](https://github.com/moxystudio/node-cross-spawn/commit/900cf10)) @@ -38,7 +43,7 @@ All notable changes to this project will be documented in this file. See [standa ### BREAKING CHANGES -* remove support for older nodejs versions, only node >= 4 is supported +* remove support for older nodejs versions, only `node >= 4` is supported diff --git a/LICENSE b/LICENSE index db5e914..8407b9a 100644 --- a/LICENSE +++ b/LICENSE @@ -1,14 +1,16 @@ -Copyright (c) 2014 IndigoUnited +The MIT License (MIT) + +Copyright (c) 2018 Made With MOXY Lda Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/README.md b/README.md index 3eefcd0..e895cd7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # cross-spawn -[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build status][appveyor-image]][appveyor-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url] +[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build status][appveyor-image]][appveyor-url] [![Coverage Status][codecov-image]][codecov-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url] [npm-url]:https://npmjs.org/package/cross-spawn [downloads-image]:http://img.shields.io/npm/dm/cross-spawn.svg @@ -9,6 +9,8 @@ [travis-image]:http://img.shields.io/travis/moxystudio/node-cross-spawn/master.svg [appveyor-url]:https://ci.appveyor.com/project/satazor/node-cross-spawn [appveyor-image]:https://img.shields.io/appveyor/ci/satazor/node-cross-spawn/master.svg +[codecov-url]:https://codecov.io/gh/moxystudio/node-cross-spawn +[codecov-image]:https://img.shields.io/codecov/c/github/moxystudio/node-cross-spawn/master.svg [david-dm-url]:https://david-dm.org/moxystudio/node-cross-spawn [david-dm-image]:https://img.shields.io/david/moxystudio/node-cross-spawn.svg [david-dm-dev-url]:https://david-dm.org/moxystudio/node-cross-spawn?type=dev @@ -45,13 +47,13 @@ Exactly the same way as node's [`spawn`](https://nodejs.org/api/child_process.ht ```js -var spawn = require('cross-spawn'); +const spawn = require('cross-spawn'); // Spawn NPM asynchronously -var child = spawn('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' }); +const child = spawn('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' }); // Spawn NPM synchronously -var results = spawn.sync('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' }); +const result = spawn.sync('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' }); ``` diff --git a/package-lock.json b/package-lock.json index 21cd384..40ccd7d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cross-spawn", - "version": "6.0.2", + "version": "6.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 57650b1..625136c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cross-spawn", - "version": "6.0.2", + "version": "6.0.3", "description": "Cross platform child_process#spawn and child_process#spawnSync", "keywords": [ "spawn", diff --git a/test/fixtures/shebang_enoent b/test/fixtures/shebang-enoent similarity index 100% rename from test/fixtures/shebang_enoent rename to test/fixtures/shebang-enoent diff --git a/test/index.test.js b/test/index.test.js index a1f54e0..fe5e020 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -319,7 +319,7 @@ run.methods.forEach((method) => { expect.assertions(1); try { - run(method, `${__dirname}/fixtures/shebang_enoent`); + run(method, `${__dirname}/fixtures/shebang-enoent`); } catch (err) { expect(err.code).not.toBe('ENOENT'); } @@ -327,7 +327,7 @@ run.methods.forEach((method) => { } else { it('should NOT emit `error` if shebang command does not exist', async () => { await new Promise((resolve, reject) => { - const promise = run(method, `${__dirname}/fixtures/shebang_enoent`); + const promise = run(method, `${__dirname}/fixtures/shebang-enoent`); const { cp } = promise; promise.catch(() => {}); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy