New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

charge

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

charge - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

2

lib/cli.js

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

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.1
(function() {

@@ -3,0 +3,0 @@ var EventEmitter, antimatter, charge, help, minimist, path, self;

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

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.1
(function() {

@@ -142,3 +142,3 @@ var WebSocket, charge, connect, extend, fs, http, initialize_websockets, m, parse_options, path, remove, send, start, uuid;

send = function(ws_enabled, msg, opts) {
var sock, _i, _len, _ref, _results;
var i, len, ref, results, sock;
if (!ws_enabled) {

@@ -150,9 +150,9 @@ throw new Error('websockets disabled');

}
_ref = this.sockets;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
sock = _ref[_i];
_results.push(sock.send(msg, opts));
ref = this.sockets;
results = [];
for (i = 0, len = ref.length; i < len; i++) {
sock = ref[i];
results.push(sock.send(msg, opts));
}
return _results;
return results;
};

@@ -159,0 +159,0 @@

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

// Generated by CoffeeScript 1.7.1
// Generated by CoffeeScript 1.9.1
(function() {

@@ -3,0 +3,0 @@ module.exports = {

{
"name": "charge",
"description": "A bundle of useful middleware and other tools for serving static sites",
"version": "0.0.4",
"version": "0.1.0",
"author": "Carrot Creative <dev@carrotcreative.com>",

@@ -10,12 +10,12 @@ "bin": {

"dependencies": {
"alchemist-middleware": "0.0.4",
"alchemist-middleware": "0.1.x",
"anti-matter": "0.0.1",
"apology-middleware": "0.0.4",
"archivist-middleware": "0.0.2",
"chalk": "1.0.x",
"apology-middleware": "0.1.x",
"archivist-middleware": "0.1.x",
"chalk": "1.x",
"compression": "1.x",
"connect": "3.x",
"escapist-middleware": "0.0.2",
"faye-websocket": "0.9.x",
"hygienist-middleware": "0.0.3",
"escapist-middleware": "0.1.x",
"faye-websocket": "0.10.x",
"hygienist-middleware": "0.1.x",
"infestor": "0.3.x",

@@ -27,10 +27,10 @@ "lodash.assign": "3.x",

"node-uuid": "1.x",
"pathologist-middleware": "0.0.1",
"publicist-middleware": "0.0.1",
"pathologist-middleware": "0.1.x",
"publicist-middleware": "0.1.x",
"update-notifier": "0.5.x"
},
"devDependencies": {
"chai": "1.x",
"chai-fs": "0.1.x",
"chai-http": "1.0.x",
"chai": "3.x",
"chai-fs": "jenius/chai-fs",
"chai-http": "1.x",
"coffee-script": "1.9.x",

@@ -40,5 +40,5 @@ "coffeelint": "1.x",

"istanbul": "0.3.x",
"mocha": "2.2.x",
"mocha": "2.x",
"mocha-lcov-reporter": "0.0.2",
"websocket-driver": "0.5.x"
"websocket-driver": "0.6.x"
},

@@ -45,0 +45,0 @@ "engines": {

@@ -5,5 +5,3 @@ Charge

[![npm](http://img.shields.io/npm/v/charge.svg?style=flat)](https://badge.fury.io/js/charge) [![tests](http://img.shields.io/travis/carrot/charge/master.svg?style=flat)](https://travis-ci.org/carrot/charge) [![coverage](http://img.shields.io/coveralls/carrot/charge.svg?style=flat)](https://coveralls.io/r/carrot/charge) [![dependencies](http://img.shields.io/gemnasium/carrot/charge.svg?style=flat)](https://gemnasium.com/carrot/charge)
[![devDependencies](https://img.shields.io/david/dev/carrot/charge.svg)](https://gemnasium.com/carrot/charge)
A collection of useful middleware and tools for serving static sites.

@@ -10,0 +8,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