react-google-maps
Advanced tools
Comparing version 4.5.0 to 4.5.1
@@ -0,1 +1,11 @@ | ||
<a name="4.5.1"></a> | ||
## [4.5.1](https://github.com/tomchentw/react-google-maps/compare/v4.5.0...v4.5.1) (2015-11-21) | ||
### Features | ||
* **ScriptjsLoader:** check with propTypesElementOfType(GoogleMap) ([e8bb97b](https://github.com/tomchentw/react-google-maps/commit/e8bb97b)) | ||
<a name="4.5.0"></a> | ||
@@ -2,0 +12,0 @@ # [4.5.0](https://github.com/tomchentw/react-google-maps/compare/v4.4.1...v4.5.0) (2015-11-21) |
@@ -23,2 +23,6 @@ "use strict"; | ||
var _reactPropTypesElementOfType = require("react-prop-types-element-of-type"); | ||
var _reactPropTypesElementOfType2 = _interopRequireDefault(_reactPropTypesElementOfType); | ||
var _canUseDom = require("can-use-dom"); | ||
@@ -102,3 +106,3 @@ | ||
loadingElement: _react.PropTypes.node, | ||
googleMapElement: _react.PropTypes.element.isRequired | ||
googleMapElement: (0, _reactPropTypesElementOfType2["default"])(_index.GoogleMap).isRequired | ||
}), | ||
@@ -105,0 +109,0 @@ enumerable: true |
{ | ||
"__template__gist__": "https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-package-json", | ||
"name": "react-google-maps", | ||
"version": "4.5.0", | ||
"version": "4.5.1", | ||
"description": "React.js Google Maps integration component", | ||
@@ -15,4 +15,5 @@ "main": "lib/index.js", | ||
"prebuild": "npm run lint && npm run clean", | ||
"build:watch": "npm run build -- --watch", | ||
"build": "babel src --out-dir lib", | ||
"lint": "eslint src", | ||
"lint": "eslint .", | ||
"pretest:cov": "npm run lint", | ||
@@ -25,3 +26,3 @@ "pretest": "npm run lint", | ||
"config": { | ||
"mocha": "--compilers js:babel/register ./src/**/__tests__/*.spec.js" | ||
"mocha": "--compilers js:babel/register ./src/**/__tests__/*.spec.js --require ./src/__tests__/__setup__.js" | ||
}, | ||
@@ -77,2 +78,3 @@ "repository": { | ||
"istanbul": "^0.3.22", | ||
"jsdom": "^7.0.2", | ||
"mocha": "^2.3.3", | ||
@@ -82,2 +84,3 @@ "react": "^0.14.0", | ||
"rimraf": "^2.4.3", | ||
"thenify": "^3.1.1", | ||
"tomchentw-npm-dev": "^3.1.0" | ||
@@ -91,2 +94,3 @@ }, | ||
"marker-clusterer-plus": "^2.1.2", | ||
"react-prop-types-element-of-type": "^1.0.2", | ||
"scriptjs": "^2.5.8", | ||
@@ -93,0 +97,0 @@ "warning": "^2.1.0" |
@@ -8,2 +8,6 @@ import { | ||
import { | ||
default as propTypesElementOfType, | ||
} from "react-prop-types-element-of-type"; | ||
import { | ||
default as canUseDOM, | ||
@@ -31,3 +35,3 @@ } from "can-use-dom"; | ||
loadingElement: PropTypes.node, | ||
googleMapElement: PropTypes.element.isRequired, | ||
googleMapElement: propTypesElementOfType(GoogleMap).isRequired, | ||
} | ||
@@ -34,0 +38,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
330552
116
6362
10
16
+ Addedreact-prop-types-element-of-type@1.0.2(transitive)