Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extended-eventsource

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extended-eventsource - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

6

dist/eventsource.js

@@ -7,2 +7,6 @@ "use strict";

exports.CustomEventSource = void 0;
require("core-js/modules/web.url-search-params.delete.js");
require("core-js/modules/web.url-search-params.has.js");
require("core-js/modules/web.url-search-params.size.js");
require("core-js/modules/web.url.can-parse.js");
var _parse = require("./parse");

@@ -158,2 +162,2 @@ const ContentTypeEventStream = 'text/event-stream';

exports.CustomEventSource = CustomEventSource;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJfcGFyc2UiLCJyZXF1aXJlIiwiQ29udGVudFR5cGVFdmVudFN0cmVhbSIsIkN1c3RvbUV2ZW50U291cmNlIiwiRXZlbnRUYXJnZXQiLCJDT05ORUNUSU5HIiwiT1BFTiIsIkNMT1NFRCIsInJlYWR5U3RhdGUiLCJvbmVycm9yIiwib25tZXNzYWdlIiwib25vcGVuIiwib25SZXRyeURlbGF5UmVjZWl2ZWQiLCJjb25zdHJ1Y3RvciIsInVybCIsImluaXREaWN0IiwiVVJMIiwidG9TdHJpbmciLCJvcHRpb25zIiwicmV0cnkiLCJjb25uZWN0Iiwid2l0aENyZWRlbnRpYWxzIiwicmV0cnlEZWxheSIsImxhc3RFdmVudElkIiwiYWJvcnRDb250cm9sbGVyIiwiQWJvcnRDb250cm9sbGVyIiwiZmV0Y2hPcHRpb25zIiwiaGVhZGVycyIsIkFjY2VwdCIsImNhY2hlIiwiY3JlZGVudGlhbHMiLCJzaWduYWwiLCJyZXNwb25zZSIsImdsb2JhbFRoaXMiLCJmZXRjaCIsInN0YXR1cyIsImZhaWxDb25uZWN0aW9uIiwiZ2V0IiwiaW5jbHVkZXM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Fubm91bmNlQ29ubmVjdGlvbigpO1xuXG4gICAgICBjb25zdCByZWFkZXI6IFJlYWRhYmxlU3RyZWFtRGVmYXVsdFJlYWRlcjxVaW50OEFycmF5PiA9XG4gICAgICAgIHJlc3BvbnNlLmJvZHkuZ2V0UmVhZGVyKCk7XG4gICAgICBjb25zdCBnZXRMaW5lID0gZ2V0TGluZXMoKTtcbiAgICAgIGNvbnN0IGdldE1lc3NhZ2UgPSBnZXRNZXNzYWdlcygpO1xuXG4gICAgICBmb3IgYXdhaXQgKGNvbnN0IGNodW5rIG9mIHJlYWRDaHVua3MocmVhZGVyKSkge1xuICAgICAgICBmb3IgYXdhaXQgKGNvbnN0IFtsaW5lLCBmaWVsZExlbmd0aF0gb2YgZ2V0TGluZShjaHVuaykpIHtcbiAgICAgICAgICBmb3IgYXdhaXQgKGNvbnN0IFttZXNzYWdlLCBpZCwgcmV0cnldIG9mIGdldE1lc3NhZ2UoXG4gICAgICAgICAgICBsaW5lLFxuICAgICAgICAgICAgZmllbGRMZW5ndGgsXG4gICAgICAgICAgKSkge1xuICAgICAgICAgICAgaWYgKGlkKSB7XG4gICAgICAgICAgICAgIHRoaXMuY3VycmVudExhc3RFdmVudElkID0gaWQ7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHJldHJ5KSB7XG4gICAgICAgICAgICAgIHRoaXMucmV0cnkgPSByZXRyeTtcbiAgICAgICAgICAgICAgdGhpcy5vblJldHJ5RGVsYXlSZWNlaXZlZD8uKHJldHJ5KTtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAobWVzc2FnZSkge1xuICAgICAgICAgICAgICB0aGlzLmRpc3BhdGNoTWVzc2FnZShcbiAgICAgICAgICAgICAgICBtZXNzYWdlLFxuICAgICAgICAgICAgICAgIHRoaXMuY3VycmVudExhc3RFdmVudElkLFxuICAgICAgICAgICAgICAgIHJlc3BvbnNlLnVybCxcbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICA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XNwb25zZSBib2R5J2ApO1xuICAgICAgfVxuXG4gICAgICB0aGlzLmFubm91bmNlQ29ubmVjdGlvbigpO1xuXG4gICAgICBjb25zdCByZWFkZXI6IFJlYWRhYmxlU3RyZWFtRGVmYXVsdFJlYWRlcjxVaW50OEFycmF5PiA9XG4gICAgICAgIHJlc3BvbnNlLmJvZHkuZ2V0UmVhZGVyKCk7XG4gICAgICBjb25zdCBnZXRMaW5lID0gZ2V0TGluZXMoKTtcbiAgICAgIGNvbnN0IGdldE1lc3NhZ2UgPSBnZXRNZXNzYWdlcygpO1xuXG4gICAgICBmb3IgYXdhaXQgKGNvbnN0IGNodW5rIG9mIHJlYWRDaHVua3MocmVhZGVyKSkge1xuICAgICAgICBmb3IgYXdhaXQgKGNvbnN0IFtsaW5lLCBmaWVsZExlbmd0aF0gb2YgZ2V0TGluZShjaHVuaykpIHtcbiAgICAgICAgICBmb3IgYXdhaXQgKGNvbnN0IFttZXNzYWdlLCBpZCwgcmV0cnldIG9mIGdldE1lc3NhZ2UoXG4gICAgICAgICAgICBsaW5lLFxuICAgICAgICAgICAgZmllbGRMZW5ndGgsXG4gICAgICAgICAgKSkge1xuICAgICAgICAgICAgaWYgKGlkKSB7XG4gICAgICAgICAgICAgIHRoaXMuY3VycmVudExhc3RFdmVudElkID0gaWQ7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKHJldHJ5KSB7XG4gICAgICAgICAgICAgIHRoaXMucmV0cnkgPSByZXRyeTtcbiAgICAgICAgICAgICAgdGhpcy5vblJldHJ5RGVsYXlSZWNlaXZlZD8uKHJldHJ5KTtcbiAgICAgICAgICAgIH0gZWxzZSBpZiAobWVzc2FnZSkge1xuICAgICAgICAgICAgICB0aGlzLmRpc3BhdGNoTWVzc2FnZShcbiAgICAgICAgICAgICAgICBtZXNzYWdlLFxuICAgICAgICAgICAgICAgIHRoaXMuY3VycmVudExhc3RFdmVudElkLFxuICAgICAgICAgICAgICAgIHJlc3BvbnNlLnVybCxcbiAgICAgICA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EdBQUcsSUFBSSxDQUFDRCxNQUFNO0lBQzdCLElBQUksQ0FBQ2lCLGVBQWUsRUFBRWlELEtBQUssQ0FBQyxDQUFDO0VBQy9CO0VBWVNDLGdCQUFnQkEsQ0FDdkJDLElBQU8sRUFDUEMsUUFBZ0UsRUFDaEUxRCxPQUEyQyxFQUNyQztJQUNOLEtBQUssQ0FBQ3dELGdCQUFnQixDQUNwQkMsSUFBSSxFQUNKQyxRQUFRLEVBQ1IxRCxPQUNGLENBQUM7RUFDSDtFQVlTMkQsbUJBQW1CQSxDQUMxQkYsSUFBTyxFQUNQQyxRQUFnRSxFQUNoRTFELE9BQXdDLEVBQ2xDO0lBQ04sS0FBSyxDQUFDMkQsbUJBQW1CLENBQ3ZCRixJQUFJLEVBQ0pDLFFBQVEsRUFDUjFELE9BQ0YsQ0FBQztFQUNIO0FBQ0Y7QUFBQzRELE9BQUEsQ0FBQTNFLGlCQUFBLEdBQUFBLGlCQUFBIn0=

