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

start-server-and-test

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

start-server-and-test - npm Package Compare versions

Comparing version 1.12.6 to 1.13.0

4

package.json
{
"name": "start-server-and-test",
"description": "Starts server, waits for URL, then runs test command; when the tests end, shuts down server",
"version": "1.12.6",
"version": "1.13.0",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -76,2 +76,3 @@ "bugs": "https://github.com/bahmutov/start-server-and-test/issues",

"start-fail": "node test/server-fail.js",
"start-304": "node test/server-304.js",
"start-cross-env": "cross-env FOO=bar node test/server.js",

@@ -94,2 +95,3 @@ "test2": "curl http://127.0.0.1:9000",

"demo11": "node src/bin/start.js http-get://127.0.0.1:9000",
"demo12": "node src/bin/start.js start-304 9000 test2",
"demo-cross-env": "node src/bin/start.js start-cross-env 9000",

@@ -96,0 +98,0 @@ "demo-commands": "node src/bin/start.js 'node test/server.js --port 8800' 8800 'node test/client --port 8800'",

@@ -85,3 +85,5 @@ // @ts-check

Accept: 'text/html, application/json, text/plain, */*'
}
},
validateStatus: status =>
(status >= 200 && status < 300) || status === 304
}

@@ -88,0 +90,0 @@ debug('wait-on options %o', options)

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