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

gutenblock-controls

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gutenblock-controls - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

35

dist/repeat/index.js

@@ -108,18 +108,23 @@ 'use strict';

return _react2.default.Children.map(children, function (child) {
return _react2.default.cloneElement(child, {
key: index,
index: index,
setAttributes: setAttributes,
attributes: attributes && attributes[attribute] && attributes[attribute][index] ? attributes[attribute][index] : {},
onChange: function onChange(name, value) {
return _this2.update(name, value, index, _onChange);
return wp.element.createElement(
'div',
{
style: {
marginLeft: '10px',
marginTop: '15px'
}
},
onDelete: function onDelete(childAttributes, childAttribute) {
return _this2.delete(childAttributes, childAttribute, index, _onChange);
},
style: {
marginLeft: '10px',
marginTop: '15px'
}
});
_react2.default.cloneElement(child, {
key: index,
index: index,
setAttributes: setAttributes,
attributes: attributes && attributes[attribute] && attributes[attribute][index] ? attributes[attribute][index] : {},
onChange: function onChange(name, value) {
return _this2.update(name, value, index, _onChange);
},
onDelete: function onDelete(childAttributes, childAttribute) {
return _this2.delete(childAttributes, childAttribute, index, _onChange);
}
})
);
});

@@ -126,0 +131,0 @@ }

{
"name": "gutenblock-controls",
"version": "0.3.6",
"version": "0.3.7",
"description": "Useful inspector controls for gutenberg",

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

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