Socket
Socket
Sign inDemoInstall

@pulumi/pulumi

Package Overview
Dependencies
Maintainers
2
Versions
4342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulumi/pulumi - npm Package Compare versions

Comparing version 3.130.1-alpha.xeae1619 to 3.131.0-alpha.xaea75eb

27

automation/localWorkspace.d.ts

@@ -418,2 +418,8 @@ import { PulumiCommand } from "./cmd";

/**
* Install plugin and language dependencies needed for the project.
*
* @param opts Options to customize the behavior of install.
*/
install(opts?: InstallOptions): Promise<void>;
/**
* Installs a plugin in the workspace, for example to use cloud providers

@@ -577,2 +583,23 @@ * like AWS or GCP.

}
export interface InstallOptions {
/**
* Skip installing plugins
*/
noPlugins?: boolean;
/**
* Skip installing dependencies
*/
noDependencies?: boolean;
/**
* Reinstall plugins even if they already exist
*/
reinstall?: boolean;
/**
* Use language version tools to setup the language runtime before installing the dependencies.
* For Python this will use `pyenv` to install the Python version specified in a
* `.python-version` file. For Nodejs this will use `fnm` to install the Node.js version
* specified in a `.nvmrc` or `.node-version file.
*/
useLanguageVersionTools?: boolean;
}
export interface ListOptions {

@@ -579,0 +606,0 @@ /**

@@ -714,2 +714,39 @@ "use strict";

/**
* Install plugin and language dependencies needed for the project.
*
* @param opts Options to customize the behavior of install.
*/
install(opts) {
return __awaiter(this, void 0, void 0, function* () {
let ver = this._pulumiVersion;
if (ver === undefined) {
ver = semver.parse("3.0.0");
}
if (ver.compare("3.91.0") < 0) {
// Pulumi 3.91.0 added the `pulumi install` command.
// https://github.com/pulumi/pulumi/releases/tag/v3.91.0
throw new Error(`pulumi install requires Pulumi version >= 3.91.0`);
}
const args = [];
if (opts === null || opts === void 0 ? void 0 : opts.useLanguageVersionTools) {
if (ver.compare("3.130.0") < 0) {
// Pulumi 3.130.0 introduced the `--use-language-version-tools` flag.
// https://github.com/pulumi/pulumi/releases/tag/v3.130.0
throw new Error(`useLanguageVersionTools requires Pulumi version >= 3.130.0`);
}
args.push("--use-language-version-tools");
}
if (opts === null || opts === void 0 ? void 0 : opts.noPlugins) {
args.push("--no-plugins");
}
if (opts === null || opts === void 0 ? void 0 : opts.noDependencies) {
args.push("--no-dependencies");
}
if (opts === null || opts === void 0 ? void 0 : opts.reinstall) {
args.push("--reinstall");
}
yield this.runPulumiCmd(["install", ...args]);
});
}
/**
* Installs a plugin in the workspace, for example to use cloud providers

@@ -716,0 +753,0 @@ * like AWS or GCP.

2

package.json
{
"name": "@pulumi/pulumi",
"version": "3.130.1-alpha.xeae1619",
"version": "3.131.0-alpha.xaea75eb",
"description": "Pulumi's Node.js SDK",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -9,2 +9,30 @@ // package: codegen

export class Parameterization extends jspb.Message {
getName(): string;
setName(value: string): Parameterization;
getVersion(): string;
setVersion(value: string): Parameterization;
getValue(): Uint8Array | string;
getValue_asU8(): Uint8Array;
getValue_asB64(): string;
setValue(value: Uint8Array | string): Parameterization;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Parameterization.AsObject;
static toObject(includeInstance: boolean, msg: Parameterization): Parameterization.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Parameterization, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Parameterization;
static deserializeBinaryFromReader(message: Parameterization, reader: jspb.BinaryReader): Parameterization;
}
export namespace Parameterization {
export type AsObject = {
name: string,
version: string,
value: Uint8Array | string,
}
}
export class GetSchemaRequest extends jspb.Message {

@@ -15,3 +43,10 @@ getPackage(): string;

setVersion(value: string): GetSchemaRequest;
getDownloadUrl(): string;
setDownloadUrl(value: string): GetSchemaRequest;
hasParameterization(): boolean;
clearParameterization(): void;
getParameterization(): Parameterization | undefined;
setParameterization(value?: Parameterization): GetSchemaRequest;
serializeBinary(): Uint8Array;

@@ -31,2 +66,4 @@ toObject(includeInstance?: boolean): GetSchemaRequest.AsObject;

version: string,
downloadUrl: string,
parameterization?: Parameterization.AsObject,
}

@@ -33,0 +70,0 @@ }

@@ -20,2 +20,3 @@ // source: pulumi/codegen/loader.proto

goog.exportSymbol('proto.codegen.GetSchemaResponse', null, global);
goog.exportSymbol('proto.codegen.Parameterization', null, global);
/**

@@ -31,2 +32,23 @@ * Generated by JsPbCodeGenerator.

*/
proto.codegen.Parameterization = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.codegen.Parameterization, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.codegen.Parameterization.displayName = 'proto.codegen.Parameterization';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.codegen.GetSchemaRequest = function(opt_data) {

@@ -80,2 +102,216 @@ jspb.Message.initialize(this, opt_data, 0, -1, null, null);

*/
proto.codegen.Parameterization.prototype.toObject = function(opt_includeInstance) {
return proto.codegen.Parameterization.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.codegen.Parameterization} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.codegen.Parameterization.toObject = function(includeInstance, msg) {
var f, obj = {
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
value: msg.getValue_asB64()
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.codegen.Parameterization}
*/
proto.codegen.Parameterization.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.codegen.Parameterization;
return proto.codegen.Parameterization.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.codegen.Parameterization} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.codegen.Parameterization}
*/
proto.codegen.Parameterization.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setName(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setVersion(value);
break;
case 3:
var value = /** @type {!Uint8Array} */ (reader.readBytes());
msg.setValue(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.codegen.Parameterization.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.codegen.Parameterization.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.codegen.Parameterization} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.codegen.Parameterization.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getName();
if (f.length > 0) {
writer.writeString(
1,
f
);
}
f = message.getVersion();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
f = message.getValue_asU8();
if (f.length > 0) {
writer.writeBytes(
3,
f
);
}
};
/**
* optional string name = 1;
* @return {string}
*/
proto.codegen.Parameterization.prototype.getName = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
};
/**
* @param {string} value
* @return {!proto.codegen.Parameterization} returns this
*/
proto.codegen.Parameterization.prototype.setName = function(value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string version = 2;
* @return {string}
*/
proto.codegen.Parameterization.prototype.getVersion = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.codegen.Parameterization} returns this
*/
proto.codegen.Parameterization.prototype.setVersion = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* optional bytes value = 3;
* @return {!(string|Uint8Array)}
*/
proto.codegen.Parameterization.prototype.getValue = function() {
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* optional bytes value = 3;
* This is a type-conversion wrapper around `getValue()`
* @return {string}
*/
proto.codegen.Parameterization.prototype.getValue_asB64 = function() {
return /** @type {string} */ (jspb.Message.bytesAsB64(
this.getValue()));
};
/**
* optional bytes value = 3;
* Note that Uint8Array is not supported on all browsers.
* @see http://caniuse.com/Uint8Array
* This is a type-conversion wrapper around `getValue()`
* @return {!Uint8Array}
*/
proto.codegen.Parameterization.prototype.getValue_asU8 = function() {
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
this.getValue()));
};
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.codegen.Parameterization} returns this
*/
proto.codegen.Parameterization.prototype.setValue = function(value) {
return jspb.Message.setProto3BytesField(this, 3, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.codegen.GetSchemaRequest.prototype.toObject = function(opt_includeInstance) {

@@ -98,3 +334,5 @@ return proto.codegen.GetSchemaRequest.toObject(opt_includeInstance, this);

pb_package: jspb.Message.getFieldWithDefault(msg, 1, ""),
version: jspb.Message.getFieldWithDefault(msg, 2, "")
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
downloadUrl: jspb.Message.getFieldWithDefault(msg, 3, ""),
parameterization: (f = msg.getParameterization()) && proto.codegen.Parameterization.toObject(includeInstance, f)
};

@@ -144,2 +382,11 @@

break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setDownloadUrl(value);
break;
case 4:
var value = new proto.codegen.Parameterization;
reader.readMessage(value,proto.codegen.Parameterization.deserializeBinaryFromReader);
msg.setParameterization(value);
break;
default:

@@ -188,2 +435,17 @@ reader.skipField();

}
f = message.getDownloadUrl();
if (f.length > 0) {
writer.writeString(
3,
f
);
}
f = message.getParameterization();
if (f != null) {
writer.writeMessage(
4,
f,
proto.codegen.Parameterization.serializeBinaryToWriter
);
}
};

