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 Sep 26, 2023 via pnpm

connect 1.9.2

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

Issues

7

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: connect@1.9.2
Collapse
Expand

2 high severity issues

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

2 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
Collapse
Expand

1 low severity issue

low
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
Packages
call-bind@1.0.2
function-bind@1.1.1
get-intrinsic@1.2.1
has-proto@1.0.1
has-symbols@1.0.3
has@1.0.3
mime@3.0.0
object-inspect@1.12.3
side-channel@1.0.4

N/A

N/A
Packages
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
Packages
qs@6.11.2
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.

Dependencies

12
Get CSV
Name Version Size License Type Vulnerabilities
call-bind 1.0.2 5.24 kB MIT prod
connect 1.9.2 75.28 kB UNKNOWN prod 2221
formidable 1.0.17 12.04 kB UNKNOWN prod 11
function-bind 1.1.1 6.15 kB MIT prod
get-intrinsic 1.2.1 11.49 kB MIT prod
has-proto 1.0.1 3.3 kB MIT prod
has-symbols 1.0.3 6.9 kB MIT prod
has 1.0.3 1.52 kB MIT prod
mime 3.0.0 18.25 kB MIT prod
object-inspect 1.12.3 25.31 kB MIT prod
qs 6.11.2 52 kB BSD-3-Clause prod
side-channel 1.0.4 5.51 kB MIT 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.