@pulumi/pulumi 3.76.1 → 3.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/codegen/loader_grpc_pb.js +64 -0
- package/proto/codegen/loader_pb.js +380 -0
- package/proto/language_pb.js +93 -3
- package/runtime/stack.js +15 -8
- package/runtime/stack.js.map +1 -1
- package/tests/automation/data/testproj/go.mod +6 -6
- package/tests/automation/data/testproj/go.sum +12 -12
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// Copyright 2016-2023, Pulumi Corporation.
|
|
5
|
+
//
|
|
6
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
// you may not use this file except in compliance with the License.
|
|
8
|
+
// You may obtain a copy of the License at
|
|
9
|
+
//
|
|
10
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
//
|
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
// See the License for the specific language governing permissions and
|
|
16
|
+
// limitations under the License.
|
|
17
|
+
//
|
|
18
|
+
'use strict';
|
|
19
|
+
var grpc = require('grpc');
|
|
20
|
+
var pulumi_codegen_loader_pb = require('../../pulumi/codegen/loader_pb.js');
|
|
21
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
22
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
23
|
+
|
|
24
|
+
function serialize_codegen_GetSchemaRequest(arg) {
|
|
25
|
+
if (!(arg instanceof pulumi_codegen_loader_pb.GetSchemaRequest)) {
|
|
26
|
+
throw new Error('Expected argument of type codegen.GetSchemaRequest');
|
|
27
|
+
}
|
|
28
|
+
return Buffer.from(arg.serializeBinary());
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function deserialize_codegen_GetSchemaRequest(buffer_arg) {
|
|
32
|
+
return pulumi_codegen_loader_pb.GetSchemaRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function serialize_codegen_GetSchemaResponse(arg) {
|
|
36
|
+
if (!(arg instanceof pulumi_codegen_loader_pb.GetSchemaResponse)) {
|
|
37
|
+
throw new Error('Expected argument of type codegen.GetSchemaResponse');
|
|
38
|
+
}
|
|
39
|
+
return Buffer.from(arg.serializeBinary());
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function deserialize_codegen_GetSchemaResponse(buffer_arg) {
|
|
43
|
+
return pulumi_codegen_loader_pb.GetSchemaResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
// Loader is a service for getting schemas from the Pulumi engine for use in code generators and other tools.
|
|
48
|
+
// This is currently unstable and experimental.
|
|
49
|
+
var LoaderService = exports.LoaderService = {
|
|
50
|
+
// GetSchema tries to find a schema for the given package and version.
|
|
51
|
+
getSchema: {
|
|
52
|
+
path: '/codegen.Loader/GetSchema',
|
|
53
|
+
requestStream: false,
|
|
54
|
+
responseStream: false,
|
|
55
|
+
requestType: pulumi_codegen_loader_pb.GetSchemaRequest,
|
|
56
|
+
responseType: pulumi_codegen_loader_pb.GetSchemaResponse,
|
|
57
|
+
requestSerialize: serialize_codegen_GetSchemaRequest,
|
|
58
|
+
requestDeserialize: deserialize_codegen_GetSchemaRequest,
|
|
59
|
+
responseSerialize: serialize_codegen_GetSchemaResponse,
|
|
60
|
+
responseDeserialize: deserialize_codegen_GetSchemaResponse,
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
exports.LoaderClient = grpc.makeGenericClientConstructor(LoaderService);
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
// source: pulumi/codegen/loader.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
|
+
|
|
18
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
19
|
+
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
20
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
22
|
+
goog.exportSymbol('proto.codegen.GetSchemaRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.codegen.GetSchemaResponse', null, global);
|
|
24
|
+
/**
|
|
25
|
+
* Generated by JsPbCodeGenerator.
|
|
26
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
27
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
28
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
29
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
30
|
+
* valid.
|
|
31
|
+
* @extends {jspb.Message}
|
|
32
|
+
* @constructor
|
|
33
|
+
*/
|
|
34
|
+
proto.codegen.GetSchemaRequest = function(opt_data) {
|
|
35
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
36
|
+
};
|
|
37
|
+
goog.inherits(proto.codegen.GetSchemaRequest, jspb.Message);
|
|
38
|
+
if (goog.DEBUG && !COMPILED) {
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @override
|
|
42
|
+
*/
|
|
43
|
+
proto.codegen.GetSchemaRequest.displayName = 'proto.codegen.GetSchemaRequest';
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Generated by JsPbCodeGenerator.
|
|
47
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
48
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
49
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
50
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
51
|
+
* valid.
|
|
52
|
+
* @extends {jspb.Message}
|
|
53
|
+
* @constructor
|
|
54
|
+
*/
|
|
55
|
+
proto.codegen.GetSchemaResponse = function(opt_data) {
|
|
56
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
57
|
+
};
|
|
58
|
+
goog.inherits(proto.codegen.GetSchemaResponse, jspb.Message);
|
|
59
|
+
if (goog.DEBUG && !COMPILED) {
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* @override
|
|
63
|
+
*/
|
|
64
|
+
proto.codegen.GetSchemaResponse.displayName = 'proto.codegen.GetSchemaResponse';
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70
|
+
/**
|
|
71
|
+
* Creates an object representation of this proto.
|
|
72
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
73
|
+
* Optional fields that are not set will be set to undefined.
|
|
74
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75
|
+
* For the list of reserved names please see:
|
|
76
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78
|
+
* JSPB instance for transitional soy proto support:
|
|
79
|
+
* http://goto/soy-param-migration
|
|
80
|
+
* @return {!Object}
|
|
81
|
+
*/
|
|
82
|
+
proto.codegen.GetSchemaRequest.prototype.toObject = function(opt_includeInstance) {
|
|
83
|
+
return proto.codegen.GetSchemaRequest.toObject(opt_includeInstance, this);
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Static version of the {@see toObject} method.
|
|
89
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
90
|
+
* the JSPB instance for transitional soy proto support:
|
|
91
|
+
* http://goto/soy-param-migration
|
|
92
|
+
* @param {!proto.codegen.GetSchemaRequest} msg The msg instance to transform.
|
|
93
|
+
* @return {!Object}
|
|
94
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
95
|
+
*/
|
|
96
|
+
proto.codegen.GetSchemaRequest.toObject = function(includeInstance, msg) {
|
|
97
|
+
var f, obj = {
|
|
98
|
+
pb_package: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
99
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
if (includeInstance) {
|
|
103
|
+
obj.$jspbMessageInstance = msg;
|
|
104
|
+
}
|
|
105
|
+
return obj;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Deserializes binary data (in protobuf wire format).
|
|
112
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
113
|
+
* @return {!proto.codegen.GetSchemaRequest}
|
|
114
|
+
*/
|
|
115
|
+
proto.codegen.GetSchemaRequest.deserializeBinary = function(bytes) {
|
|
116
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
117
|
+
var msg = new proto.codegen.GetSchemaRequest;
|
|
118
|
+
return proto.codegen.GetSchemaRequest.deserializeBinaryFromReader(msg, reader);
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
124
|
+
* given reader into the given message object.
|
|
125
|
+
* @param {!proto.codegen.GetSchemaRequest} msg The message object to deserialize into.
|
|
126
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
127
|
+
* @return {!proto.codegen.GetSchemaRequest}
|
|
128
|
+
*/
|
|
129
|
+
proto.codegen.GetSchemaRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
130
|
+
while (reader.nextField()) {
|
|
131
|
+
if (reader.isEndGroup()) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
var field = reader.getFieldNumber();
|
|
135
|
+
switch (field) {
|
|
136
|
+
case 1:
|
|
137
|
+
var value = /** @type {string} */ (reader.readString());
|
|
138
|
+
msg.setPackage(value);
|
|
139
|
+
break;
|
|
140
|
+
case 2:
|
|
141
|
+
var value = /** @type {string} */ (reader.readString());
|
|
142
|
+
msg.setVersion(value);
|
|
143
|
+
break;
|
|
144
|
+
default:
|
|
145
|
+
reader.skipField();
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return msg;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
155
|
+
* @return {!Uint8Array}
|
|
156
|
+
*/
|
|
157
|
+
proto.codegen.GetSchemaRequest.prototype.serializeBinary = function() {
|
|
158
|
+
var writer = new jspb.BinaryWriter();
|
|
159
|
+
proto.codegen.GetSchemaRequest.serializeBinaryToWriter(this, writer);
|
|
160
|
+
return writer.getResultBuffer();
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
166
|
+
* format), writing to the given BinaryWriter.
|
|
167
|
+
* @param {!proto.codegen.GetSchemaRequest} message
|
|
168
|
+
* @param {!jspb.BinaryWriter} writer
|
|
169
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
170
|
+
*/
|
|
171
|
+
proto.codegen.GetSchemaRequest.serializeBinaryToWriter = function(message, writer) {
|
|
172
|
+
var f = undefined;
|
|
173
|
+
f = message.getPackage();
|
|
174
|
+
if (f.length > 0) {
|
|
175
|
+
writer.writeString(
|
|
176
|
+
1,
|
|
177
|
+
f
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
f = message.getVersion();
|
|
181
|
+
if (f.length > 0) {
|
|
182
|
+
writer.writeString(
|
|
183
|
+
2,
|
|
184
|
+
f
|
|
185
|
+
);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* optional string package = 1;
|
|
192
|
+
* @return {string}
|
|
193
|
+
*/
|
|
194
|
+
proto.codegen.GetSchemaRequest.prototype.getPackage = function() {
|
|
195
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @param {string} value
|
|
201
|
+
* @return {!proto.codegen.GetSchemaRequest} returns this
|
|
202
|
+
*/
|
|
203
|
+
proto.codegen.GetSchemaRequest.prototype.setPackage = function(value) {
|
|
204
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* optional string version = 2;
|
|
210
|
+
* @return {string}
|
|
211
|
+
*/
|
|
212
|
+
proto.codegen.GetSchemaRequest.prototype.getVersion = function() {
|
|
213
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @param {string} value
|
|
219
|
+
* @return {!proto.codegen.GetSchemaRequest} returns this
|
|
220
|
+
*/
|
|
221
|
+
proto.codegen.GetSchemaRequest.prototype.setVersion = function(value) {
|
|
222
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
230
|
+
/**
|
|
231
|
+
* Creates an object representation of this proto.
|
|
232
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
233
|
+
* Optional fields that are not set will be set to undefined.
|
|
234
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
235
|
+
* For the list of reserved names please see:
|
|
236
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
237
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
238
|
+
* JSPB instance for transitional soy proto support:
|
|
239
|
+
* http://goto/soy-param-migration
|
|
240
|
+
* @return {!Object}
|
|
241
|
+
*/
|
|
242
|
+
proto.codegen.GetSchemaResponse.prototype.toObject = function(opt_includeInstance) {
|
|
243
|
+
return proto.codegen.GetSchemaResponse.toObject(opt_includeInstance, this);
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Static version of the {@see toObject} method.
|
|
249
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
250
|
+
* the JSPB instance for transitional soy proto support:
|
|
251
|
+
* http://goto/soy-param-migration
|
|
252
|
+
* @param {!proto.codegen.GetSchemaResponse} msg The msg instance to transform.
|
|
253
|
+
* @return {!Object}
|
|
254
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
255
|
+
*/
|
|
256
|
+
proto.codegen.GetSchemaResponse.toObject = function(includeInstance, msg) {
|
|
257
|
+
var f, obj = {
|
|
258
|
+
schema: msg.getSchema_asB64()
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
if (includeInstance) {
|
|
262
|
+
obj.$jspbMessageInstance = msg;
|
|
263
|
+
}
|
|
264
|
+
return obj;
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Deserializes binary data (in protobuf wire format).
|
|
271
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
272
|
+
* @return {!proto.codegen.GetSchemaResponse}
|
|
273
|
+
*/
|
|
274
|
+
proto.codegen.GetSchemaResponse.deserializeBinary = function(bytes) {
|
|
275
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
276
|
+
var msg = new proto.codegen.GetSchemaResponse;
|
|
277
|
+
return proto.codegen.GetSchemaResponse.deserializeBinaryFromReader(msg, reader);
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
283
|
+
* given reader into the given message object.
|
|
284
|
+
* @param {!proto.codegen.GetSchemaResponse} msg The message object to deserialize into.
|
|
285
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
286
|
+
* @return {!proto.codegen.GetSchemaResponse}
|
|
287
|
+
*/
|
|
288
|
+
proto.codegen.GetSchemaResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
289
|
+
while (reader.nextField()) {
|
|
290
|
+
if (reader.isEndGroup()) {
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
var field = reader.getFieldNumber();
|
|
294
|
+
switch (field) {
|
|
295
|
+
case 1:
|
|
296
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
297
|
+
msg.setSchema(value);
|
|
298
|
+
break;
|
|
299
|
+
default:
|
|
300
|
+
reader.skipField();
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
return msg;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
310
|
+
* @return {!Uint8Array}
|
|
311
|
+
*/
|
|
312
|
+
proto.codegen.GetSchemaResponse.prototype.serializeBinary = function() {
|
|
313
|
+
var writer = new jspb.BinaryWriter();
|
|
314
|
+
proto.codegen.GetSchemaResponse.serializeBinaryToWriter(this, writer);
|
|
315
|
+
return writer.getResultBuffer();
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
321
|
+
* format), writing to the given BinaryWriter.
|
|
322
|
+
* @param {!proto.codegen.GetSchemaResponse} message
|
|
323
|
+
* @param {!jspb.BinaryWriter} writer
|
|
324
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
325
|
+
*/
|
|
326
|
+
proto.codegen.GetSchemaResponse.serializeBinaryToWriter = function(message, writer) {
|
|
327
|
+
var f = undefined;
|
|
328
|
+
f = message.getSchema_asU8();
|
|
329
|
+
if (f.length > 0) {
|
|
330
|
+
writer.writeBytes(
|
|
331
|
+
1,
|
|
332
|
+
f
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* optional bytes schema = 1;
|
|
340
|
+
* @return {!(string|Uint8Array)}
|
|
341
|
+
*/
|
|
342
|
+
proto.codegen.GetSchemaResponse.prototype.getSchema = function() {
|
|
343
|
+
return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* optional bytes schema = 1;
|
|
349
|
+
* This is a type-conversion wrapper around `getSchema()`
|
|
350
|
+
* @return {string}
|
|
351
|
+
*/
|
|
352
|
+
proto.codegen.GetSchemaResponse.prototype.getSchema_asB64 = function() {
|
|
353
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
354
|
+
this.getSchema()));
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* optional bytes schema = 1;
|
|
360
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
361
|
+
* @see http://caniuse.com/Uint8Array
|
|
362
|
+
* This is a type-conversion wrapper around `getSchema()`
|
|
363
|
+
* @return {!Uint8Array}
|
|
364
|
+
*/
|
|
365
|
+
proto.codegen.GetSchemaResponse.prototype.getSchema_asU8 = function() {
|
|
366
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
367
|
+
this.getSchema()));
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @param {!(string|Uint8Array)} value
|
|
373
|
+
* @return {!proto.codegen.GetSchemaResponse} returns this
|
|
374
|
+
*/
|
|
375
|
+
proto.codegen.GetSchemaResponse.prototype.setSchema = function(value) {
|
|
376
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
goog.object.extend(exports, proto.codegen);
|
package/proto/language_pb.js
CHANGED
|
@@ -3153,7 +3153,8 @@ proto.pulumirpc.GenerateProgramRequest.prototype.toObject = function(opt_include
|
|
|
3153
3153
|
*/
|
|
3154
3154
|
proto.pulumirpc.GenerateProgramRequest.toObject = function(includeInstance, msg) {
|
|
3155
3155
|
var f, obj = {
|
|
3156
|
-
sourceMap: (f = msg.getSourceMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3156
|
+
sourceMap: (f = msg.getSourceMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
3157
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3157
3158
|
};
|
|
3158
3159
|
|
|
3159
3160
|
if (includeInstance) {
|
|
@@ -3196,6 +3197,10 @@ proto.pulumirpc.GenerateProgramRequest.deserializeBinaryFromReader = function(ms
|
|
|
3196
3197
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
3197
3198
|
});
|
|
3198
3199
|
break;
|
|
3200
|
+
case 2:
|
|
3201
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3202
|
+
msg.setLoaderTarget(value);
|
|
3203
|
+
break;
|
|
3199
3204
|
default:
|
|
3200
3205
|
reader.skipField();
|
|
3201
3206
|
break;
|
|
@@ -3229,6 +3234,13 @@ proto.pulumirpc.GenerateProgramRequest.serializeBinaryToWriter = function(messag
|
|
|
3229
3234
|
if (f && f.getLength() > 0) {
|
|
3230
3235
|
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
3231
3236
|
}
|
|
3237
|
+
f = message.getLoaderTarget();
|
|
3238
|
+
if (f.length > 0) {
|
|
3239
|
+
writer.writeString(
|
|
3240
|
+
2,
|
|
3241
|
+
f
|
|
3242
|
+
);
|
|
3243
|
+
}
|
|
3232
3244
|
};
|
|
3233
3245
|
|
|
3234
3246
|
|
|
@@ -3254,6 +3266,24 @@ proto.pulumirpc.GenerateProgramRequest.prototype.clearSourceMap = function() {
|
|
|
3254
3266
|
return this;};
|
|
3255
3267
|
|
|
3256
3268
|
|
|
3269
|
+
/**
|
|
3270
|
+
* optional string loader_target = 2;
|
|
3271
|
+
* @return {string}
|
|
3272
|
+
*/
|
|
3273
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.getLoaderTarget = function() {
|
|
3274
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3275
|
+
};
|
|
3276
|
+
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* @param {string} value
|
|
3280
|
+
* @return {!proto.pulumirpc.GenerateProgramRequest} returns this
|
|
3281
|
+
*/
|
|
3282
|
+
proto.pulumirpc.GenerateProgramRequest.prototype.setLoaderTarget = function(value) {
|
|
3283
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3284
|
+
};
|
|
3285
|
+
|
|
3286
|
+
|
|
3257
3287
|
|
|
3258
3288
|
/**
|
|
3259
3289
|
* List of repeated fields within this message type.
|
|
@@ -3482,7 +3512,8 @@ proto.pulumirpc.GenerateProjectRequest.toObject = function(includeInstance, msg)
|
|
|
3482
3512
|
sourceDirectory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3483
3513
|
targetDirectory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3484
3514
|
project: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3485
|
-
strict: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
3515
|
+
strict: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
3516
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
3486
3517
|
};
|
|
3487
3518
|
|
|
3488
3519
|
if (includeInstance) {
|
|
@@ -3535,6 +3566,10 @@ proto.pulumirpc.GenerateProjectRequest.deserializeBinaryFromReader = function(ms
|
|
|
3535
3566
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3536
3567
|
msg.setStrict(value);
|
|
3537
3568
|
break;
|
|
3569
|
+
case 5:
|
|
3570
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3571
|
+
msg.setLoaderTarget(value);
|
|
3572
|
+
break;
|
|
3538
3573
|
default:
|
|
3539
3574
|
reader.skipField();
|
|
3540
3575
|
break;
|
|
@@ -3592,6 +3627,13 @@ proto.pulumirpc.GenerateProjectRequest.serializeBinaryToWriter = function(messag
|
|
|
3592
3627
|
f
|
|
3593
3628
|
);
|
|
3594
3629
|
}
|
|
3630
|
+
f = message.getLoaderTarget();
|
|
3631
|
+
if (f.length > 0) {
|
|
3632
|
+
writer.writeString(
|
|
3633
|
+
5,
|
|
3634
|
+
f
|
|
3635
|
+
);
|
|
3636
|
+
}
|
|
3595
3637
|
};
|
|
3596
3638
|
|
|
3597
3639
|
|
|
@@ -3667,6 +3709,24 @@ proto.pulumirpc.GenerateProjectRequest.prototype.setStrict = function(value) {
|
|
|
3667
3709
|
};
|
|
3668
3710
|
|
|
3669
3711
|
|
|
3712
|
+
/**
|
|
3713
|
+
* optional string loader_target = 5;
|
|
3714
|
+
* @return {string}
|
|
3715
|
+
*/
|
|
3716
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.getLoaderTarget = function() {
|
|
3717
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3718
|
+
};
|
|
3719
|
+
|
|
3720
|
+
|
|
3721
|
+
/**
|
|
3722
|
+
* @param {string} value
|
|
3723
|
+
* @return {!proto.pulumirpc.GenerateProjectRequest} returns this
|
|
3724
|
+
*/
|
|
3725
|
+
proto.pulumirpc.GenerateProjectRequest.prototype.setLoaderTarget = function(value) {
|
|
3726
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3727
|
+
};
|
|
3728
|
+
|
|
3729
|
+
|
|
3670
3730
|
|
|
3671
3731
|
/**
|
|
3672
3732
|
* List of repeated fields within this message type.
|
|
@@ -3861,7 +3921,8 @@ proto.pulumirpc.GeneratePackageRequest.toObject = function(includeInstance, msg)
|
|
|
3861
3921
|
var f, obj = {
|
|
3862
3922
|
directory: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3863
3923
|
schema: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3864
|
-
extraFilesMap: (f = msg.getExtraFilesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3924
|
+
extraFilesMap: (f = msg.getExtraFilesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
3925
|
+
loaderTarget: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3865
3926
|
};
|
|
3866
3927
|
|
|
3867
3928
|
if (includeInstance) {
|
|
@@ -3912,6 +3973,10 @@ proto.pulumirpc.GeneratePackageRequest.deserializeBinaryFromReader = function(ms
|
|
|
3912
3973
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBytes, null, "", "");
|
|
3913
3974
|
});
|
|
3914
3975
|
break;
|
|
3976
|
+
case 4:
|
|
3977
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3978
|
+
msg.setLoaderTarget(value);
|
|
3979
|
+
break;
|
|
3915
3980
|
default:
|
|
3916
3981
|
reader.skipField();
|
|
3917
3982
|
break;
|
|
@@ -3959,6 +4024,13 @@ proto.pulumirpc.GeneratePackageRequest.serializeBinaryToWriter = function(messag
|
|
|
3959
4024
|
if (f && f.getLength() > 0) {
|
|
3960
4025
|
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBytes);
|
|
3961
4026
|
}
|
|
4027
|
+
f = message.getLoaderTarget();
|
|
4028
|
+
if (f.length > 0) {
|
|
4029
|
+
writer.writeString(
|
|
4030
|
+
4,
|
|
4031
|
+
f
|
|
4032
|
+
);
|
|
4033
|
+
}
|
|
3962
4034
|
};
|
|
3963
4035
|
|
|
3964
4036
|
|
|
@@ -4020,6 +4092,24 @@ proto.pulumirpc.GeneratePackageRequest.prototype.clearExtraFilesMap = function()
|
|
|
4020
4092
|
return this;};
|
|
4021
4093
|
|
|
4022
4094
|
|
|
4095
|
+
/**
|
|
4096
|
+
* optional string loader_target = 4;
|
|
4097
|
+
* @return {string}
|
|
4098
|
+
*/
|
|
4099
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.getLoaderTarget = function() {
|
|
4100
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4101
|
+
};
|
|
4102
|
+
|
|
4103
|
+
|
|
4104
|
+
/**
|
|
4105
|
+
* @param {string} value
|
|
4106
|
+
* @return {!proto.pulumirpc.GeneratePackageRequest} returns this
|
|
4107
|
+
*/
|
|
4108
|
+
proto.pulumirpc.GeneratePackageRequest.prototype.setLoaderTarget = function(value) {
|
|
4109
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4110
|
+
};
|
|
4111
|
+
|
|
4112
|
+
|
|
4023
4113
|
|
|
4024
4114
|
|
|
4025
4115
|
|
package/runtime/stack.js
CHANGED
|
@@ -30,6 +30,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
const asset = __importStar(require("../asset"));
|
|
33
|
+
const log_1 = require("../log");
|
|
33
34
|
const metadata_1 = require("../metadata");
|
|
34
35
|
const output_1 = require("../output");
|
|
35
36
|
const resource_1 = require("../resource");
|
|
@@ -86,7 +87,7 @@ class Stack extends resource_1.ComponentResource {
|
|
|
86
87
|
let outputs;
|
|
87
88
|
try {
|
|
88
89
|
const inputs = yield args.init();
|
|
89
|
-
outputs = yield massage(inputs, []);
|
|
90
|
+
outputs = yield massage(undefined, inputs, []);
|
|
90
91
|
}
|
|
91
92
|
finally {
|
|
92
93
|
// We want to expose stack outputs as simple pojo objects (including Resources). This
|
|
@@ -100,8 +101,14 @@ class Stack extends resource_1.ComponentResource {
|
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
exports.Stack = Stack;
|
|
103
|
-
function massage(prop, objectStack) {
|
|
104
|
+
function massage(key, prop, objectStack) {
|
|
104
105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
if (prop === undefined && objectStack.length === 1) {
|
|
107
|
+
// This is a top level undefined value, it will not show up in stack outputs, warn the user about
|
|
108
|
+
// this.
|
|
109
|
+
log_1.warn(`Undefined value (${key}) will not show as a stack output.`);
|
|
110
|
+
return undefined;
|
|
111
|
+
}
|
|
105
112
|
if (prop === undefined ||
|
|
106
113
|
prop === null ||
|
|
107
114
|
typeof prop === "boolean" ||
|
|
@@ -110,10 +117,10 @@ function massage(prop, objectStack) {
|
|
|
110
117
|
return prop;
|
|
111
118
|
}
|
|
112
119
|
if (prop instanceof Promise) {
|
|
113
|
-
return yield massage(yield prop, objectStack);
|
|
120
|
+
return yield massage(key, yield prop, objectStack);
|
|
114
121
|
}
|
|
115
122
|
if (output_1.Output.isInstance(prop)) {
|
|
116
|
-
const result = prop.apply((v) => massage(v, objectStack));
|
|
123
|
+
const result = prop.apply((v) => massage(key, v, objectStack));
|
|
117
124
|
// explicitly await the underlying promise of the output here. This is necessary to get a
|
|
118
125
|
// deterministic walk of the object graph. We need that deterministic walk, otherwise our
|
|
119
126
|
// actual cycle detection logic (using 'objectStack') doesn't work. i.e. if we don't do
|
|
@@ -129,7 +136,7 @@ function massage(prop, objectStack) {
|
|
|
129
136
|
// Note: for Resources we hit again, emit their urn so cycles can be easily understood
|
|
130
137
|
// in the pojo objects.
|
|
131
138
|
if (resource_1.Resource.isInstance(prop)) {
|
|
132
|
-
return yield massage(prop.urn, objectStack);
|
|
139
|
+
return yield massage(key, prop.urn, objectStack);
|
|
133
140
|
}
|
|
134
141
|
return undefined;
|
|
135
142
|
}
|
|
@@ -164,7 +171,7 @@ function massageComplex(prop, objectStack) {
|
|
|
164
171
|
}
|
|
165
172
|
if (asset.Archive.isInstance(prop)) {
|
|
166
173
|
if (prop.assets) {
|
|
167
|
-
return { assets: yield massage(prop.assets, objectStack) };
|
|
174
|
+
return { assets: yield massage("assets", prop.assets, objectStack) };
|
|
168
175
|
}
|
|
169
176
|
else if (prop.path !== undefined) {
|
|
170
177
|
return { path: prop.path };
|
|
@@ -188,7 +195,7 @@ function massageComplex(prop, objectStack) {
|
|
|
188
195
|
if (prop instanceof Array) {
|
|
189
196
|
const result = [];
|
|
190
197
|
for (let i = 0; i < prop.length; i++) {
|
|
191
|
-
result[i] = yield massage(prop[i], objectStack);
|
|
198
|
+
result[i] = yield massage(undefined, prop[i], objectStack);
|
|
192
199
|
}
|
|
193
200
|
return result;
|
|
194
201
|
}
|
|
@@ -198,7 +205,7 @@ function massageComplex(prop, objectStack) {
|
|
|
198
205
|
const obj = {};
|
|
199
206
|
for (const k of Object.keys(prop)) {
|
|
200
207
|
if (include(k)) {
|
|
201
|
-
obj[k] = yield massage(prop[k], objectStack);
|
|
208
|
+
obj[k] = yield massage(k, prop[k], objectStack);
|
|
202
209
|
}
|
|
203
210
|
}
|
|
204
211
|
return obj;
|
package/runtime/stack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
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AAW,CAAC,CAAC;aAC9D;YAED,OAAO,MAAM,CAAC;SACjB;QAED,OAAO,MAAM,gBAAgB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC;QAE3C,SAAe,gBAAgB,CAAC,OAAkC;;gBAC9D,MAAM,GAAG,GAAwB,EAAE,CAAC;gBACpC,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC/B,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE;wBACZ,GAAG,CAAC,CAAC,CAAC,GAAG,MAAM,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;qBACnD;iBACJ;gBAED,OAAO,GAAG,CAAC;YACf,CAAC;SAAA;IACL,CAAC;CAAA;AAED;;GAEG;AACH,SAAgB,2BAA2B,CAAC,CAAyB;IACjE,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IACzC,IAAI,CAAC,aAAa,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,mEAAmE,CAAC,CAAC;KACxF;IACD,aAAa,CAAC,iBAAiB,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,iBAAiB,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACtF,CAAC;AAND,kEAMC;AAED,SAAgB,gBAAgB;IAC5B,OAAO,wBAAqB,EAAE,CAAC;AACnC,CAAC;AAFD,4CAEC"}
|
|
@@ -54,13 +54,13 @@ require (
|
|
|
54
54
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
55
55
|
go.uber.org/atomic v1.9.0 // indirect
|
|
56
56
|
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a // indirect
|
|
57
|
-
golang.org/x/net v0.
|
|
58
|
-
golang.org/x/sys v0.
|
|
59
|
-
golang.org/x/term v0.
|
|
57
|
+
golang.org/x/net v0.10.0 // indirect
|
|
58
|
+
golang.org/x/sys v0.8.0 // indirect
|
|
59
|
+
golang.org/x/term v0.8.0 // indirect
|
|
60
60
|
golang.org/x/text v0.9.0 // indirect
|
|
61
|
-
google.golang.org/genproto v0.0.0-
|
|
62
|
-
google.golang.org/grpc v1.
|
|
63
|
-
google.golang.org/protobuf v1.
|
|
61
|
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect
|
|
62
|
+
google.golang.org/grpc v1.57.0 // indirect
|
|
63
|
+
google.golang.org/protobuf v1.31.0 // indirect
|
|
64
64
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
65
65
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
66
66
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
@@ -209,8 +209,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
|
|
|
209
209
|
golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
|
|
210
210
|
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
|
|
211
211
|
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
|
|
212
|
-
golang.org/x/net v0.
|
|
213
|
-
golang.org/x/net v0.
|
|
212
|
+
golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
|
|
213
|
+
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
|
214
214
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
215
215
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
216
216
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
|
@@ -241,15 +241,15 @@ golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBc
|
|
|
241
241
|
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
242
242
|
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
243
243
|
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
244
|
-
golang.org/x/sys v0.
|
|
245
|
-
golang.org/x/sys v0.
|
|
244
|
+
golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
|
|
245
|
+
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
246
246
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
|
247
247
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
|
248
248
|
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
|
249
249
|
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
|
250
250
|
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
|
|
251
|
-
golang.org/x/term v0.
|
|
252
|
-
golang.org/x/term v0.
|
|
251
|
+
golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols=
|
|
252
|
+
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
|
|
253
253
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
|
254
254
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
255
255
|
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
|
@@ -276,14 +276,14 @@ gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJ
|
|
|
276
276
|
gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0=
|
|
277
277
|
gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw=
|
|
278
278
|
gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc=
|
|
279
|
-
google.golang.org/genproto v0.0.0-
|
|
280
|
-
google.golang.org/genproto v0.0.0-
|
|
281
|
-
google.golang.org/grpc v1.
|
|
282
|
-
google.golang.org/grpc v1.
|
|
279
|
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc=
|
|
280
|
+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o=
|
|
281
|
+
google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw=
|
|
282
|
+
google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo=
|
|
283
283
|
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
|
284
284
|
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
|
285
|
-
google.golang.org/protobuf v1.
|
|
286
|
-
google.golang.org/protobuf v1.
|
|
285
|
+
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
|
|
286
|
+
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
|
287
287
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
|
288
288
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
|
289
289
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
package/version.js
CHANGED
|
@@ -13,5 +13,5 @@
|
|
|
13
13
|
// See the License for the specific language governing permissions and
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.version = "3.
|
|
16
|
+
exports.version = "3.77.0";
|
|
17
17
|
//# sourceMappingURL=version.js.map
|