Socket
Socket
Sign inDemoInstall

react-spinners-kit

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-spinners-kit - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

4

CHANGELOG.md

@@ -8,1 +8,5 @@ # Change Log

- Add `MetroSpinner` , `WhisperSpinner` .
## 1.9.1
- Fix vulnerability bug, fix props in readme, add support for styled components 4.

230

package.json
{
"name": "react-spinners-kit",
"version": "1.9.0",
"description": "A collection of loading spinners",
"main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/dmitrymorozoff/react-spinners-kit.git"
},
"typings": "./typings/index.d.ts",
"files": [
"lib",
"typings/index.d.ts"
"name": "react-spinners-kit",
"version": "1.9.1",
"description": "A collection of loading spinners",
"main": "./lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/dmitrymorozoff/react-spinners-kit.git"
},
"typings": "./typings/index.d.ts",
"files": [
"lib",
"typings/index.d.ts"
],
"keywords": [
"react",
"react-component",
"react-spinners",
"loaders",
"kit",
"spinners"
],
"scripts": {
"start": "parcel examples/index.html",
"build": "npm run prettier && npm run lint && npm run clean && webpack --mode=production && parcel build --no-cache --public-url ./ examples/index.html",
"clean": "rimraf lib rimraf dist",
"prettier": "prettier --config .prettierrc.json --write src/**/*.js",
"test:watch": "jest --watch",
"test": "jest",
"lint": "./node_modules/.bin/eslint --ext .js --ext .jsx ./src",
"patch": "npm version patch && npm publish && npm run clean",
"minor": "npm version minor && npm publish && npm run clean",
"major": "npm version major && npm publish && npm run clean",
"size": "size-limit"
},
"pre-commit": [
"lint",
"prettier"
],
"size-limit": [
{
"limit": "9 KB",
"path": "./lib/index.js"
}
],
"jest": {
"setupFiles": [
"./jestsetup.js"
],
"keywords": [
"react",
"react-component",
"react-spinners",
"loaders",
"kit",
"spinners"
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
]
},
"author": "Morozov Dmitry <dimemorozovy@yandex.ru>",
"license": "MIT",
"homepage": "https://github.com/dmitrymorozoff/react-spinners-kit",
"devDependencies": {
"autoprefixer": "^9.5.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^25.0.0",
"babel-loader": "^7.1.5",
"babel-plugin-styled-components": "^1.7.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.6.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"jest": "^25.0.0",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"parcel-bundler": "^1.12.4",
"path": "^0.12.7",
"postcss-loader": "^3.0.0",
"prettier": "^1.14.2",
"react-addons-test-utils": "^15.6.2",
"react-syntax-highlighter": "^9.0.0",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"size-limit": "^2.2.3",
"webpack": "^4.41.4",
"webpack-cli": "^3.1.0",
"webpack-node-externals": "^1.7.2"
},
"dependencies": {
"polished": "^1.9.3",
"prop-types": "^15.6.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"styled-components": "^4.4.1"
},
"peerDependencies": {
"styled-components": ">=2.0.0"
},
"babel": {
"plugins": [
"transform-react-jsx",
"babel-plugin-styled-components",
"babel-plugin-transform-object-rest-spread"
],
"scripts": {
"start": "parcel examples/index.html",
"build": "npm run prettier && npm run lint && npm run clean && webpack --mode=production && parcel build --no-source-maps --no-cache --public-url ./ examples/index.html",
"clean": "rimraf lib rimraf dist",
"prettier": "prettier --config .prettierrc.json --write src/**/*.js",
"test:watch": "jest --watch",
"test": "jest",
"lint": "./node_modules/.bin/eslint --ext .js --ext .jsx ./src",
"patch": "npm version patch && npm publish && npm run clean",
"minor": "npm version minor && npm publish && npm run clean",
"major": "npm version major && npm publish && npm run clean"
},
"pre-commit": [
"lint",
"prettier"
],
"jest": {
"setupFiles": [
"./jestsetup.js"
],
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
"env": {
"test": {
"presets": [
[
"env",
{
"modules": "commonjs",
"useBuiltIns": "usage",
"debug": false
}
],
"stage-0",
"react",
"jest"
]
},
"author": "Morozov Dmitry <dimemorozovy@yandex.ru>",
"license": "MIT",
"homepage": "https://github.com/dmitrymorozoff/react-spinners-kit",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^7.1.5",
"babel-plugin-styled-components": "^1.7.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.6.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"jest": "^23.6.0",
"parcel-bundler": "^1.9.7",
"path": "^0.12.7",
"prettier": "^1.14.2",
"react-addons-test-utils": "^15.6.2",
"rimraf": "^2.6.2",
"webpack": "^4.19.0",
"webpack-cli": "^3.1.0",
"webpack-node-externals": "^1.7.2",
"react-syntax-highlighter": "^9.0.0"
},
"dependencies": {
"polished": "^1.9.3",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-dom": "^16.5.1"
},
"peerDependencies": {
"styled-components": "^2.x"
},
"babel": {
"plugins": [
"transform-react-jsx",
"babel-plugin-styled-components",
"babel-plugin-transform-object-rest-spread"
],
"env": {
"test": {
"presets": [
[
"env",
{
"modules": "commonjs",
"useBuiltIns": "usage",
"debug": false
}
],
"stage-0",
"react",
"jest"
]
}
}
}
}
}
}
}

@@ -43,9 +43,3 @@ # React Spinners Kit

const { loading } = this.state;
return (
<PushSpinner
size={30}
color="#686769"
loading={loading}
/>
);
return <PushSpinner size={30} color="#686769" loading={loading} />;
}

@@ -59,7 +53,7 @@ }

- Each spinner accepts a `loading` prop as a boolean.
- The `loading` prop defaults to `true`.
- The loader will not render anything if `loading` is `false`.
- Each spinner accepts a `loading` prop as a boolean.
- The `loading` prop defaults to `true`.
- The loader will not render anything if `loading` is `false`.
| Spinner | Size: number | Color: string | FrontColor: string | BackColor: string | SizeUnit: string |
| Spinner | size: number | color: string | frontColor: string | backColor: string | sizeUnit: string |
| ---------------- | ------------ | ------------- | ------------------ | ----------------- | ---------------- |

@@ -122,5 +116,5 @@ | BallSpinner | `40` | `#00ff89` | - | - | `px` |

- Pull requests and ⭐ stars are always welcome
- For bugs and feature requests, please create an issue
- Lint and test your code
- Pull requests and ⭐ stars are always welcome
- For bugs and feature requests, please create an issue
- Lint and test your code

@@ -127,0 +121,0 @@ ## License

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