You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-gtm

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-gtm - npm Package Compare versions

Comparing version

to
2.4.0-typescript-beta.1

.github/workflows/ci.yml

98

CHANGELOG.md

@@ -1,3 +0,97 @@

## 1.0 - January 2017
# Next
- Initial release
[diff](https://github.com/mib200/vue-gtm/compare/2.3.4...master)
# 2.3.4
[diff](https://github.com/mib200/vue-gtm/compare/2.3.3...2.3.4)
- Add a more restrictive condition on `hasScript` function
# 2.3.3
[diff](https://github.com/mib200/vue-gtm/compare/2.3.2...2.3.3)
- Fix `enable` method, after added `defer` feature
- Update TypeScript declarations
# 2.3.2
[diff](https://github.com/mib200/vue-gtm/compare/2.3.1...2.3.2)
- Fix: Cannot read property 'defer' of undefined" after enabling the plugin with a user interaction
# 2.3.1
[diff](https://github.com/mib200/vue-gtm/compare/2.3.0...2.3.1)
- Add possibility to `defer` script
- Add rest param to `trackEvent` typing
- Multiple bug fixes
# 2.3.0
[diff](https://github.com/mib200/vue-gtm/compare/2.2.0...2.3.0)
- Improve debugging
- Add TypeScript declarations
- Bugfix: Only load GTM Script if `loadScript` is set to `true`
- Add query params to GTM script url
# 2.2.0
[diff](https://github.com/mib200/vue-gtm/compare/2.1.0...2.2.0)
- Exposing data layer
- Add config param for url of loading gtm.js
# 2.1.0
[diff](https://github.com/mib200/vue-gtm/compare/2.0.1...2.1.0)
- Add config value for loading the script
- Add the base path to the URL
- Load script config option
- Accepting ID as an array
# 2.0.1
[diff](https://github.com/mib200/vue-gtm/compare/2.0.0...2.0.1)
- Add view name to event property
- If no id provided do not insert tag manager script tag (dev environment)
- Ignored views when load from `ignoredViews`
# 2.0.0
[diff](https://github.com/mib200/vue-gtm/compare/1.0.3...2.0.0)
- Make GTM ID a config option
- Changed handling of GTM ID
# 1.0.3
[diff](https://github.com/mib200/vue-gtm/compare/1.0.2...1.0.3)
- Ability to `enable`/`disable` plugin
- Call `trackView` on next tick
# 1.0.2
[diff](https://github.com/mib200/vue-gtm/compare/1.0.1...1.0.2)
- Possibility to add additional `dataLayer` variables
- Track `fullPath`
# 1.0.1
[diff](https://github.com/mib200/vue-gtm/compare/1.0.0...1.0.1)
- Updated Google GTM inclusion method
- Only run in browser. SSR compatibility
# 1.0.0
[diff](https://github.com/mib200/vue-gtm/compare/47e53145f6b8e8b7236beb59078d7e7b0fb3b6ff...1.0.0)
- Initial release

41

package.json
{
"name": "vue-gtm",
"version": "2.3.4",
"version": "2.4.0-typescript-beta.1",
"description": "Google Tag Manager implementation in Vue application",
"main": "./dist/vue-gtm.min.js",
"typings": "types/index.d.ts",
"author": "Manish Kumar",
"main": "dist/index.js",
"author": {
"name": "Manish Kumar",
"url": "https://github.com/mib200"
},
"contributors": [
{
"name": "Christopher Quadflieg",
"email": "chrissi92@hotmail.de",
"url": "https://github.com/Shinigami92"
}
],
"license": "Apache-2.0",
"homepage": "https://github.com/mib200/vue-gtm",
"scripts": {
"build": "webpack-cli --config webpack.config.js --progress --hide-modules"
"build": "tsc"
},

@@ -20,5 +29,2 @@ "repository": {

},
"jshintConfig": {
"esversion": 6
},
"keywords": [

@@ -44,17 +50,12 @@ "analytics",

],
"devDependencies": {
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.11.0",
"babel-loader": "^8.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"url-search-params-polyfill": "^8.1.0"
},
"browserslist": [
">1%",
"not dead",
"ie 11"
]
"devDependencies": {
"typescript": "^4.0.2",
"vue": "^2.6.12"
},
"peerDependencies": {
"vue": "^2.6.0"
}
}