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

watchify-middleware

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watchify-middleware - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

3

example/app.js
var url = require('url')
console.log(url.parse(window.location.href))
var file = require('fs').readFileSync(__dirname + '/../README.md', 'utf8')
console.log(file)

3

example/server.js

@@ -10,3 +10,3 @@ var watchifyMiddleware = require('../')

cache: {},
transform: require('babelify'),
transform: [ require('babelify'), 'brfs' ],
packageCache: {},

@@ -16,2 +16,3 @@ debug: true,

})
var watcher = watchifyMiddleware.emitter(bundler, {

@@ -18,0 +19,0 @@ errorHandler: true

@@ -76,2 +76,3 @@ var createWatchify = require('watchify')

emitter.emit('log', {
contentLength: contents.length,
elapsed: Math.round(delay),

@@ -78,0 +79,0 @@ level: 'info',

{
"name": "watchify-middleware",
"version": "1.4.0",
"version": "1.5.0",
"description": "a server for faster watchify development",

@@ -22,2 +22,3 @@ "main": "index.js",

"babelify": "^6.3.0",
"brfs": "^1.4.1",
"browserify": "^11.2.0",

@@ -24,0 +25,0 @@ "faucet": "0.0.1",

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