@uniformdev/context-react
Advanced tools
+16
-2
| import { Quirks, ScoreVector, Context, PersonalizedVariant, CompositionMetadata, TestVariant, EnrichmentData } from '@uniformdev/context'; | ||
| import * as react from 'react'; | ||
| import react__default, { ReactNode, ReactElement, HTMLAttributes } from 'react'; | ||
| import react__default, { ReactNode, ReactElement, HTMLAttributes, JSX } from 'react'; | ||
@@ -169,3 +169,3 @@ /** | ||
| declare const Track: ({ behavior, children, tagName, threshold, disableVisibilityTrigger, ...rest }: TrackProps) => react.DOMElement<{ | ||
| ref: react.RefObject<HTMLElement>; | ||
| ref: react.RefObject<HTMLElement | null>; | ||
| defaultChecked?: boolean | undefined; | ||
@@ -218,2 +218,6 @@ defaultValue?: string | number | readonly string[] | undefined; | ||
| unselectable?: "on" | "off" | undefined; | ||
| popover?: "" | "auto" | "manual" | "hint" | undefined; | ||
| popoverTargetAction?: "toggle" | "show" | "hide" | undefined; | ||
| popoverTarget?: string | undefined; | ||
| inert?: boolean | undefined; | ||
| inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; | ||
@@ -427,2 +431,4 @@ is?: string | undefined; | ||
| onScrollCapture?: react.UIEventHandler<HTMLElement> | undefined; | ||
| onScrollEnd?: react.UIEventHandler<HTMLElement> | undefined; | ||
| onScrollEndCapture?: react.UIEventHandler<HTMLElement> | undefined; | ||
| onWheel?: react.WheelEventHandler<HTMLElement> | undefined; | ||
@@ -436,4 +442,12 @@ onWheelCapture?: react.WheelEventHandler<HTMLElement> | undefined; | ||
| onAnimationIterationCapture?: react.AnimationEventHandler<HTMLElement> | undefined; | ||
| onToggle?: react.ToggleEventHandler<HTMLElement> | undefined; | ||
| onBeforeToggle?: react.ToggleEventHandler<HTMLElement> | undefined; | ||
| onTransitionCancel?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionCancelCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionEnd?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionEndCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionRun?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionRunCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionStart?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionStartCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| 'data-track-on-view-wrapper'?: string; | ||
@@ -440,0 +454,0 @@ }, HTMLElement>; |
+16
-2
| import { Quirks, ScoreVector, Context, PersonalizedVariant, CompositionMetadata, TestVariant, EnrichmentData } from '@uniformdev/context'; | ||
| import * as react from 'react'; | ||
| import react__default, { ReactNode, ReactElement, HTMLAttributes } from 'react'; | ||
| import react__default, { ReactNode, ReactElement, HTMLAttributes, JSX } from 'react'; | ||
@@ -169,3 +169,3 @@ /** | ||
| declare const Track: ({ behavior, children, tagName, threshold, disableVisibilityTrigger, ...rest }: TrackProps) => react.DOMElement<{ | ||
| ref: react.RefObject<HTMLElement>; | ||
| ref: react.RefObject<HTMLElement | null>; | ||
| defaultChecked?: boolean | undefined; | ||
@@ -218,2 +218,6 @@ defaultValue?: string | number | readonly string[] | undefined; | ||
| unselectable?: "on" | "off" | undefined; | ||
| popover?: "" | "auto" | "manual" | "hint" | undefined; | ||
| popoverTargetAction?: "toggle" | "show" | "hide" | undefined; | ||
| popoverTarget?: string | undefined; | ||
| inert?: boolean | undefined; | ||
| inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined; | ||
@@ -427,2 +431,4 @@ is?: string | undefined; | ||
| onScrollCapture?: react.UIEventHandler<HTMLElement> | undefined; | ||
| onScrollEnd?: react.UIEventHandler<HTMLElement> | undefined; | ||
| onScrollEndCapture?: react.UIEventHandler<HTMLElement> | undefined; | ||
| onWheel?: react.WheelEventHandler<HTMLElement> | undefined; | ||
@@ -436,4 +442,12 @@ onWheelCapture?: react.WheelEventHandler<HTMLElement> | undefined; | ||
| onAnimationIterationCapture?: react.AnimationEventHandler<HTMLElement> | undefined; | ||
| onToggle?: react.ToggleEventHandler<HTMLElement> | undefined; | ||
| onBeforeToggle?: react.ToggleEventHandler<HTMLElement> | undefined; | ||
| onTransitionCancel?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionCancelCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionEnd?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionEndCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionRun?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionRunCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionStart?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| onTransitionStartCapture?: react.TransitionEventHandler<HTMLElement> | undefined; | ||
| 'data-track-on-view-wrapper'?: string; | ||
@@ -440,0 +454,0 @@ }, HTMLElement>; |
@@ -272,3 +272,3 @@ 'use client'; | ||
| const wrapperEl = useRef(null); | ||
| const disconnect = useRef(); | ||
| const disconnect = useRef(null); | ||
| useEffect3(() => { | ||
@@ -275,0 +275,0 @@ const urlHasChanged = lastUrl !== currentUrl; |
+1
-1
@@ -314,3 +314,3 @@ 'use client'; | ||
| const wrapperEl = (0, import_react13.useRef)(null); | ||
| const disconnect = (0, import_react13.useRef)(); | ||
| const disconnect = (0, import_react13.useRef)(null); | ||
| (0, import_react13.useEffect)(() => { | ||
@@ -317,0 +317,0 @@ const urlHasChanged = lastUrl !== currentUrl; |
+1
-1
@@ -272,3 +272,3 @@ 'use client'; | ||
| const wrapperEl = useRef(null); | ||
| const disconnect = useRef(); | ||
| const disconnect = useRef(null); | ||
| useEffect3(() => { | ||
@@ -275,0 +275,0 @@ const urlHasChanged = lastUrl !== currentUrl; |
+7
-7
| { | ||
| "name": "@uniformdev/context-react", | ||
| "version": "20.47.0", | ||
| "version": "20.47.1-alpha.3+04fdfa028a", | ||
| "description": "Uniform Context React integration package", | ||
@@ -22,3 +22,3 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
| "clean": "rimraf dist", | ||
| "test": "jest --maxWorkers=1", | ||
| "test": "vitest run", | ||
| "lint": "eslint \"src/**/*.{js,ts,tsx}\"", | ||
@@ -29,8 +29,8 @@ "format": "prettier --write \"src/**/*.{js,ts,tsx}\"", | ||
| "devDependencies": { | ||
| "@types/react": "18.3.24", | ||
| "react": "18.3.1", | ||
| "react-dom": "18.3.1" | ||
| "@types/react": "19.2.2", | ||
| "react": "19.2.1", | ||
| "react-dom": "19.2.1" | ||
| }, | ||
| "dependencies": { | ||
| "@uniformdev/context": "20.47.0", | ||
| "@uniformdev/context": "20.47.1-alpha.3+04fdfa028a", | ||
| "cookie": "1.0.1", | ||
@@ -49,3 +49,3 @@ "dequal": "2.0.3" | ||
| }, | ||
| "gitHead": "446f701d32eee97220ab693e69b0952ed95cc1c5" | ||
| "gitHead": "04fdfa028a09763f4f9e89f78f32aef1de247ad4" | ||
| } |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
96919
2.1%1685
0.84%2
100%1
Infinity%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed