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

react-jw-player

Package Overview
Dependencies
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jw-player - npm Package Compare versions

Comparing version 1.18.1 to 1.18.3

2

dist/create-event-handlers/on-play.js

@@ -12,3 +12,3 @@ 'use strict';

this.props.onAutoStart(event);
} else if (this.state.hasPlayed && event.oldstate === 'paused') {
} else if (this.state.hasPlayed && (event.oldstate === 'buffering' || event.oldstate === 'paused')) {
this.props.onResume(event);

@@ -15,0 +15,0 @@ } else {

@@ -13,2 +13,6 @@ 'use strict';

var _reactFastCompare = require('react-fast-compare');
var _reactFastCompare2 = _interopRequireDefault(_reactFastCompare);
var _createEventHandlers = require('./create-event-handlers');

@@ -116,3 +120,3 @@

var hasFileChanged = this.props.file !== nextProps.file;
var hasPlaylistChanged = this.props.playlist !== nextProps.playlist;
var hasPlaylistChanged = !(0, _reactFastCompare2.default)(this.props.playlist, nextProps.playlist);

@@ -119,0 +123,0 @@ return hasFileChanged || hasPlaylistChanged;

{
"name": "react-jw-player",
"version": "1.18.1",
"version": "1.18.3",
"description": "A React component for launching JW Player instances on the client.",

@@ -64,3 +64,6 @@ "main": "dist/react-jw-player.js",

"react": "^15.4.1 || ^16.0.0"
},
"dependencies": {
"react-fast-compare": "^2.0.1"
}
}
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