Socket
Socket
Sign inDemoInstall

@parca/client

Package Overview
Dependencies
Maintainers
4
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parca/client - npm Package Compare versions

Comparing version 0.12.20 to 0.12.26

src/google/protobuf/descriptor.ts

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [0.12.26](https://github.com/parca-dev/parca/compare/ui-v0.12.25...ui-v0.12.26) (2022-04-28)
## [0.12.24](https://github.com/parca-dev/parca/compare/ui-v0.12.23...ui-v0.12.24) (2022-04-26)
**Note:** Version bump only for package @parca/client
## [0.12.20](https://github.com/parca-dev/parca/compare/ui-v0.12.19...ui-v0.12.20) (2022-04-12)

@@ -8,0 +20,0 @@

4

package.json
{
"name": "@parca/client",
"version": "0.12.20",
"version": "0.12.26",
"description": "Parca API Client",

@@ -24,3 +24,3 @@ "main": "src/index.ts",

},
"gitHead": "72da90d95cc53eda749dbb5dd6b2ea24fe2e6ca2"
"gitHead": "a5187e802f95bb7ee967121af9c9b74167d95278"
}

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "google/api/http.proto" (package "google.api", syntax proto3)

@@ -3,0 +3,0 @@ // tslint:disable

export * from '@parca/client/src/parca/query/v1alpha1/query_pb';
export * from '@parca/client/src/parca/query/v1alpha1/query_pb_service';
export * from '@parca/client/src/parca/query/v1alpha1/query.client';
export * from '@parca/client/src/parca/query/v1alpha1/query';
export * from '@parca/client/src/parca/profilestore/v1alpha1/profilestore_pb';
export * from '@parca/client/src/parca/profilestore/v1alpha1/profilestore.client';
export * from '@parca/client/src/parca/profilestore/v1alpha1/profilestore';
export * from '@parca/client/src/parca/scrape/v1alpha1/scrape_pb';
export { ScrapeServiceClient } from '@parca/client/src/parca/scrape/v1alpha1/scrape_pb_service';
export * from '@parca/client/src/parca/scrape/v1alpha1/scrape.client';
export * from '@parca/client/src/parca/scrape/v1alpha1/scrape';
export * from '@parca/client/src/google/protobuf/timestamp';

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/debuginfo/v1alpha1/debuginfo.proto" (package "parca.debuginfo.v1alpha1", syntax proto3)

@@ -3,0 +3,0 @@ // tslint:disable

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/debuginfo/v1alpha1/debuginfo.proto" (package "parca.debuginfo.v1alpha1", syntax proto3)

@@ -112,3 +112,3 @@ // tslint:disable

*/
size: bigint;
size: string;
}

@@ -335,7 +335,7 @@ // @generated message type with reflection information, may provide speed optimized methods

{ no: 1, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "size", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
{ no: 2, name: "size", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
]);
}
create(value?: PartialMessage<UploadResponse>): UploadResponse {
const message = { buildId: "", size: 0n };
const message = { buildId: "", size: "0" };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });

@@ -355,3 +355,3 @@ if (value !== undefined)

case /* uint64 size */ 2:
message.size = reader.uint64().toBigInt();
message.size = reader.uint64().toString();
break;

@@ -374,3 +374,3 @@ default:

/* uint64 size = 2; */
if (message.size !== 0n)
if (message.size !== "0")
writer.tag(2, WireType.Varint).uint64(message.size);

@@ -377,0 +377,0 @@ let u = options.writeUnknownFields;

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/metastore/v1alpha1/metastore.proto" (package "parca.metastore.v1alpha1", syntax proto3)

@@ -75,3 +75,3 @@ // tslint:disable

*/
numLabels: bigint[];
numLabels: string[];
}

@@ -108,3 +108,3 @@ /**

*/
address: bigint;
address: string;
/**

@@ -159,3 +159,3 @@ * mapping_id is the unique identifier for the mapping associated with the location.

*/
line: bigint;
line: string;
}

