react-google-maps
Advanced tools
Comparing version 8.4.1 to 8.4.2
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="8.4.2"></a> | ||
## [8.4.2](https://github.com/tomchentw/react-google-maps/compare/v8.4.1...v8.4.2) (2017-10-11) | ||
### Bug Fixes | ||
* **withGoogleMap:** make compatible with `recompose@^0.26` ([450e1a8](https://github.com/tomchentw/react-google-maps/commit/450e1a8)), closes [#659](https://github.com/tomchentw/react-google-maps/issues/659) | ||
* **withScriptjs:** make compatible with `recompose@^0.26` ([20f91af](https://github.com/tomchentw/react-google-maps/commit/20f91af)), closes [#659](https://github.com/tomchentw/react-google-maps/issues/659) | ||
<a name="8.4.1"></a> | ||
@@ -7,0 +18,0 @@ ## [8.4.1](https://github.com/tomchentw/react-google-maps/compare/v8.4.0...v8.4.1) (2017-10-11) |
@@ -71,3 +71,3 @@ "use strict" | ||
function withGoogleMap(BaseComponent) { | ||
var factory = (0, _recompose.createEagerFactory)(BaseComponent) | ||
var factory = _react2.default.createFactory(BaseComponent) | ||
@@ -74,0 +74,0 @@ var Container = (function(_React$PureComponent) { |
@@ -68,3 +68,3 @@ "use strict" | ||
function withScriptjs(BaseComponent) { | ||
var factory = (0, _recompose.createEagerFactory)(BaseComponent) | ||
var factory = _react2.default.createFactory(BaseComponent) | ||
@@ -71,0 +71,0 @@ var Container = (function(_React$PureComponent) { |
{ | ||
"name": "react-google-maps", | ||
"version": "8.4.1", | ||
"version": "8.4.2", | ||
"description": "React.js Google Maps integration component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -5,3 +5,3 @@ /* global google */ | ||
import invariant from "invariant" | ||
import { getDisplayName, createEagerFactory } from "recompose" | ||
import { getDisplayName } from "recompose" | ||
import PropTypes from "prop-types" | ||
@@ -12,3 +12,3 @@ import React from "react" | ||
export function withGoogleMap(BaseComponent) { | ||
const factory = createEagerFactory(BaseComponent) | ||
const factory = React.createFactory(BaseComponent) | ||
@@ -15,0 +15,0 @@ class Container extends React.PureComponent { |
import _ from "lodash" | ||
import invariant from "invariant" | ||
import canUseDOM from "can-use-dom" | ||
import { getDisplayName, createEagerFactory } from "recompose" | ||
import { getDisplayName } from "recompose" | ||
import PropTypes from "prop-types" | ||
@@ -13,3 +13,3 @@ import React from "react" | ||
export function withScriptjs(BaseComponent) { | ||
const factory = createEagerFactory(BaseComponent) | ||
const factory = React.createFactory(BaseComponent) | ||
@@ -16,0 +16,0 @@ class Container extends React.PureComponent { |
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
471756