Socket
Socket
Sign inDemoInstall

@testing-library/user-event

Package Overview
Dependencies
Maintainers
16
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.0.1 to 14.0.2

dist/types/utils/misc/getWindow.d.ts

4

dist/types/utils/dataTransfer/Blob.d.ts

@@ -1,1 +0,3 @@

export declare function readBlobText(blob: Blob): Promise<string>;
export declare function readBlobText(blob: Blob, FileReader: {
new (): FileReader;
}): Promise<string>;

@@ -1,2 +0,2 @@

export declare function createClipboardItem(...blobs: Array<Blob | string>): ClipboardItem;
export declare function createClipboardItem(window: Window & typeof globalThis, ...blobs: Array<Blob | string>): ClipboardItem;
export declare function attachClipboardStubToView(window: Window & typeof globalThis): {

@@ -3,0 +3,0 @@ resetClipboardStub: () => void;

@@ -1,2 +0,2 @@

export declare function createDataTransfer(files?: File[]): DataTransfer;
export declare function getBlobFromDataTransferItem(item: DataTransferItem): Blob;
export declare function createDataTransfer(window: Window & typeof globalThis, files?: File[]): DataTransfer;
export declare function getBlobFromDataTransferItem(window: Window & typeof globalThis, item: DataTransferItem): Blob;

@@ -28,2 +28,3 @@ export * from './click/isClickableInput';

export * from './misc/getDocumentFromNode';
export * from './misc/getWindow';
export * from './misc/isDescendantOrSelf';

@@ -30,0 +31,0 @@ export * from './misc/isElementType';

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

@@ -47,7 +47,6 @@ "keywords": [

},
"dependencies": {},
"devDependencies": {
"@testing-library/dom": "^8.11.4",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/react": "^13.0.0",
"@types/jest-in-case": "^1.0.3",

@@ -61,4 +60,8 @@ "@types/react": "^17.0.42",

"kcd-scripts": "^12.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react17": "npm:react@^17.0.2",
"reactDom17": "npm:react-dom@^17.0.2",
"reactIs17": "npm:react-is@^17.0.2",
"reactTesting17": "npm:@testing-library/react@^12.1.3",
"typescript": "^4.1.2"

@@ -65,0 +68,0 @@ },

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