react-timezone-select
Advanced tools
Comparing version 1.4.1 to 1.5.1
{ | ||
"name": "react-timezone-select", | ||
"version": "1.4.1", | ||
"version": "1.5.1", | ||
"description": "Usable, dynamic React Timezone Select", | ||
@@ -9,3 +9,3 @@ "scripts": { | ||
"postpublish": "npm run build:example && npm run deploy", | ||
"build": "rollup -c", | ||
"build": "tsup src/index.tsx --format cjs,esm --dts", | ||
"build:example": "cd example && npm run build", | ||
@@ -16,3 +16,2 @@ "deploy": "gh-pages -d example/dist", | ||
"test:ci": "jest --ci ", | ||
"pretty-quick": "pretty-quick --staged", | ||
"tsc": "tsc" | ||
@@ -41,9 +40,9 @@ }, | ||
"type": "module", | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/esm/dist/index.d.ts", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.js" | ||
"import": "./index.js", | ||
"require": "./index.cjs" | ||
} | ||
@@ -61,5 +60,3 @@ }, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"@rollup/plugin-typescript": "^8.3.0", | ||
"@babel/core": "^7.20.7", | ||
"@testing-library/jest-dom": "^5.16.1", | ||
@@ -72,3 +69,4 @@ "@testing-library/react": "^12.1.2", | ||
"concurrently": "^7.0.0", | ||
"esbuild": "^0.14.11", | ||
"esbuild": "^0.16.12", | ||
"esbuild-jest": "^0.5.0", | ||
"eslint": "^8.36.0", | ||
@@ -82,8 +80,5 @@ "eslint-config-prettier": "^8.8.0", | ||
"react-dom": "^17", | ||
"rollup": "^2.67.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"simple-git-hooks": "^2.7.0", | ||
"ts-jest": "^27.1.3", | ||
"tsup": "^6.5.0", | ||
"typescript": "^4.5.5" | ||
@@ -90,0 +85,0 @@ }, |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
22
0
0
26456
6
453
1