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

posthog-js

Package Overview
Dependencies
Maintainers
1
Versions
662
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthog-js - npm Package Compare versions

Comparing version 1.3.8 to 1.4.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 1.4.0 - 2020-08-10
- Add option `.reloadFeatureFlags()`. Pass it a callback to get the flags array upon reload. (See [#71](https://github.com/PostHog/posthog-js/pull/71))
- Add config option `sanitize_properties` that accepts a function which sanitizes your params (See [#75](https://github.com/PostHog/posthog-js/issues/75))
## 1.3.8 - 2020-08-07

@@ -2,0 +6,0 @@ - Set `secure_cookie` config to `true` if the page is running over https

@@ -550,2 +550,3 @@ // Type definitions for exported methods

request_batching?: boolean
sanitize_properties?: (properties: Record<string, any>, event_name: string) => Record<string, any>
}

@@ -685,2 +686,4 @@

static reloadFeatureFlags(callback: (flags: string[]) => any): void
/*

@@ -687,0 +690,0 @@ * See if feature flag is enabled for user.

2

package.json
{
"name": "posthog-js",
"version": "1.3.8",
"version": "1.4.0",
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/PostHog/posthog-js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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