mrs-toolbox-cli 0.0.75 → 0.0.76
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/kotlin-kotlin-stdlib-js-ir.js +6 -6
- package/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
- package/package.json +1 -1
- package/toolbox.js +10 -9
- package/toolbox.js.hash +1 -1
- package/toolbox.js.map +1 -1
- package/toolbox.js.map.hash +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b501507979d508c3436c0d6bb341b44f
|
package/package.json
CHANGED
package/toolbox.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
(function (_, process, $module$_aws_sdk_client_s3_mdmxxt, $module$
|
|
1
|
+
(function (_, process, $module$_aws_sdk_client_s3_mdmxxt, $module$node_fs_4svwsv, $module$node_child_process_2zj7h4, path, $module$rimraf, $module$archiver, kotlin_kotlin, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_com_mrs_platform_configuration_dto_dto, kotlin_io_github_oshai_kotlin_logging, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_client_content_negotiation, kotlin_io_ktor_ktor_serialization_kotlinx_json, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlin_wrappers_kotlin_node) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var S3Client = $module$_aws_sdk_client_s3_mdmxxt.S3Client;
|
|
6
|
+
var readFileSync = $module$node_fs_4svwsv.readFileSync;
|
|
6
7
|
var PutObjectCommand = $module$_aws_sdk_client_s3_mdmxxt.PutObjectCommand;
|
|
7
8
|
var execSync = $module$node_child_process_2zj7h4.execSync;
|
|
8
9
|
var mkdirSync = $module$node_fs_4svwsv.mkdirSync;
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
var cpSync = $module$node_fs_4svwsv.cpSync;
|
|
11
12
|
var writeFileSync = $module$node_fs_4svwsv.writeFileSync;
|
|
12
13
|
var rimraf = $module$rimraf.rimraf;
|
|
13
|
-
var
|
|
14
|
+
var readFileSync_0 = $module$node_fs_4svwsv.readFileSync;
|
|
14
15
|
var unlinkSync = $module$node_fs_4svwsv.unlinkSync;
|
|
15
16
|
var create = $module$archiver.create;
|
|
16
17
|
var createWriteStream = $module$node_fs_4svwsv.createWriteStream;
|
|
@@ -13494,7 +13495,7 @@
|
|
|
13494
13495
|
break;
|
|
13495
13496
|
}
|
|
13496
13497
|
filename = tmp;
|
|
13497
|
-
var body =
|
|
13498
|
+
var body = readFileSync(pathToFile);
|
|
13498
13499
|
var tmp_1 = ensureNotNull(this.p5b_1).bucketName;
|
|
13499
13500
|
var tmp_2 = FileManager_getInstance();
|
|
13500
13501
|
var tmp1_elvis_lhs = s3ClientConfiguration.pathToUpload;
|
|
@@ -13940,10 +13941,10 @@
|
|
|
13940
13941
|
var tmp;
|
|
13941
13942
|
switch (tmp0_subject) {
|
|
13942
13943
|
case false:
|
|
13943
|
-
tmp =
|
|
13944
|
+
tmp = readFileSync_0(pathToFile, (/*union*/{ascii: 'ascii', utf8: 'utf8', utf16le: 'utf16le', ucs2: 'ucs2', base64: 'base64', base64url: 'base64url', latin1: 'latin1', binary: 'binary', hex: 'hex'}/*union*/).utf8);
|
|
13944
13945
|
break;
|
|
13945
13946
|
case true:
|
|
13946
|
-
tmp =
|
|
13947
|
+
tmp = readFileSync_0(this.t5a([__dirname, 'static', pathToFile]), (/*union*/{ascii: 'ascii', utf8: 'utf8', utf16le: 'utf16le', ucs2: 'ucs2', base64: 'base64', base64url: 'base64url', latin1: 'latin1', binary: 'binary', hex: 'hex'}/*union*/).utf8);
|
|
13947
13948
|
break;
|
|
13948
13949
|
default:
|
|
13949
13950
|
noWhenBranchMatchedException();
|
|
@@ -14052,7 +14053,7 @@
|
|
|
14052
14053
|
var tmp$ret$3;
|
|
14053
14054
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
14054
14055
|
var tmp3_decodeFromString = CommandExecutor_getInstance().json;
|
|
14055
|
-
var tmp4_decodeFromString =
|
|
14056
|
+
var tmp4_decodeFromString = readFileSync_0(this.d5d_1, (/*union*/{ascii: 'ascii', utf8: 'utf8', utf16le: 'utf16le', ucs2: 'ucs2', base64: 'base64', base64url: 'base64url', latin1: 'latin1', binary: 'binary', hex: 'hex'}/*union*/).utf8);
|
|
14056
14057
|
var tmp$ret$2;
|
|
14057
14058
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
14058
14059
|
var tmp2_serializer = tmp3_decodeFromString.w39();
|
|
@@ -14303,7 +14304,7 @@
|
|
|
14303
14304
|
protoOf(S3ObjectToSend).hashCode = function () {
|
|
14304
14305
|
var result = getStringHashCode(this.Bucket);
|
|
14305
14306
|
result = imul(result, 31) + getStringHashCode(this.Key) | 0;
|
|
14306
|
-
result = imul(result, 31) +
|
|
14307
|
+
result = imul(result, 31) + hashCode(this.Body) | 0;
|
|
14307
14308
|
result = imul(result, 31) + getStringHashCode(this.ContentType) | 0;
|
|
14308
14309
|
return result;
|
|
14309
14310
|
};
|
|
@@ -14317,7 +14318,7 @@
|
|
|
14317
14318
|
return false;
|
|
14318
14319
|
if (!(this.Key === tmp0_other_with_cast.Key))
|
|
14319
14320
|
return false;
|
|
14320
|
-
if (!(this.Body
|
|
14321
|
+
if (!equals(this.Body, tmp0_other_with_cast.Body))
|
|
14321
14322
|
return false;
|
|
14322
14323
|
if (!(this.ContentType === tmp0_other_with_cast.ContentType))
|
|
14323
14324
|
return false;
|
|
@@ -14461,6 +14462,6 @@
|
|
|
14461
14462
|
_.$_$.b = FileManager_getInstance;
|
|
14462
14463
|
//endregion
|
|
14463
14464
|
return _;
|
|
14464
|
-
}(module.exports, require('node:process'), require('@aws-sdk/client-s3'), require('node:
|
|
14465
|
+
}(module.exports, require('node:process'), require('@aws-sdk/client-s3'), require('node:fs'), require('node:child_process'), require('node:path'), require('rimraf'), require('archiver'), require('./kotlin-kotlin-stdlib-js-ir.js'), require('./ktor-ktor-client-core.js'), require('./ktor-ktor-http.js'), require('./ktor-ktor-utils.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./com.mrs.platform.configuration.dto.js'), require('./kotlin-logging-js-ir.js'), require('./kotlinx-serialization-kotlinx-serialization-json-js-ir.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-client-content-negotiation.js'), require('./ktor-ktor-serialization-kotlinx-json.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./kotlin-node.js')));
|
|
14465
14466
|
|
|
14466
14467
|
//# sourceMappingURL=toolbox.js.map
|
package/toolbox.js.hash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
82859830bfc1821d558324023dba2a85
|