Socket
Socket
Sign inDemoInstall

@bluframe/bluframe

Package Overview
Dependencies
0
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.25.1 to 1.0.0

86

flow-typed/npm/@testing-library/react.js
// @flow
declare module "@testing-library/react" {
declare export var fireEvent: any
declare export var render: any
declare export var screen: any
declare export var waitFor: any
import type { Element } from "react"
declare export type RenderResult = {|
container: HTMLElement,
unmount: () => boolean,
rerender: (ui: Element<any>, options?: any) => void,
asFragment: () => DocumentFragment
|}
declare export var act: (
callback: () => Promise<void> | void
) => Promise<void>
declare export var fireEvent: {|
(element: HTMLElement, event: SyntheticEvent<>): void,
blur: (element: HTMLElement) => void,
change: (
element: HTMLElement,
value: string | {| target: { value: string } |}
) => void,
click: (element: HTMLElement) => void,
dblClick: (element: HTMLElement) => void,
focus: (element: HTMLElement) => void,
input: (element: HTMLElement, { target: { value: string } }) => void,
keyDown: (element: HTMLElement, key: string | Object) => void,
keyPress: (element: HTMLElement, key: string | Object) => void,
keyUp: (element: HTMLElement, key: string | Object) => void,
mouseDown: (element: HTMLElement) => void,
mouseEnter: (element: HTMLElement) => void,
mouseLeave: (element: HTMLElement) => void,
mouseMove: (element: HTMLElement) => void,
mouseOut: (element: HTMLElement) => void,
mouseOver: (element: HTMLElement) => void,
mouseUp: (element: HTMLElement) => void,
scroll: (window: any, { target: { scrollY: number } }) => void,
select: (
element: HTMLElement,
selection: {| start: number, end: number |}
) => void,
submit: (element: HTMLElement) => void,
touchEnd: (element: HTMLElement) => void,
touchStart: (element: HTMLElement) => void
|}
declare export var render: (ui: Element<any>, options?: any) => RenderResult
declare export var screen: {|
getByText: (text: string | RegExp) => HTMLElement,
queryByText: (text: string | RegExp) => ?HTMLElement,
getAllByText: (text: string | RegExp) => Array<HTMLElement>,
queryAllByText: (text: string | RegExp) => Array<HTMLElement>,
findByText: (text: string | RegExp) => Promise<HTMLElement>,
findAllByText: (text: string | RegExp) => Promise<Array<HTMLElement>>,
getByRole: (role: string, options?: { name?: string }) => HTMLElement,
queryByRole: (role: string, options?: { name?: string }) => ?HTMLElement,
getAllByRole: (
role: string,
options?: { name?: string }
) => Array<HTMLElement>,
queryAllByRole: (
role: string,
options?: { name?: string }
) => Array<HTMLElement>,
findByRole: (
role: string,
options?: { name?: string }
) => Promise<HTMLElement>,
findAllByRole: (
role: string,
options?: { name?: string }
) => Promise<Array<HTMLElement>>,
getByLabelText: (text: string | RegExp) => HTMLElement,
queryByLabelText: (text: string | RegExp) => ?HTMLElement,
getAllByLabelText: (text: string | RegExp) => Array<HTMLElement>,
queryAllByLabelText: (text: string | RegExp) => Array<HTMLElement>,
findByLabelText: (text: string | RegExp) => Promise<HTMLElement>,
findAllByLabelText: (text: string | RegExp) => Promise<Array<HTMLElement>>
|}
declare export var waitFor: (
callback: () => mixed,
options?: {| timeout?: number, interval?: number |}
) => Promise<void>
}

22

package.json
{
"name": "@bluframe/bluframe",
"version": "0.25.1",
"version": "1.0.0",
"description": "A collection of React UI Components and Hooks by Blu Frame",

@@ -12,9 +12,9 @@ "repository": "git@github.com:bluframe/bluframe.git",

"scripts": {
"build": "yarn workspaces foreach -pt --exclude @bluframe/bluframe run build",
"build:ci": "yarn workspaces foreach -pt --exclude @bluframe/bluframe run build:ci",
"clean": "yarn workspaces foreach -p --exclude @bluframe/bluframe run clean",
"flow": "yarn workspaces foreach -pi --exclude @bluframe/bluframe run flow",
"flow:ci": "yarn workspaces foreach -p -j 3 --exclude @bluframe/bluframe run flow:ci",
"lint": "yarn workspaces foreach -pi --exclude @bluframe/bluframe run lint",
"lint:ci": "yarn workspaces foreach -p -j 4 --exclude @bluframe/bluframe run lint:ci",
"build": "yarn workspaces foreach -pt -A --exclude @bluframe/bluframe run build",
"build:ci": "yarn workspaces foreach -pt -A --exclude @bluframe/bluframe run build:ci",
"clean": "yarn workspaces foreach -p -A --exclude @bluframe/bluframe run clean",
"flow": "yarn workspaces foreach -pi -A --exclude @bluframe/bluframe run flow",
"flow:ci": "yarn workspaces foreach -p -j 3 -A --exclude @bluframe/bluframe run flow:ci",
"lint": "yarn workspaces foreach -pi -A --exclude @bluframe/bluframe run lint",
"lint:ci": "yarn workspaces foreach -p -j 4 -A --exclude @bluframe/bluframe run lint:ci",
"logs": "docker compose logs",

@@ -29,4 +29,4 @@ "postinstall": "husky install",

"stop": "docker compose down",
"test": "yarn workspaces foreach -pi --exclude @bluframe/bluframe run test",
"test:ci": "yarn workspaces foreach -p -j 3 --exclude @bluframe/bluframe run test:ci --runInBand"
"test": "yarn workspaces foreach -pi -A --exclude @bluframe/bluframe run test",
"test:ci": "yarn workspaces foreach -p -j 3 -A --exclude @bluframe/bluframe run test:ci --runInBand"
},

@@ -57,3 +57,3 @@ "devDependencies": {

},
"packageManager": "yarn@3.2.0",
"packageManager": "yarn@4.0.2",
"workspaces": [

@@ -60,0 +60,0 @@ "blublocks",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc