Socket
Socket
Sign inDemoInstall

@rpldy/upload-button

Package Overview
Dependencies
13
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.1 to 1.8.0-rc.0

2

lib/cjs/asUploadButton.js

@@ -26,4 +26,2 @@ "use strict";

} = props;
//using ref so onButtonClick can stay memoized
const uploadOptionsRef = (0, _react.useRef)();

@@ -30,0 +28,0 @@ uploadOptionsRef.current = uploadOptions;

@@ -18,4 +18,2 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

} = props;
//using ref so onButtonClick can stay memoized
const uploadOptionsRef = useRef();

@@ -22,0 +20,0 @@ uploadOptionsRef.current = uploadOptions;

2

LICENSE.md
MIT License
Copyright (c) 2023-2024 Yoav Niran
Copyright (c) 2024 Yoav Niran

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"version": "1.7.1",
"version": "1.8.0-rc.0",
"name": "@rpldy/upload-button",

@@ -33,9 +33,9 @@ "description": "upload button component and asUploadButton HOC",

"dependencies": {
"@rpldy/shared-ui": "1.7.1"
"@rpldy/shared-ui": "1.8.0-rc.0"
},
"devDependencies": {
"@rpldy/retry": "1.7.1",
"@rpldy/shared": "1.7.1",
"@rpldy/uploady": "1.7.1",
"flow-bin": "^0.223.2",
"@rpldy/retry": "1.8.0-rc.0",
"@rpldy/shared": "1.8.0-rc.0",
"@rpldy/uploady": "1.8.0-rc.0",
"flow-bin": "^0.229.0",
"react": "^18.2.0",

@@ -51,3 +51,3 @@ "react-dom": "^18.2.0",

},
"gitHead": "7833f3aee74341e82620699a536ba2554819a0bf"
"gitHead": "2e8e5b171dd02388932ce44e6a7c5ed8e987dbe5"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc