Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/interactions

Package Overview
Dependencies
Maintainers
2
Versions
827
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/interactions - npm Package Compare versions

Comparing version 3.22.4 to 3.22.5

2

dist/textSelection.main.js

@@ -29,3 +29,2 @@ var $20aJV$reactariautils = require("@react-aria/utils");

if ($f7e14e656343df57$var$state === 'default') {
// eslint-disable-next-line no-restricted-globals
const documentObject = (0, $20aJV$reactariautils.getOwnerDocument)(target);

@@ -57,3 +56,2 @@ $f7e14e656343df57$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;

if ($f7e14e656343df57$var$state === 'restoring') {
// eslint-disable-next-line no-restricted-globals
const documentObject = (0, $20aJV$reactariautils.getOwnerDocument)(target);

@@ -60,0 +58,0 @@ if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $f7e14e656343df57$var$savedUserSelect || '';

@@ -22,3 +22,2 @@ import {isIOS as $7R18e$isIOS, getOwnerDocument as $7R18e$getOwnerDocument, runAfterTransition as $7R18e$runAfterTransition} from "@react-aria/utils";

if ($14c0b72509d70225$var$state === 'default') {
// eslint-disable-next-line no-restricted-globals
const documentObject = (0, $7R18e$getOwnerDocument)(target);

@@ -50,3 +49,2 @@ $14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;

if ($14c0b72509d70225$var$state === 'restoring') {
// eslint-disable-next-line no-restricted-globals
const documentObject = (0, $7R18e$getOwnerDocument)(target);

@@ -53,0 +51,0 @@ if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || '';

@@ -504,3 +504,2 @@ var $f7e14e656343df57$exports = require("./textSelection.main.js");

// Remove user-select: none in case component unmounts immediately after pressStart
// eslint-disable-next-line arrow-body-style
(0, $bBqCQ$react.useEffect)(()=>{

@@ -507,0 +506,0 @@ return ()=>{

@@ -498,3 +498,2 @@ import {disableTextSelection as $14c0b72509d70225$export$16a4697467175487, restoreTextSelection as $14c0b72509d70225$export$b0d6fa1ab32e3295} from "./textSelection.module.js";

// Remove user-select: none in case component unmounts immediately after pressStart
// eslint-disable-next-line arrow-body-style
(0, $7mdmh$useEffect)(()=>{

@@ -501,0 +500,0 @@ return ()=>{

@@ -58,3 +58,2 @@ var $iJhOP$react = require("react");

// Clean up MutationObserver on unmount. See below.
// eslint-disable-next-line arrow-body-style
(0, $iJhOP$reactariautils.useLayoutEffect)(()=>{

@@ -61,0 +60,0 @@ const state = stateRef.current;

@@ -52,3 +52,2 @@ import {useRef as $6dfIe$useRef, useCallback as $6dfIe$useCallback} from "react";

// Clean up MutationObserver on unmount. See below.
// eslint-disable-next-line arrow-body-style
(0, $6dfIe$useLayoutEffect)(()=>{

@@ -55,0 +54,0 @@ const state = stateRef.current;

12

package.json
{
"name": "@react-aria/interactions",
"version": "3.22.4",
"version": "3.22.5",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-aria/ssr": "^3.9.6",
"@react-aria/utils": "^3.25.3",
"@react-types/shared": "^3.25.0",
"@react-aria/ssr": "^3.9.7",
"@react-aria/utils": "^3.26.0",
"@react-types/shared": "^3.26.0",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
},

@@ -37,3 +37,3 @@ "publishConfig": {

},
"gitHead": "8e0a28d188cdbdbd2b32296fa034b1b02ddde229"
"gitHead": "71f0ef23053f9e03ee7e97df736e8b083e006849"
}

@@ -39,3 +39,3 @@ /*

if (state === 'default') {
// eslint-disable-next-line no-restricted-globals
const documentObject = getOwnerDocument(target);

@@ -73,3 +73,3 @@ savedUserSelect = documentObject.documentElement.style.webkitUserSelect;

if (state === 'restoring') {
// eslint-disable-next-line no-restricted-globals
const documentObject = getOwnerDocument(target);

@@ -76,0 +76,0 @@ if (documentObject.documentElement.style.webkitUserSelect === 'none') {

@@ -790,3 +790,3 @@ /*

// Remove user-select: none in case component unmounts immediately after pressStart
// eslint-disable-next-line arrow-body-style
useEffect(() => {

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

@@ -71,3 +71,3 @@ /*

// Clean up MutationObserver on unmount. See below.
// eslint-disable-next-line arrow-body-style
useLayoutEffect(() => {

@@ -74,0 +74,0 @@ const state = stateRef.current;

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