@@ -228,5 +490,60 @@

/**
* optional string download_url = 3;
* @return {string}
*/
proto.codegen.GetSchemaRequest.prototype.getDownloadUrl = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
};
/**
* @param {string} value
* @return {!proto.codegen.GetSchemaRequest} returns this
*/
proto.codegen.GetSchemaRequest.prototype.setDownloadUrl = function(value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional Parameterization parameterization = 4;
* @return {?proto.codegen.Parameterization}
*/
proto.codegen.GetSchemaRequest.prototype.getParameterization = function() {
return /** @type{?proto.codegen.Parameterization} */ (
jspb.Message.getWrapperField(this, proto.codegen.Parameterization, 4));
};
/**
* @param {?proto.codegen.Parameterization|undefined} value
* @return {!proto.codegen.GetSchemaRequest} returns this
*/
proto.codegen.GetSchemaRequest.prototype.setParameterization = function(value) {
return jspb.Message.setWrapperField(this, 4, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.codegen.GetSchemaRequest} returns this
*/
proto.codegen.GetSchemaRequest.prototype.clearParameterization = function() {
return this.setParameterization(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.codegen.GetSchemaRequest.prototype.hasParameterization = function() {
return jspb.Message.getField(this, 4) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {

@@ -233,0 +550,0 @@ /**

@@ -10,2 +10,3 @@ // package: pulumirpc

import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";

@@ -16,2 +17,3 @@ interface IEngineService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {

setRootResource: IEngineService_ISetRootResource;
startDebugging: IEngineService_IStartDebugging;
}

@@ -46,2 +48,11 @@

}
interface IEngineService_IStartDebugging extends grpc.MethodDefinition<pulumi_engine_pb.StartDebuggingRequest, google_protobuf_empty_pb.Empty> {
path: "/pulumirpc.Engine/StartDebugging";
requestStream: false;
responseStream: false;
requestSerialize: grpc.serialize<pulumi_engine_pb.StartDebuggingRequest>;
requestDeserialize: grpc.deserialize<pulumi_engine_pb.StartDebuggingRequest>;
responseSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
responseDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
}

@@ -54,2 +65,3 @@ export const EngineService: IEngineService;

setRootResource: grpc.handleUnaryCall<pulumi_engine_pb.SetRootResourceRequest, pulumi_engine_pb.SetRootResourceResponse>;
startDebugging: grpc.handleUnaryCall<pulumi_engine_pb.StartDebuggingRequest, google_protobuf_empty_pb.Empty>;
}

@@ -67,2 +79,5 @@

setRootResource(request: pulumi_engine_pb.SetRootResourceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.SetRootResourceResponse) => void): grpc.ClientUnaryCall;
startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
}

@@ -81,2 +96,5 @@

public setRootResource(request: pulumi_engine_pb.SetRootResourceRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: pulumi_engine_pb.SetRootResourceResponse) => void): grpc.ClientUnaryCall;
public startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
public startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
public startDebugging(request: pulumi_engine_pb.StartDebuggingRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
}

@@ -22,2 +22,3 @@ // GENERATED CODE -- DO NOT EDIT!

var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');

@@ -90,3 +91,14 @@ function serialize_google_protobuf_Empty(arg) {

function serialize_pulumirpc_StartDebuggingRequest(arg) {
if (!(arg instanceof pulumi_engine_pb.StartDebuggingRequest)) {
throw new Error('Expected argument of type pulumirpc.StartDebuggingRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_pulumirpc_StartDebuggingRequest(buffer_arg) {
return pulumi_engine_pb.StartDebuggingRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
// Engine is an auxiliary service offered to language and resource provider plugins. Its main purpose today is

@@ -133,4 +145,17 @@ // to serve as a common logging endpoint, but it also serves as a state storage mechanism for language hosts

},
// StartDebugging indicates to the engine that the program has started under a debugger, and the engine
// should notify the user of how to connect to the debugger.
startDebugging: {
path: '/pulumirpc.Engine/StartDebugging',
requestStream: false,
responseStream: false,
requestType: pulumi_engine_pb.StartDebuggingRequest,
responseType: google_protobuf_empty_pb.Empty,
requestSerialize: serialize_pulumirpc_StartDebuggingRequest,
requestDeserialize: deserialize_pulumirpc_StartDebuggingRequest,
responseSerialize: serialize_google_protobuf_Empty,
responseDeserialize: deserialize_google_protobuf_Empty,
},
};
exports.EngineClient = grpc.makeGenericClientConstructor(EngineService);

@@ -9,2 +9,3 @@ // package: pulumirpc

import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";

@@ -117,2 +118,28 @@ export class LogRequest extends jspb.Message {

export class StartDebuggingRequest extends jspb.Message {
hasConfig(): boolean;
clearConfig(): void;
getConfig(): google_protobuf_struct_pb.Struct | undefined;
setConfig(value?: google_protobuf_struct_pb.Struct): StartDebuggingRequest;
getMessage(): string;
setMessage(value: string): StartDebuggingRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): StartDebuggingRequest.AsObject;
static toObject(includeInstance: boolean, msg: StartDebuggingRequest): StartDebuggingRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: StartDebuggingRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): StartDebuggingRequest;
static deserializeBinaryFromReader(message: StartDebuggingRequest, reader: jspb.BinaryReader): StartDebuggingRequest;
}
export namespace StartDebuggingRequest {
export type AsObject = {
config?: google_protobuf_struct_pb.Struct.AsObject,
message: string,
}
}
export enum LogSeverity {

@@ -119,0 +146,0 @@ DEBUG = 0,

@@ -20,2 +20,4 @@ // source: pulumi/engine.proto

goog.object.extend(proto, google_protobuf_empty_pb);
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
goog.object.extend(proto, google_protobuf_struct_pb);
goog.exportSymbol('proto.pulumirpc.GetRootResourceRequest', null, global);

@@ -27,2 +29,3 @@ goog.exportSymbol('proto.pulumirpc.GetRootResourceResponse', null, global);

goog.exportSymbol('proto.pulumirpc.SetRootResourceResponse', null, global);
goog.exportSymbol('proto.pulumirpc.StartDebuggingRequest', null, global);
/**

@@ -133,2 +136,23 @@ * Generated by JsPbCodeGenerator.

}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.pulumirpc.StartDebuggingRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.pulumirpc.StartDebuggingRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.pulumirpc.StartDebuggingRequest.displayName = 'proto.pulumirpc.StartDebuggingRequest';
}

@@ -846,3 +870,184 @@

if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.pulumirpc.StartDebuggingRequest.prototype.toObject = function(opt_includeInstance) {
return proto.pulumirpc.StartDebuggingRequest.toObject(opt_includeInstance, this);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.pulumirpc.StartDebuggingRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.pulumirpc.StartDebuggingRequest.toObject = function(includeInstance, msg) {
var f, obj = {
config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
message: jspb.Message.getFieldWithDefault(msg, 2, "")
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.pulumirpc.StartDebuggingRequest}
*/
proto.pulumirpc.StartDebuggingRequest.deserializeBinary = function(bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.pulumirpc.StartDebuggingRequest;
return proto.pulumirpc.StartDebuggingRequest.deserializeBinaryFromReader(msg, reader);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.pulumirpc.StartDebuggingRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.pulumirpc.StartDebuggingRequest}
*/
proto.pulumirpc.StartDebuggingRequest.deserializeBinaryFromReader = function(msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new google_protobuf_struct_pb.Struct;
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
msg.setConfig(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setMessage(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.pulumirpc.StartDebuggingRequest.prototype.serializeBinary = function() {
var writer = new jspb.BinaryWriter();
proto.pulumirpc.StartDebuggingRequest.serializeBinaryToWriter(this, writer);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.pulumirpc.StartDebuggingRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.pulumirpc.StartDebuggingRequest.serializeBinaryToWriter = function(message, writer) {
var f = undefined;
f = message.getConfig();
if (f != null) {
writer.writeMessage(
1,
f,
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
);
}
f = message.getMessage();
if (f.length > 0) {
writer.writeString(
2,
f
);
}
};
/**
* optional google.protobuf.Struct config = 1;
* @return {?proto.google.protobuf.Struct}
*/
proto.pulumirpc.StartDebuggingRequest.prototype.getConfig = function() {
return /** @type{?proto.google.protobuf.Struct} */ (
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 1));
};
/**
* @param {?proto.google.protobuf.Struct|undefined} value
* @return {!proto.pulumirpc.StartDebuggingRequest} returns this
*/
proto.pulumirpc.StartDebuggingRequest.prototype.setConfig = function(value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.pulumirpc.StartDebuggingRequest} returns this
*/
proto.pulumirpc.StartDebuggingRequest.prototype.clearConfig = function() {
return this.setConfig(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.pulumirpc.StartDebuggingRequest.prototype.hasConfig = function() {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional string message = 2;
* @return {string}
*/
proto.pulumirpc.StartDebuggingRequest.prototype.getMessage = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
};
/**
* @param {string} value
* @return {!proto.pulumirpc.StartDebuggingRequest} returns this
*/
proto.pulumirpc.StartDebuggingRequest.prototype.setMessage = function(value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
/**
* @enum {number}

@@ -849,0 +1054,0 @@ */

@@ -270,2 +270,6 @@ // package: pulumirpc

setInfo(value?: ProgramInfo): RunRequest;
getLoaderTarget(): string;
setLoaderTarget(value: string): RunRequest;
getAttachDebugger(): boolean;
setAttachDebugger(value: boolean): RunRequest;

@@ -299,2 +303,4 @@ serializeBinary(): Uint8Array;

info?: ProgramInfo.AsObject,
loaderTarget: string,
attachDebugger: boolean,
}

@@ -301,0 +307,0 @@ }

@@ -433,5 +433,2 @@ // package: pulumirpc

setReturn(value?: google_protobuf_struct_pb.Struct): CallResponse;
getReturndependenciesMap(): jspb.Map<string, CallResponse.ReturnDependencies>;
clearReturndependenciesMap(): void;
clearFailuresList(): void;

@@ -442,2 +439,5 @@ getFailuresList(): Array<CheckFailure>;

getReturndependenciesMap(): jspb.Map<string, CallResponse.ReturnDependencies>;
clearReturndependenciesMap(): void;
serializeBinary(): Uint8Array;

@@ -456,5 +456,5 @@ toObject(includeInstance?: boolean): CallResponse.AsObject;

pb_return?: google_protobuf_struct_pb.Struct.AsObject,
failuresList: Array<CheckFailure.AsObject>,
returndependenciesMap: Array<[string, CallResponse.ReturnDependencies.AsObject]>,
failuresList: Array<CheckFailure.AsObject>,
}

@@ -461,0 +461,0 @@

@@ -107,6 +107,9 @@ "use strict";

["~3.8.3", "^17"],
["<4.8.0", "^20"],
["^4.9.5", "^20"],
["<5.2.0", "^20"],
["^5.2.0", "^20"],
// TODO https://github.com/pulumi/pulumi/issues/17135
// Pin to 20.16.2 instead of using ^20 until https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70432
// is resolved.
["<4.8.0", "20.16.2"],
["^4.9.5", "20.16.2"],
["<5.2.0", "20.16.2"],
["^5.2.0", "20.16.2"],
]) {

@@ -113,0 +116,0 @@ yield run(ts, typesNode);

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

export declare const version = "3.130.1";
export declare const version = "3.131.0";

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "3.130.1-alpha.xeae1619";
exports.version = "3.131.0-alpha.xaea75eb";
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

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

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

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

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