🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

nuxt-matomo

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-matomo - npm Package Compare versions

Comparing version

to
1.2.2

@@ -5,2 +5,11 @@ # Change Log

## [1.2.2](https://github.com/pimlie/nuxt-matomo/compare/v1.2.1...v1.2.2) (2019-03-03)
### Features
* add router.base on tracking page url ([df414aa](https://github.com/pimlie/nuxt-matomo/commit/df414aa))
<a name="1.2.1"></a>

@@ -7,0 +16,0 @@ ## [1.2.1](https://github.com/pimlie/nuxt-matomo/compare/v1.2.0...v1.2.1) (2019-01-24)

@@ -93,7 +93,8 @@ import { debug, warn, isFn, waitUntil, routeOption } from './utils'<% if(isTest) { %>// eslint-disable-line no-unused-vars<% } %>

// define hostname
const host = window.location.protocol +
// define base url
const baseUrl = window.location.protocol +
(window.location.protocol.slice(-1) === ':' ? '' : ':') +
'//' +
window.location.host
window.location.host +
router.options.base.replace(/\/+$/, '')

@@ -107,3 +108,3 @@ const trackRoute = ({ to, componentOption }) => {

<% } %>
tracker.setCustomUrl(host + to.fullPath)
tracker.setCustomUrl(baseUrl + to.fullPath)

@@ -110,0 +111,0 @@ // allow override page settings

{
"name": "nuxt-matomo",
"version": "1.2.1",
"version": "1.2.2",
"license": "MIT",

@@ -22,3 +22,3 @@ "description": "Matomo analytics for Nuxt.js",

"build": "nuxt build test/fixtures/basic",
"dev": "nuxt test/fixtures/basic",
"dev": "nuxt test/fixtures/meta-changed",
"lint": "yarn lint:lib && yarn lint:matomo",

@@ -38,25 +38,25 @@ "lint:lib": "eslint --ext .js,.vue .",

"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/core": "^7.3.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-env": "^7.3.4",
"@nuxtjs/eslint-config": "^0.0.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"eslint": "^5.12.0",
"babel-jest": "^24.1.0",
"eslint": "^5.15.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-html": "^5.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-html": "^5.0.3",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.3.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.1.0",
"get-port": "^4.1.0",
"jest": "^23.6.0",
"jsdom": "^13.1.0",
"nuxt": "^2.3.4",
"puppeteer": "^1.11.0",
"standard-version": "^4.4.0"
"eslint-plugin-vue": "^5.2.2",
"get-port": "^4.2.0",
"jest": "^24.1.0",
"jsdom": "^13.2.0",
"nuxt": "^2.4.5",
"puppeteer": "^1.12.2",
"standard-version": "^5.0.1"
}
}