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

beefy

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beefy - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

lib/server.js

@@ -83,2 +83,8 @@ module.exports = beefy

if(!stream && live_reload && pathname === '-/live-reload.js') {
resp.writeHead(200, {'content-type': 'text/javascript'})
resp.end(';('+live_reload_code+')()')
return
}
if(!stream && /html/.test(req.headers.accept || '')) {

@@ -197,3 +203,3 @@ logged_pathname = logged_pathname.blue + ' ' + '(generated)'

.replace('{{ PATH }}', index_path)
.replace('{{ LIVE }}', live_reload ? '<script>('+live_reload_code+')()</script>' : '')
.replace('{{ LIVE }}', live_reload ? '<script src="/-/live-reload.js"></script>' : '')
process.nextTick(function() {

@@ -200,0 +206,0 @@ stream.end(html)

2

package.json
{
"name": "beefy",
"version": "0.1.0",
"version": "0.1.1",
"description": "local development server that aims to make using browserify fast and fun",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -52,2 +52,9 @@ # beefy

if you're not using the generated index file, put the following script tag above
all of your other JS:
```html
<script src="/-/live-reload.js"></script>
```
#### `--cwd dir`

@@ -54,0 +61,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