Socket
Socket
Sign inDemoInstall

tiny-lr

Package Overview
Dependencies
5
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

bin/update-livereload

5

lib/server.js
var fs = require('fs');
var path = require('path');
var qs = require('qs');

@@ -116,4 +118,3 @@ var util = require('util');

Server.prototype.livereload = function livereload(req, res) {
request('https://raw.github.com/livereload/livereload-js/master/dist/livereload.js')
.pipe(res);
fs.createReadStream(path.join(__dirname, '..', 'livereload', 'livereload.js')).pipe(res);
};

@@ -120,0 +121,0 @@

@@ -5,3 +5,3 @@ {

"description": "Tiny LiveReload server, background-friendly",
"version": "0.0.2",
"version": "0.0.3",
"homepage": "https://github.com/mklabs/tiny-lr",

@@ -14,2 +14,3 @@ "repository": {

"scripts": {
"prepublish:": "npm test",
"test": "mocha --reporter spec"

@@ -19,3 +20,2 @@ },

"qs": "~0.5.2",
"request": "~2.12.0",
"faye-websocket": "~0.4.3",

@@ -26,4 +26,5 @@ "noptify": "latest"

"mocha": "~1.7.1",
"request": "~2.12.0",
"supertest": "~0.4.2"
}
}

3

readme.md

@@ -350,3 +350,4 @@ tiny-lr

- 2013-01-12 - v0.0.2 - tasks - support for grunt 0.3.x
- 2013-01-20 - v0.0.3 - serve livereload from repo (#4)
- 2013-01-12 - v0.0.2 - tasks - support for grunt 0.3.x (#1)
- 2013-01-05 - v0.0.1 - Initial release

@@ -19,3 +19,3 @@

.expect('Content-Type', /json/)
.expect('{"tinylr":"Welcome","version":"0.0.1"}')
.expect(/\{"tinylr":"Welcome","version":"0.0.[\d]+"\}/)
.expect(200, done);

@@ -22,0 +22,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc