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
150
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.10.2 to 0.10.3

.eslintrc.js

10

CHANGELOG.md

@@ -5,4 +5,10 @@ # Change Log

## 0.10.3
- **bugfix**: Reverted `type:module` change in `package.json` due to [issue #336](https://github.com/davidhu2000/react-spinners/issues/336). This is causing a `Must use import to load ES Module` error.
## 0.10.2
**Note: this release has a critical issue and was deprecated. Please update to 0.10.3 or higher.**
- **bugfix**: the tsconfig compiler option was not overriding properly, so the outputted files are es2015 (with import syntax) vs commonjs (with require syntax. This could cause similar issues like [#74](https://github.com/davidhu2000/react-spinners/issues/74).

@@ -12,3 +18,3 @@

**Note: this release has a critical issue and was deprecated. Please update to 0.10.2 or higher.**
**Note: this release has a critical issue and was deprecated. Please update to 0.10.3 or higher.**

@@ -19,3 +25,3 @@ - Update README using react hooks. Move react class example under a summary tag.

**Note: this release has a critical issue and was deprecated. Please update to 0.10.2 or higher.**
**Note: this release has a critical issue and was deprecated. Please update to 0.10.3 or higher.**

@@ -22,0 +28,0 @@ - update `div` to `span` to fix `<div> cannot appear as a descendant of <p>` per [#159](https://github.com/davidhu2000/react-spinners/issues/159). [PR #325](https://github.com/davidhu2000/react-spinners/pull/325)

8

package.json
{
"name": "react-spinners",
"version": "0.10.2",
"version": "0.10.3",
"description": "A collection of react loading spinners",

@@ -33,8 +33,6 @@ "repository": {

"main": "index.js",
"type": "module",
"module": "index.js",
"scripts": {
"prepare": "./node_modules/.bin/tsc --build tsconfig.build.json",
"test": "npm run lint",
"build:demo": "npm run remove:demo; babel-node ./node_modules/.bin/webpack --config ./webpack.config.cjs",
"build:demo": "npm run remove:demo; babel-node ./node_modules/.bin/webpack --config ./webpack.config.js",
"remove:demo": "rm docs/index.html; rm docs/javascripts/*",

@@ -44,3 +42,3 @@ "patch": "npm version patch && npm publish && npm run clean",

"major": "npm version major && npm publish && npm run clean",
"watch": "babel-node ./node_modules/.bin/webpack --watch --config ./webpack.config.dev.cjs",
"watch": "babel-node ./node_modules/.bin/webpack --watch --config ./webpack.config.dev.js",
"clean": "rm -rf helpers/; rm -f *Loader.js; rm -f *Loader.d.ts; rm -f index.js; rm -f index.d.ts; rm -f interfaces.js; rm -f interfaces.d.ts; rm -rf docs/js",

@@ -47,0 +45,0 @@ "lint": "./node_modules/.bin/eslint src __tests__ examples",

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