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

pprof-format

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pprof-format - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

35

dist/index.d.ts
declare type Numeric = number | bigint;
declare type DeepPartial<T> = {
[P in keyof T]?: DeepPartial<T[P]>;
};
export declare class StringTable extends Array {

@@ -14,3 +17,3 @@ #private;

unit: Numeric;
constructor(data: Partial<ValueType>);
constructor(data: DeepPartial<ValueType>);
get length(): number;

@@ -20,3 +23,3 @@ _encodeToBuffer(buffer: Uint8Array, offset?: number): number;

encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<ValueType>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<ValueType>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): ValueType;

@@ -29,7 +32,7 @@ }

numUnit: Numeric;
constructor(data: Partial<Label>);
constructor(data: DeepPartial<Label>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Label>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Label>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Label;

@@ -41,7 +44,7 @@ }

label: Array<Label>;
constructor(data: Partial<Sample>);
constructor(data: DeepPartial<Sample>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Sample>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Sample>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Sample;

@@ -60,7 +63,7 @@ }

hasInlineFrames: boolean;
constructor(data: Partial<Mapping>);
constructor(data: DeepPartial<Mapping>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Mapping>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Mapping>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Mapping;

@@ -71,7 +74,7 @@ }

line: Numeric;
constructor(data: Partial<Line>);
constructor(data: DeepPartial<Line>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Line>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Line>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Line;

@@ -85,7 +88,7 @@ }

isFolded: boolean;
constructor(data: Partial<Location>);
constructor(data: DeepPartial<Location>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Location>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Location>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Location;

@@ -99,7 +102,7 @@ }

startLine: Numeric;
constructor(data: Partial<Function>);
constructor(data: DeepPartial<Function>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Function>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Function>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Function;

@@ -122,9 +125,9 @@ }

defaultSampleType: Numeric;
constructor(data?: Partial<Profile>);
constructor(data?: DeepPartial<Profile>);
get length(): number;
_encodeToBuffer(buffer: Uint8Array, offset?: number): number;
encode(buffer?: Uint8Array): Uint8Array;
static decodeValue(data: Partial<Profile>, field: number, buffer: Uint8Array): void;
static decodeValue(data: DeepPartial<Profile>, field: number, buffer: Uint8Array): void;
static decode(buffer: Uint8Array): Profile;
}
export {};
{
"name": "pprof-format",
"version": "2.0.1",
"version": "2.0.2",
"description": "Pure JavaScript pprof encoder and decoder",

@@ -5,0 +5,0 @@ "author": "Stephen Belanger <admin@stephenbelanger.com>",

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