Socket
Socket
Sign inDemoInstall

react-sound

Package Overview
Dependencies
7
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

5

lib/index.js

@@ -209,2 +209,5 @@ 'use strict';

}
},
onbufferchange: function onbufferchange() {
instance.props.onBufferChange(this.isBuffering);
}

@@ -258,2 +261,3 @@ }, function (sound) {

onFinishedPlaying: _propTypes2.default.func,
onBufferChange: _propTypes2.default.func,
autoLoad: _propTypes2.default.bool,

@@ -273,2 +277,3 @@ loop: _propTypes2.default.bool

onFinishedPlaying: noop,
onBufferChange: noop,
autoLoad: false,

@@ -275,0 +280,0 @@ loop: false

2

package.json
{
"name": "react-sound",
"version": "1.1.0",
"version": "1.2.0",
"description": "React Sound component using soundmanager2",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -74,2 +74,3 @@ # react-sound

* *onFinishedPlaying (function)*: Function that gets called when the sound finishes playing (reached end of sound). It receives no parameters.
* *onBufferChange (function)*: Function that gets called when the sound buffering status changes. It receives a single boolean representing the buffer state.

@@ -76,0 +77,0 @@ ## How to contribute

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc