pprof-format
Advanced tools
Comparing version 2.0.1 to 2.0.2
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
92601
1269
0