New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cl-component-media

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cl-component-media - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="0.6.4"></a>
## [0.6.4](https://github.com/crowdlab-uk/cl-ui/compare/cl-component-media@0.6.3...cl-component-media@0.6.4) (2017-04-03)
### Bug Fixes
* **cl-component-media:** use a safe host for Storybook media ([66db5d1](https://github.com/crowdlab-uk/cl-ui/commit/66db5d1))
<a name="0.6.3"></a>

@@ -8,0 +16,0 @@ ## [0.6.3](https://github.com/crowdlab-uk/cl-ui/compare/cl-component-media@0.6.2...cl-component-media@0.6.3) (2017-03-31)

7

dist/components/Icon.js

@@ -26,6 +26,7 @@ Object.defineProperty(exports, "__esModule", {

var Icon = function Icon(_ref) {
var name = _ref.name,
className = _ref.className,
props = _objectWithoutProperties(_ref, ['name', 'className']);
var name = _ref.name;
var className = _ref.className;
var props = _objectWithoutProperties(_ref, ['name', 'className']);
var paths = getIconWithDefault(name, _icons2['default']);

@@ -32,0 +33,0 @@

@@ -38,6 +38,6 @@ Object.defineProperty(exports, "__esModule", {

var Media = function Media(_ref) {
var mediaState = _ref.mediaState,
type = _ref.type,
media = _ref.media,
label = _ref.label;
var mediaState = _ref.mediaState;
var type = _ref.type;
var media = _ref.media;
var label = _ref.label;

@@ -44,0 +44,0 @@ if (hasNeitherMediaNorLabel(mediaState, label)) {

@@ -28,5 +28,5 @@ Object.defineProperty(exports, "__esModule", {

var Media = function Media(_ref) {
var type = _ref.type,
label = _ref.label,
media = _ref.media;
var type = _ref.type;
var label = _ref.label;
var media = _ref.media;

@@ -33,0 +33,0 @@ var getMarkup = function getMarkup() {

@@ -27,9 +27,9 @@ Object.defineProperty(exports, "__esModule", {

var PlayPause = _reactMediaPlayer.controls.PlayPause,
CurrentTime = _reactMediaPlayer.controls.CurrentTime,
SeekBar = _reactMediaPlayer.controls.SeekBar,
Duration = _reactMediaPlayer.controls.Duration,
MuteUnmute = _reactMediaPlayer.controls.MuteUnmute,
Volume = _reactMediaPlayer.controls.Volume,
Fullscreen = _reactMediaPlayer.controls.Fullscreen;
var PlayPause = _reactMediaPlayer.controls.PlayPause;
var CurrentTime = _reactMediaPlayer.controls.CurrentTime;
var SeekBar = _reactMediaPlayer.controls.SeekBar;
var Duration = _reactMediaPlayer.controls.Duration;
var MuteUnmute = _reactMediaPlayer.controls.MuteUnmute;
var Volume = _reactMediaPlayer.controls.Volume;
var Fullscreen = _reactMediaPlayer.controls.Fullscreen;

@@ -104,4 +104,4 @@ var getPlayControlClasses = _ramda2['default'].ifElse(_ramda2['default'].identity, _ramda2['default'].always('c-pause-button'), _ramda2['default'].always('c-play-button'));

var SeekingBar = function SeekingBar(_ref4) {
var currentTime = _ref4.currentTime,
duration = _ref4.duration;
var currentTime = _ref4.currentTime;
var duration = _ref4.duration;

@@ -180,12 +180,12 @@ var amount = currentTime / duration;

function render() {
var _props = this.props,
Player = _props.Player,
vendor = _props.vendor;
var _context = this.context,
currentTime = _context.currentTime,
duration = _context.duration,
isLoading = _context.isLoading,
isPlaying = _context.isPlaying,
playPause = _context.playPause,
volume = _context.volume;
var _props = this.props;
var Player = _props.Player;
var vendor = _props.vendor;
var _context = this.context;
var currentTime = _context.currentTime;
var duration = _context.duration;
var isLoading = _context.isLoading;
var isPlaying = _context.isPlaying;
var playPause = _context.playPause;
var volume = _context.volume;

@@ -192,0 +192,0 @@ var className = 'c-media-' + String(this.props.vendor);

{
"name": "cl-component-media",
"description": "Renders all types of media: audio, video, images and text",
"version": "0.6.3",
"version": "0.6.4",
"author": "CrowdLab <web@crowdlab.com>",

@@ -6,0 +6,0 @@ "license": "UNLICENSED",

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