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

analytics-node

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics-node - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

History.md

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

v4.0.1 / 2021-2-24
==========================
* Fixed an issue where the optional axiosInstance passed as an option was ignored
v4.0.0 / 2021-2-17

@@ -2,0 +6,0 @@ ==========================

8

index.js

@@ -56,4 +56,3 @@ 'use strict'

})
this.axiosClient = axios.create()
axiosRetry(this.axiosClient, {
axiosRetry(this.axiosInstance, {
retries: options.retryCount || 3,

@@ -270,8 +269,5 @@ retryCondition: this._isErrorRetryable,

const req = {
method: 'POST',
url: `${this.host}${this.path}`,
auth: {
username: this.writeKey
},
data,
headers

@@ -284,3 +280,3 @@ }

this.axiosClient(req)
this.axiosInstance.post(`${this.host}${this.path}`, data, req)
.then(() => done())

@@ -287,0 +283,0 @@ .catch(err => {

{
"name": "analytics-node",
"version": "4.0.0",
"version": "4.0.1",
"description": "The hassle-free way to integrate analytics into any Node.js application",

@@ -5,0 +5,0 @@ "license": "MIT",

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