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

@uiw/react-color-block

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-color-block - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

10

package.json
{
"name": "@uiw/react-color-block",
"version": "1.0.11",
"version": "1.0.12",
"description": "Color Block Picker",

@@ -38,7 +38,7 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@babel/runtime": "~7.17.2",
"@uiw/color-convert": "1.0.11",
"@uiw/react-color-editable-input": "1.0.11",
"@uiw/react-color-swatch": "1.0.11"
"@babel/runtime": "~7.18.0",
"@uiw/color-convert": "1.0.12",
"@uiw/react-color-editable-input": "1.0.12",
"@uiw/react-color-swatch": "1.0.12"
}
}

@@ -18,3 +18,4 @@ React Color Block

```js
```jsx mdx:preview
import React, { useState } from 'react';
import Block from '@uiw/react-color-block';

@@ -25,10 +26,15 @@

return (
<Block
color={hex}
onChange={(color) => {
setHex(color.hex);
}}
/>
<>
<Block
color={hex}
onChange={(color) => setHex(color.hex)}
/>
<div style={{ background: hex, marginTop: 30, padding: 10 }}>
{hex}
</div>
</>
);
}
export default Demo;
```

@@ -35,0 +41,0 @@

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