Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Drop express 3.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Sep 4, 2018
1 parent 8b9d61b commit 38f9393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"eslint-plugin-flowtype": "^2.44.0",
"eslint-plugin-prettier": "^2.6.0",
"express": "^4.16.2",
"express3": "*",
"flow-bin": "^0.80.0",
"graphql": "14.0.0",
"isparta": "4.1.0",
Expand Down
6 changes: 2 additions & 4 deletions src/__tests__/http-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import multer from 'multer';
import bodyParser from 'body-parser';
import request from 'supertest';
import connect from 'connect';
import express4 from 'express'; // modern
import express3 from 'express3'; // old but commonly still used
import express from 'express';
import restify from 'restify';
import {
GraphQLSchema,
Expand Down Expand Up @@ -120,8 +119,7 @@ describe('test harness', () => {

[
[connect, 'connect'],
[express4, 'express-modern'],
[express3, 'express-old'],
[express, 'express'],
[restify.createServer, 'restify'],
].forEach(([serverImpl, name]) => {
function server() {
Expand Down

0 comments on commit 38f9393

Please sign in to comment.