mol_plot_all 1.2.539 → 1.2.541
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/node.deps.json +1 -1
- package/node.js +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.mjs.map +1 -1
- package/node.test.js +5 -5
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +1 -1
- package/web.js.map +1 -1
- package/web.mjs +1 -1
- package/web.mjs.map +1 -1
- package/web.test.js +1 -1
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1755,7 +1755,7 @@ var $;
|
|
|
1755
1755
|
}
|
|
1756
1756
|
if (str.length === pos && stack.length > 0) {
|
|
1757
1757
|
const sp = span.span(row, pos - line_start + 1, 1);
|
|
1758
|
-
this.$mol_fail(new this.$mol_error_syntax(`
|
|
1758
|
+
this.$mol_fail(new this.$mol_error_syntax(`Unexpected EOF, LF required`, str.substring(line_start, str.length), sp));
|
|
1759
1759
|
}
|
|
1760
1760
|
stack.push(parent);
|
|
1761
1761
|
pos++;
|
|
@@ -2857,7 +2857,7 @@ var $;
|
|
|
2857
2857
|
"use strict";
|
|
2858
2858
|
var $;
|
|
2859
2859
|
(function ($) {
|
|
2860
|
-
$mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n justify-content: center;\n}\n\n@keyframes
|
|
2860
|
+
$mol_style_attach("mol/view/view/view.css", "[mol_view] {\n\ttransition-property: height, width, min-height, min-width, max-width, max-height, transform;\n\ttransition-duration: .2s;\n\ttransition-timing-function: ease-out;\n\t-webkit-appearance: none;\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-shrink: 0;\n\tcontain: style;\n\tscrollbar-color: var(--mol_theme_line) transparent;\n\tscrollbar-width: thin;\n}\t\n\n[mol_view]::selection {\n\tbackground: var(--mol_theme_line);\n}\t\n\n[mol_view]::-webkit-scrollbar {\n\twidth: .25rem;\n\theight: .25rem;\n}\n\n[mol_view]::-webkit-scrollbar-corner {\n\tbackground-color: var(--mol_theme_line);\n}\n\n[mol_view]::-webkit-scrollbar-track {\n\tbackground-color: transparent;\n}\n\n[mol_view]::-webkit-scrollbar-thumb {\n\tbackground-color: var(--mol_theme_line);\n\tborder-radius: var(--mol_gap_round);\n}\n\n[mol_view] > * {\n\tword-break: inherit;\n}\n\n[mol_view_root] {\n\tmargin: 0;\n\tpadding: 0;\n\twidth: 100%;\n\theight: 100%;\n\tbox-sizing: border-box;\n\tfont-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n\tfont-size: 1rem;\n\tline-height: 1.5rem;\n\tbackground: var(--mol_theme_back);\n\tcolor: var(--mol_theme_text);\n\tcontain: unset; /** Fixes bg ignoring when applied to body on Chrome */\n\ttab-size: 4;\n}\n\n[mol_view][mol_view_error]:not([mol_view_error=\"Promise\"]) {\n\tbackground-image: repeating-linear-gradient(\n\t\t-45deg,\n\t\t#f92323,\n\t\t#f92323 .5rem,\n\t\t#ff3d3d .5rem,\n\t\t#ff3d3d 1.5rem\n\t);\n\tcolor: black;\n\talign-items: center;\n justify-content: center;\n}\n\n@keyframes mol_view_wait {\n\tfrom {\n\t\topacity: .75;\n\t}\n\t80% {\n\t\topacity: .25;\n\t}\n\tto {\n\t\topacity: .75;\n\t}\n}\n\n:where([mol_view][mol_view_error=\"Promise\"]) {\n\tbackground: var(--mol_theme_card);\n}\n\n[mol_view][mol_view_error=\"Promise\"] {\n\tbackground-size: 200vmax 200vmax;\n\tanimation: mol_view_wait 1s steps( 10, end ) infinite;\n}\n");
|
|
2861
2861
|
})($ || ($ = {}));
|
|
2862
2862
|
//mol/view/view/-css/view.css.ts
|
|
2863
2863
|
;
|
|
@@ -8445,11 +8445,11 @@ var $;
|
|
|
8445
8445
|
$.$mol_tree2_from_string(tree, 'test');
|
|
8446
8446
|
}, 'Wrong nodes separator\ntest#1:4/2\n !!\nfoo bar');
|
|
8447
8447
|
},
|
|
8448
|
-
'
|
|
8448
|
+
'Unexpected EOF, LF required'($) {
|
|
8449
8449
|
const tree = ` foo`;
|
|
8450
8450
|
$mol_assert_fail(() => {
|
|
8451
8451
|
$.$mol_tree2_from_string(tree, 'test');
|
|
8452
|
-
}, '
|
|
8452
|
+
}, 'Unexpected EOF, LF required\ntest#1:5/1\n !\n foo');
|
|
8453
8453
|
},
|
|
8454
8454
|
'Errors skip and collect'($) {
|
|
8455
8455
|
const tree = `foo bar`;
|
|
@@ -8463,7 +8463,7 @@ var $;
|
|
|
8463
8463
|
const res = $$.$mol_tree2_from_string(tree, 'test');
|
|
8464
8464
|
$mol_assert_like(errors, [
|
|
8465
8465
|
'Wrong nodes separator\ntest#1:4/2\n !!\nfoo bar',
|
|
8466
|
-
'
|
|
8466
|
+
'Unexpected EOF, LF required\ntest#1:9/1\n !\nfoo bar',
|
|
8467
8467
|
]);
|
|
8468
8468
|
$mol_assert_equal(res.toString(), 'foo bar\n');
|
|
8469
8469
|
},
|