@@ -179,3 +179,3 @@ /**

*/
startLine: bigint;
startLine: string;
/**

@@ -218,3 +218,3 @@ * name is the name of the function.

*/
start: bigint;
start: string;
/**

@@ -225,3 +225,3 @@ * limit is the length of the address space of the mapping.

*/
limit: bigint;
limit: string;
/**

@@ -232,3 +232,3 @@ * offset is the offset of the mapping.

*/
offset: bigint;
offset: string;
/**

@@ -450,3 +450,3 @@ * file is the name of the file associated with the mapping.

super("parca.metastore.v1alpha1.SampleNumLabel", [
{ no: 1, name: "num_labels", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
{ no: 1, name: "num_labels", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/ }
]);

@@ -469,5 +469,5 @@ }

for (let e = reader.int32() + reader.pos; reader.pos < e;)
message.numLabels.push(reader.int64().toBigInt());
message.numLabels.push(reader.int64().toString());
else
message.numLabels.push(reader.int64().toBigInt());
message.numLabels.push(reader.int64().toString());
break;

@@ -555,3 +555,3 @@ default:

{ no: 1, name: "id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
{ no: 2, name: "address", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 2, name: "address", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
{ no: 4, name: "mapping_id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },

@@ -562,3 +562,3 @@ { no: 5, name: "is_folded", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }

create(value?: PartialMessage<Location>): Location {
const message = { id: new Uint8Array(0), address: 0n, mappingId: new Uint8Array(0), isFolded: false };
const message = { id: new Uint8Array(0), address: "0", mappingId: new Uint8Array(0), isFolded: false };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });

@@ -578,3 +578,3 @@ if (value !== undefined)

case /* uint64 address */ 2:
message.address = reader.uint64().toBigInt();
message.address = reader.uint64().toString();
break;

@@ -603,3 +603,3 @@ case /* bytes mapping_id */ 4:

/* uint64 address = 2; */
if (message.address !== 0n)
if (message.address !== "0")
writer.tag(2, WireType.Varint).uint64(message.address);

@@ -681,7 +681,7 @@ /* bytes mapping_id = 4; */

{ no: 1, name: "function_id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
{ no: 2, name: "line", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
{ no: 2, name: "line", kind: "scalar", T: 3 /*ScalarType.INT64*/ }
]);
}
create(value?: PartialMessage<Line>): Line {
const message = { functionId: new Uint8Array(0), line: 0n };
const message = { functionId: new Uint8Array(0), line: "0" };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });

@@ -701,3 +701,3 @@ if (value !== undefined)

case /* int64 line */ 2:
message.line = reader.int64().toBigInt();
message.line = reader.int64().toString();
break;

@@ -720,3 +720,3 @@ default:

/* int64 line = 2; */
if (message.line !== 0n)
if (message.line !== "0")
writer.tag(2, WireType.Varint).int64(message.line);

@@ -738,3 +738,3 @@ let u = options.writeUnknownFields;

{ no: 1, name: "id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
{ no: 2, name: "start_line", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 2, name: "start_line", kind: "scalar", T: 3 /*ScalarType.INT64*/ },
{ no: 3, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },

@@ -746,3 +746,3 @@ { no: 4, name: "system_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },

create(value?: PartialMessage<Function>): Function {
const message = { id: new Uint8Array(0), startLine: 0n, name: "", systemName: "", filename: "" };
const message = { id: new Uint8Array(0), startLine: "0", name: "", systemName: "", filename: "" };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });

@@ -762,3 +762,3 @@ if (value !== undefined)

case /* int64 start_line */ 2:
message.startLine = reader.int64().toBigInt();
message.startLine = reader.int64().toString();
break;

@@ -790,3 +790,3 @@ case /* string name */ 3:

/* int64 start_line = 2; */
if (message.startLine !== 0n)
if (message.startLine !== "0")
writer.tag(2, WireType.Varint).int64(message.startLine);

@@ -817,5 +817,5 @@ /* string name = 3; */

{ no: 1, name: "id", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
{ no: 2, name: "start", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 3, name: "limit", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 4, name: "offset", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
{ no: 2, name: "start", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
{ no: 3, name: "limit", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
{ no: 4, name: "offset", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
{ no: 5, name: "file", kind: "scalar", T: 9 /*ScalarType.STRING*/ },

@@ -830,3 +830,3 @@ { no: 6, name: "build_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },

create(value?: PartialMessage<Mapping>): Mapping {
const message = { id: new Uint8Array(0), start: 0n, limit: 0n, offset: 0n, file: "", buildId: "", hasFunctions: false, hasFilenames: false, hasLineNumbers: false, hasInlineFrames: false };
const message = { id: new Uint8Array(0), start: "0", limit: "0", offset: "0", file: "", buildId: "", hasFunctions: false, hasFilenames: false, hasLineNumbers: false, hasInlineFrames: false };
globalThis.Object.defineProperty(message, MESSAGE_TYPE, { enumerable: false, value: this });

@@ -846,9 +846,9 @@ if (value !== undefined)

case /* uint64 start */ 2:
message.start = reader.uint64().toBigInt();
message.start = reader.uint64().toString();
break;
case /* uint64 limit */ 3:
message.limit = reader.uint64().toBigInt();
message.limit = reader.uint64().toString();
break;
case /* uint64 offset */ 4:
message.offset = reader.uint64().toBigInt();
message.offset = reader.uint64().toString();
break;

@@ -889,9 +889,9 @@ case /* string file */ 5:

/* uint64 start = 2; */
if (message.start !== 0n)
if (message.start !== "0")
writer.tag(2, WireType.Varint).uint64(message.start);
/* uint64 limit = 3; */
if (message.limit !== 0n)
if (message.limit !== "0")
writer.tag(3, WireType.Varint).uint64(message.limit);
/* uint64 offset = 4; */
if (message.offset !== 0n)
if (message.offset !== "0")
writer.tag(4, WireType.Varint).uint64(message.offset);

@@ -898,0 +898,0 @@ /* string file = 5; */

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/profilestore/v1alpha1/profilestore.proto" (package "parca.profilestore.v1alpha1", syntax proto3)

@@ -3,0 +3,0 @@ // tslint:disable

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/profilestore/v1alpha1/profilestore.proto" (package "parca.profilestore.v1alpha1", syntax proto3)

@@ -3,0 +3,0 @@ // tslint:disable

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/query/v1alpha1/query.proto" (package "parca.query.v1alpha1", syntax proto3)

@@ -11,2 +11,4 @@ // tslint:disable

import type { LabelsRequest } from "./query";
import type { ProfileTypesResponse } from "./query";
import type { ProfileTypesRequest } from "./query";
import type { SeriesResponse } from "./query";

@@ -46,2 +48,8 @@ import type { SeriesRequest } from "./query";

/**
* ProfileTypes returns the list of available profile types.
*
* @generated from protobuf rpc: ProfileTypes(parca.query.v1alpha1.ProfileTypesRequest) returns (parca.query.v1alpha1.ProfileTypesResponse);
*/
profileTypes(input: ProfileTypesRequest, options?: RpcOptions): UnaryCall<ProfileTypesRequest, ProfileTypesResponse>;
/**
* Labels returns the set of label names against a given matching string and time frame

@@ -98,2 +106,11 @@ *

/**
* ProfileTypes returns the list of available profile types.
*
* @generated from protobuf rpc: ProfileTypes(parca.query.v1alpha1.ProfileTypesRequest) returns (parca.query.v1alpha1.ProfileTypesResponse);
*/
profileTypes(input: ProfileTypesRequest, options?: RpcOptions): UnaryCall<ProfileTypesRequest, ProfileTypesResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<ProfileTypesRequest, ProfileTypesResponse>("unary", this._transport, method, opt, input);
}
/**
* Labels returns the set of label names against a given matching string and time frame

@@ -104,3 +121,3 @@ *

labels(input: LabelsRequest, options?: RpcOptions): UnaryCall<LabelsRequest, LabelsResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<LabelsRequest, LabelsResponse>("unary", this._transport, method, opt, input);

@@ -114,5 +131,5 @@ }

values(input: ValuesRequest, options?: RpcOptions): UnaryCall<ValuesRequest, ValuesResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<ValuesRequest, ValuesResponse>("unary", this._transport, method, opt, input);
}
}

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/scrape/v1alpha1/scrape.proto" (package "parca.scrape.v1alpha1", syntax proto3)

@@ -3,0 +3,0 @@ // tslint:disable

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

// @generated by protobuf-ts 2.3.0
// @generated by protobuf-ts 2.2.2 with parameter long_type_string,generate_dependencies
// @generated from protobuf file "parca/scrape/v1alpha1/scrape.proto" (package "parca.scrape.v1alpha1", syntax proto3)

@@ -3,0 +3,0 @@ // tslint:disable

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

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

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