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

deku-soundplayer

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deku-soundplayer - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

58

lib/components/Icons.js

@@ -47,6 +47,10 @@ /** @jsx dom */

// Player Button Icons
var ButtonIconSVG = {
// |> Play
var PlayIconSVG = {
propTypes: iconPropTypes,
shouldUpdate: function shouldUpdate() {
return false;
},
render: function render(component) {

@@ -58,27 +62,7 @@ var props = component.props;

{
'class': 'sb-soundplayer-button-icon',
'class': 'sb-soundplayer-cover-logo',
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 32 32',
fill: 'currentColor',
onClick: props.onClick
},
props.children
);
}
};
// |> Play
var PlayIconSVG = {
propTypes: iconPropTypes,
shouldUpdate: function shouldUpdate() {
return false;
},
render: function render(component) {
var props = component.props;
return (0, _magicVirtualElement2['default'])(
ButtonIconSVG,
props,
(0, _magicVirtualElement2['default'])('path', { d: 'M0 0 L32 16 L0 32 z' })

@@ -101,4 +85,10 @@ );

return (0, _magicVirtualElement2['default'])(
ButtonIconSVG,
props,
'svg',
{
'class': 'sb-soundplayer-button-icon',
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 32 32',
fill: 'currentColor',
onClick: props.onClick
},
(0, _magicVirtualElement2['default'])('path', { d: 'M0 0 H12 V32 H0 z M20 0 H32 V32 H20 z' })

@@ -126,4 +116,9 @@ );

return (0, _magicVirtualElement2['default'])(
ButtonIconSVG,
props,
'svg',
{
'class': 'sb-soundplayer-cover-logo',
xmlns: 'http://www.w3.org/2000/svg',
fill: 'currentColor',
onClick: props.onClick
},
(0, _magicVirtualElement2['default'])('path', { d: 'M4 4 L24 14 V4 H28 V28 H24 V18 L4 28 z ' })

@@ -151,4 +146,9 @@ );

return (0, _magicVirtualElement2['default'])(
ButtonIconSVG,
props,
'svg',
{
'class': 'sb-soundplayer-cover-logo',
xmlns: 'http://www.w3.org/2000/svg',
fill: 'currentColor',
onClick: props.onClick
},
(0, _magicVirtualElement2['default'])('path', { d: 'M4 4 H8 V14 L28 4 V28 L8 18 V28 H4 z ' })

@@ -155,0 +155,0 @@ );

{
"name": "deku-soundplayer",
"version": "0.4.0",
"version": "0.4.1",
"description": "Create custom SoundCloud players with Deku",

@@ -30,10 +30,8 @@ "main": "index.js",

"dependencies": {
"deku": "1.0.0",
"classnames": "^2.1.2",
"magic-virtual-element": "1.0.x",
"object-assign": "^4.0.1",
"soundcloud-audio": "^0.1.6"
},
"peerDependencies": {
"deku": "1.0.0",
"magic-virtual-element": "1.0.0"
},
"devDependencies": {

@@ -40,0 +38,0 @@ "babel": "^5.5.8",

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