Socket
Socket
Sign inDemoInstall

xgplayer-streaming-shared

Package Overview
Dependencies
Maintainers
0
Versions
202
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.11-rc.2 to 3.0.11-rc.3

7

es/net/fetch.js

@@ -43,2 +43,3 @@ 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";

this._running = true;
this._receivedLength = 0;
this._index = index;

@@ -359,3 +360,3 @@ this._range = range || [0, 0];

retData = new Uint8Array(_this3._writeIdx + curLen);
retData.set(_this3._cache.slice(0, _this3._writeIdx), 0);
retData.set(_this3._cache.subarray(0, _this3._writeIdx), 0);
curLen > 0 && retData.set(data.value, _this3._writeIdx);

@@ -372,3 +373,3 @@ _this3._writeIdx = 0;

_this3._logger.debug("\u3010fetchLoader,onProgress extra start\u3011,size,", _this3._writeIdx + curLen + 2048, ", datalen,", curLen, ", writeIdx,", _this3._writeIdx);
temp.set(_this3._cache.slice(0, _this3._writeIdx), 0);
temp.set(_this3._cache.subarray(0, _this3._writeIdx), 0);
curLen > 0 && temp.set(data.value, _this3._writeIdx);

@@ -403,3 +404,3 @@ _this3._writeIdx += curLen;

case 28:
if (!(Date.now() - lastReadDataTime > _this3._processMaxGapTime)) {
if (!(Date.now() - lastReadDataTime >= _this3._processMaxGapTime)) {
_context4.next = 37;

@@ -406,0 +407,0 @@ break;

{
"name": "xgplayer-streaming-shared",
"version": "3.0.11-rc.2",
"version": "3.0.11-rc.3",
"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