@rpldy/upload-drop-zone
Advanced tools
Comparing version 1.8.1 to 1.8.2
@@ -14,3 +14,3 @@ "use strict"; | ||
var _UploadDropZone = _interopRequireDefault(require("./UploadDropZone")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | ||
var _default = exports.default = _UploadDropZone.default; |
@@ -12,4 +12,4 @@ "use strict"; | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
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); } | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } | ||
const getShouldHandleDrag = (e, shouldHandle) => (0, _shared.isEmpty)(shouldHandle) || shouldHandle === true || (0, _shared.isFunction)(shouldHandle) && shouldHandle(e); | ||
@@ -16,0 +16,0 @@ const isOnTarget = (e, containerElm, allowContains) => { |
@@ -1,2 +0,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); } | ||
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } | ||
import React, { forwardRef, useCallback, useImperativeHandle, useRef } from "react"; | ||
@@ -3,0 +3,0 @@ import { getFilesFromDragEvent } from "html-dir-content"; |
{ | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"name": "@rpldy/upload-drop-zone", | ||
@@ -34,15 +34,15 @@ "description": "drop zone (container) component to initiate file and folder content uploads", | ||
"dependencies": { | ||
"@rpldy/shared-ui": "1.8.1", | ||
"@rpldy/shared-ui": "1.8.2", | ||
"html-dir-content": "^0.3.2" | ||
}, | ||
"devDependencies": { | ||
"@rpldy/shared": "1.8.1", | ||
"@rpldy/upload-button": "1.8.1", | ||
"@rpldy/uploady": "1.8.1", | ||
"@rpldy/shared": "1.8.2", | ||
"@rpldy/upload-button": "1.8.2", | ||
"@rpldy/uploady": "1.8.2", | ||
"@testing-library/react": "^14", | ||
"flow-bin": "^0.229.0", | ||
"react": "^18.2.0", | ||
"react": "^18.3.1", | ||
"react-dnd": "^16.0.1", | ||
"react-dnd-html5-backend": "^16.0.1", | ||
"react-dom": "^18.2.0", | ||
"react-dom": "^18.3.1", | ||
"styled-components": "^6.0.7" | ||
@@ -56,3 +56,3 @@ }, | ||
}, | ||
"gitHead": "42499e9a3b55c3996dcdf502df093da6b22d9927" | ||
"gitHead": "3704b7109c8492d67ac9aba12e4e7a5060da074f" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20888
272
+ Added@rpldy/shared@1.8.2(transitive)
+ Added@rpldy/shared-ui@1.8.2(transitive)
+ Added@rpldy/uploader@1.8.2(transitive)
- Removed@rpldy/shared@1.8.1(transitive)
- Removed@rpldy/shared-ui@1.8.1(transitive)
- Removed@rpldy/uploader@1.8.1(transitive)
Updated@rpldy/shared-ui@1.8.2