aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-01-27 13:02:58 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2016-01-27 13:02:58 +0100
commitabb571580719328cc5431068bb5519b212f0f043 (patch)
treec6b6e4be147b9cc86bccbdd85479a11059a1ca6b
parent67c96a59f5af9e8404b3f904028e1c730d647498 (diff)
downloadjquery-abb571580719328cc5431068bb5519b212f0f043.tar.gz
jquery-abb571580719328cc5431068bb5519b212f0f043.zip
Build: switch from win-spawn to cross-spawn
The win-spawn package is deprecated. Refs gh-2877 Refs 67c96a59f5af9e8404b3f904028e1c730d647498
-rw-r--r--build/tasks/lib/spawn_test.js2
-rw-r--r--package.json4
2 files changed, 3 insertions, 3 deletions
diff --git a/build/tasks/lib/spawn_test.js b/build/tasks/lib/spawn_test.js
index 6c4596a3d..e633755ee 100644
--- a/build/tasks/lib/spawn_test.js
+++ b/build/tasks/lib/spawn_test.js
@@ -7,7 +7,7 @@
// See the comment in ../node_smoke_tests.js for more information.
module.exports = function spawnTest( done ) {
var testPaths = [].slice.call( arguments, 1 ),
- spawn = require( "win-spawn" );
+ spawn = require( "cross-spawn" );
spawn( "node", testPaths, { stdio: "inherit" } )
.on( "close", function( code ) {
diff --git a/package.json b/package.json
index db53210e6..67d7a1972 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"babel-preset-es2015": "6.3.13",
"commitplease": "2.3.0",
"core-js": "2.0.3",
+ "cross-spawn": "2.1.5",
"grunt": "0.4.5",
"grunt-babel": "6.0.0",
"grunt-cli": "0.1.13",
@@ -51,8 +52,7 @@
"sinon": "1.17.3",
"sizzle": "2.3.0",
"strip-json-comments": "2.0.0",
- "testswarm": "1.1.0",
- "win-spawn": "2.0.0"
+ "testswarm": "1.1.0"
},
"scripts": {
"build": "npm install && grunt",