Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-nice-avatar

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-nice-avatar - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

dist/react-nice-avatar.d.ts

19

package.json
{
"name": "react-nice-avatar",
"version": "0.1.1",
"version": "1.0.0",
"description": "Beautiful default avatar for your users",
"main": "dist/index.js",
"scripts": {
"prebuild": "rm -rf demo/dist",
"build": "rollup -c rollup.config.demo.js"
},
"types": "dist/react-nice-avatar.d.ts",
"scripts": {},
"keywords": [

@@ -18,7 +16,7 @@ "react",

"peerDependencies": {
"prop-types": "^15.7.2",
"react": ">=16.0.0"
},
"dependencies": {
"chroma-js": "^2.1.2"
"chroma-js": "^2.1.2",
"prop-types": "^15.7.2"
},

@@ -34,2 +32,3 @@ "devDependencies": {

"classnames": "^2.3.1",
"dom-to-image": "^2.6.0",
"eslint": "^7.27.0",

@@ -41,3 +40,5 @@ "eslint-config-airbnb": "^18.2.1",

"eslint-plugin-react-hooks": "^4.2.0",
"file-saver": "^2.0.5",
"prop-types": "^15.7.2",
"rc-slider": "^9.7.2",
"react": "^17.0.2",

@@ -53,3 +54,7 @@ "react-color": "^2.19.3",

"rollup-plugin-serve": "^1.1.0"
},
"repository": {
"type": "git",
"url": "https://github.com/chilllab/react-nice-avatar"
}
}

@@ -15,3 +15,3 @@ # react-nice-avatar

## Assets
* Maker: [Micah](https://www.figma.com/@Micah)
* Designer: [Micah](https://www.figma.com/@Micah)
* Figma files: https://www.figma.com/community/file/829741575478342595

@@ -42,3 +42,3 @@

```js
const myConfig = genConfig(optObj?)
const myConfig = genConfig(AvatarConfig?)
```

@@ -65,2 +65,3 @@

|---|---|---|---|
|id|string|
|className|string|

@@ -67,0 +68,0 @@ |style|object|

@@ -20,4 +20,4 @@ import babel from "rollup-plugin-babel";

scss()
]
if (process.env.NODE_ENV === 'development' && process.env.MODE !== 'build') {
];
if (process.env.NODE_ENV === "development" && process.env.MODE !== "build") {
plugins = plugins.concat([

@@ -32,3 +32,3 @@ serve({

livereload({ watch: "demo" })
])
]);
}

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

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