styled-spinkit
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -13,3 +13,5 @@ import React from 'react'; | ||
// It gives you the ability to round after a decimal. | ||
var roundTo = function (n, precision) { return (Math.round((n * Math.pow(10, precision))) / Math.pow(10, precision)); }; | ||
var roundTo = function (n, precision) { | ||
return Math.round(n * Math.pow(10, precision)) / Math.pow(10, precision); | ||
}; | ||
var size = function (width, height) { | ||
@@ -16,0 +18,0 @@ if (height === void 0) { height = width; } |
{ | ||
"name": "styled-spinkit", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Spinner Loading components", | ||
@@ -50,16 +50,16 @@ "license": "MIT", | ||
"@akameco/tsconfig": "^0.2.0", | ||
"@types/jest": "^24.0.12", | ||
"@types/jest": "^24.0.13", | ||
"@types/react": "16.8.17", | ||
"@types/react-test-renderer": "^16.8.1", | ||
"@types/round-to": "^3.0.0", | ||
"@types/styled-components": "^4.1.14", | ||
"@types/styled-components": "^4.1.15", | ||
"all-contributors-cli": "6.4.0", | ||
"eslint": "5.16.0", | ||
"eslint-config-precure": "4.15.0", | ||
"husky": "2.2.0", | ||
"husky": "2.3.0", | ||
"jest": "24.8.0", | ||
"jest-styled-components": "6.3.1", | ||
"lint-staged": "8.1.6", | ||
"lint-staged": "8.1.7", | ||
"parcel-bundler": "^1.12.3", | ||
"prettier": "1.17.0", | ||
"prettier": "1.17.1", | ||
"react": "16.8.6", | ||
@@ -69,3 +69,3 @@ "react-dom": "16.8.6", | ||
"rimraf": "2.6.3", | ||
"rollup": "1.11.3", | ||
"rollup": "1.12.0", | ||
"rollup-plugin-node-resolve": "4.2.3", | ||
@@ -78,3 +78,3 @@ "rollup-plugin-terser": "^4.0.4", | ||
"stylelint-config-styled-components": "0.1.1", | ||
"stylelint-processor-styled-components": "1.6.0", | ||
"stylelint-processor-styled-components": "1.7.0", | ||
"ts-jest": "^24.0.2", | ||
@@ -81,0 +81,0 @@ "typescript": "^3.4.5" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
150883
464