Socket
Socket
Sign inDemoInstall

@sanity/eventsource

Package Overview
Dependencies
Maintainers
30
Versions
565
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/eventsource - npm Package Compare versions

Comparing version 2.25.5-next.6 to 2.27.1-event-source-monorepo.17

9

browser.js
/* eslint-disable no-var */
var evs = require('@rexxars/eventsource-polyfill')
var evs = require('event-source-polyfill')
module.exports =
typeof window === 'undefined' || !window.EventSource
? // Use polyfill in non-browser/legacy environments
evs.EventSource
: // Use native EventSource when we can
window.EventSource
module.exports = evs.EventSourcePolyfill
{
"name": "@sanity/eventsource",
"version": "2.25.5-next.6+9e5a11cb0",
"version": "2.27.1-event-source-monorepo.17+fb850ac64",
"description": "EventSource polyfill for browser and node.js",

@@ -29,6 +29,6 @@ "main": "./node.js",

"dependencies": {
"@rexxars/eventsource-polyfill": "^1.0.0",
"event-source-polyfill": "^1.0.25",
"eventsource": "^1.0.6"
},
"gitHead": "9e5a11cb084b22b074ed0f204f9cc640b489529d"
"gitHead": "fb850ac64a227cdca5f5df8c39d69f4af3d94e25"
}
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