react-addons-test-utils
Advanced tools
Comparing version 15.5.1 to 15.6.0-rc.1
24
index.js
@@ -1,23 +0,1 @@ | ||
/** | ||
* Copyright 2013-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
'use strict'; | ||
var warning = require('fbjs/lib/warning'); | ||
// This package has been deprecated in NPM as of version 15.5.0 | ||
// But NPM deprecation warnings are easy to overlook | ||
// So a more explicit runtime warning seemed appropriate | ||
warning( | ||
false, | ||
'ReactTestUtils has been moved to react-dom/test-utils. ' + | ||
'Update references to remove this warning.' | ||
); | ||
module.exports = require('react-dom/lib/ReactTestUtils'); | ||
module.exports = require('react-dom/lib/ReactTestUtils'); |
{ | ||
"name": "react-addons-test-utils", | ||
"version": "15.5.1", | ||
"version": "15.6.0-rc.1", | ||
"main": "index.js", | ||
@@ -12,13 +12,8 @@ "repository": "facebook/react", | ||
"dependencies": { | ||
"fbjs": "^0.8.4", | ||
"fbjs": "^0.8.9", | ||
"object-assign": "^4.1.0" | ||
}, | ||
"peerDependencies": { | ||
"react-dom": "^15.4.2" | ||
"react-dom": "^15.6.0-rc.1" | ||
}, | ||
"devDependencies": { | ||
"jest": "^19.0.2", | ||
"react": "^15.4.2", | ||
"react-dom": "^15.4.2" | ||
}, | ||
"files": [ | ||
@@ -30,2 +25,2 @@ "LICENSE", | ||
] | ||
} | ||
} |
@@ -5,6 +5,2 @@ # react-addons-test-utils | ||
See <https://facebook.github.io/react/docs/test-utils.html> for more information. | ||
This package is deprecated as of version 15.5.0: | ||
* TestUtils have been moved to `react-dom/test-utils` | ||
* Shallow renderer has been moved to `react-test-renderer/shallow` | ||
See <https://facebook.github.io/react/docs/test-utils.html> for more information. |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance 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
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
0
4138
0
2
5
2
Updatedfbjs@^0.8.9