New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.6 to 0.0.7

4

dist/index.esm.js

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

// 이 hook에서 메인이 되는 함수이다.
function transformObjectKeys(obj, transformFn = camelCase) {

@@ -16,4 +17,5 @@ return pipe(obj, R.reduceWithIndex(Ord)({}, (key, acc, value) => {

};
}));
})); // TODO: 받아온 타입을 그대로 반환하도록 하는 더 좋은 방법 타입을 추론할 수 있도록
}
const useRemoveSpaceProgramming = initialState => {

@@ -20,0 +22,0 @@ const [value, setValue] = useState(transformObjectKeys(initialState));

type RecordObject = Record<string, unknown>;
declare function transformObjectKeys<T>(obj: RecordObject, transformFn?: (key?: string) => T): RecordObject;
declare function transformObjectKeys<T extends RecordObject>(obj: T, transformFn?: (key?: string) => string): T;
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.6",
"version": "0.0.7",
"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