🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

unexpected-react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-react - npm Package Compare versions

Comparing version

to
5.0.4

@@ -215,1 +215,5 @@ # Changelog

* Bump unexpected-htmllike to 2.2.0 to update support for unexpected versions
## v5.0.4
* Compatibility fixes for unexpected 11 (thanks @papandreou)
{
"name": "unexpected-react",
"version": "5.0.3",
"version": "5.0.4",
"description": "Plugin for unexpected, to allow for assertions on the React.js virtual DOM, and the shallow and test renderers",

@@ -9,9 +9,9 @@ "scripts": {

"preparepublish": "npm run build && npm test",
"test-main": "mocha --compilers js:babel-core/register src/tests/general/*.spec.js src/tests/regressions/*.spec.js",
"test-error": "mocha --compilers js:babel-core/register src/tests/errors/*.spec.js",
"test-testrenderer": "mocha --compilers js:babel-core/register src/tests/testRenderer/*.spec.js",
"test-main": "mocha --require babel-core/register src/tests/general/*.spec.js src/tests/regressions/*.spec.js",
"test-error": "mocha --require babel-core/register src/tests/errors/*.spec.js",
"test-testrenderer": "mocha --require babel-core/register src/tests/testRenderer/*.spec.js",
"test-documentation": "npm run test-documentation-index && npm run test-documentation-standard && npm run test-documentation-testrenderer",
"test-documentation-index": "mocha --compilers js:babel-core/register,md:unexpected-markdown --require ./bootstrap-unexpected-markdown documentation",
"test-documentation-standard": "mocha --compilers js:babel-core/register,md:unexpected-markdown --require ./bootstrap-unexpected-markdown --recursive documentation/assertions/ReactElement documentation/assertions/RenderedReactElement",
"test-documentation-testrenderer": "mocha --compilers js:babel-core/register,md:unexpected-markdown --require ./bootstrap-unexpected-markdown-test-renderer --recursive documentation/assertions/ReactTestRenderer",
"test-documentation-index": "mocha --require babel-core/register --require unexpected-markdown --require ./bootstrap-unexpected-markdown documentation",
"test-documentation-standard": "mocha --require babel-core/register --require unexpected-markdown --require ./bootstrap-unexpected-markdown --recursive documentation/assertions/ReactElement documentation/assertions/RenderedReactElement",
"test-documentation-testrenderer": "mocha --require babel-core/register --require unexpected-markdown --require ./bootstrap-unexpected-markdown-test-renderer --recursive documentation/assertions/ReactTestRenderer",
"test-jest-integration": "cd jest-integration && ./run.sh",

@@ -26,3 +26,3 @@ "test-release": "cd jest-integration && ./run.sh --use-released",

"test": "npm run test-main && npm run test-testrenderer && npm run test-error && npm run test-documentation && npm run test-jest-integration",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --compilers js:babel-core/register src/tests/*.spec.js &&cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage || true"
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require babel-core/register src/tests/*.spec.js &&cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage || true"
},

@@ -75,8 +75,8 @@ "main": "lib/unexpected-react.js",

"prop-types": "^15.5.8",
"react": "^16.5.2",
"react": "16.5.2",
"react-create-class": "^1.0.0",
"react-dom": "^16.5.2",
"react-dom": "16.5.2",
"react-test-renderer": "16.0.0",
"sinon": "^1.17.6",
"unexpected": "^10.35.0",
"unexpected": "^11.0.0-4",
"unexpected-documentation-site-generator": "^4.6.1",

@@ -83,0 +83,0 @@ "unexpected-markdown": "^1.7.4",

Sorry, the diff of this file is not supported yet