watchify-middleware
Advanced tools
Comparing version 1.4.0 to 1.5.0
var url = require('url') | ||
console.log(url.parse(window.location.href)) | ||
var file = require('fs').readFileSync(__dirname + '/../README.md', 'utf8') | ||
console.log(file) |
@@ -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", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
12898
210
10
1