@rstest/core 0.9.0 → 0.9.2
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/LICENSE.md +2 -2
- package/dist/{0~89.js → 0~8843.js} +49 -33
- package/dist/{0~1472.js → 0~browserLoader.js} +5 -5
- package/dist/{0~7882.js → 0~browser~1.js} +46 -47
- package/dist/{0~8426.js → 0~checkThresholds.js} +2 -2
- package/dist/{0~130.js → 0~console.js} +15 -17
- package/dist/0~dist.js +1014 -0
- package/dist/{0~7583.js → 0~esm.js} +68 -70
- package/dist/{0~4403.js → 0~generate.js} +5 -6
- package/dist/{0~4809.js → 0~happyDom.js} +2 -2
- package/dist/{0~3346.js → 0~interop.js} +0 -1
- package/dist/{0~62.js → 0~jsdom.js} +2 -2
- package/dist/{0~262.js → 0~lib.js} +4 -1
- package/dist/{0~9634.js → 0~listTests.js} +14 -23
- package/dist/{0~6923.js → 0~loadEsModule.js} +16 -8
- package/dist/{0~5835.js → 0~loadModule.js} +27 -14
- package/dist/{0~6907.js → 0~magic-string.es.js} +2 -1
- package/dist/{0~2255.js → 0~plugin.js} +2 -4
- package/dist/{0~6588.js → 0~restart.js} +7 -11
- package/dist/{0~2173.js → 0~runTests.js} +27 -19
- package/dist/{487.js → 1255.js} +22 -15
- package/dist/{6151.js → 1949.js} +3027 -36
- package/dist/{6973.js → 255.js} +7 -8
- package/dist/{9131.js → 3145.js} +220 -486
- package/dist/{1157.js → 4411.js} +35 -35
- package/dist/{4484.js → 5040.js} +1 -2
- package/dist/{3160.js → 6830.js} +396 -93
- package/dist/7011.js +1 -1
- package/dist/{1294.js → 7552.js} +28 -22
- package/dist/{5734.js → 7704.js} +6 -5
- package/dist/browser-runtime/{2~907.js → 2~magic-string.es.js} +18 -11
- package/dist/browser-runtime/{389.js → 723.js} +3059 -80
- package/dist/browser-runtime/{389.js.LICENSE.txt → 723.js.LICENSE.txt} +0 -22
- package/dist/browser-runtime/index.js +1 -1
- package/dist/browser-runtime/rslib-runtime.js +11 -3
- package/dist/browser.js +9 -7
- package/dist/globalSetupWorker.js +4 -13
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -2
- package/dist/mockRuntimeCode.js +15 -9
- package/dist/rslib-runtime.js +5 -8
- package/dist/worker.js +23 -46
- package/package.json +12 -10
- package/dist/0~1240.js +0 -951
- package/dist/0~1981.js +0 -2
- package/dist/3160.js.LICENSE.txt +0 -21
- package/dist/4881.js +0 -2
- package/dist/6198.js +0 -2
- package/dist/721.js +0 -8
- /package/dist/{0~7583.js.LICENSE.txt → 0~esm.js.LICENSE.txt} +0 -0
- /package/dist/{0~3062.js → 0~utils.js} +0 -0
- /package/dist/{6151.js.LICENSE.txt → 1949.js.LICENSE.txt} +0 -0
- /package/dist/{4597.js → 1983.js} +0 -0
- /package/dist/{1294.js.LICENSE.txt → 7552.js.LICENSE.txt} +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
2
|
-
import "./
|
|
2
|
+
import "./723.js";
|
|
3
|
+
var magic_string_es_namespaceObject = {};
|
|
4
|
+
__webpack_require__.r(magic_string_es_namespaceObject);
|
|
5
|
+
__webpack_require__.d(magic_string_es_namespaceObject, {
|
|
6
|
+
Bundle: ()=>Bundle,
|
|
7
|
+
SourceMap: ()=>SourceMap,
|
|
8
|
+
default: ()=>MagicString
|
|
9
|
+
});
|
|
3
10
|
var Buffer = __webpack_require__("../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js")["Buffer"];
|
|
4
11
|
var comma = ",".charCodeAt(0);
|
|
5
12
|
var semicolon = ";".charCodeAt(0);
|
|
@@ -19,7 +26,7 @@ function encodeInteger(builder, num, relative) {
|
|
|
19
26
|
delta >>>= 5;
|
|
20
27
|
if (delta > 0) clamped |= 32;
|
|
21
28
|
builder.write(intToChar[clamped]);
|
|
22
|
-
}while (delta > 0)
|
|
29
|
+
}while (delta > 0)
|
|
23
30
|
return num;
|
|
24
31
|
}
|
|
25
32
|
var bufLength = 16384;
|
|
@@ -796,7 +803,7 @@ class MagicString {
|
|
|
796
803
|
if (chunk.outro.length) return chunk.outro[chunk.outro.length - 1];
|
|
797
804
|
if (chunk.content.length) return chunk.content[chunk.content.length - 1];
|
|
798
805
|
if (chunk.intro.length) return chunk.intro[chunk.intro.length - 1];
|
|
799
|
-
}while (chunk = chunk.previous)
|
|
806
|
+
}while (chunk = chunk.previous)
|
|
800
807
|
if (this.intro.length) return this.intro[this.intro.length - 1];
|
|
801
808
|
return '';
|
|
802
809
|
}
|
|
@@ -821,7 +828,7 @@ class MagicString {
|
|
|
821
828
|
if (-1 !== lineIndex) return chunk.intro.substr(lineIndex + 1) + lineStr;
|
|
822
829
|
lineStr = chunk.intro + lineStr;
|
|
823
830
|
}
|
|
824
|
-
}while (chunk = chunk.previous)
|
|
831
|
+
}while (chunk = chunk.previous)
|
|
825
832
|
lineIndex = this.intro.lastIndexOf(magic_string_es_n);
|
|
826
833
|
if (-1 !== lineIndex) return this.intro.substr(lineIndex + 1) + lineStr;
|
|
827
834
|
return this.intro + lineStr;
|
|
@@ -897,14 +904,14 @@ class MagicString {
|
|
|
897
904
|
isEmpty() {
|
|
898
905
|
let chunk = this.firstChunk;
|
|
899
906
|
do if (chunk.intro.length && chunk.intro.trim() || chunk.content.length && chunk.content.trim() || chunk.outro.length && chunk.outro.trim()) return false;
|
|
900
|
-
while (chunk = chunk.next)
|
|
907
|
+
while (chunk = chunk.next)
|
|
901
908
|
return true;
|
|
902
909
|
}
|
|
903
910
|
length() {
|
|
904
911
|
let chunk = this.firstChunk;
|
|
905
912
|
let length = 0;
|
|
906
913
|
do length += chunk.intro.length + chunk.content.length + chunk.outro.length;
|
|
907
|
-
while (chunk = chunk.next)
|
|
914
|
+
while (chunk = chunk.next)
|
|
908
915
|
return length;
|
|
909
916
|
}
|
|
910
917
|
trimLines() {
|
|
@@ -929,7 +936,7 @@ class MagicString {
|
|
|
929
936
|
}
|
|
930
937
|
if (aborted) return true;
|
|
931
938
|
chunk = chunk.previous;
|
|
932
|
-
}while (chunk)
|
|
939
|
+
}while (chunk)
|
|
933
940
|
return false;
|
|
934
941
|
}
|
|
935
942
|
trimEnd(charType) {
|
|
@@ -952,7 +959,7 @@ class MagicString {
|
|
|
952
959
|
}
|
|
953
960
|
if (aborted) return true;
|
|
954
961
|
chunk = chunk.next;
|
|
955
|
-
}while (chunk)
|
|
962
|
+
}while (chunk)
|
|
956
963
|
return false;
|
|
957
964
|
}
|
|
958
965
|
trimStart(charType) {
|
|
@@ -1188,7 +1195,7 @@ class Bundle {
|
|
|
1188
1195
|
do {
|
|
1189
1196
|
source = this.sources[i++];
|
|
1190
1197
|
if (!source) break;
|
|
1191
|
-
}while (!source.content.trimStartAborted(charType))
|
|
1198
|
+
}while (!source.content.trimStartAborted(charType))
|
|
1192
1199
|
}
|
|
1193
1200
|
return this;
|
|
1194
1201
|
}
|
|
@@ -1202,8 +1209,8 @@ class Bundle {
|
|
|
1202
1209
|
this.intro = this.intro.replace(rx, '');
|
|
1203
1210
|
break;
|
|
1204
1211
|
}
|
|
1205
|
-
}while (!source.content.trimEndAborted(charType))
|
|
1212
|
+
}while (!source.content.trimEndAborted(charType))
|
|
1206
1213
|
return this;
|
|
1207
1214
|
}
|
|
1208
1215
|
}
|
|
1209
|
-
export {
|
|
1216
|
+
export { magic_string_es_namespaceObject };
|