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

react-soundplayer

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-soundplayer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/react-soundplayer.js

9

lib/components/index.js

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

var _Icons2 = require('./Icons');
var _Icons3 = _interopRequireDefault(_Icons2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -50,2 +46,5 @@

exports.Cover = _Cover3.default;
exports.Icons = _Icons3.default;
// workaround for dists
var Icons = exports.Icons = require('./Icons');
{
"name": "react-soundplayer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Create custom SoundCloud players with React",

@@ -14,5 +14,7 @@ "main": "index.js",

"scripts": {
"build-dist-dev": "NODE_ENV=development webpack --config webpack.config --colors",
"build-dist-prod": "NODE_ENV=production webpack --config webpack.config --progress --colors -p",
"build-js": "rm -rf ./lib && babel src -d lib",
"build-css": "rm -rf ./styles && mkdir styles && node .cssnext",
"build": "npm run build-js && npm run build-css",
"build": "npm run build-js && npm run build-css && npm run build-dist-dev && npm run build-dist-prod",
"lint": "eslint ./src --fix",

@@ -43,2 +45,3 @@ "prepublish": "npm run build",

"babel-eslint": "^8.0.0",
"babel-loader": "^7.1.2",
"babel-plugin-transform-object-assign": "^6.22.0",

@@ -55,4 +58,6 @@ "babel-preset-es2015": "^6.24.1",

"postcss-cssnext": "^3.0.2",
"postcss-import": "^11.0.0"
"postcss-import": "^11.0.0",
"webpack": "^2.7.0",
"webpack-umd-external": "^1.0.2"
}
}

@@ -75,2 +75,3 @@ # <img src="http://www.officialpsds.com/images/thumbs/Soundcloud-Logo-psd47614.png" width="75" align="left">&nbsp;[react-soundplayer](http://labs.voronianski.com/react-soundplayer)

import React from 'react';
import ReactDOM from 'react-dom';
import { PlayButton, Timer } from 'react-soundplayer/components';

@@ -109,3 +110,3 @@

React.render(<App />, document.getElementById('app'));
ReactDOM.render(<App />, document.getElementById('app'));
```

@@ -112,0 +113,0 @@

@@ -8,2 +8,4 @@ export VolumeControl from './VolumeControl';

export Cover from './Cover';
export Icons from './Icons';
// workaround for dists
export const Icons = require('./Icons');
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