Socket
Socket
Sign inDemoInstall

usehooks-ts

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usehooks-ts - npm Package Compare versions

Comparing version 2.12.1 to 2.13.0

dist/index.d.mts

34

package.json
{
"name": "usehooks-ts",
"private": false,
"version": "2.12.1",
"version": "2.13.0",
"description": "React hook library, ready to use, written in Typescript.",

@@ -14,9 +14,10 @@ "author": "Julien CARON <juliencaron@protonmail.com>",

"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}

@@ -26,9 +27,9 @@ },

"devDependencies": {
"@testing-library/jest-dom": "^6.3.0",
"@testing-library/react": "^14.0.0",
"@turbo/gen": "^1.11.3",
"@juggle/resize-observer": "^3.4.0",
"@testing-library/jest-dom": "^6.4.1",
"@testing-library/react": "^14.2.1",
"@turbo/gen": "^1.12.2",
"@types/lodash.debounce": "^4.0.9",
"@types/node": "^18.7.18",
"@types/node": "^20.11.16",
"@types/react": "18.2.48",
"@vitejs/plugin-react": "^4.2.1",
"date-fns": "^3.3.1",

@@ -39,6 +40,6 @@ "eslint-plugin-jsdoc": "^48.0.4",

"react": "18.2.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vitest": "^1.2.2",
"eslint-config-custom": "1.1.1"
"eslint-config-custom": "1.2.0"
},

@@ -65,7 +66,6 @@ "dependencies": {

"scripts": {
"build": "pnpm build:cjs && pnpm build:esm",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --outDir dist/cjs --target es5",
"build:esm": "tsc -p tsconfig.build.json --module esNext --outDir dist/esm --target es6",
"dev": "vitest",
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"clean": "rimraf -rf ./dist .turbo *.tsbuildinfo",

@@ -72,0 +72,0 @@ "lint": "eslint './src/**/*.{ts,tsx}' && tsc --noEmit"

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