]> source.dussan.org Git - jquery.git/commitdiff
Build: switch from win-spawn to cross-spawn
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 27 Jan 2016 12:02:58 +0000 (13:02 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Wed, 27 Jan 2016 12:02:58 +0000 (13:02 +0100)
The win-spawn package is deprecated.

Refs gh-2877
Refs 67c96a59f5af9e8404b3f904028e1c730d647498

build/tasks/lib/spawn_test.js
package.json

index 6c4596a3d76499e36d528d01e2296b5724736514..e633755ee4d94b8d87accddcad372fe62ec50eee 100644 (file)
@@ -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 ) {
index db53210e6667814f2d00acc08cb782997d1e68ae..67d7a19724701756c5e102d486266b74f98c2b7a 100644 (file)
@@ -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",