usehooks-ts
Advanced tools
Comparing version 2.9.2 to 2.9.3
{ | ||
"name": "usehooks-ts", | ||
"private": false, | ||
"version": "2.9.2", | ||
"version": "2.9.3", | ||
"description": "React hook library, ready to use, written in Typescript.", | ||
@@ -17,20 +17,2 @@ "author": "Julien CARON <juliencaron@protonmail.com>", | ||
"types": "./dist/esm/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"dev": "pnpm test:watch", | ||
"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", | ||
"test": "jest", | ||
"test:watch": "pnpm test -- --watch --silent", | ||
"clean": "rimraf -rf ./dist .turbo", | ||
"lint": "eslint './src/**/*.{js,jsx,ts,tsx}'", | ||
"types-check": "tsc --noEmit" | ||
}, | ||
"devDependencies": { | ||
@@ -47,3 +29,2 @@ "@testing-library/react": "^12.1.2", | ||
"eslint": "^8.9.0", | ||
"eslint-config-custom": "workspace:*", | ||
"eslint-plugin-tree-shaking": "^1.10.0", | ||
@@ -57,3 +38,4 @@ "jest": "^29.0.3", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.8.3" | ||
"typescript": "^4.8.3", | ||
"eslint-config-custom": "1.0.0" | ||
}, | ||
@@ -76,3 +58,14 @@ "peerDependencies": { | ||
"url": "https://github.com/juliencrn/usehooks-ts/issues" | ||
}, | ||
"scripts": { | ||
"dev": "pnpm test:watch", | ||
"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", | ||
"test": "jest", | ||
"test:watch": "pnpm test -- --watch --silent", | ||
"clean": "rimraf -rf ./dist .turbo", | ||
"lint": "eslint './src/**/*.{js,jsx,ts,tsx}'", | ||
"types-check": "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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
0
286
0
37503
3
0