react-diff-view
Advanced tools
Comparing version 2.4.10 to 2.5.0
123
package.json
{ | ||
"name": "react-diff-view", | ||
"version": "2.4.10", | ||
"version": "2.5.0", | ||
"description": "A git diff component to consume the git unified diff output.", | ||
@@ -11,10 +11,11 @@ "main": "cjs/index.js", | ||
"sideEffects": [ | ||
"*.css" | ||
"*.css", | ||
"*.less" | ||
], | ||
"scripts": { | ||
"test": "jest --config ./jest.config.js", | ||
"start": "webpack-dev-server --config=site/webpack.config.js", | ||
"start": "skr dev --src-dir=site", | ||
"clean": "rm -rf cjs es style", | ||
"build": "sh scripts/build.sh", | ||
"build-pages": "rm -rf dist && webpack --config=site/webpack.config.js", | ||
"build-pages": "skr build --clean --src-dir=site --build-target=stable", | ||
"prepublishOnly": "npm run build", | ||
@@ -26,73 +27,78 @@ "lint": "eslint src site" | ||
"dependencies": { | ||
"classnames": "^2.2.6", | ||
"classnames": "^2.3.2", | ||
"diff-match-patch": "^1.0.5", | ||
"shallow-equal": "^1.2.1", | ||
"warning": "^4.0.2" | ||
"warning": "^4.0.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.11.5", | ||
"@babel/plugin-proposal-class-properties": "^7.10.4", | ||
"@babel/plugin-proposal-decorators": "^7.10.5", | ||
"@babel/plugin-proposal-export-default-from": "^7.10.4", | ||
"@babel/plugin-proposal-export-namespace-from": "^7.10.4", | ||
"@ant-design/icons": "^4.8.0", | ||
"@babel/core": "^7.20.2", | ||
"@babel/eslint-parser": "^7.19.1", | ||
"@babel/eslint-plugin": "^7.19.1", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/plugin-proposal-decorators": "^7.20.2", | ||
"@babel/plugin-proposal-export-default-from": "^7.18.10", | ||
"@babel/plugin-proposal-export-namespace-from": "^7.18.9", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/preset-env": "^7.11.5", | ||
"@babel/preset-react": "^7.10.4", | ||
"@ecomfe/eslint-config": "^4.0.1", | ||
"@types/react-test-renderer": "^16.9.3", | ||
"antd": "^3.24.2", | ||
"autoprefixer": "^9.8.6", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^26.3.0", | ||
"babel-loader": "^8.1.0", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-react": "^7.18.6", | ||
"@ecomfe/eslint-config": "^7.4.0", | ||
"@reskript/cli": "5.7.2", | ||
"@reskript/cli-build": "5.7.2", | ||
"@reskript/cli-dev": "5.7.2", | ||
"@reskript/settings": "5.7.2", | ||
"@types/react-test-renderer": "^16.9.5", | ||
"antd": "^4.24.3", | ||
"autoprefixer": "^9.8.8", | ||
"babel-jest": "^26.6.3", | ||
"babel-loader": "^9.1.0", | ||
"babel-plugin-add-react-displayname": "0.0.5", | ||
"babel-plugin-import": "^1.13.0", | ||
"babel-plugin-import": "^1.13.5", | ||
"babel-plugin-lodash": "^3.3.4", | ||
"babel-plugin-react-require": "^3.1.3", | ||
"core-js": "^3.6.5", | ||
"css-loader": "^4.2.2", | ||
"cssnano": "^4.1.10", | ||
"core-js": "^3.26.1", | ||
"css-loader": "^6.7.2", | ||
"cssnano": "^5.1.14", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.4", | ||
"eslint": "^7.8.1", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-jest": "^23.20.0", | ||
"eslint-plugin-react": "^7.20.6", | ||
"eslint-plugin-react-hooks": "^4.1.0", | ||
"enzyme-adapter-react-16": "^1.15.7", | ||
"eslint": "^8.28.0", | ||
"eslint-plugin-jest": "^27.1.5", | ||
"eslint-plugin-react": "^7.31.11", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"gitdiff-parser": "^0.2.2", | ||
"html-webpack-plugin": "^4.4.1", | ||
"html-webpack-plugin": "^5.5.0", | ||
"identity-obj-proxy": "^3.0.0", | ||
"jest": "^26.4.2", | ||
"less": "^3.12.2", | ||
"less-loader": "^7.0.0", | ||
"lodash": "^4.17.20", | ||
"nanoid": "^3.1.25", | ||
"postcss": "^7.0.32", | ||
"postcss-cli": "^7.1.2", | ||
"postcss-custom-properties": "^9.1.1", | ||
"prism-color-variables": "^1.0.0", | ||
"raw-loader": "^4.0.1", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-infinite-scroller": "^1.2.4", | ||
"react-markdown": "^4.3.1", | ||
"react-test-renderer": "^16.13.1", | ||
"react-timeago": "^4.1.9", | ||
"jest": "^26.6.3", | ||
"less": "^4.1.3", | ||
"less-loader": "^11.1.0", | ||
"lodash": "^4.17.21", | ||
"nanoid": "^4.0.0", | ||
"postcss": "^8.4.19", | ||
"postcss-cli": "^10.0.0", | ||
"postcss-custom-properties": "^13.0.0", | ||
"prism-color-variables": "^1.0.1", | ||
"prop-types": "^15.8.1", | ||
"raw-loader": "^4.0.2", | ||
"react": "^16.14.0", | ||
"react-dom": "^16.14.0", | ||
"react-infinite-scroller": "^1.2.6", | ||
"react-markdown": "^8.0.3", | ||
"react-test-renderer": "^16.14.0", | ||
"react-timeago": "^7.1.0", | ||
"refractor": "^2.10.1", | ||
"rollup": "^1.25.2", | ||
"rollup": "^1.32.1", | ||
"rollup-plugin-auto-external": "^2.0.0", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-eslint": "^7.0.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-plugin-terser": "^5.1.2", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
"rollup-plugin-terser": "^5.3.1", | ||
"sha1": "^1.1.1", | ||
"style-loader": "^1.2.1", | ||
"styled-components": "^5.3.1", | ||
"style-loader": "^3.3.1", | ||
"styled-components": "^5.3.6", | ||
"unidiff": "^1.0.2", | ||
"webpack": "^4.44.1", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-dev-server": "^3.11.0", | ||
"worker-loader": "^3.0.2" | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^5.0.0", | ||
"webpack-dev-server": "^4.11.1", | ||
"worker-loader": "^3.0.8" | ||
}, | ||
@@ -123,3 +129,4 @@ "peerDependencies": { | ||
"style" | ||
] | ||
], | ||
"packageManager": "yarn@3.3.0" | ||
} |
@@ -58,3 +58,3 @@ # react-diff-view | ||
The `nearbySequence` can have a value of `"zip"` to "zip" a sequences of deletion and additions, as an example, here is a diff generated from react: | ||
The `nearbySequences` can have a value of `"zip"` to "zip" a sequences of deletion and additions, as an example, here is a diff generated from react: | ||
@@ -61,0 +61,0 @@ ```diff |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
1265831
70
1131
Updatedclassnames@^2.3.2
Updatedwarning@^4.0.3