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

cloudinary-react

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudinary-react - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

1.5.1 / 2020-06-21
==================
* Fix Audio component export
* Update cloudinary-core to version 2.9.0
1.5.0 / 2020-04-23

@@ -2,0 +8,0 @@ ==================

2

lib/components/Audio/Audio.js

@@ -30,3 +30,3 @@ "use strict";

function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -33,0 +33,0 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

@@ -38,3 +38,3 @@ "use strict";

function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -113,3 +113,3 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

var mapped = _react["default"].Children.map(children, function (child) {
if (!_react["default"].isValidElement(child)) {
if (! /*#__PURE__*/_react["default"].isValidElement(child)) {
// child is not an element (e.g. simple text)

@@ -116,0 +116,0 @@ return;

@@ -38,3 +38,3 @@ "use strict";

function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -73,3 +73,3 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

value: function render() {
var props = _objectSpread({}, this.getContext(), {}, this.props);
var props = _objectSpread(_objectSpread({}, this.getContext()), this.props);

@@ -91,3 +91,3 @@ var _extractCloudinaryPro = (0, _Util.extractCloudinaryProps)(props),

CloudinaryContext.propTypes = _objectSpread({}, _CloudinaryComponent2["default"].propTypes, {
CloudinaryContext.propTypes = _objectSpread(_objectSpread({}, _CloudinaryComponent2["default"].propTypes), {}, {
includeOwnBody: _propTypes["default"].bool

@@ -94,0 +94,0 @@ });

@@ -16,3 +16,3 @@ "use strict";

var CloudinaryContextType = (0, _react.createContext)();
var CloudinaryContextType = /*#__PURE__*/(0, _react.createContext)();
exports.CloudinaryContextType = CloudinaryContextType;

@@ -46,3 +46,3 @@ "use strict";

function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -84,3 +84,3 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

};
_this.state = _objectSpread({}, state, {}, _this.prepareState(props, context));
_this.state = _objectSpread(_objectSpread({}, state), _this.prepareState(props, context));
return _this;

@@ -87,0 +87,0 @@ }

@@ -26,3 +26,3 @@ "use strict";

function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -29,0 +29,0 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

@@ -40,3 +40,3 @@ "use strict";

function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

@@ -75,3 +75,3 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }

_defineProperty(_assertThisInitialized(_this), "getMergedProps", function () {
return _objectSpread({}, _this.getContext(), {}, _this.props);
return _objectSpread(_objectSpread({}, _this.getContext()), _this.props);
});

@@ -124,3 +124,3 @@

var childTransformations = _this.getTransformation(_objectSpread({}, options, {
var childTransformations = _this.getTransformation(_objectSpread(_objectSpread({}, options), {}, {
children: children

@@ -127,0 +127,0 @@ }));

@@ -30,2 +30,8 @@ "use strict";

});
Object.defineProperty(exports, "Audio", {
enumerable: true,
get: function get() {
return _Audio["default"];
}
});

@@ -42,2 +48,4 @@ var _react = _interopRequireDefault(require("react"));

var _Audio = _interopRequireDefault(require("./components/Audio"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
{
"name": "cloudinary-react",
"version": "1.5.0",
"version": "1.5.1",
"description": "Present Cloudinary images and videos using React components",

@@ -57,3 +57,3 @@ "main": "lib/index.js",

"dependencies": {
"cloudinary-core": "^2.8.2",
"cloudinary-core": "^2.9.0",
"prop-types": "^15.6.2"

@@ -60,0 +60,0 @@ },

@@ -6,3 +6,4 @@ import React from 'react';

import Video from './components/Video';
import Audio from './components/Audio';
export { CloudinaryContext, Image, Transformation, Video};
export { CloudinaryContext, Image, Transformation, Video, Audio};

Sorry, the diff of this file is too big to display

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