5

dist/parse.js

@@ -9,2 +9,5 @@ "use strict";

exports.readChunks = readChunks;
require("core-js/modules/es.typed-array.to-reversed.js");
require("core-js/modules/es.typed-array.to-sorted.js");
require("core-js/modules/es.typed-array.with.js");
async function* readChunks(reader) {

@@ -146,2 +149,2 @@ let readResult = await reader.read();

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJyZWFkQ2h1bmtzIiwicmVhZGVyIiwicmVhZFJlc3VsdCIsInJlYWQiLCJkb25lIiwidmFsdWUiLCJnZXRMaW5lcyIsImJ1ZmZlciIsInBvc2l0aW9uIiwiZmllbGRMZW5ndGgiLCJkaXNjYXJkVHJhaWxpbmdOZXdsaW5lIiwib25DaHVuayIsImFyciIsInVuZGVmaW5lZCIsImNvbmNhdEJ1ZmZlcnMiLCJidWZMZW5ndGgiLCJsZW5ndGgiLCJsaW5lU3RhcnQiLCJDb250cm9sQ2hhcnMiLCJOZXdMaW5lIiwibGluZUVuZCIsIkNvb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1VBQ3JDO1VBQ0E7TUFDSjtJQUNGO0VBQ0YsQ0FBQztBQUNIO0FBQUMsSUFFVXJCLFlBQVksMEJBQVpBLFlBQVk7RUFBWkEsWUFBWSxDQUFaQSxZQUFZO0VBQVpBLFlBQVksQ0FBWkEsWUFBWTtFQUFaQSxZQUFZLENBQVpBLFlBQVk7RUFBWkEsWUFBWSxDQUFaQSxZQUFZO0VBQUEsT0FBWkEsWUFBWTtBQUFBLEVBQVpBLFlBQVk7QUFPdkIsU0FBU0osYUFBYUEsQ0FBQzRCLENBQWEsRUFBRUMsQ0FBYSxFQUFFO0VBQ25ELE1BQU1DLEdBQUcsR0FBRyxJQUFJQyxVQUFVLENBQUNILENBQUMsQ0FBQzFCLE1BQU0sR0FBRzJCLENBQUMsQ0FBQzNCLE1BQU0sQ0FBQztFQUMvQzRCLEdBQUcsQ0FBQ0UsR0FBRyxDQUFDSixDQUFDLENBQUM7RUFDVkUsR0FBRyxDQUFDRSxHQUFHLENBQUNILENBQUMsRUFBRUQsQ0FBQyxDQUFDMUIsTUFBTSxDQUFDO0VBQ3BCLE9BQU80QixHQUFHO0FBQ1o7QUFFQSxTQUFTbEIsYUFBYUEsQ0FBQSxFQUF1QjtFQUMzQyxPQUFPO0lBQ0xVLElBQUksRUFBRSxFQUFFO0lBQ1JDLEtBQUssRUFBRSxFQUFFO0lBQ1RDLEVBQUUsRUFBRSxFQUFFO0lBQ05DLEtBQUssRUFBRTFCO0VBQ1QsQ0FBQztBQUNIIn0=
{
"name": "extended-eventsource",
"version": "1.2.6",
"version": "1.2.7",
"author": "Lukas Reining",

@@ -5,0 +5,0 @@ "readme": "README.md",

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