Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-google-maps

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-maps - npm Package Compare versions

Comparing version 4.9.0 to 4.9.1

10

CHANGELOG.md

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

<a name="4.9.1"></a>
## [4.9.1](https://github.com/tomchentw/react-google-maps/compare/v4.9.0...v4.9.1) (2016-02-21)
### Bug Fixes
* **componentLifecycleDecorator:** revert to componentWillReceiveProps ([105dc6b](https://github.com/tomchentw/react-google-maps/commit/105dc6b))
<a name="4.9.0"></a>

@@ -2,0 +12,0 @@ # [4.9.0](https://github.com/tomchentw/react-google-maps/compare/v4.8.2...v4.9.0) (2016-02-21)

6

lib/utils/componentLifecycleDecorator.js

@@ -30,3 +30,3 @@ "use strict";

var componentDidMount = Component.prototype.hasOwnProperty("componentDidMount") ? Component.prototype.componentDidMount : noop;
var componentWillReceiveProps = Component.prototype.hasOwnProperty("componentWillReceiveProps") ? Component.prototype.componentWillReceiveProps : noop;
var componentDidUpdate = Component.prototype.hasOwnProperty("componentDidUpdate") ? Component.prototype.componentDidUpdate : noop;
var componentWillUnmount = Component.prototype.hasOwnProperty("componentWillUnmount") ? Component.prototype.componentWillUnmount : noop;

@@ -46,3 +46,3 @@

Object.defineProperty(Component.prototype, "componentWillReceiveProps", {
Object.defineProperty(Component.prototype, "componentDidUpdate", {
enumerable: false,

@@ -61,3 +61,3 @@ configurable: true,

// Hook into client's implementation, if it has any
componentWillReceiveProps.call(this, prevProps);
componentDidUpdate.call(this, prevProps);

@@ -64,0 +64,0 @@ register.call(this);

{
"__template__gist__": "https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-package-json",
"name": "react-google-maps",
"version": "4.9.0",
"version": "4.9.1",
"description": "React.js Google Maps integration component",

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

@@ -23,3 +23,3 @@ export default function componentLifecycleDecorator({ registerEvents, instanceMethodName, updaters }) {

const componentDidMount = Component.prototype.hasOwnProperty(`componentDidMount`) ? Component.prototype.componentDidMount : noop;
const componentWillReceiveProps = Component.prototype.hasOwnProperty(`componentWillReceiveProps`) ? Component.prototype.componentWillReceiveProps : noop;
const componentDidUpdate = Component.prototype.hasOwnProperty(`componentDidUpdate`) ? Component.prototype.componentDidUpdate : noop;
const componentWillUnmount = Component.prototype.hasOwnProperty(`componentWillUnmount`) ? Component.prototype.componentWillUnmount : noop;

@@ -39,3 +39,3 @@

Object.defineProperty(Component.prototype, `componentWillReceiveProps`, {
Object.defineProperty(Component.prototype, `componentDidUpdate`, {
enumerable: false,

@@ -54,3 +54,3 @@ configurable: true,

// Hook into client's implementation, if it has any
componentWillReceiveProps.call(this, prevProps);
componentDidUpdate.call(this, prevProps);

@@ -57,0 +57,0 @@ register.call(this);

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