Socket
Socket
Sign inDemoInstall

xgplayer-streaming-shared

Package Overview
Dependencies
Maintainers
5
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xgplayer-streaming-shared - npm Package Compare versions

Comparing version 3.0.0-next.15 to 3.0.0-next.16

29

es/net/fetch.js

@@ -1,2 +0,2 @@

import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, createClass as _createClass, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime, get as _get, getPrototypeOf as _getPrototypeOf } from "../_virtual/_rollupPluginBabelHelpers.js";
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, createClass as _createClass, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from "../_virtual/_rollupPluginBabelHelpers.js";
import "core-js/modules/es.object.to-string.js";

@@ -226,23 +226,22 @@ import "core-js/modules/es.promise.js";

this._running = false;
_get(_getPrototypeOf(FetchLoader2.prototype), "removeAllListeners", this).call(this);
if (!this._response) {
_context2.next = 15;
_context2.next = 14;
break;
}
_context2.prev = 6;
_context2.prev = 5;
if (!this._reader) {
_context2.next = 10;
_context2.next = 9;
break;
}
_context2.next = 10;
_context2.next = 9;
return this._reader.cancel();
case 10:
_context2.next = 14;
case 9:
_context2.next = 13;
break;
case 12:
_context2.prev = 12;
_context2.t0 = _context2["catch"](6);
case 11:
_context2.prev = 11;
_context2.t0 = _context2["catch"](5);
case 13:
this._response = this._reader = null;
case 14:
this._response = this._reader = null;
case 15:
if (this._abortController) {

@@ -255,3 +254,3 @@ try {

}
case 16:
case 15:
case "end":

@@ -261,3 +260,3 @@ return _context2.stop();

}
}, _callee2, this, [[6, 12]]);
}, _callee2, this, [[5, 11]]);
}));

@@ -264,0 +263,0 @@ function cancel() {

@@ -1,2 +0,2 @@

import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime, get as _get, getPrototypeOf as _getPrototypeOf } from "../_virtual/_rollupPluginBabelHelpers.js";
import { inherits as _inherits, createSuper as _createSuper, createClass as _createClass, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, asyncToGenerator as _asyncToGenerator, regeneratorRuntime as _regeneratorRuntime } from "../_virtual/_rollupPluginBabelHelpers.js";
import "core-js/modules/es.object.assign.js";

@@ -85,3 +85,2 @@ import "core-js/modules/es.array.concat.js";

case 0:
_get(_getPrototypeOf(NetLoader2.prototype), "removeAllListeners", this).call(this);
cancels = this._queue.map(function(t) {

@@ -97,8 +96,8 @@ return t.cancel();

this._alive = [];
_context.next = 7;
_context.next = 6;
return Promise.all(cancels);
case 7:
_context.next = 9;
case 6:
_context.next = 8;
return sleep();
case 9:
case 8:
case "end":

@@ -105,0 +104,0 @@ return _context.stop();

@@ -13,4 +13,2 @@ export class XhrLoader {

_currentChunkSizeKB: number;
_currentSpeedNormalized: number;
_zeroSpeedChunkCount: number;
_timeout: any;

@@ -17,0 +15,0 @@ _withCredentials: any;

@@ -59,4 +59,2 @@ import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, defineProperty as _defineProperty, assertThisInitialized as _assertThisInitialized, createClass as _createClass, objectSpread2 as _objectSpread2, get as _get, getPrototypeOf as _getPrototypeOf, createForOfIteratorHelper as _createForOfIteratorHelper } from "../_virtual/_rollupPluginBabelHelpers.js";

_defineProperty(_assertThisInitialized(_this), "_currentChunkSizeKB", 384);
_defineProperty(_assertThisInitialized(_this), "_currentSpeedNormalized", 0);
_defineProperty(_assertThisInitialized(_this), "_zeroSpeedChunkCount", 0);
_defineProperty(_assertThisInitialized(_this), "_timeout", null);

@@ -63,0 +61,0 @@ _defineProperty(_assertThisInitialized(_this), "_xhr", null);

{
"name": "xgplayer-streaming-shared",
"version": "3.0.0-next.15",
"version": "3.0.0-next.16",
"main": "dist/index.min.js",

@@ -5,0 +5,0 @@ "module": "es/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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