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

grunt-contrib-connect

Package Overview
Dependencies
Maintainers
6
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-connect - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

2

package.json
{
"name": "grunt-contrib-connect",
"description": "Start a connect web server",
"version": "0.11.1",
"version": "0.11.2",
"author": {

@@ -6,0 +6,0 @@ "name": "Grunt Team",

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

# grunt-contrib-connect v0.11.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-connect.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-connect) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/3bp93hbs2rd5lwfd/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master)
# grunt-contrib-connect v0.11.2 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-connect.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-connect) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/3bp93hbs2rd5lwfd/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-connect/branch/master)

@@ -250,5 +250,6 @@ > Start a connect web server

#### Connect.static Options
You can specify options to be passed to each instance of the [connect.static](http://www.senchalabs.org/connect/static.html) module:
#### Static Options
Options for the serve-static module. See [serve-static](https://www.npmjs.com/package/serve-static):
```js

@@ -284,5 +285,7 @@ grunt.initConfig({

// After running "npm install connect --save-dev" to add connect as a dev
// After running "npm install connect serve-static --save-dev" to add connect as a dev
// dependency of your project, you can require it in your gruntfile with:
var connect = require('connect');
var serveStatic = require('serve-static');
connect(serveStatic('www-root')).listen(9001);

@@ -293,3 +296,3 @@ // Now you can define a "connect" task that starts a webserver, using the

grunt.log.writeln('Starting static web server in "www-root" on port 9001.');
connect(connect.static('www-root')).listen(9001);
connect(serveStatic.static('www-root')).listen(9001);
});

@@ -380,2 +383,4 @@ ```

* 2015-08-03   v0.11.2   documentation fixes.
* 2015-08-01   v0.11.1   fixes debug logging.
* 2015-07-30   v0.11.0   update to connect 3.

@@ -405,2 +410,2 @@ * 2015-04-03   v0.10.1   fixes npm corruption issue

*This file was generated on Thu Jul 30 2015 10:49:46.*
*This file was generated on Mon Aug 03 2015 12:58:30.*

@@ -32,3 +32,3 @@ /*

}
//Options for serve-static module. See https://www.npmjs.com/package/serve-static
// Options for serve-static module. See https://www.npmjs.com/package/serve-static
var defaultStaticOptions = {};

@@ -35,0 +35,0 @@ var directory = options.directory || options.base[options.base.length - 1];

Sorry, the diff of this file is not supported yet

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