From aa9ae45ca1a5bddeb4a4f2ec3b989cd8a30a10a3 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Wed, 3 Aug 2016 15:14:20 +0200 Subject: [PATCH] fix: use scoped sse-stream until chrisdickinson/sse-stream#5 is merged and released --- handler-css.js | 2 +- handler-js.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/handler-css.js b/handler-css.js index 36a68477..895d3e0d 100644 --- a/handler-css.js +++ b/handler-css.js @@ -1,5 +1,5 @@ const assert = require('assert') -const sse = require('sse-stream') +const sse = require('@marionebl/sse-stream') const stream = require('readable-stream') module.exports = css diff --git a/handler-js.js b/handler-js.js index ad8d6ebf..4a824f50 100644 --- a/handler-js.js +++ b/handler-js.js @@ -5,7 +5,7 @@ const Emitter = require('events') const errorify = require('errorify') const sheetify = require('sheetify/transform') const stream = require('readable-stream') -const sse = require('sse-stream') +const sse = require('@marionebl/sse-stream') const watchify = require('watchify') const xtend = require('xtend') diff --git a/package.json b/package.json index d0eb29d8..586a2fe8 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ ], "license": "MIT", "dependencies": { + "@marionebl/sse-stream": "0.0.5", "bl": "^1.1.2", "css-extract": "^1.1.1", "errorify": "^0.3.1", @@ -39,7 +40,6 @@ "server-router": "^2.1.0", "sheetify": "^5.0.5", "simple-html-index": "^1.3.0", - "sse-stream": "0.0.4", "string-to-stream": "^1.1.0", "watchify": "^3.7.0", "xtend": "^4.0.1"