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

xgplayer-streaming-shared

Package Overview
Dependencies
Maintainers
8
Versions
206
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.19-rc.1 to 3.0.19-rc.2

7

es/buffer.d.ts

@@ -52,2 +52,9 @@ export class Buffer {

};
/**
*
* @param {HTMLMediaElement} media
* @param {number} pos
* @returns {Boolean}
*/
static isBuffered(media: HTMLMediaElement, pos: number): boolean;
}

@@ -120,2 +120,17 @@ import { createClass as _createClass, classCallCheck as _classCallCheck } from "./_virtual/_rollupPluginBabelHelpers.js";

}
}, {
key: "isBuffered",
value: function isBuffered(media, pos) {
if (media) {
var buffered = Buffer2.get(media);
if (buffered !== null && buffered !== void 0 && buffered.length) {
for (var i = 0; i < buffered.length; i++) {
if (pos >= buffered.start(i) && pos <= buffered.end(i)) {
return true;
}
}
}
}
return false;
}
}]);

@@ -122,0 +137,0 @@ return Buffer2;

2

package.json
{
"name": "xgplayer-streaming-shared",
"version": "3.0.19-rc.1",
"version": "3.0.19-rc.2",
"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