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

combohandler

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

combohandler - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

HISTORY.md

2

index.js

@@ -41,3 +41,3 @@ var fs = require('fs'),

res.header('Content-Type', (type || 'text/plain') + ';charset=utf-8');
res.body = body.join("\n");
res.body = body.join('\n');

@@ -44,0 +44,0 @@ next();

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

var express = require('express'),
var connect = require('connect'),
express = require('express'),
combo = require('../index');

@@ -10,6 +11,2 @@

if (!baseApp) {
app.configure(function () {
app.use(express.conditionalGet());
});
app.configure('development', function () {

@@ -38,2 +35,6 @@ app.use(express.logger());

app.get(route, combo.combine({rootPath: roots[route]}), function (req, res) {
if (!connect.utils.modified(req, res)) {
return connect.utils.notModified(res);
}
res.send(res.body, 200);

@@ -40,0 +41,0 @@ });

{
"name" : "combohandler",
"description": "Simple Yahoo!-style combo handler.",
"version" : "0.1.0",
"keywords" : ["combo", "combine", "cdn", "yui", "yui3", "js", "css"],
"version" : "0.1.1",
"keywords" : ["combo", "combine", "cdn", "yui", "yui3", "js", "css", "performance"],
"homepage" : "https//github.com/rgrove/combohandler",

@@ -19,6 +19,10 @@

"engines": ["node >=0.2.0"],
"engines": [
"node >=0.4.0 <0.5.0",
"npm >=0.3.1"
],
"dependencies": {
"express": "1.0.x"
"connect": "~1.3",
"express": "~2.2"
},

@@ -32,2 +36,3 @@

"lib/server.js",
"HISTORY.md",
"LICENSE",

@@ -34,0 +39,0 @@ "README.md",

@@ -37,7 +37,9 @@ Combo Handler

The `combohandler` module provides a configurable Connect middleware that can be used to add combo handling capability to any Connect-based request handler (like Express).
The `combohandler` module provides a configurable Connect middleware that can be
used to add combo handling capability to any Connect-based request handler (like
Express).
The `combohandler/server` module creates a standalone Express server
instance, or augments an existing server, to perform combo handling for a
configurable number of routes.
The `combohandler/server` module creates a standalone Express server instance,
or augments an existing server, to perform combo handling for a set of
configurable routes.

@@ -44,0 +46,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