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

posthog-node

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthog-node - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

7

CHANGELOG.md

@@ -0,2 +1,8 @@

# Next
# 4.1.0 - 2024-08-14
1. chore: change host to new address.
2. chore: bump axios to 1.7.4 (fixes [CVE-2024-39338](https://github.com/advisories/GHSA-8hc4-vh64-cxmj))
# 4.0.1 - 2024-04-25

@@ -30,3 +36,2 @@

# 4.0.0-beta.3 - 2024-03-13

@@ -33,0 +38,0 @@

2

lib/index.d.ts
/// <reference types="node" />
declare type PostHogCoreOptions = {
/** PostHog API host, usually 'https://app.posthog.com' or 'https://eu.posthog.com' */
/** PostHog API host, usually 'https://us.i.posthog.com' or 'https://eu.i.posthog.com' */
host?: string;

@@ -5,0 +5,0 @@ /** The number of events to queue before sending to PostHog (flushing) */

/// <reference types="node" />
export declare type PostHogCoreOptions = {
/** PostHog API host, usually 'https://app.posthog.com' or 'https://eu.posthog.com' */
/** PostHog API host, usually 'https://us.i.posthog.com' or 'https://eu.i.posthog.com' */
host?: string;

@@ -5,0 +5,0 @@ /** The number of events to queue before sending to PostHog (flushing) */

{
"name": "posthog-node",
"version": "4.0.1",
"version": "4.1.0",
"description": "PostHog Node.js integration",

@@ -26,3 +26,3 @@ "repository": {

"dependencies": {
"axios": "^1.6.2",
"axios": "^1.7.4",
"rusha": "^0.8.14"

@@ -29,0 +29,0 @@ },

@@ -73,3 +73,3 @@ /**

) {
this.posthogHost = posthog.options.host ?? 'https://app.posthog.com'
this.posthogHost = posthog.options.host ?? 'https://us.i.posthog.com'
}

@@ -76,0 +76,0 @@

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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