@jsenv/core 27.8.1 → 28.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.
Files changed (38) hide show
  1. package/dist/js/autoreload.js +2 -2
  2. package/dist/js/html_supervisor_installer.js +3 -3
  3. package/dist/js/{wrapper.mjs → ws.js} +0 -0
  4. package/dist/main.js +540 -481
  5. package/package.json +2 -2
  6. package/readme.md +1 -1
  7. package/src/build/build.js +8 -8
  8. package/src/build/{resync_ressource_hints.js → resync_resource_hints.js} +10 -12
  9. package/src/build/start_build_server.js +6 -9
  10. package/src/dev/start_dev_server.js +2 -2
  11. package/src/execute/execute.js +14 -52
  12. package/src/execute/runtimes/browsers/from_playwright.js +19 -8
  13. package/src/main.js +3 -0
  14. package/src/omega/kitchen.js +21 -5
  15. package/src/omega/omega_server.js +2 -2
  16. package/src/omega/server/file_service.js +3 -3
  17. package/src/omega/url_graph/url_graph_load.js +4 -4
  18. package/src/omega/url_graph.js +3 -3
  19. package/src/ping_server.js +30 -0
  20. package/src/plugins/autoreload/client/reload.js +2 -2
  21. package/src/plugins/autoreload/jsenv_plugin_autoreload_client.js +1 -1
  22. package/src/plugins/autoreload/jsenv_plugin_autoreload_server.js +3 -3
  23. package/src/plugins/autoreload/jsenv_plugin_hmr.js +1 -1
  24. package/src/plugins/explorer/jsenv_plugin_explorer.js +1 -1
  25. package/src/plugins/html_supervisor/client/error_formatter.js +3 -3
  26. package/src/plugins/html_supervisor/jsenv_plugin_html_supervisor.js +5 -5
  27. package/src/plugins/import_meta_hot/html_hot_dependencies.js +4 -4
  28. package/src/plugins/import_meta_scenarios/jsenv_plugin_import_meta_scenarios.js +1 -9
  29. package/src/plugins/node_esm_resolution/jsenv_plugin_node_esm_resolution.js +2 -13
  30. package/src/plugins/plugin_controller.js +2 -2
  31. package/src/plugins/toolbar/jsenv_plugin_toolbar.js +1 -1
  32. package/src/plugins/transpilation/as_js_classic/jsenv_plugin_as_js_classic.js +2 -2
  33. package/src/plugins/transpilation/as_js_classic/jsenv_plugin_as_js_classic_html.js +3 -3
  34. package/src/plugins/transpilation/babel/jsenv_plugin_babel.js +13 -0
  35. package/src/plugins/url_analysis/html/html_urls.js +2 -2
  36. package/src/plugins/url_analysis/jsenv_plugin_url_analysis.js +1 -1
  37. package/src/test/execute_plan.js +15 -68
  38. package/src/test/execute_test_plan.js +4 -26
@@ -96,8 +96,8 @@ const getDOMNodesUsingUrl = urlToReload => {
96
96
  });
97
97
  }
98
98
  }
99
- }); // There is no real need to update a.href because the ressource will be fetched when clicked.
100
- // But in a scenario where the ressource was already visited and is in browser cache, adding
99
+ }); // There is no real need to update a.href because the resource will be fetched when clicked.
100
+ // But in a scenario where the resource was already visited and is in browser cache, adding
101
101
  // the dynamic query param ensure the cache is invalidated
102
102
 
103
103
  Array.from(document.querySelectorAll("a")).forEach(a => {
@@ -191,13 +191,13 @@ const formatError = (error, {
191
191
  }
192
192
 
193
193
  if (urlSite.line !== undefined) {
194
- let ressourceToFetch = `/__get_code_frame__/${formatUrlWithLineAndColumn(urlSite)}`;
194
+ let resourceToFetch = `/__get_code_frame__/${formatUrlWithLineAndColumn(urlSite)}`;
195
195
 
196
196
  if (!Error.captureStackTrace) {
197
- ressourceToFetch += `?remap`;
197
+ resourceToFetch += `?remap`;
198
198
  }
199
199
 
200
- const response = await window.fetch(ressourceToFetch);
200
+ const response = await window.fetch(resourceToFetch);
201
201
  const codeFrame = await response.text();
202
202
  return {
203
203
  codeFrame: formatErrorText({
File without changes