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

gtm-module

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtm-module - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

10

dist/index.js

@@ -28,2 +28,12 @@ import sanitizeObj from './util/sanitizeObj.js';

window.document.head.appendChild(script);
var noScript = document.createElement('noscript');
noScript.id = "gtm-snippet-noscript";
var iframe = document.createElement('iframe');
iframe.src = "https://".concat(this.serverSideDomain || 'www.googletagmanager.com', "/ns.html?id=").concat(this.gtmId);
iframe.style.display = "none";
iframe.style.visibility = "hidden";
iframe.height = "0";
iframe.width = "0";
noScript.appendChild(iframe);
window.document.body.appendChild(noScript);
this.initialized = true;

@@ -30,0 +40,0 @@ }

2

package.json
{
"name": "gtm-module",
"version": "1.0.4",
"version": "1.0.5",
"description": "Facilitates the usage of Google Tag Manager. Supports Google Tag Manager Server Side loading.",

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

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