Socket
Socket
Sign inDemoInstall

@uppy/react

Package Overview
Dependencies
Maintainers
8
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/react - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

7

CHANGELOG.md
# @uppy/react
## 3.0.1
Released: 2022-08-30
Included in: Uppy v3.0.1
- @uppy/react: useUppy: fix unmount on NextJS dev mode (Matt Jesuele / #4062)
## 3.0.0

@@ -4,0 +11,0 @@

4

lib/useUppy.js

@@ -20,3 +20,5 @@ import { useEffect, useRef } from 'react';

return () => {
uppy.current.close({
var _uppy$current;
(_uppy$current = uppy.current) == null ? void 0 : _uppy$current.close({
reason: 'unmount'

@@ -23,0 +25,0 @@ });

{
"name": "@uppy/react",
"description": "React component wrappers around Uppy's official UI plugins.",
"version": "3.0.0",
"version": "3.0.1",
"license": "MIT",

@@ -25,3 +25,3 @@ "main": "lib/index.js",

"dependencies": {
"@uppy/utils": "^5.0.0",
"@uppy/utils": "^5.0.1",
"prop-types": "^15.6.1"

@@ -34,4 +34,4 @@ },

"peerDependencies": {
"@uppy/core": "^3.0.0",
"@uppy/dashboard": "^3.0.0",
"@uppy/core": "^3.0.1",
"@uppy/dashboard": "^3.0.1",
"@uppy/drag-drop": "^3.0.0",

@@ -38,0 +38,0 @@ "@uppy/file-input": "^3.0.0",

@@ -20,3 +20,3 @@ import { useEffect, useRef } from 'react'

return () => {
uppy.current.close({ reason: 'unmount' })
uppy.current?.close({ reason: 'unmount' })
uppy.current = undefined

@@ -23,0 +23,0 @@ }

Sorry, the diff of this file is not supported yet

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