Socket
Socket
Sign inDemoInstall

react-prop-types-element-of-type

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-prop-types-element-of-type - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="2.1.0"></a>
# [2.1.0](https://github.com/tomchentw/react-prop-types-element-of-type/compare/v2.0.0...v2.1.0) (2016-04-26)
### Features
* **package.json:** support react@^15.0.0-0 ([34aa660](https://github.com/tomchentw/react-prop-types-element-of-type/commit/34aa660)), closes [#1](https://github.com/tomchentw/react-prop-types-element-of-type/issues/1)
<a name="2.0.0"></a>

@@ -2,0 +12,0 @@ # [2.0.0](https://github.com/tomchentw/react-prop-types-element-of-type/compare/v1.0.2...v2.0.0) (2016-01-25)

8

lib/__tests__/index.spec.js

@@ -33,6 +33,6 @@ "use strict";

describe("propTypesElementOfType", function describePropTypesElementOfType() {
var domEl = undefined;
var ChildComponent = undefined;
var WrapperComponent = undefined;
var consoleErrorSpy = undefined;
var domEl = void 0;
var ChildComponent = void 0;
var WrapperComponent = void 0;
var consoleErrorSpy = void 0;

@@ -39,0 +39,0 @@ beforeEach(function beforeEachPropTypesElementOfType() {

{
"name": "react-prop-types-element-of-type",
"version": "2.0.0",
"version": "2.1.0",
"description": "Check if given React element is created by certain Component type",

@@ -63,6 +63,6 @@ "main": "lib/index.js",

"istanbul": "^0.4.2",
"jsdom": "^7.2.2",
"mocha": "^2.3.4",
"react": "^0.14.6",
"react-dom": "^0.14.6",
"jsdom": "^8.0.0",
"mocha": "^2.4.4",
"react": "^0.14.6 || ^15.0.0-0",
"react-dom": "^0.14.6 || ^15.0.0-0",
"rimraf": "^2.5.1",

@@ -74,4 +74,4 @@ "thenify": "^3.1.1",

"peerDependencies": {
"react": "^0.14.6"
"react": "^0.14.6 || ^15.0.0-0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc