@supacloud/admin 0.1.7 → 0.1.9
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/dist/index.js +8 -3
- package/dist/sshcrypto-2cpj1zf3.node +0 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4757,6 +4757,11 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
4757
4757
|
};
|
|
4758
4758
|
});
|
|
4759
4759
|
|
|
4760
|
+
// node_modules/ssh2/lib/protocol/crypto/build/Release/sshcrypto.node
|
|
4761
|
+
var require_sshcrypto = __commonJS((exports, module) => {
|
|
4762
|
+
module.exports = __require("./sshcrypto-2cpj1zf3.node");
|
|
4763
|
+
});
|
|
4764
|
+
|
|
4760
4765
|
// node_modules/ssh2/lib/protocol/crypto/poly1305.js
|
|
4761
4766
|
var require_poly1305 = __commonJS((exports, module) => {
|
|
4762
4767
|
var __dirname = "/home/runner/work/supacloud/supacloud/packages/admin/node_modules/ssh2/lib/protocol/crypto", __filename = "/home/runner/work/supacloud/supacloud/packages/admin/node_modules/ssh2/lib/protocol/crypto/poly1305.js";
|
|
@@ -5243,7 +5248,7 @@ var require_crypto = __commonJS((exports, module) => {
|
|
|
5243
5248
|
var ChaChaPolyDecipher;
|
|
5244
5249
|
var GenericDecipher;
|
|
5245
5250
|
try {
|
|
5246
|
-
binding = (
|
|
5251
|
+
binding = require_sshcrypto();
|
|
5247
5252
|
({
|
|
5248
5253
|
AESGCMCipher,
|
|
5249
5254
|
ChaChaPolyCipher,
|
|
@@ -30306,7 +30311,7 @@ function finalize(ctx, schema) {
|
|
|
30306
30311
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
30307
30312
|
} else if (ctx.target === "draft-04") {
|
|
30308
30313
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
30309
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
30314
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
30310
30315
|
if (ctx.external?.uri) {
|
|
30311
30316
|
const id = ctx.external.registry.get(schema)?.id;
|
|
30312
30317
|
if (!id)
|
|
@@ -30550,7 +30555,7 @@ var literalProcessor = (schema, ctx, json, _params) => {
|
|
|
30550
30555
|
if (val === undefined) {
|
|
30551
30556
|
if (ctx.unrepresentable === "throw") {
|
|
30552
30557
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
30553
|
-
}
|
|
30558
|
+
}
|
|
30554
30559
|
} else if (typeof val === "bigint") {
|
|
30555
30560
|
if (ctx.unrepresentable === "throw") {
|
|
30556
30561
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
Binary file
|