Socket
Socket
Sign inDemoInstall

@uppy/react

Package Overview
Dependencies
Maintainers
7
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.2 to 3.1.0

7

CHANGELOG.md
# @uppy/react
## 3.1.0
Released: 2023-01-26
Included in: Uppy v3.4.0
- @uppy/react: deprecate `useUppy` (Merlijn Vos / #4223)
## 3.0.2

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

4

lib/useUppy.js
import { useEffect, useRef } from 'react';
import { Uppy as UppyCore } from '@uppy/core';
/**
* @deprecated Initialize Uppy outside of the component.
*/
export default function useUppy(factory) {

@@ -4,0 +8,0 @@ if (typeof factory !== 'function') {

8

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

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

"dependencies": {
"@uppy/utils": "^5.0.2",
"@uppy/utils": "^5.1.2",
"prop-types": "^15.6.1"

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

"peerDependencies": {
"@uppy/core": "^3.0.2",
"@uppy/dashboard": "^3.1.0",
"@uppy/core": "^3.0.5",
"@uppy/dashboard": "^3.2.1",
"@uppy/drag-drop": "^3.0.1",

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

import type Uppy from '@uppy/core'
/**
* @deprecated Initialize Uppy outside of the component.
*/
declare function useUppy(factory: () => Uppy): Uppy
export default useUppy
import { useEffect, useRef } from 'react'
import { Uppy as UppyCore } from '@uppy/core'
/**
* @deprecated Initialize Uppy outside of the component.
*/
export default function useUppy (factory) {

@@ -5,0 +8,0 @@ if (typeof factory !== 'function') {

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