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

supertest

Package Overview
Dependencies
Maintainers
6
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supertest - npm Package Compare versions

Comparing version 6.3.3 to 6.3.4

2

index.js

@@ -21,3 +21,3 @@ 'use strict';

*
* @param {Function|Server} app
* @param {Function|Server|String} app
* @return {Test}

@@ -24,0 +24,0 @@ * @api public

{
"name": "supertest",
"description": "SuperAgent driven library for testing HTTP servers",
"version": "6.3.3",
"version": "6.3.4",
"author": "TJ Holowaychuk",

@@ -9,13 +9,13 @@ "contributors": [],

"methods": "^1.1.2",
"superagent": "^8.0.5"
"superagent": "^8.1.2"
},
"devDependencies": {
"body-parser": "^1.20.1",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"eslint": "^8.29.0",
"eslint": "^8.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import": "^2.27.5",
"express": "^4.18.2",
"mocha": "^10.1.0",
"nock": "^13.2.9",
"mocha": "^10.2.0",
"nock": "^13.3.0",
"nyc": "^15.1.0",

@@ -45,3 +45,3 @@ "proxyquire": "^2.1.3",

"type": "git",
"url": "https://github.com/visionmedia/supertest.git"
"url": "https://github.com/ladjs/supertest.git"
},

@@ -48,0 +48,0 @@ "scripts": {

@@ -1,2 +0,2 @@

# SuperTest
# [SuperTest](https://ladjs.github.io/superagent/)

@@ -37,3 +37,2 @@ [![code coverage][coverage-badge]][coverage]

const request = require('supertest');
const assert = require('assert');
const express = require('express');

@@ -153,3 +152,3 @@

.then(response => {
assert(response.body.email, 'foo@bar.com')
expect(response.body.email).toEqual('foo@bar.com');
})

@@ -156,0 +155,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