boring-avatars-esm
Advanced tools
Comparing version 1.7.0-2 to 1.10.1-1
336
package.json
{ | ||
"name": "boring-avatars-esm", | ||
"description": "Boring avatars is a tiny JavaScript React library that generates custom, SVG-based, round avatars from any username and color palette.", | ||
"homepage": "https://boringavatars.com/", | ||
"version": "1.7.0-2", | ||
"types": "index.d.ts", | ||
"repository": "https://github.com/lu-zen/boring-avatars-esm", | ||
"bugs": { | ||
"url": "https://github.com/boringdesigners/boring-avatars/issues" | ||
}, | ||
"keywords": [ | ||
"avatar", | ||
"gravatar", | ||
"profile picture", | ||
"user avatar", | ||
"avatar generator", | ||
"avatar placeholder" | ||
], | ||
"scripts": { | ||
"start": "node scripts/start.js", | ||
"build": "vite build", | ||
"demo": "node scripts/demo.js", | ||
"test": "node scripts/test.js" | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"index.d.ts" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "7.6.0", | ||
"@svgr/webpack": "4.3.2", | ||
"@typescript-eslint/eslint-plugin": "^2.2.0", | ||
"@typescript-eslint/parser": "^2.2.0", | ||
"babel-eslint": "10.0.3", | ||
"babel-jest": "^24.9.0", | ||
"babel-loader": "8.0.6", | ||
"babel-plugin-named-asset-import": "^0.3.4", | ||
"babel-preset-react-app": "^9.0.2", | ||
"camelcase": "^5.2.0", | ||
"case-sensitive-paths-webpack-plugin": "2.2.0", | ||
"css-loader": "2.1.1", | ||
"dotenv": "6.2.0", | ||
"dotenv-expand": "5.1.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-react-app": "^5.0.2", | ||
"eslint-loader": "3.0.2", | ||
"eslint-plugin-flowtype": "3.13.0", | ||
"eslint-plugin-import": "2.18.2", | ||
"eslint-plugin-jsx-a11y": "6.2.3", | ||
"eslint-plugin-react": "7.14.3", | ||
"eslint-plugin-react-hooks": "^1.6.1", | ||
"file-loader": "3.0.1", | ||
"fs-extra": "7.0.1", | ||
"html-webpack-plugin": "4.0.0-beta.5", | ||
"identity-obj-proxy": "3.0.0", | ||
"is-wsl": "^1.1.0", | ||
"jest": "24.9.0", | ||
"jest-environment-jsdom-fourteen": "0.1.0", | ||
"jest-resolve": "24.9.0", | ||
"jest-watch-typeahead": "0.4.0", | ||
"mini-css-extract-plugin": "0.8.0", | ||
"nice-color-palettes": "^3.0.0", | ||
"optimize-css-assets-webpack-plugin": "5.0.3", | ||
"pnp-webpack-plugin": "1.5.0", | ||
"postcss-flexbugs-fixes": "4.1.0", | ||
"postcss-loader": "3.0.0", | ||
"postcss-normalize": "7.0.1", | ||
"postcss-preset-env": "6.7.0", | ||
"postcss-safe-parser": "4.0.1", | ||
"react": "^16.10.2", | ||
"react-app-polyfill": "^1.0.4", | ||
"react-color": "^2.19.3", | ||
"react-copy-to-clipboard": "^5.0.2", | ||
"react-dev-utils": "^9.1.0", | ||
"react-dom": "^16.10.2", | ||
"resolve": "1.12.0", | ||
"resolve-url-loader": "3.1.0", | ||
"sass-loader": "7.2.0", | ||
"semver": "6.3.0", | ||
"style-loader": "1.0.0", | ||
"styled-components": "^5.2.1", | ||
"terser-webpack-plugin": "1.4.1", | ||
"ts-pnp": "1.1.4", | ||
"url-loader": "2.1.0", | ||
"webpack": "4.41.0", | ||
"webpack-dev-server": "3.2.1", | ||
"webpack-manifest-plugin": "2.1.1", | ||
"workbox-webpack-plugin": "4.3.1", | ||
"vite": "^4.3.2", | ||
"@vitejs/plugin-react": "^4.0.0", | ||
"esbuild": "^0.17.19" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"jest": { | ||
"roots": [ | ||
"<rootDir>/src" | ||
], | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js,jsx,ts,tsx}", | ||
"!src/**/*.d.ts" | ||
], | ||
"setupFiles": [ | ||
"react-app-polyfill/jsdom" | ||
], | ||
"setupFilesAfterEnv": [], | ||
"testMatch": [ | ||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | ||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | ||
], | ||
"testEnvironment": "jest-environment-jsdom-fourteen", | ||
"transform": { | ||
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | ||
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | ||
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" | ||
}, | ||
"transformIgnorePatterns": [ | ||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$", | ||
"^.+\\.module\\.(css|sass|scss)$" | ||
], | ||
"modulePaths": [], | ||
"moduleNameMapper": { | ||
"^react-native$": "react-native-web", | ||
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy" | ||
}, | ||
"moduleFileExtensions": [ | ||
"web.js", | ||
"js", | ||
"web.ts", | ||
"ts", | ||
"web.tsx", | ||
"tsx", | ||
"json", | ||
"web.jsx", | ||
"jsx", | ||
"node" | ||
], | ||
"watchPlugins": [ | ||
"jest-watch-typeahead/filename", | ||
"jest-watch-typeahead/testname" | ||
] | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"react-app" | ||
] | ||
}, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/boring-avatars-esm.js", | ||
"require": "./dist/boring-avatars-esm.cjs", | ||
"types": "./index.d.ts" | ||
} | ||
} | ||
"name": "boring-avatars-esm", | ||
"description": "Boring avatars is a tiny JavaScript React library that generates custom, SVG-based, round avatars from any username and color palette.", | ||
"homepage": "https://boringavatars.com/", | ||
"version": "1.10.1-1", | ||
"types": "index.d.ts", | ||
"repository": "https://github.com/lu-zen/boring-avatars-esm", | ||
"bugs": { | ||
"url": "https://github.com/boringdesigners/boring-avatars/issues" | ||
}, | ||
"keywords": [ | ||
"avatar", | ||
"gravatar", | ||
"profile picture", | ||
"user avatar", | ||
"avatar generator", | ||
"avatar placeholder" | ||
], | ||
"scripts": { | ||
"start": "node scripts/start.js", | ||
"build": "vite build", | ||
"demo": "node scripts/demo.js", | ||
"test": "node scripts/test.js" | ||
}, | ||
"files": [ | ||
"dist/*", | ||
"index.d.ts" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "7.6.0", | ||
"@svgr/webpack": "4.3.2", | ||
"@typescript-eslint/eslint-plugin": "^2.2.0", | ||
"@typescript-eslint/parser": "^2.2.0", | ||
"babel-eslint": "10.0.3", | ||
"babel-jest": "^24.9.0", | ||
"babel-loader": "8.0.6", | ||
"babel-plugin-named-asset-import": "^0.3.4", | ||
"babel-preset-react-app": "^9.0.2", | ||
"camelcase": "^5.2.0", | ||
"case-sensitive-paths-webpack-plugin": "2.2.0", | ||
"css-loader": "2.1.1", | ||
"dotenv": "6.2.0", | ||
"dotenv-expand": "5.1.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-react-app": "^5.0.2", | ||
"eslint-loader": "3.0.2", | ||
"eslint-plugin-flowtype": "3.13.0", | ||
"eslint-plugin-import": "2.18.2", | ||
"eslint-plugin-jsx-a11y": "6.2.3", | ||
"eslint-plugin-react": "7.14.3", | ||
"eslint-plugin-react-hooks": "^1.6.1", | ||
"file-loader": "3.0.1", | ||
"fs-extra": "7.0.1", | ||
"html-webpack-plugin": "4.0.0-beta.5", | ||
"identity-obj-proxy": "3.0.0", | ||
"is-wsl": "^1.1.0", | ||
"jest": "24.9.0", | ||
"jest-environment-jsdom-fourteen": "0.1.0", | ||
"jest-resolve": "24.9.0", | ||
"jest-watch-typeahead": "0.4.0", | ||
"mini-css-extract-plugin": "0.8.0", | ||
"nice-color-palettes": "^3.0.0", | ||
"optimize-css-assets-webpack-plugin": "5.0.3", | ||
"pnp-webpack-plugin": "1.5.0", | ||
"postcss-flexbugs-fixes": "4.1.0", | ||
"postcss-loader": "3.0.0", | ||
"postcss-normalize": "7.0.1", | ||
"postcss-preset-env": "6.7.0", | ||
"postcss-safe-parser": "4.0.1", | ||
"react": "^18.2.0", | ||
"react-app-polyfill": "^1.0.4", | ||
"react-color": "^2.19.3", | ||
"react-copy-to-clipboard": "^5.1.0", | ||
"react-dev-utils": "^9.1.0", | ||
"react-dom": "^18.2.0", | ||
"resolve": "1.12.0", | ||
"resolve-url-loader": "3.1.0", | ||
"sass-loader": "7.2.0", | ||
"semver": "6.3.0", | ||
"style-loader": "1.0.0", | ||
"styled-components": "^5.2.1", | ||
"terser-webpack-plugin": "1.4.1", | ||
"ts-pnp": "1.1.4", | ||
"url-loader": "2.1.0", | ||
"webpack": "4.41.0", | ||
"webpack-dev-server": "3.2.1", | ||
"webpack-manifest-plugin": "2.1.1", | ||
"workbox-webpack-plugin": "4.3.1", | ||
"vite": "^4.3.2", | ||
"@vitejs/plugin-react": "^4.0.0", | ||
"esbuild": "^0.17.19" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"jest": { | ||
"roots": [ | ||
"<rootDir>/src" | ||
], | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js,jsx,ts,tsx}", | ||
"!src/**/*.d.ts" | ||
], | ||
"setupFiles": [ | ||
"react-app-polyfill/jsdom" | ||
], | ||
"setupFilesAfterEnv": [], | ||
"testMatch": [ | ||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | ||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | ||
], | ||
"testEnvironment": "jest-environment-jsdom-fourteen", | ||
"transform": { | ||
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | ||
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | ||
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" | ||
}, | ||
"transformIgnorePatterns": [ | ||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$", | ||
"^.+\\.module\\.(css|sass|scss)$" | ||
], | ||
"modulePaths": [], | ||
"moduleNameMapper": { | ||
"^react-native$": "react-native-web", | ||
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy" | ||
}, | ||
"moduleFileExtensions": [ | ||
"web.js", | ||
"js", | ||
"web.ts", | ||
"ts", | ||
"web.tsx", | ||
"tsx", | ||
"json", | ||
"web.jsx", | ||
"jsx", | ||
"node" | ||
], | ||
"watchPlugins": [ | ||
"jest-watch-typeahead/filename", | ||
"jest-watch-typeahead/testname" | ||
] | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"react-app" | ||
] | ||
}, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/boring-avatars-esm.js", | ||
"require": "./dist/boring-avatars-esm.cjs", | ||
"types": "./index.d.ts" | ||
} | ||
} | ||
} |
@@ -1,8 +0,4 @@ | ||
# Boring Avatars | ||
Boring avatars is a tiny JavaScript React library that generates custom, SVG-based avatars from any username and color palette. | ||
 | ||
<a href="https://www.npmjs.com/package/boring-avatars"> | ||
@@ -15,2 +11,13 @@ | ||
 | ||
## Sponsors | ||
[](https://clerk.com/?utm_source=boringavatars&utm_medium=github&utm_campaign=sponsorship) | ||
[Clerk](https://clerk.com/?utm_source=boringavatars&utm_medium=github&utm_campaign=sponsorship) provides drop-in authentication for React and has built-in support for Boring Avatars. | ||
## Install | ||
@@ -60,1 +67,2 @@ | ||
For more information, [check out the README](https://github.com/hihayk/boring-avatars-service/blob/main/README.md) | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
292707
8
67
1191
2
23