mol_tree2 1.0.1286 → 1.0.1288

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.test.js CHANGED
@@ -1592,13 +1592,7 @@ var $node = new Proxy({ require }, {
1592
1592
  target.require.resolve(name);
1593
1593
  }
1594
1594
  catch {
1595
- try {
1596
- $$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
1597
- }
1598
- catch (e) {
1599
- if ($$.$mol_promise_like(e))
1600
- $$.$mol_fail_hidden(e);
1601
- }
1595
+ $$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
1602
1596
  try {
1603
1597
  $$.$mol_exec('.', 'npm', 'install', '--omit=dev', '@types/' + name);
1604
1598
  }
@@ -1627,6 +1621,20 @@ var $;
1627
1621
  $.$mol_dom_context = new $node.jsdom.JSDOM('', { url: 'https://localhost/' }).window;
1628
1622
  })($ || ($ = {}));
1629
1623
 
1624
+ ;
1625
+ "use strict";
1626
+ var $;
1627
+ (function ($_1) {
1628
+ $mol_test({
1629
+ 'FQN of anon function'($) {
1630
+ const $$ = Object.assign($, { $mol_func_name_test: (() => () => { })() });
1631
+ $mol_assert_equal($$.$mol_func_name_test.name, '');
1632
+ $mol_assert_equal($$.$mol_func_name($$.$mol_func_name_test), '$mol_func_name_test');
1633
+ $mol_assert_equal($$.$mol_func_name_test.name, '$mol_func_name_test');
1634
+ },
1635
+ });
1636
+ })($ || ($ = {}));
1637
+
1630
1638
  ;
1631
1639
  "use strict";
1632
1640
  var $;
@@ -2926,20 +2934,6 @@ var $;
2926
2934
  });
2927
2935
  })($ || ($ = {}));
2928
2936
 
2929
- ;
2930
- "use strict";
2931
- var $;
2932
- (function ($_1) {
2933
- $mol_test({
2934
- 'FQN of anon function'($) {
2935
- const $$ = Object.assign($, { $mol_func_name_test: (() => () => { })() });
2936
- $mol_assert_equal($$.$mol_func_name_test.name, '');
2937
- $mol_assert_equal($$.$mol_func_name($$.$mol_func_name_test), '$mol_func_name_test');
2938
- $mol_assert_equal($$.$mol_func_name_test.name, '$mol_func_name_test');
2939
- },
2940
- });
2941
- })($ || ($ = {}));
2942
-
2943
2937
  ;
2944
2938
  "use strict";
2945
2939
  var $;