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

@nuxtjs/gtm

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/gtm - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.1.1](https://github.com/nuxt-community/gtm-module/compare/v2.1.0...v2.1.1) (2020-02-11)
### Bug Fixes
* prevent calling init with initial id when autoInit enabled ([24744a5](https://github.com/nuxt-community/gtm-module/commit/24744a50e95b48ec1f16f02f8ba652e5415123f1))
## [2.1.0](https://github.com/nuxt-community/gtm-module/compare/v2.0.1...v2.1.0) (2020-02-11)

@@ -7,0 +14,0 @@

2

lib/plugin.js
export default function (ctx, inject) {
const layer = '<%= options.layer %>'
const initialized = {}
const initialized = {<%= (options.autoInit && options.id) ? ` '${options.id}': true ` : '' %>}
ctx.$gtm = {

@@ -5,0 +5,0 @@ init(id<%= options.id ? ` = '${options.id}'` : '' %>) {

{
"name": "@nuxtjs/gtm",
"version": "2.1.0",
"version": "2.1.1",
"description": "Google Tag Manager Module for Nuxt.js",

@@ -5,0 +5,0 @@ "repository": "nuxt-community/gtm-module",

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