New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/dnd

Package Overview
Dependencies
Maintainers
2
Versions
777
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/dnd - npm Package Compare versions

Comparing version 3.0.0-nightly-641446f65-240905 to 3.0.0-nightly-68e305768-241023

3

dist/DragManager.main.js

@@ -334,3 +334,4 @@ var $4620ae0dc40f0031$exports = require("./utils.main.js");

if (!this.initialFocused) {
(0, $hMqHl$reactarialiveannouncer.announce)(item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label'), 'polite');
let label = item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label');
if (label) (0, $hMqHl$reactarialiveannouncer.announce)(label, 'polite');
this.initialFocused = true;

@@ -337,0 +338,0 @@ }

@@ -324,3 +324,4 @@ import {getDragModality as $7252cd45fc48c07c$export$1fb2158d224b542c, getTypes as $7252cd45fc48c07c$export$e1d41611756c6326} from "./utils.module.js";

if (!this.initialFocused) {
(0, $irqIb$announce)(item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label'), 'polite');
let label = item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label');
if (label) (0, $irqIb$announce)(label, 'polite');
this.initialFocused = true;

@@ -327,0 +328,0 @@ }

@@ -163,3 +163,2 @@ var $28e10663603f5ea1$exports = require("./DragManager.main.js");

// In this case, we need to manually call onDragEnd on cleanup
// eslint-disable-next-line arrow-body-style
(0, $3w36N$reactariautils.useLayoutEffect)(()=>{

@@ -166,0 +165,0 @@ return ()=>{

@@ -157,3 +157,2 @@ import {beginDragging as $67560de7c78cb232$export$549dbcf8649bf3b2} from "./DragManager.module.js";

// In this case, we need to manually call onDragEnd on cleanup
// eslint-disable-next-line arrow-body-style
(0, $72Evg$useLayoutEffect)(()=>{

@@ -160,0 +159,0 @@ return ()=>{

@@ -258,3 +258,2 @@ var $4620ae0dc40f0031$exports = require("./utils.main.js");

]);
// eslint-disable-next-line arrow-body-style
(0, $foOxf$react.useEffect)(()=>{

@@ -261,0 +260,0 @@ return ()=>{

@@ -252,3 +252,2 @@ import {clearGlobalDnDState as $7252cd45fc48c07c$export$70936501603e6c57, DIRECTORY_DRAG_TYPE as $7252cd45fc48c07c$export$990fced5dfac2637, droppableCollectionMap as $7252cd45fc48c07c$export$dfdf5deeaf27473f, getTypes as $7252cd45fc48c07c$export$e1d41611756c6326, globalDndState as $7252cd45fc48c07c$export$6ca6700462636d0b, isInternalDropOperation as $7252cd45fc48c07c$export$78bf638634500fa5, setDropCollectionRef as $7252cd45fc48c07c$export$dac8db29d42db9a1} from "./utils.module.js";

]);
// eslint-disable-next-line arrow-body-style
(0, $4ZR0C$useEffect)(()=>{

@@ -255,0 +254,0 @@ return ()=>{

@@ -156,3 +156,3 @@ var $76b1e110a27b1ccd$exports = require("./constants.main.js");

hasCustomType = true;
} catch (e) {
} catch {
// ignore

@@ -159,0 +159,0 @@ }

@@ -127,3 +127,3 @@ import {CUSTOM_DRAG_TYPE as $103790afe9474d1c$export$fd9f9fc120c5402d, DROP_OPERATION as $103790afe9474d1c$export$60b7b4bcf3903d8e, GENERIC_TYPE as $103790afe9474d1c$export$f8fc6581787339b3, NATIVE_DRAG_TYPES as $103790afe9474d1c$export$4a7729b856e9a690} from "./constants.module.js";

hasCustomType = true;
} catch (e) {
} catch {
// ignore

@@ -130,0 +130,0 @@ }

{
"name": "@react-aria/dnd",
"version": "3.0.0-nightly-641446f65-240905",
"version": "3.0.0-nightly-68e305768-241023",
"description": "Spectrum UI components in React",

@@ -25,11 +25,11 @@ "license": "Apache-2.0",

"dependencies": {
"@internationalized/string": "^3.0.0-nightly-641446f65-240905",
"@react-aria/i18n": "^3.0.0-nightly-641446f65-240905",
"@react-aria/interactions": "^3.0.0-nightly-641446f65-240905",
"@react-aria/live-announcer": "^3.0.0-nightly-641446f65-240905",
"@react-aria/overlays": "^3.0.0-nightly-641446f65-240905",
"@react-aria/utils": "^3.0.0-nightly-641446f65-240905",
"@react-stately/dnd": "^3.0.0-nightly-641446f65-240905",
"@react-types/button": "^3.0.0-nightly-641446f65-240905",
"@react-types/shared": "^3.0.0-nightly-641446f65-240905",
"@internationalized/string": "^3.0.0-nightly-68e305768-241023",
"@react-aria/i18n": "^3.0.0-nightly-68e305768-241023",
"@react-aria/interactions": "^3.0.0-nightly-68e305768-241023",
"@react-aria/live-announcer": "^3.0.0-nightly-68e305768-241023",
"@react-aria/overlays": "^3.0.0-nightly-68e305768-241023",
"@react-aria/utils": "^3.0.0-nightly-68e305768-241023",
"@react-stately/dnd": "^3.0.0-nightly-68e305768-241023",
"@react-types/button": "^3.0.0-nightly-68e305768-241023",
"@react-types/shared": "^3.0.0-nightly-68e305768-241023",
"@swc/helpers": "^0.5.0"

@@ -44,3 +44,3 @@ },

},
"stableVersion": "3.7.2"
"stableVersion": "3.7.4"
}

@@ -495,3 +495,6 @@ /*

if (!this.initialFocused) {
announce(item?.element.getAttribute('aria-label'), 'polite');
let label = item?.element.getAttribute('aria-label');
if (label) {
announce(label, 'polite');
}
this.initialFocused = true;

@@ -498,0 +501,0 @@ }

@@ -221,3 +221,3 @@ /*

// In this case, we need to manually call onDragEnd on cleanup
// eslint-disable-next-line arrow-body-style
useLayoutEffect(() => {

@@ -224,0 +224,0 @@ return () => {

@@ -328,3 +328,3 @@ /*

// eslint-disable-next-line arrow-body-style
useEffect(() => {

@@ -331,0 +331,0 @@ return () => {

@@ -198,3 +198,3 @@ /*

hasCustomType = true;
} catch (e) {
} catch {
// ignore

@@ -201,0 +201,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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