qsharp-lang 1.0.32-dev → 1.0.34-dev
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/katas-content.generated.js +17 -17
- package/dist/log.js +2 -3
- package/dist/ux/ticks.d.ts +6 -0
- package/dist/ux/ticks.js +125 -0
- package/lib/node/qsc_wasm.cjs +85 -92
- package/lib/node/qsc_wasm.d.cts +1 -1
- package/lib/node/qsc_wasm_bg.wasm +0 -0
- package/lib/web/qsc_wasm.d.ts +1 -1
- package/lib/web/qsc_wasm.js +80 -90
- package/lib/web/qsc_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/ux/colormap.ts +51 -0
- package/ux/data.ts +68 -0
- package/ux/estimatesOverview.tsx +238 -0
- package/ux/generate_report_code.py +243 -0
- package/ux/index.ts +4 -2
- package/ux/output_data.md +537 -0
- package/ux/qsharp-ux.css +37 -0
- package/ux/reTable.tsx +7 -28
- package/ux/report.ts +591 -0
- package/ux/resultsTable.tsx +35 -49
- package/ux/scatterChart.tsx +369 -0
- package/ux/spaceChart.tsx +2 -2
package/lib/node/qsc_wasm.cjs
CHANGED
|
@@ -216,7 +216,7 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
216
216
|
|
|
217
217
|
return real;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
220
220
|
wasm.__wbindgen_export_3(arg0, arg1, addHeapObject(arg2));
|
|
221
221
|
}
|
|
222
222
|
|
|
@@ -389,7 +389,7 @@ module.exports.get_library_source_content = function(name) {
|
|
|
389
389
|
let v2;
|
|
390
390
|
if (r0 !== 0) {
|
|
391
391
|
v2 = getStringFromWasm0(r0, r1).slice();
|
|
392
|
-
wasm.__wbindgen_export_4(r0, r1 * 1);
|
|
392
|
+
wasm.__wbindgen_export_4(r0, r1 * 1, 1);
|
|
393
393
|
}
|
|
394
394
|
return v2;
|
|
395
395
|
} finally {
|
|
@@ -472,7 +472,7 @@ function handleError(f, args) {
|
|
|
472
472
|
wasm.__wbindgen_export_5(addHeapObject(e));
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function __wbg_adapter_151(arg0, arg1, arg2, arg3) {
|
|
476
476
|
wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
477
477
|
}
|
|
478
478
|
|
|
@@ -483,14 +483,6 @@ module.exports.StepResultId = Object.freeze({ BreakpointHit:0,"0":"BreakpointHit
|
|
|
483
483
|
*/
|
|
484
484
|
class DebugService {
|
|
485
485
|
|
|
486
|
-
static __wrap(ptr) {
|
|
487
|
-
ptr = ptr >>> 0;
|
|
488
|
-
const obj = Object.create(DebugService.prototype);
|
|
489
|
-
obj.__wbg_ptr = ptr;
|
|
490
|
-
|
|
491
|
-
return obj;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
486
|
__destroy_into_raw() {
|
|
495
487
|
const ptr = this.__wbg_ptr;
|
|
496
488
|
this.__wbg_ptr = 0;
|
|
@@ -506,12 +498,13 @@ class DebugService {
|
|
|
506
498
|
*/
|
|
507
499
|
constructor() {
|
|
508
500
|
const ret = wasm.debugservice_new();
|
|
509
|
-
|
|
501
|
+
this.__wbg_ptr = ret >>> 0;
|
|
502
|
+
return this;
|
|
510
503
|
}
|
|
511
504
|
/**
|
|
512
505
|
* @param {(Array<any>)[]} sources
|
|
513
506
|
* @param {string} target_profile
|
|
514
|
-
* @param {string | undefined} entry
|
|
507
|
+
* @param {string | undefined} [entry]
|
|
515
508
|
* @returns {string}
|
|
516
509
|
*/
|
|
517
510
|
load_source(sources, target_profile, entry) {
|
|
@@ -665,14 +658,6 @@ module.exports.DebugService = DebugService;
|
|
|
665
658
|
*/
|
|
666
659
|
class LanguageService {
|
|
667
660
|
|
|
668
|
-
static __wrap(ptr) {
|
|
669
|
-
ptr = ptr >>> 0;
|
|
670
|
-
const obj = Object.create(LanguageService.prototype);
|
|
671
|
-
obj.__wbg_ptr = ptr;
|
|
672
|
-
|
|
673
|
-
return obj;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
661
|
__destroy_into_raw() {
|
|
677
662
|
const ptr = this.__wbg_ptr;
|
|
678
663
|
this.__wbg_ptr = 0;
|
|
@@ -688,7 +673,8 @@ class LanguageService {
|
|
|
688
673
|
*/
|
|
689
674
|
constructor() {
|
|
690
675
|
const ret = wasm.languageservice_new();
|
|
691
|
-
|
|
676
|
+
this.__wbg_ptr = ret >>> 0;
|
|
677
|
+
return this;
|
|
692
678
|
}
|
|
693
679
|
/**
|
|
694
680
|
* @param {(uri: string, version: number | undefined, diagnostics: VSDiagnostic[]) => void} diagnostics_callback
|
|
@@ -789,7 +775,7 @@ class LanguageService {
|
|
|
789
775
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
790
776
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
791
777
|
var v2 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
792
|
-
wasm.__wbindgen_export_4(r0, r1 * 4);
|
|
778
|
+
wasm.__wbindgen_export_4(r0, r1 * 4, 4);
|
|
793
779
|
return v2;
|
|
794
780
|
} finally {
|
|
795
781
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -850,14 +836,6 @@ module.exports.LanguageService = LanguageService;
|
|
|
850
836
|
*/
|
|
851
837
|
class ProjectLoader {
|
|
852
838
|
|
|
853
|
-
static __wrap(ptr) {
|
|
854
|
-
ptr = ptr >>> 0;
|
|
855
|
-
const obj = Object.create(ProjectLoader.prototype);
|
|
856
|
-
obj.__wbg_ptr = ptr;
|
|
857
|
-
|
|
858
|
-
return obj;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
839
|
__destroy_into_raw() {
|
|
862
840
|
const ptr = this.__wbg_ptr;
|
|
863
841
|
this.__wbg_ptr = 0;
|
|
@@ -876,7 +854,8 @@ class ProjectLoader {
|
|
|
876
854
|
*/
|
|
877
855
|
constructor(read_file, list_directory, get_manifest) {
|
|
878
856
|
const ret = wasm.projectloader_new(addHeapObject(read_file), addHeapObject(list_directory), addHeapObject(get_manifest));
|
|
879
|
-
|
|
857
|
+
this.__wbg_ptr = ret >>> 0;
|
|
858
|
+
return this;
|
|
880
859
|
}
|
|
881
860
|
/**
|
|
882
861
|
* @param {{ manifestDirectory: string }} manifest
|
|
@@ -919,16 +898,6 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
919
898
|
return ret;
|
|
920
899
|
};
|
|
921
900
|
|
|
922
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
923
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
924
|
-
return addHeapObject(ret);
|
|
925
|
-
};
|
|
926
|
-
|
|
927
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
928
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
929
|
-
return addHeapObject(ret);
|
|
930
|
-
};
|
|
931
|
-
|
|
932
901
|
module.exports.__wbindgen_is_object = function(arg0) {
|
|
933
902
|
const val = getObject(arg0);
|
|
934
903
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -945,6 +914,16 @@ module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
|
945
914
|
return ret;
|
|
946
915
|
};
|
|
947
916
|
|
|
917
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
918
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
919
|
+
return addHeapObject(ret);
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
923
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
924
|
+
return addHeapObject(ret);
|
|
925
|
+
};
|
|
926
|
+
|
|
948
927
|
module.exports.__wbindgen_number_new = function(arg0) {
|
|
949
928
|
const ret = arg0;
|
|
950
929
|
return addHeapObject(ret);
|
|
@@ -999,39 +978,53 @@ module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
|
999
978
|
return ret;
|
|
1000
979
|
};
|
|
1001
980
|
|
|
1002
|
-
module.exports.
|
|
981
|
+
module.exports.__wbindgen_as_number = function(arg0) {
|
|
982
|
+
const ret = +getObject(arg0);
|
|
983
|
+
return ret;
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
module.exports.__wbg_getwithrefkey_4a92a5eca60879b9 = function(arg0, arg1) {
|
|
1003
987
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
1004
988
|
return addHeapObject(ret);
|
|
1005
989
|
};
|
|
1006
990
|
|
|
1007
|
-
module.exports.
|
|
991
|
+
module.exports.__wbg_set_9182712abebf82ef = function(arg0, arg1, arg2) {
|
|
1008
992
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
1009
993
|
};
|
|
1010
994
|
|
|
1011
|
-
module.exports.
|
|
995
|
+
module.exports.__wbg_queueMicrotask_118eeb525d584d9a = function(arg0) {
|
|
996
|
+
queueMicrotask(getObject(arg0));
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
module.exports.__wbg_queueMicrotask_26a89c14c53809c0 = function(arg0) {
|
|
1000
|
+
const ret = getObject(arg0).queueMicrotask;
|
|
1001
|
+
return addHeapObject(ret);
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
module.exports.__wbg_getRandomValues_7e42b4fb8779dc6d = function() { return handleError(function (arg0, arg1) {
|
|
1012
1005
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
1013
1006
|
}, arguments) };
|
|
1014
1007
|
|
|
1015
|
-
module.exports.
|
|
1008
|
+
module.exports.__wbg_randomFillSync_b70ccbdf4926a99d = function() { return handleError(function (arg0, arg1) {
|
|
1016
1009
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
1017
1010
|
}, arguments) };
|
|
1018
1011
|
|
|
1019
|
-
module.exports.
|
|
1012
|
+
module.exports.__wbg_crypto_d05b68a3572bb8ca = function(arg0) {
|
|
1020
1013
|
const ret = getObject(arg0).crypto;
|
|
1021
1014
|
return addHeapObject(ret);
|
|
1022
1015
|
};
|
|
1023
1016
|
|
|
1024
|
-
module.exports.
|
|
1017
|
+
module.exports.__wbg_process_b02b3570280d0366 = function(arg0) {
|
|
1025
1018
|
const ret = getObject(arg0).process;
|
|
1026
1019
|
return addHeapObject(ret);
|
|
1027
1020
|
};
|
|
1028
1021
|
|
|
1029
|
-
module.exports.
|
|
1022
|
+
module.exports.__wbg_versions_c1cb42213cedf0f5 = function(arg0) {
|
|
1030
1023
|
const ret = getObject(arg0).versions;
|
|
1031
1024
|
return addHeapObject(ret);
|
|
1032
1025
|
};
|
|
1033
1026
|
|
|
1034
|
-
module.exports.
|
|
1027
|
+
module.exports.__wbg_node_43b1089f407e4ec2 = function(arg0) {
|
|
1035
1028
|
const ret = getObject(arg0).node;
|
|
1036
1029
|
return addHeapObject(ret);
|
|
1037
1030
|
};
|
|
@@ -1041,129 +1034,129 @@ module.exports.__wbindgen_is_string = function(arg0) {
|
|
|
1041
1034
|
return ret;
|
|
1042
1035
|
};
|
|
1043
1036
|
|
|
1044
|
-
module.exports.
|
|
1037
|
+
module.exports.__wbg_msCrypto_10fc94afee92bd76 = function(arg0) {
|
|
1045
1038
|
const ret = getObject(arg0).msCrypto;
|
|
1046
1039
|
return addHeapObject(ret);
|
|
1047
1040
|
};
|
|
1048
1041
|
|
|
1049
|
-
module.exports.
|
|
1042
|
+
module.exports.__wbg_require_9a7e0f667ead4995 = function() { return handleError(function () {
|
|
1050
1043
|
const ret = module.require;
|
|
1051
1044
|
return addHeapObject(ret);
|
|
1052
1045
|
}, arguments) };
|
|
1053
1046
|
|
|
1054
|
-
module.exports.
|
|
1047
|
+
module.exports.__wbg_get_c43534c00f382c8a = function(arg0, arg1) {
|
|
1055
1048
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
1056
1049
|
return addHeapObject(ret);
|
|
1057
1050
|
};
|
|
1058
1051
|
|
|
1059
|
-
module.exports.
|
|
1052
|
+
module.exports.__wbg_length_d99b680fd68bf71b = function(arg0) {
|
|
1060
1053
|
const ret = getObject(arg0).length;
|
|
1061
1054
|
return ret;
|
|
1062
1055
|
};
|
|
1063
1056
|
|
|
1064
|
-
module.exports.
|
|
1057
|
+
module.exports.__wbg_new_34c624469fb1d4fd = function() {
|
|
1065
1058
|
const ret = new Array();
|
|
1066
1059
|
return addHeapObject(ret);
|
|
1067
1060
|
};
|
|
1068
1061
|
|
|
1069
|
-
module.exports.
|
|
1062
|
+
module.exports.__wbg_newnoargs_5859b6d41c6fe9f7 = function(arg0, arg1) {
|
|
1070
1063
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1071
1064
|
return addHeapObject(ret);
|
|
1072
1065
|
};
|
|
1073
1066
|
|
|
1074
|
-
module.exports.
|
|
1067
|
+
module.exports.__wbg_next_1938cf110c9491d4 = function(arg0) {
|
|
1075
1068
|
const ret = getObject(arg0).next;
|
|
1076
1069
|
return addHeapObject(ret);
|
|
1077
1070
|
};
|
|
1078
1071
|
|
|
1079
|
-
module.exports.
|
|
1072
|
+
module.exports.__wbg_next_267398d0e0761bf9 = function() { return handleError(function (arg0) {
|
|
1080
1073
|
const ret = getObject(arg0).next();
|
|
1081
1074
|
return addHeapObject(ret);
|
|
1082
1075
|
}, arguments) };
|
|
1083
1076
|
|
|
1084
|
-
module.exports.
|
|
1077
|
+
module.exports.__wbg_done_506b44765ba84b9c = function(arg0) {
|
|
1085
1078
|
const ret = getObject(arg0).done;
|
|
1086
1079
|
return ret;
|
|
1087
1080
|
};
|
|
1088
1081
|
|
|
1089
|
-
module.exports.
|
|
1082
|
+
module.exports.__wbg_value_31485d8770eb06ab = function(arg0) {
|
|
1090
1083
|
const ret = getObject(arg0).value;
|
|
1091
1084
|
return addHeapObject(ret);
|
|
1092
1085
|
};
|
|
1093
1086
|
|
|
1094
|
-
module.exports.
|
|
1087
|
+
module.exports.__wbg_iterator_364187e1ee96b750 = function() {
|
|
1095
1088
|
const ret = Symbol.iterator;
|
|
1096
1089
|
return addHeapObject(ret);
|
|
1097
1090
|
};
|
|
1098
1091
|
|
|
1099
|
-
module.exports.
|
|
1092
|
+
module.exports.__wbg_get_5027b32da70f39b1 = function() { return handleError(function (arg0, arg1) {
|
|
1100
1093
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
1101
1094
|
return addHeapObject(ret);
|
|
1102
1095
|
}, arguments) };
|
|
1103
1096
|
|
|
1104
|
-
module.exports.
|
|
1097
|
+
module.exports.__wbg_call_a79f1973a4f07d5e = function() { return handleError(function (arg0, arg1) {
|
|
1105
1098
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
1106
1099
|
return addHeapObject(ret);
|
|
1107
1100
|
}, arguments) };
|
|
1108
1101
|
|
|
1109
|
-
module.exports.
|
|
1102
|
+
module.exports.__wbg_new_87d841e70661f6e9 = function() {
|
|
1110
1103
|
const ret = new Object();
|
|
1111
1104
|
return addHeapObject(ret);
|
|
1112
1105
|
};
|
|
1113
1106
|
|
|
1114
|
-
module.exports.
|
|
1107
|
+
module.exports.__wbg_set_379b27f1d5f1bf9c = function(arg0, arg1, arg2) {
|
|
1115
1108
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
1116
1109
|
};
|
|
1117
1110
|
|
|
1118
|
-
module.exports.
|
|
1111
|
+
module.exports.__wbg_isArray_fbd24d447869b527 = function(arg0) {
|
|
1119
1112
|
const ret = Array.isArray(getObject(arg0));
|
|
1120
1113
|
return ret;
|
|
1121
1114
|
};
|
|
1122
1115
|
|
|
1123
|
-
module.exports.
|
|
1116
|
+
module.exports.__wbg_push_906164999551d793 = function(arg0, arg1) {
|
|
1124
1117
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
1125
1118
|
return ret;
|
|
1126
1119
|
};
|
|
1127
1120
|
|
|
1128
|
-
module.exports.
|
|
1121
|
+
module.exports.__wbg_instanceof_ArrayBuffer_f4521cec1b99ee35 = function(arg0) {
|
|
1129
1122
|
let result;
|
|
1130
1123
|
try {
|
|
1131
1124
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
1132
|
-
} catch {
|
|
1125
|
+
} catch (_) {
|
|
1133
1126
|
result = false;
|
|
1134
1127
|
}
|
|
1135
1128
|
const ret = result;
|
|
1136
1129
|
return ret;
|
|
1137
1130
|
};
|
|
1138
1131
|
|
|
1139
|
-
module.exports.
|
|
1132
|
+
module.exports.__wbg_call_f6a2bc58c19c53c6 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1140
1133
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
1141
1134
|
return addHeapObject(ret);
|
|
1142
1135
|
}, arguments) };
|
|
1143
1136
|
|
|
1144
|
-
module.exports.
|
|
1137
|
+
module.exports.__wbg_call_84a3935b24cb0625 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1145
1138
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3), getObject(arg4));
|
|
1146
1139
|
return addHeapObject(ret);
|
|
1147
1140
|
}, arguments) };
|
|
1148
1141
|
|
|
1149
|
-
module.exports.
|
|
1142
|
+
module.exports.__wbg_isSafeInteger_d8c89788832a17bf = function(arg0) {
|
|
1150
1143
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
1151
1144
|
return ret;
|
|
1152
1145
|
};
|
|
1153
1146
|
|
|
1154
|
-
module.exports.
|
|
1147
|
+
module.exports.__wbg_buffer_5d1b598a01b41a42 = function(arg0) {
|
|
1155
1148
|
const ret = getObject(arg0).buffer;
|
|
1156
1149
|
return addHeapObject(ret);
|
|
1157
1150
|
};
|
|
1158
1151
|
|
|
1159
|
-
module.exports.
|
|
1152
|
+
module.exports.__wbg_new_1d93771b84541aa5 = function(arg0, arg1) {
|
|
1160
1153
|
try {
|
|
1161
1154
|
var state0 = {a: arg0, b: arg1};
|
|
1162
1155
|
var cb0 = (arg0, arg1) => {
|
|
1163
1156
|
const a = state0.a;
|
|
1164
1157
|
state0.a = 0;
|
|
1165
1158
|
try {
|
|
1166
|
-
return
|
|
1159
|
+
return __wbg_adapter_151(a, state0.b, arg0, arg1);
|
|
1167
1160
|
} finally {
|
|
1168
1161
|
state0.a = a;
|
|
1169
1162
|
}
|
|
@@ -1175,77 +1168,77 @@ module.exports.__wbg_new_43f1b47c28813cbd = function(arg0, arg1) {
|
|
|
1175
1168
|
}
|
|
1176
1169
|
};
|
|
1177
1170
|
|
|
1178
|
-
module.exports.
|
|
1171
|
+
module.exports.__wbg_resolve_97ecd55ee839391b = function(arg0) {
|
|
1179
1172
|
const ret = Promise.resolve(getObject(arg0));
|
|
1180
1173
|
return addHeapObject(ret);
|
|
1181
1174
|
};
|
|
1182
1175
|
|
|
1183
|
-
module.exports.
|
|
1176
|
+
module.exports.__wbg_then_7aeb7c5f1536640f = function(arg0, arg1) {
|
|
1184
1177
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
1185
1178
|
return addHeapObject(ret);
|
|
1186
1179
|
};
|
|
1187
1180
|
|
|
1188
|
-
module.exports.
|
|
1181
|
+
module.exports.__wbg_then_5842e4e97f7beace = function(arg0, arg1, arg2) {
|
|
1189
1182
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
1190
1183
|
return addHeapObject(ret);
|
|
1191
1184
|
};
|
|
1192
1185
|
|
|
1193
|
-
module.exports.
|
|
1186
|
+
module.exports.__wbg_self_086b5302bcafb962 = function() { return handleError(function () {
|
|
1194
1187
|
const ret = self.self;
|
|
1195
1188
|
return addHeapObject(ret);
|
|
1196
1189
|
}, arguments) };
|
|
1197
1190
|
|
|
1198
|
-
module.exports.
|
|
1191
|
+
module.exports.__wbg_window_132fa5d7546f1de5 = function() { return handleError(function () {
|
|
1199
1192
|
const ret = window.window;
|
|
1200
1193
|
return addHeapObject(ret);
|
|
1201
1194
|
}, arguments) };
|
|
1202
1195
|
|
|
1203
|
-
module.exports.
|
|
1196
|
+
module.exports.__wbg_globalThis_e5f801a37ad7d07b = function() { return handleError(function () {
|
|
1204
1197
|
const ret = globalThis.globalThis;
|
|
1205
1198
|
return addHeapObject(ret);
|
|
1206
1199
|
}, arguments) };
|
|
1207
1200
|
|
|
1208
|
-
module.exports.
|
|
1201
|
+
module.exports.__wbg_global_f9a61fce4af6b7c1 = function() { return handleError(function () {
|
|
1209
1202
|
const ret = global.global;
|
|
1210
1203
|
return addHeapObject(ret);
|
|
1211
1204
|
}, arguments) };
|
|
1212
1205
|
|
|
1213
|
-
module.exports.
|
|
1206
|
+
module.exports.__wbg_newwithbyteoffsetandlength_d695c7957788f922 = function(arg0, arg1, arg2) {
|
|
1214
1207
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
1215
1208
|
return addHeapObject(ret);
|
|
1216
1209
|
};
|
|
1217
1210
|
|
|
1218
|
-
module.exports.
|
|
1211
|
+
module.exports.__wbg_new_ace717933ad7117f = function(arg0) {
|
|
1219
1212
|
const ret = new Uint8Array(getObject(arg0));
|
|
1220
1213
|
return addHeapObject(ret);
|
|
1221
1214
|
};
|
|
1222
1215
|
|
|
1223
|
-
module.exports.
|
|
1216
|
+
module.exports.__wbg_set_74906aa30864df5a = function(arg0, arg1, arg2) {
|
|
1224
1217
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
1225
1218
|
};
|
|
1226
1219
|
|
|
1227
|
-
module.exports.
|
|
1220
|
+
module.exports.__wbg_length_f0764416ba5bb237 = function(arg0) {
|
|
1228
1221
|
const ret = getObject(arg0).length;
|
|
1229
1222
|
return ret;
|
|
1230
1223
|
};
|
|
1231
1224
|
|
|
1232
|
-
module.exports.
|
|
1225
|
+
module.exports.__wbg_instanceof_Uint8Array_4f5cffed7df34b2f = function(arg0) {
|
|
1233
1226
|
let result;
|
|
1234
1227
|
try {
|
|
1235
1228
|
result = getObject(arg0) instanceof Uint8Array;
|
|
1236
|
-
} catch {
|
|
1229
|
+
} catch (_) {
|
|
1237
1230
|
result = false;
|
|
1238
1231
|
}
|
|
1239
1232
|
const ret = result;
|
|
1240
1233
|
return ret;
|
|
1241
1234
|
};
|
|
1242
1235
|
|
|
1243
|
-
module.exports.
|
|
1236
|
+
module.exports.__wbg_newwithlength_728575f3bba9959b = function(arg0) {
|
|
1244
1237
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1245
1238
|
return addHeapObject(ret);
|
|
1246
1239
|
};
|
|
1247
1240
|
|
|
1248
|
-
module.exports.
|
|
1241
|
+
module.exports.__wbg_subarray_7f7a652672800851 = function(arg0, arg1, arg2) {
|
|
1249
1242
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1250
1243
|
return addHeapObject(ret);
|
|
1251
1244
|
};
|
|
@@ -1267,8 +1260,8 @@ module.exports.__wbindgen_memory = function() {
|
|
|
1267
1260
|
return addHeapObject(ret);
|
|
1268
1261
|
};
|
|
1269
1262
|
|
|
1270
|
-
module.exports.
|
|
1271
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1263
|
+
module.exports.__wbindgen_closure_wrapper593 = function(arg0, arg1, arg2) {
|
|
1264
|
+
const ret = makeMutClosure(arg0, arg1, 221, __wbg_adapter_46);
|
|
1272
1265
|
return addHeapObject(ret);
|
|
1273
1266
|
};
|
|
1274
1267
|
|
package/lib/node/qsc_wasm.d.cts
CHANGED
|
@@ -215,7 +215,7 @@ export class DebugService {
|
|
|
215
215
|
/**
|
|
216
216
|
* @param {(Array<any>)[]} sources
|
|
217
217
|
* @param {string} target_profile
|
|
218
|
-
* @param {string | undefined} entry
|
|
218
|
+
* @param {string | undefined} [entry]
|
|
219
219
|
* @returns {string}
|
|
220
220
|
*/
|
|
221
221
|
load_source(sources: (Array<any>)[], target_profile: string, entry?: string): string;
|
|
Binary file
|
package/lib/web/qsc_wasm.d.ts
CHANGED
|
@@ -215,7 +215,7 @@ export class DebugService {
|
|
|
215
215
|
/**
|
|
216
216
|
* @param {(Array<any>)[]} sources
|
|
217
217
|
* @param {string} target_profile
|
|
218
|
-
* @param {string | undefined} entry
|
|
218
|
+
* @param {string | undefined} [entry]
|
|
219
219
|
* @returns {string}
|
|
220
220
|
*/
|
|
221
221
|
load_source(sources: (Array<any>)[], target_profile: string, entry?: string): string;
|