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

@segment/analytics-node

Package Overview
Dependencies
Maintainers
240
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@segment/analytics-node - npm Package Compare versions

Comparing version 0.0.1-beta.12 to 0.0.1-beta.13

dist/cjs/lib/base-64-encode.js

2

dist/cjs/generated/version.js

@@ -5,3 +5,3 @@ "use strict";

// This file is generated.
exports.version = '0.0.1-beta.12';
exports.version = '0.0.1-beta.13';
//# sourceMappingURL=version.js.map

@@ -10,2 +10,3 @@ "use strict";

const context_batch_1 = require("./context-batch");
const base_64_encode_1 = require("../../lib/base-64-encode");
function sleep(timeoutInMs) {

@@ -24,3 +25,3 @@ return new Promise((resolve) => setTimeout(resolve, timeoutInMs));

this._flushInterval = flushInterval;
this._auth = Buffer.from(`${writeKey}:`).toString('base64');
this._auth = (0, base_64_encode_1.b64encode)(`${writeKey}:`);
this._url = (0, create_url_1.tryCreateFormattedUrl)(host ?? 'https://api.segment.io', path ?? '/v1/batch');

@@ -27,0 +28,0 @@ this._httpRequestTimeout = httpRequestTimeout ?? 10000;

// This file is generated.
export const version = '0.0.1-beta.12';
export const version = '0.0.1-beta.13';
//# sourceMappingURL=version.js.map

@@ -7,2 +7,3 @@ import { backoff } from '@segment/analytics-core';

import { ContextBatch } from './context-batch';
import { b64encode } from '../../lib/base-64-encode';
function sleep(timeoutInMs) {

@@ -21,3 +22,3 @@ return new Promise((resolve) => setTimeout(resolve, timeoutInMs));

this._flushInterval = flushInterval;
this._auth = Buffer.from(`${writeKey}:`).toString('base64');
this._auth = b64encode(`${writeKey}:`);
this._url = tryCreateFormattedUrl(host ?? 'https://api.segment.io', path ?? '/v1/batch');

@@ -24,0 +25,0 @@ this._httpRequestTimeout = httpRequestTimeout ?? 10000;

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

export declare const version = "0.0.1-beta.12";
export declare const version = "0.0.1-beta.13";
//# sourceMappingURL=version.d.ts.map
{
"name": "@segment/analytics-node",
"version": "0.0.1-beta.12",
"version": "0.0.1-beta.13",
"main": "./dist/cjs/index.js",

@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js",

// This file is generated.
export const version = '0.0.1-beta.12'
export const version = '0.0.1-beta.13'

@@ -9,2 +9,3 @@ import { backoff } from '@segment/analytics-core'

import { NodeEmitter } from '../../app/emitter'
import { b64encode } from '../../lib/base-64-encode'

@@ -63,3 +64,3 @@ function sleep(timeoutInMs: number): Promise<void> {

this._flushInterval = flushInterval
this._auth = Buffer.from(`${writeKey}:`).toString('base64')
this._auth = b64encode(`${writeKey}:`)
this._url = tryCreateFormattedUrl(

@@ -66,0 +67,0 @@ host ?? 'https://api.segment.io',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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