usehooks-ts
Advanced tools
Comparing version 2.12.1 to 2.13.0
{ | ||
"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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
196938
7
3179
3