Socket
Socket
Sign inDemoInstall

atomic-spinner

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomic-spinner - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

13

dist/AtomicSpinner.js

@@ -35,7 +35,10 @@ "use strict";

&& electronPaths.map(({ rotationAngle }) => (React.createElement(ElectronPath_1.default, { key: `electron-path-${rotationAngle}`, pathDefinitionId: electronPathDefinitionId, color: electronPathColor, width: electronPathWidth, rotationAngle: rotationAngle }))),
electronPaths.map(({ electronCount, rotationAngle, electronOrbitTime }) => Array.from({ length: electronCount })
.map((_, i) => {
const electronKey = i;
return (React.createElement(Electron_1.default, { key: `electron-${electronKey}`, pathDefinitionId: electronDefinitionId, rotationAngle: rotationAngle, orbitTime: electronOrbitTime, size: electronSize, spacetimeOffset: -electronOrbitTime + i * (electronOrbitTime / (electronCount)), colorPalette: electronColorPalette }));
}))));
electronPaths.map(({ electronCount, rotationAngle, electronOrbitTime }) => {
const randomSpacetimeShift = (-1 + Math.random() * -1) * electronOrbitTime;
return Array.from({ length: electronCount })
.map((_, i) => {
const electronKey = i;
return (React.createElement(Electron_1.default, { key: `electron-${electronKey}`, pathDefinitionId: electronDefinitionId, rotationAngle: rotationAngle, orbitTime: electronOrbitTime, size: electronSize, spacetimeOffset: randomSpacetimeShift + i * (electronOrbitTime / (electronCount)), colorPalette: electronColorPalette }));
});
})));
};

@@ -42,0 +45,0 @@ AtomicSpinner.propTypes = {

{
"name": "atomic-spinner",
"version": "1.0.15",
"version": "1.0.16",
"description": "Loading spinner that looks like an atom",

@@ -5,0 +5,0 @@ "author": "David Lounsbrough",

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