Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

plausible-tracker

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plausible-tracker - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

9

CHANGELOG.md

@@ -5,4 +5,11 @@ # Changelog

### [0.3.4](https://github.com/Maronato/plausible-tracker/compare/v0.3.4...v0.3.5) (2022-01-25)
### [0.3.6](https://github.com/Maronato/plausible-tracker/compare/v0.3.5...v0.3.6) (2022-06-06)
### Bug Fixes
* **tracker:** Don't access localStorage if it is not available #31 ([#31](https://github.com/plausible/plausible-tracker/pull/31))
* **tracker:** Accept number and boolean as event props ([#27](https://github.com/plausible/plausible-tracker/pull/27))
### [0.3.5](https://github.com/Maronato/plausible-tracker/compare/v0.3.4...v0.3.5) (2022-01-25)
### Changes

@@ -9,0 +16,0 @@

2

package.json
{
"name": "plausible-tracker",
"version": "0.3.5",
"version": "0.3.6",
"description": "Official frontend tracker to interact with Plausible Analytics",

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

@@ -25,3 +25,3 @@ import type { PlausibleOptions } from './tracker';

*/
readonly props?: { readonly [propName: string]: string };
readonly props?: { readonly [propName: string]: string | number | boolean };
};

@@ -52,4 +52,9 @@

const canAccessLocalStorage =
typeof window.localStorage?.getItem === 'function';
const shouldIgnoreCurrentBrowser =
canAccessLocalStorage &&
localStorage.getItem('plausible_ignore') === 'true';
if (shouldIgnoreCurrentBrowser) {

@@ -56,0 +61,0 @@ return console.warn(

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