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

@ones-design/utils

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ones-design/utils - npm Package Compare versions

Comparing version 1.10.0-beta.2 to 1.10.0-beta.3

2

dist/types/hooks/useMergedState.d.ts

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

declare type Updater<T> = (updater: T | ((origin: T) => T), ignoreDestroy?: boolean) => void;
type Updater<T> = (updater: T | ((origin: T) => T), ignoreDestroy?: boolean) => void;
/**

@@ -3,0 +3,0 @@ * Similar to `useState` but will use props value if provided.

import type { ReactNode, ReactElement } from 'react';
declare type AnyObject = Record<any, any>;
declare type RenderProps = undefined | AnyObject | ((originProps: AnyObject) => AnyObject | undefined);
type AnyObject = Record<any, any>;
type RenderProps = undefined | AnyObject | ((originProps: AnyObject) => AnyObject | undefined);
/**

@@ -5,0 +5,0 @@ * 是否为有效的子元素

{
"name": "@ones-design/utils",
"version": "1.10.0-beta.2",
"version": "1.10.0-beta.3",
"description": "ONES Design",

@@ -57,3 +57,3 @@ "type": "module",

},
"gitHead": "2fdb08ceff721df78cdf05b94996962a849d9233"
"gitHead": "f8f131ffcdcb1443f616f9d6717ca9fcd341107d"
}
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