react-flickity-component
Advanced tools
Comparing version
{ | ||
"name": "react-flickity-component", | ||
"version": "3.6.3", | ||
"version": "4.0.0-beta.1", | ||
"description": "react flickity component", | ||
"main": "./lib/index.js", | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
"main": "./dist/react-flickity-component.umd.js", | ||
"module": "./dist/react-flickity-component.es.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/react-flickity-component.es.js", | ||
"require": "./dist/react-flickity-component.umd.js" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "npm run pretty && jest ./__tests__ --no-watchman", | ||
"pretty": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.js\"", | ||
"prepublishOnly": "babel ./src --out-dir ./lib --source-maps", | ||
"dev": "npm run prepublishOnly -- --watch" | ||
"pretty": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.js\" \"examples/**/*.jsx\"", | ||
"test": "vitest", | ||
"dev": "vite", | ||
"build": "node build.js", | ||
"build:docs": "node build-docs.js", | ||
"prepublishOnly": "node build.js" | ||
}, | ||
@@ -30,24 +43,22 @@ "author": "theolampert", | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"babel-jest": "^26.6.3", | ||
"babel-plugin-add-module-exports": "^1.0.2", | ||
"enzyme": "^3.10.0", | ||
"enzyme-adapter-react-16": "^1.14.0", | ||
"@originjs/vite-plugin-commonjs": "^1.0.3", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.4.0", | ||
"@types/react": "^18.0.26", | ||
"@types/react-dom": "^18.0.9", | ||
"@vitejs/plugin-react": "^3.0.0", | ||
"flickity": "^2.2.1", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.1.2", | ||
"sinon": "^9.2.1" | ||
"jsdom": "^20.0.3", | ||
"prettier": "^2.8.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"vite": "^4.0.0", | ||
"vitest": "^0.25.7" | ||
}, | ||
"peerDependencies": { | ||
"flickity": "^2.2.1", | ||
"react": ">= 16.14.0 < 18", | ||
"react-dom": ">= 16.14.0 < 18" | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"jest": { | ||
"testURL": "http://localhost/" | ||
}, | ||
"typings": "./src/index.d.ts" | ||
} |
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
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
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 2 instances in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
243282
534.06%1007
70.68%Yes
NaN13
8.33%6
-40%4
300%23
Infinity%1
Infinity%