strc 2.0.0 → 2.0.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/dist/jssc.cjs +1615 -0
- package/dist/jssc.js +1621 -0
- package/dist/jssc.mjs +1609 -0
- package/index.js +69 -72
- package/index.min.js +10 -8
- package/package.json +82 -17
- package/src/index.js +1579 -0
- package/test/index.js +11 -11
- /package/{index.d.ts → src/index.d.ts} +0 -0
package/test/index.js
CHANGED
|
@@ -27,18 +27,18 @@ const encodings = [
|
|
|
27
27
|
'14: JSSCAR',
|
|
28
28
|
];
|
|
29
29
|
const modes = [
|
|
30
|
-
'00: No
|
|
31
|
-
'01:
|
|
32
|
-
'02:
|
|
33
|
-
'03:
|
|
34
|
-
'04:
|
|
35
|
-
'05: Character
|
|
36
|
-
'06:
|
|
37
|
-
'07: Frequency
|
|
30
|
+
'00: No Compression',
|
|
31
|
+
'01: Two-Digit CharCode Concatenation',
|
|
32
|
+
'02: Two-Byte CharCode Concatenation',
|
|
33
|
+
'03: Decimal Integer Packing',
|
|
34
|
+
'04: Alphabet Encoding',
|
|
35
|
+
'05: Character Encoding',
|
|
36
|
+
'06: Inline Integer Encoding',
|
|
37
|
+
'07: Frequency Map',
|
|
38
38
|
'08: URL',
|
|
39
39
|
'09: Segmentation',
|
|
40
|
-
'10:
|
|
41
|
-
'
|
|
40
|
+
'10: String Repetition',
|
|
41
|
+
'31: RESERVED',
|
|
42
42
|
'12: RESERVED',
|
|
43
43
|
'13: RESERVED',
|
|
44
44
|
'14: RESERVED',
|
|
@@ -58,7 +58,7 @@ const modes = [
|
|
|
58
58
|
'28: RESERVED',
|
|
59
59
|
'29: RESERVED',
|
|
60
60
|
'30: RESERVED',
|
|
61
|
-
'
|
|
61
|
+
'11: Recursive compression',
|
|
62
62
|
];
|
|
63
63
|
|
|
64
64
|
async function test(text, name) {
|
|
File without changes
|