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

unexpected-http

Package Overview
Dependencies
Maintainers
6
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-http - npm Package Compare versions

Comparing version 8.0.1 to 8.1.0

7

lib/unexpectedHttp.js

@@ -187,4 +187,4 @@ var http = require('http');

}
var httpResponse = (context.httpResponse = new messy.HttpResponse(
{
var httpResponse = (context.httpResponse =
new messy.HttpResponse({
statusCode: response.statusCode,

@@ -197,4 +197,3 @@ statusMessage: http.STATUS_CODES[response.statusCode],

unchunkedBody: body,
}
));
}));
resolve(

@@ -201,0 +200,0 @@ (context.httpExchange = new messy.HttpExchange({

{
"name": "unexpected-http",
"version": "8.0.1",
"version": "8.1.0",
"description": "Unexpected plugin for testing http servers",

@@ -10,3 +10,3 @@ "main": "lib/unexpectedHttp.js",

"scripts": {
"lint": "eslint . && prettier --check '**/*.{js,md}'",
"lint": "eslint . && prettier --check '**/*.{js,json,md}'",
"test": "npm run test-node && npm run test-browser",

@@ -51,3 +51,3 @@ "test-browser": "npm run prepublish && karma start --single-run",

"peerDependencies": {
"unexpected": "^10.27.0 || ^11.12.1 || ^12.0.0"
"unexpected": "^10.27.0 || ^11.12.1 || ^12.0.0 || ^13.0.0"
},

@@ -58,22 +58,21 @@ "devDependencies": {

"coveralls": "^3.0.0",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-standard": "^16.0.1",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"karma": "^5.0.1",
"eslint-plugin-mocha": "^10.0.1",
"eslint-plugin-n": "^15.1.0",
"eslint-plugin-promise": "^6.0.0",
"karma": "^6.0.0",
"karma-chrome-launcher": "^3.0.0",
"karma-mocha": "^2.0.0",
"magicpen-prism": "^4.0.0",
"magicpen-prism": "^5.0.0",
"mocha": "^8.2.1",
"nyc": "^15.0.0",
"offline-github-changelog": "^1.7.0",
"prettier": "~2.1.0",
"puppeteer": "^5.0.0",
"prettier": "~2.5.0",
"puppeteer": "^13.0.0",
"semver": "^7.0.0",
"stream-http": "^3.0.0",
"unexpected": "^12.0.0",
"unexpected": "^13.0.0",
"unexpected-documentation-site-generator": "^6.0.0",

@@ -80,0 +79,0 @@ "unexpected-markdown": "^5.0.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