react-photo-view
Advanced tools
Comparing version 0.2.7 to 0.3.1
103
package.json
{ | ||
"name": "react-photo-view", | ||
"version": "0.2.7", | ||
"version": "0.3.1", | ||
"description": "React photo preview.", | ||
"main": "./lib/index", | ||
"module": "./es/index", | ||
"author": "MinJieLiu", | ||
"license": "MIT", | ||
"repository": "https://github.com/MinJieLiu/react-photo-view.git", | ||
"main": "dist/index.js", | ||
"module": "dist/index.es.js", | ||
"jsnext:main": "dist/index.es.js", | ||
"typings": "dist/index.d.ts", | ||
"keywords": [ | ||
"react", | ||
"react-component", | ||
"react-photo", | ||
"react-photo-view", | ||
"photo" | ||
"photo", | ||
"photo-view" | ||
], | ||
"homepage": "https://github.com/MinJieLiu/react-photo-view", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/MinJieLiu/react-photo-view.git" | ||
"engines": { | ||
"node": ">=8", | ||
"npm": ">=5" | ||
}, | ||
"scripts": { | ||
"watch-tsc": "rc-tools run watch-tsc", | ||
"dist": "rc-tools run dist", | ||
"build": "rc-tools run build", | ||
"gh-pages": "rc-tools run gh-pages", | ||
"start": "rc-tools run server", | ||
"compile": "rc-tools run compile --babel-runtime", | ||
"pub": "rc-tools run pub --babel-runtime", | ||
"lint": "rc-tools run lint", | ||
"karma": "rc-test run karma", | ||
"saucelabs": "rc-test run saucelabs", | ||
"test": "rc-test run test", | ||
"prepublish": "rc-tools run guard", | ||
"chrome-test": "rc-test run chrome-test", | ||
"coverage": "rc-test run coverage" | ||
"test": "cross-env CI=1 react-scripts-ts test --env=jsdom", | ||
"test:watch": "react-scripts-ts test --env=jsdom", | ||
"build": "rollup -c", | ||
"start": "rollup -c -w", | ||
"prepare": "npm run build", | ||
"predeploy": "cd example && npm install && npm run build", | ||
"deploy": "gh-pages -d example/build" | ||
}, | ||
"config": { | ||
"port": 8001 | ||
"dependencies": { | ||
"lodash.debounce": "^4.0.8", | ||
"lodash.uniqueid": "^4.0.1" | ||
}, | ||
"files": [ | ||
"lib", | ||
"es" | ||
], | ||
"typings": "./lib/index.d.ts", | ||
"author": "LMY", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"classnames": "^2.2.0", | ||
"react": "^16.8.0", | ||
"react-dom": "^16.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^16.4.6", | ||
"@types/react-dom": "^16.0.6", | ||
"babel-polyfill": "^6.23.0", | ||
"prettier": "^1.13.7", | ||
"rc-test": "^6.0.9", | ||
"rc-tools": "^8.1.1", | ||
"react": "^16.4.1", | ||
"react-dom": "^16.4.1" | ||
"@svgr/rollup": "^4.3.3", | ||
"@types/classnames": "^2.2.9", | ||
"@types/jest": "^24.0.22", | ||
"@types/lodash.debounce": "^4.0.6", | ||
"@types/lodash.uniqueid": "^4.0.6", | ||
"@types/react": "^16.9.11", | ||
"@types/react-dom": "^16.9.3", | ||
"@types/styled-components": "^4.1.21", | ||
"babel-core": "^6.26.3", | ||
"babel-runtime": "^6.26.0", | ||
"classnames": "^2.2.6", | ||
"cross-env": "^6.0.3", | ||
"gh-pages": "^2.1.1", | ||
"less": "^3.10.3", | ||
"prettier": "^1.18.2", | ||
"react": "^16.11.0", | ||
"react-dom": "^16.11.0", | ||
"react-scripts-ts": "^3.1.0", | ||
"rollup": "^1.26.3", | ||
"rollup-plugin-babel": "^3.0.7", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.0", | ||
"rollup-plugin-postcss": "^2.0.3", | ||
"rollup-plugin-typescript2": "^0.25.2", | ||
"rollup-plugin-url": "^3.0.0", | ||
"typescript": "^3.7.2" | ||
}, | ||
"dependencies": { | ||
"lodash.debounce": "^4.0.8", | ||
"lodash.uniqueid": "^4.0.1", | ||
"styled-components": "^3.0.1" | ||
} | ||
"files": [ | ||
"dist" | ||
] | ||
} |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
390235
4040
5
27
35
1
2
1
5
+ Addedclassnames@2.5.1(transitive)
+ Addedreact-dom@16.14.0(transitive)
+ Addedscheduler@0.19.1(transitive)
- Removedstyled-components@^3.0.1
- Removedasap@2.0.6(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@2.3.2(transitive)
- Removedencoding@0.1.13(transitive)
- Removedfbjs@0.8.18(transitive)
- Removedhas-flag@1.0.0(transitive)
- Removedhoist-non-react-statics@2.5.5(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedpostcss-value-parser@3.3.1(transitive)
- Removedpromise@7.3.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstyled-components@3.4.10(transitive)
- Removedstylis@3.5.4(transitive)
- Removedstylis-rule-sheet@0.0.10(transitive)
- Removedsupports-color@3.2.3(transitive)
- Removedua-parser-js@0.7.40(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)