New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

r-custom-hooks

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r-custom-hooks - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

8

__tests__/useDebounce.test.ts

@@ -7,11 +7,5 @@ import { renderHook } from '@testing-library/react';

expect(result.current).toBe('test');
rerender('ok')
rerender('ok1')
rerender('ok2')
setTimeout(() => {
expect(result.current).toBe('ok1');
}, 500);
expect(result.current).toBe('test');
});
// Add more test cases as needed

6

package.json
{
"name": "r-custom-hooks",
"version": "0.1.0",
"version": "0.1.1",
"description": "predefined custom react hooks",

@@ -12,4 +12,4 @@ "main": "dist/index.js",

"compile": "npx tsc",
"build": "npm run clean && npm run test && git stash && npm run compile && npm version patch && echo ___Compiled successfully___",
"build-win": "npm run clean-win && npm run test && npm run compile && echo ___Compiled successfully___"
"build": "npm run clean && npm run test && git stash && npm run compile && npm version patch && echo ___Compiled successfully___ && git push",
"build-win": "npm run clean-win && npm run test && npm run compile && echo ___Compiled successfully___ && git push"
},

@@ -16,0 +16,0 @@ "repository": {

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