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

react-spinners

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-spinners - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

6

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change Log

## 0.6.1
- **bugfix**: Fix [issue 109](https://github.com/davidhu2000/react-spinners/issues/109) where `Math.random` is stubbed out in the `GridLoader` component instead in the tests, causing `Math.random` to not work properly if `GridLoader` is used.
## 0.6.0

@@ -100,3 +104,3 @@

- **bugfix**: update `package.json` `main` value from `dist/index.js` to `index.js` to fix codeSandbox import issue.
- **bugfix**: add missing `transform` key to the `25%` keyframe. It was just `25% {translateY(-${riseAmount}px)}` before. Now it is corrected.
- **bugfix**: add missing `transform` key to the `25%` keyframe in RiseLoader. It was just `25% {translateY(-${riseAmount}px)}` before. Now it is corrected.
- add tests for all the loaders. Fixed up a few tests using default variables, namely the first 3 letters in the alphabet.

@@ -103,0 +107,0 @@

3

GridLoader.js

@@ -31,5 +31,2 @@ "use strict";

var helpers_1 = require("./helpers");
var mockMath = Object.create(global.Math);
mockMath.random = function () { return 0.5; };
global.Math = mockMath;
var grid = core_1.keyframes(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n 0% {transform: scale(1)}\n 50% {transform: scale(0.5); opacity: 0.7}\n 100% {transform: scale(1);opacity: 1}\n"], ["\n 0% {transform: scale(1)}\n 50% {transform: scale(0.5); opacity: 0.7}\n 100% {transform: scale(1);opacity: 1}\n"])));

@@ -36,0 +33,0 @@ var random = function (top) { return Math.random() * top; };

{
"name": "react-spinners",
"version": "0.6.0",
"version": "0.6.1",
"description": "A collection of react loading spinners",

@@ -5,0 +5,0 @@ "repository": {

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