Socket
Socket
Sign inDemoInstall

@testing-library/user-event

Package Overview
Dependencies
Maintainers
13
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/user-event - npm Package Compare versions

Comparing version 14.2.4 to 14.2.5

2

dist/types/document/interceptor.d.ts
declare type anyFunc = (...a: any[]) => any;
declare type Params<Prop> = Prop extends anyFunc ? Parameters<Prop> : [Prop];
declare type ImplReturn<Prop> = Prop extends anyFunc ? Parameters<Prop> : Prop;
export declare function prepareInterceptor<ElementType extends Node, PropName extends keyof ElementType>(element: ElementType, propName: PropName, interceptorImpl: (this: ElementType, ...args: Params<ElementType[PropName]>) => {
export declare function prepareInterceptor<ElementType extends Element, PropName extends keyof ElementType>(element: ElementType, propName: PropName, interceptorImpl: (this: ElementType, ...args: Params<ElementType[PropName]>) => {
/**

@@ -6,0 +6,0 @@ * React tracks the changes on element properties.

@@ -15,3 +15,3 @@ declare const UIValue: unique symbol;

}
export declare function prepareValueInterceptor(element: HTMLInputElement): void;
export declare function prepareValueInterceptor(element: HTMLInputElement | HTMLTextAreaElement): void;
export declare function setUIValue(element: HTMLInputElement | HTMLTextAreaElement, value: string): void;

@@ -18,0 +18,0 @@ export declare function getUIValue(element: HTMLInputElement | HTMLTextAreaElement): string;

{
"name": "@testing-library/user-event",
"version": "14.2.4",
"version": "14.2.5",
"description": "Fire events the same way the user does",

@@ -5,0 +5,0 @@ "keywords": [

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