react-prop-types-element-of-type
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -0,1 +1,15 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
<a name="2.2.0"></a> | ||
# [2.2.0](https://github.com/tomchentw/react-prop-types-element-of-type/compare/v2.1.0...v2.2.0) (2016-05-30) | ||
### Features | ||
* **package.json:** upgrade devDependencies ([c98c5a0](https://github.com/tomchentw/react-prop-types-element-of-type/commit/c98c5a0)) | ||
<a name="2.1.0"></a> | ||
@@ -58,4 +72,1 @@ # [2.1.0](https://github.com/tomchentw/react-prop-types-element-of-type/compare/v2.0.0...v2.1.0) (2016-04-26) | ||
* **propTypesElementOfType:** warn about component inheritance ([6bd3095](https://github.com/tomchentw/react-prop-types-element-of-type/commit/6bd3095)) | ||
@@ -31,3 +31,5 @@ "use strict"; | ||
/* eslint-disable react/no-multi-comp */ | ||
/* eslint-disable react/prefer-stateless-function */ | ||
describe("propTypesElementOfType", function describePropTypesElementOfType() { | ||
@@ -34,0 +36,0 @@ var domEl = void 0; |
{ | ||
"name": "react-prop-types-element-of-type", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Check if given React element is created by certain Component type", | ||
@@ -20,3 +20,5 @@ "main": "lib/index.js", | ||
"test:watch": "npm test -- --watch", | ||
"test": "cross-env NODE_ENV=test mocha $npm_package_config_mocha" | ||
"test": "cross-env NODE_ENV=test mocha $npm_package_config_mocha", | ||
"prerelease": "npm run build && git add -A && git commit -m 'chore(lib): compile from src using babel'", | ||
"release": "standard-version" | ||
}, | ||
@@ -33,4 +35,6 @@ "config": { | ||
"React", | ||
"ReactElement", | ||
"propTypes", | ||
"elementOfType" | ||
"elementOfType", | ||
"componentOfType" | ||
], | ||
@@ -48,26 +52,28 @@ "author": { | ||
"devDependencies": { | ||
"babel-cli": "^6.4.5", | ||
"babel-core": "^6.4.5", | ||
"babel-eslint": "^5.0.0-beta6", | ||
"babel-plugin-transform-flow-comments": "^6.4.0", | ||
"babel-plugin-typecheck": "^3.6.1", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-react": "^6.3.13", | ||
"babel-preset-stage-0": "^6.3.13", | ||
"babel-register": "^6.4.3", | ||
"codeclimate-test-reporter": "^0.3.0", | ||
"cross-env": "^1.0.7", | ||
"eslint": "^1.10.3", | ||
"eslint-config-airbnb": "^4.0.0", | ||
"eslint-plugin-react": "^3.16.1", | ||
"expect": "^1.13.4", | ||
"babel-cli": "^6.9.0", | ||
"babel-core": "^6.9.1", | ||
"babel-eslint": "^6.0.4", | ||
"babel-plugin-transform-flow-comments": "^6.8.0", | ||
"babel-plugin-typecheck": "^3.9.0", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-preset-react": "^6.5.0", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"babel-register": "^6.9.0", | ||
"codeclimate-test-reporter": "^0.3.1", | ||
"cross-env": "^1.0.8", | ||
"eslint": "^2.11.0", | ||
"eslint-config-airbnb": "^9.0.1", | ||
"eslint-plugin-import": "^1.8.1", | ||
"eslint-plugin-jsx-a11y": "^1.2.2", | ||
"eslint-plugin-react": "^5.1.1", | ||
"expect": "^1.20.1", | ||
"isparta": "^4.0.0", | ||
"istanbul": "^0.4.2", | ||
"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", | ||
"thenify": "^3.1.1", | ||
"tomchentw-npm-dev": "^3.2.0" | ||
"istanbul": "^0.4.3", | ||
"jsdom": "^9.2.1", | ||
"mocha": "^2.5.3", | ||
"react": "^15.1.0", | ||
"react-dom": "^15.1.0", | ||
"rimraf": "^2.5.2", | ||
"standard-version": "^2.2.1", | ||
"thenify": "^3.2.0" | ||
}, | ||
@@ -78,2 +84,2 @@ "dependencies": {}, | ||
} | ||
} | ||
} |
/* eslint-disable prefer-arrow-callback */ | ||
/* eslint-disable react/no-multi-comp */ | ||
/* eslint-disable react/prefer-stateless-function */ | ||
import { | ||
@@ -5,0 +5,0 @@ default as expect, |
@@ -41,3 +41,3 @@ import { | ||
`\`${actualComponentName}\` supplied to \`${componentName}\`, expected ` + | ||
`element type \`${expectedComponentName}\`.${ extraMessage }` | ||
`element type \`${expectedComponentName}\`.${extraMessage}` | ||
); | ||
@@ -44,0 +44,0 @@ } |
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
24046
348
26