🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@m5r/eventsource-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@m5r/eventsource-polyfill - npm Package Compare versions

Comparing version
0.9.8
to
0.9.9
+4
-3
dist/browserify-eventsource.js
/*
* CommonJS module that exports EventSource polyfill version 0.9.7
* CommonJS module that exports EventSource polyfill version 0.9.8
* This module is intended for browser side use

@@ -20,5 +20,6 @@ * =====================================================================

window.EventSource = PolyfillEventSource;
if (console){
console.log("polyfill-eventsource added missing EventSource to window");
// Don't break IE < 10
if (typeof console !== "undefined" && typeof console.log !== "undefined"){
console.log("polyfill-eventsource added missing EventSource to window");
}
}
/*
* EventSource polyfill version 0.9.7
* EventSource polyfill version 0.9.8
* Supported by sc AmvTek srl

@@ -8,3 +8,3 @@ * :email: devel@amvtek.com

if (global.EventSource && !global._eventSourceImportPrefix){
if (!global || global.EventSource && !global._eventSourceImportPrefix){
return;

@@ -11,0 +11,0 @@ }

{
"name": "@m5r/eventsource-polyfill",
"version": "0.9.8",
"version": "0.9.9",
"description": "A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)",

@@ -5,0 +5,0 @@ "main": "dist/browserify-eventsource.js",