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

irojs-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

irojs-react - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

6

dist/index.js

@@ -9,3 +9,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var ColorPicker = function ColorPicker(_ref) {
function ColorPicker(_ref) {
var setColor = _ref.setColor,

@@ -27,5 +27,5 @@ color = _ref.color;

});
};
}
exports.ColorPicker = ColorPicker;
module.exports = ColorPicker;
//# sourceMappingURL=index.js.map

@@ -6,3 +6,3 @@ import React, { useRef, useEffect } from 'react';

var ColorPicker = function ColorPicker(_ref) {
function ColorPicker(_ref) {
var setColor = _ref.setColor,

@@ -24,5 +24,5 @@ color = _ref.color;

});
};
}
export { ColorPicker };
export default ColorPicker;
//# sourceMappingURL=index.modern.js.map
{
"name": "irojs-react",
"version": "1.0.3",
"version": "1.0.4",
"description": "A react component wrapper for iro.js",

@@ -5,0 +5,0 @@ "author": "basith374",

@@ -26,3 +26,3 @@ # iro.js react component

render() {
return <ColorPicker />
return <ColorPicker setColor={(color) => console.log(color)} />
}

@@ -29,0 +29,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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