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

react-gpt

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gpt - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

lib/createManager.js

@@ -350,3 +350,5 @@ Object.defineProperty(exports, "__esModule", {

var index = _this6._mqls[key].listeners.indexOf(instance);
_this6._mqls[key].listeners.splice(index, 1);
if (index > -1) {
_this6._mqls[key].listeners.splice(index, 1);
}
if (_this6._mqls[key].listeners.length === 0) {

@@ -353,0 +355,0 @@ _this6._mqls[key].mql.removeListener(_this6._handleMediaQueryChange);

{
"name": "react-gpt",
"version": "0.2.0",
"version": "0.2.1",
"description": "A react display ad component using Google Publisher Tag",

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

@@ -260,3 +260,5 @@ import EventEmitter from "eventemitter3";

const index = this._mqls[key].listeners.indexOf(instance);
this._mqls[key].listeners.splice(index, 1);
if (index > -1) {
this._mqls[key].listeners.splice(index, 1);
}
if (this._mqls[key].listeners.length === 0) {

@@ -263,0 +265,0 @@ this._mqls[key].mql.removeListener(this._handleMediaQueryChange);

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