react-spinners-kit
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128018
6
34
121
+ Addedstyled-components@^4.4.1
+ Added@ampproject/remapping@2.3.0(transitive)
+ Added@babel/code-frame@7.24.7(transitive)
+ Added@babel/compat-data@7.25.4(transitive)
+ Added@babel/core@7.25.2(transitive)
+ Added@babel/generator@7.25.6(transitive)
+ Added@babel/helper-annotate-as-pure@7.24.7(transitive)
+ Added@babel/helper-compilation-targets@7.25.2(transitive)
+ Added@babel/helper-module-imports@7.24.7(transitive)
+ Added@babel/helper-module-transforms@7.25.2(transitive)
+ Added@babel/helper-plugin-utils@7.24.8(transitive)
+ Added@babel/helper-simple-access@7.24.7(transitive)
+ Added@babel/helper-string-parser@7.24.8(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/helper-validator-option@7.24.8(transitive)
+ Added@babel/helpers@7.25.6(transitive)
+ Added@babel/highlight@7.24.7(transitive)
+ Added@babel/parser@7.25.6(transitive)
+ Added@babel/plugin-syntax-jsx@7.24.7(transitive)
+ Added@babel/template@7.25.0(transitive)
+ Added@babel/traverse@7.25.6(transitive)
+ Added@babel/types@7.25.6(transitive)
+ Added@emotion/is-prop-valid@0.8.8(transitive)
+ Added@emotion/memoize@0.7.4(transitive)
+ Added@emotion/unitless@0.7.5(transitive)
+ Added@jridgewell/gen-mapping@0.3.5(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedbabel-plugin-styled-components@2.1.4(transitive)
+ Addedbrowserslist@4.24.0(transitive)
+ Addedcaniuse-lite@1.0.30001664(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedconvert-source-map@2.0.0(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedelectron-to-chromium@1.5.29(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedgensync@1.0.0-beta.2(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedis-what@3.14.1(transitive)
+ Addedjsesc@2.5.2(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlru-cache@5.1.1(transitive)
+ Addedmemoize-one@5.2.1(transitive)
+ Addedmerge-anything@2.4.4(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-releases@2.0.18(transitive)
+ Addedpicocolors@1.1.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedstyled-components@4.4.1(transitive)
+ Addedstylis-rule-sheet@0.0.10(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedto-fast-properties@2.0.0(transitive)
+ Addedupdate-browserslist-db@1.1.1(transitive)
+ Addedyallist@3.1.1(transitive)
- Removedasap@2.0.6(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhoist-non-react-statics@1.2.0(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisobject@3.0.1(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstyled-components@2.4.1(transitive)
- Removedsupports-color@3.2.3(transitive)
- Removedua-parser-js@0.7.39(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updatedreact@^16.12.0
Updatedreact-dom@^16.12.0