Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
This package has been deprecated with the following message: connect 1.x series is deprecated
Generated on Mar 19, 2024 via pnpm

connect 1.9.2

High performance middleware framework
Package summary
Share
10
issues
2
critical severity
license
2
2
high severity
meta
2
4
moderate severity
vulnerability
4
2
low severity
vulnerability
2
3
licenses
15
MIT
2
N/A
1
BSD-3-Clause
Package created
28 Dec 2010
Version published
9 Jul 2012
Maintainers
1
Total deps
18
Direct deps
3
License
UNKNOWN

Issues

10

2 critical severity issues

critical
Recommendation: Check the package code and files for license information
via: connect@1.9.2
Recommendation: Check the package code and files for license information
via: formidable@1.0.17
Collapse
Expand

2 high severity issues

high
via: connect@1.9.2
via: formidable@1.0.17
Collapse
Expand

4 moderate severity issues

moderate
Recommendation: Upgrade to version 2.14.0 or later
via: connect@1.9.2
Recommendation: Upgrade to version 2.8.2 or later
via: connect@1.9.2
Recommendation: Upgrade to version 2.14.0 or later
via: connect@1.9.2
Recommendation: Upgrade to version 2.8.2 or later
via: connect@1.9.2
Collapse
Expand

2 low severity issues

low
Recommendation: Upgrade to version 2.8.1 or later
via: connect@1.9.2
Recommendation: Upgrade to version 2.8.1 or later
via: connect@1.9.2
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
15 Packages, Including:
call-bind@1.0.7
define-data-property@1.1.4
es-define-property@1.0.0
es-errors@1.3.0
function-bind@1.1.2
get-intrinsic@1.2.4
gopd@1.0.1
has-property-descriptors@1.0.2
has-proto@1.0.3
has-symbols@1.0.3
hasown@2.0.2
mime@4.0.1
object-inspect@1.13.1
set-function-length@1.2.2
side-channel@1.0.6

N/A

N/A
2 Packages, Including:
connect@1.9.2
formidable@1.0.17

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
qs@6.12.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of connect 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
formidable1.0.1712.04 kBUNKNOWN
prod
1
1
mime4.0.119.92 kBMIT
prod
qs6.12.0239.38 kBBSD-3-Clause
prod

Visualizations

Frequently Asked Questions

What does connect do?

Connect is an extensible HTTP server framework for Node.JS that uses plugins known as middleware to handle requests. This high-performance middleware framework glues together different middleware components, thus providing a simple framework to handle various HTTP requests. Moreover, it offers a high degree of flexibility when it comes to adding new functionalities, enhancing the overall extensibility of your application.

How do you use connect?

To use Connect, you need to install it using npm. You can do this by running:

$ npm install connect

After installation, you need to create an app and "use" middleware. Here is an example of how to set up a basic server using Connect:

var connect = require('connect');
var http = require('http');

var app = connect();

// respond to all requests
app.use(function(req, res){
  res.end('Hello from Connect!\n');
});

//create Node.js http server and listen on port
http.createServer(app).listen(3000);

You can also add various plugins for outgoing response compression, session state storage, body parsing, and many more. These plugins are invoked via the 'use' method. For instance:

var compression = require('compression');
app.use(compression());

You can also mount middleware for basic routing:

app.use('/foo', function fooMiddleware(req, res, next) {
  // req.url starts with "/foo"
  next();
});

Finally, to start the app listening for requests, use the listen() method:

var server = app.listen(port);

Where are the connect docs?

The Connect documentation, which covers the detailed API and usage instructions, can be found in the README.md file on the Connect GitHub repository. Here you find information about how to add a chain of middleware, use routes, create a server, and further information about supported middleware and libraries. For any additional queries, consider looking at the 'Issues' section on the repository, or the list of contributors who might be able to provide additional context or advice.