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

@hyeon/react-use

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyeon/react-use - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

dist/index.esm.js

@@ -8,2 +8,6 @@ import { pipe } from 'fp-ts/lib/function';

// 이 hook에서 메인이 되는 함수이다.
// 이 함수가 pipe에서 실행되려면?
// object
// 변형된 형식이라서 T타입으로 리턴하게되면 안된다.
// 받아온 타입을 추론해서 리턴하도록 해야한다.
function transformObjectKeys(obj, transformFn = camelCase) {

@@ -10,0 +14,0 @@ return pipe(obj, R.reduceWithIndex(Ord)({}, (key, acc, value) => {

2

dist/packages/useRemoveSpaceProgramming/useRemoveSpaceProgramming.d.ts
type RecordObject = Record<string, unknown>;
declare function transformObjectKeys<T extends RecordObject>(obj: T, transformFn?: (key?: string) => string): T;
declare function transformObjectKeys<T extends RecordObject>(obj: T, transformFn?: (key?: string) => string): RecordObject;
export declare const useRemoveSpaceProgramming: <T extends RecordObject>(initialState: T) => [T, (v: T) => void];

@@ -4,0 +4,0 @@ export declare const useRSP: <T extends RecordObject>(initialState: T) => [T, (v: T) => void];

{
"name": "@hyeon/react-use",
"version": "0.0.7",
"version": "0.0.8",
"type": "module",

@@ -5,0 +5,0 @@ "files": [

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