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

@quilted/preact-testing

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quilted/preact-testing - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

vite.config.js

2

build/typescript/HookRunner.d.ts

@@ -9,5 +9,5 @@ import type { Ref, VNode } from 'preact';

export declare const HookRunner: <HookResult>(props: Props<HookResult> & {
ref?: Ref<ImperativeApi<HookResult>> | undefined;
ref?: Ref<ImperativeApi<HookResult>>;
}) => VNode<any> | null;
export {};
//# sourceMappingURL=HookRunner.d.ts.map

@@ -16,3 +16,3 @@ /// <reference types="react" />

type MaybeFunctionParameters<T> = T extends (...args: any[]) => any ? Parameters<T> : [];
export interface Root<Props, Context extends PlainObject = EmptyObject, Actions extends PlainObject = EmptyObject> extends Node<Props> {
export interface Root<Props, Context extends PlainObject = EmptyObject, Actions extends PlainObject = EmptyObject> extends Node<Props>, Disposable {
readonly context: Context;

@@ -19,0 +19,0 @@ readonly actions: Actions;

# @quilted/react-testing
## 0.1.4
### Patch Changes
- [`3e07e287`](https://github.com/lemonmade/quilt/commit/3e07e287a68f5ba1059564c44df5a0469ac02982) Thanks [@lemonmade](https://github.com/lemonmade)! - Add support for explicit resource management
- [`ccf29286`](https://github.com/lemonmade/quilt/commit/ccf2928633719c38b30cd3712fe132c6bd5fd2a0) Thanks [@lemonmade](https://github.com/lemonmade)! - Upgrade Preact and signal dependencies
## 0.1.3

@@ -4,0 +12,0 @@

{
"name": "@quilted/preact-testing",
"type": "module",
"version": "0.1.3",
"version": "0.1.4",
"repository": {

@@ -44,6 +44,6 @@ "type": "git",

"expect": "^29.0.0",
"preact": "^10.19.0"
"preact": "^10.20.0"
},
"peerDependencies": {
"preact": "^10.19.0"
"preact": "^10.20.0"
},

@@ -50,0 +50,0 @@ "peerDependenciesMeta": {

@@ -10,4 +10,4 @@ import type {ComponentType, Context} from 'preact';

: U extends EmptyObject
? T
: T & U;
? T
: T & U;

@@ -18,7 +18,7 @@ export type PropsFor<T extends string | ComponentType<any>> = T extends string

: T extends ComponentType<infer Props>
? Props
: never
: T extends ComponentType<infer Props>
? Props
: never
: T extends ComponentType<infer Props>
? Props
: never;
: never;

@@ -34,8 +34,8 @@ export type FunctionKeys<T> = {

: T extends readonly (infer U)[]
? readonly DeepPartial<U>[]
: T extends PlainObject
? {
[K in keyof T]?: DeepPartial<T[K]>;
}
: T;
? readonly DeepPartial<U>[]
: T extends PlainObject
? {
[K in keyof T]?: DeepPartial<T[K]>;
}
: T;

@@ -55,3 +55,4 @@ export type Predicate = (node: Node<unknown>) => boolean;

Actions extends PlainObject = EmptyObject,
> extends Node<Props> {
> extends Node<Props>,
Disposable {
readonly context: Context;

@@ -58,0 +59,0 @@ readonly actions: Actions;

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