New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-gtm-ts

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gtm-ts - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

dist/index.js

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

var GTMInit = ({ GTMCode }) => {
if (typeof window !== "undefined")
if (typeof window === "undefined")
return;

@@ -45,3 +45,3 @@ const elScript = document.createElement("script");

var GTMAction = ({ event, ...more }) => {
if (typeof document !== "undefined")
if (typeof window === "undefined")
return;

@@ -48,0 +48,0 @@ window.dataLayer.push({

@@ -5,3 +5,3 @@ {

"license": "ISC",
"version": "1.0.10",
"version": "1.0.11",
"main": "./dist/index.js",

@@ -8,0 +8,0 @@ "module": "./dist/index.mjs",

Sorry, the diff of this file is not supported yet

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