Socket
Socket
Sign inDemoInstall

@chakra-ui/utils

Package Overview
Dependencies
Maintainers
4
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/utils - npm Package Compare versions

Comparing version 1.0.0-rc.1 to 1.0.0-rc.2

13

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.0.0-rc.2 (2020-08-09)
**Note:** Version bump only for package @chakra-ui/utils
# Change Log
All notable changes to this project will be documented in this file. See

@@ -4,0 +17,0 @@ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

2

dist/cjs/function.js

@@ -11,3 +11,3 @@ "use strict";

exports.memoizeOne = _memoizeOne["default"];
exports.memoize = _memoizeOne["default"];

@@ -14,0 +14,0 @@ var _assertion = require("./assertion");

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

import memoizeOne from "memoize-one";
import memoize from "memoize-one";
import { isFunction, __DEV__ } from "./assertion";

@@ -22,3 +22,3 @@ export function runIfFn(valueOrFn) {

}
export { memoizeOne };
export { memoize };
export function once(fn) {

@@ -25,0 +25,0 @@ var result;

@@ -1,6 +0,6 @@

import memoizeOne from "memoize-one";
import memoize from "memoize-one";
import { FunctionArguments } from "./types";
export declare function runIfFn<T, U>(valueOrFn: T | ((...args: U[]) => T), ...args: U[]): T;
export declare function callAllHandlers<T extends (event: any) => void>(...fns: (T | undefined)[]): (event: FunctionArguments<T>[0]) => void;
export { memoizeOne };
export { memoize };
export declare function once(fn?: Function | null): (this: any, ...args: any[]) => any;

@@ -7,0 +7,0 @@ export declare const noop: () => void;

@@ -6,3 +6,6 @@ import * as React from "react";

export declare type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
export declare type As<P = any> = React.ReactType<P>;
export declare type As<P = any> = React.ElementType<P>;
export declare type LiteralUnion<T extends U, U extends any = string> = T | (U & {
_?: never;
});
export declare type AnyFunction<T = any> = (...args: T[]) => any;

@@ -9,0 +12,0 @@ export declare type FunctionArguments<T extends Function> = T extends (...args: infer R) => any ? R : never;

{
"name": "@chakra-ui/utils",
"version": "1.0.0-rc.1",
"version": "1.0.0-rc.2",
"description": "Common utilties and types for Chakra UI",

@@ -48,3 +48,3 @@ "author": "Segun Adebayo <sage@adebayosegun.com>",

},
"gitHead": "e0470c73a9f6be24525dc5458d6fb157096b5ae3"
"gitHead": "c0a55ae7279887996fd2cbfb410476c86793e1bc"
}

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