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

@react-aria/utils

Package Overview
Dependencies
Maintainers
0
Versions
829
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/utils - npm Package Compare versions

Comparing version 3.0.0-nightly-086ad3115-240912 to 3.0.0-nightly-0ddbe6f95-241019

2

dist/focusWithoutScrolling.main.js

@@ -39,3 +39,3 @@

});
} catch (e) {
} catch {
// Ignore

@@ -42,0 +42,0 @@ }

@@ -33,3 +33,3 @@ /*

});
} catch (e) {
} catch {
// Ignore

@@ -36,0 +36,0 @@ }

@@ -123,4 +123,6 @@ var $1117b6c0d4c4c164$exports = require("./focusWithoutScrolling.main.js");

let router = $4068a0fae83b6d84$export$9a302a45f65d0572();
var _props_href;
const href = router.useHref((_props_href = props.href) !== null && _props_href !== void 0 ? _props_href : '');
return {
'data-href': props.href ? router.useHref(props.href) : undefined,
'data-href': props.href ? href : undefined,
'data-target': props.target,

@@ -145,4 +147,6 @@ 'data-rel': props.rel,

let router = $4068a0fae83b6d84$export$9a302a45f65d0572();
var _props_href;
const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : '');
return {
href: (props === null || props === void 0 ? void 0 : props.href) ? router.useHref(props === null || props === void 0 ? void 0 : props.href) : undefined,
href: (props === null || props === void 0 ? void 0 : props.href) ? href : undefined,
target: props === null || props === void 0 ? void 0 : props.target,

@@ -149,0 +153,0 @@ rel: props === null || props === void 0 ? void 0 : props.rel,

@@ -107,4 +107,6 @@ import {focusWithoutScrolling as $7215afc6de606d6b$export$de79e2c695e052f3} from "./focusWithoutScrolling.module.js";

let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
var _props_href;
const href = router.useHref((_props_href = props.href) !== null && _props_href !== void 0 ? _props_href : '');
return {
'data-href': props.href ? router.useHref(props.href) : undefined,
'data-href': props.href ? href : undefined,
'data-target': props.target,

@@ -129,4 +131,6 @@ 'data-rel': props.rel,

let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
var _props_href;
const href = router.useHref((_props_href = props === null || props === void 0 ? void 0 : props.href) !== null && _props_href !== void 0 ? _props_href : '');
return {
href: (props === null || props === void 0 ? void 0 : props.href) ? router.useHref(props === null || props === void 0 ? void 0 : props.href) : undefined,
href: (props === null || props === void 0 ? void 0 : props.href) ? href : undefined,
target: props === null || props === void 0 ? void 0 : props.target,

@@ -133,0 +137,0 @@ rel: props === null || props === void 0 ? void 0 : props.rel,

@@ -224,3 +224,3 @@ import React, { ForwardedRef, MutableRefObject, ReactNode, HTMLAttributes, EffectCallback, Dispatch, RefObject as _RefObject1 } from "react";

/** The data currently loaded. */
items?: any[];
items?: any;
}

@@ -227,0 +227,0 @@ export function useLoadMore(props: LoadMoreProps, ref: _RefObject1<HTMLElement | null>): void;

@@ -49,3 +49,2 @@ var $eHdSW$react = require("react");

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

@@ -52,0 +51,0 @@ return removeAllGlobalListeners;

@@ -43,3 +43,2 @@ import {useRef as $lPAwt$useRef, useCallback as $lPAwt$useCallback, useEffect as $lPAwt$useEffect} from "react";

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

@@ -46,0 +45,0 @@ return removeAllGlobalListeners;

@@ -63,3 +63,4 @@ var $2a8c0bb1629926c8$exports = require("./useEvent.main.js");

props,
ref
ref,
items
]);

@@ -66,0 +67,0 @@ // TODO: maybe this should still just return scroll props?

@@ -57,3 +57,4 @@ import {useEvent as $e9faafb641e167db$export$90fc3a17d93f704c} from "./useEvent.module.js";

props,
ref
ref,
items
]);

@@ -60,0 +61,0 @@ // TODO: maybe this should still just return scroll props?

{
"name": "@react-aria/utils",
"version": "3.0.0-nightly-086ad3115-240912",
"version": "3.0.0-nightly-0ddbe6f95-241019",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-aria/ssr": "^3.0.0-nightly-086ad3115-240912",
"@react-stately/utils": "^3.0.0-nightly-086ad3115-240912",
"@react-types/shared": "^3.0.0-nightly-086ad3115-240912",
"@react-aria/ssr": "^3.0.0-nightly-0ddbe6f95-241019",
"@react-stately/utils": "^3.0.0-nightly-0ddbe6f95-241019",
"@react-types/shared": "^3.0.0-nightly-0ddbe6f95-241019",
"@swc/helpers": "^0.5.0",

@@ -38,3 +38,3 @@ "clsx": "^2.0.0"

},
"stableVersion": "3.25.2"
"stableVersion": "3.25.3"
}

@@ -53,3 +53,3 @@ /*

});
} catch (e) {
} catch {
// Ignore

@@ -56,0 +56,0 @@ }

@@ -26,3 +26,3 @@ /*

type NullToObject<T> = T extends (null | undefined) ? {} : T;
// eslint-disable-next-line no-undef, @typescript-eslint/no-unused-vars
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;

@@ -29,0 +29,0 @@

@@ -45,3 +45,3 @@ /*

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

@@ -48,0 +48,0 @@ return removeAllGlobalListeners;

@@ -15,3 +15,3 @@ /*

import {useEvent} from './useEvent';
// eslint-disable-next-line rulesdir/useLayoutEffectRule
import {useLayoutEffect} from './useLayoutEffect';

@@ -33,3 +33,3 @@

/** The data currently loaded. */
items?: any[]
items?: any
}

@@ -78,3 +78,3 @@

lastItems.current = items;
}, [isLoading, onLoadMore, props, ref]);
}, [isLoading, onLoadMore, props, ref, items]);

@@ -81,0 +81,0 @@ // TODO: maybe this should still just return scroll props?

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

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