gritty 10.0.1 → 10.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/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2026.02.12, v10.0.2
2
+
3
+ fix:
4
+ - 5f111bf gritty: client: export default
5
+
1
6
  2026.02.12, v10.0.1
2
7
 
3
8
  feature:
package/dist/gritty.js CHANGED
@@ -529,21 +529,14 @@ function check(fn) {
529
529
  var __webpack_exports__ = {};
530
530
  // This entry needs to be wrapped in an IIFE because it declares 'gritty' on top-level, which conflicts with the current library output.
531
531
  (() => {
532
- // ESM COMPAT FLAG
533
- __webpack_require__.r(__webpack_exports__);
534
532
 
535
533
  // EXPORTS
536
534
  __webpack_require__.d(__webpack_exports__, {
537
- _defaultFontFamily: () => (/* binding */ _defaultFontFamily),
538
- _onConnect: () => (/* binding */ _onConnect),
539
- _onData: () => (/* binding */ _onData),
540
- _onDisconnect: () => (/* binding */ _onDisconnect),
541
- _onTermData: () => (/* binding */ _onTermData),
542
- _onTermResize: () => (/* binding */ _onTermResize),
543
- _onWindowResize: () => (/* binding */ _onWindowResize),
544
535
  "default": () => (/* binding */ gritty)
545
536
  });
546
537
 
538
+ // UNUSED EXPORTS: _defaultFontFamily, _onConnect, _onData, _onDisconnect, _onTermData, _onTermResize, _onWindowResize
539
+
547
540
  // NAMESPACE OBJECT: ./node_modules/socket.io-parser/build/esm/index.js
548
541
  var socket_io_parser_build_esm_namespaceObject = {};
549
542
  __webpack_require__.r(socket_io_parser_build_esm_namespaceObject);
@@ -555,13 +548,6 @@ __webpack_require__.d(socket_io_parser_build_esm_namespaceObject, {
555
548
  protocol: () => (build_esm_protocol)
556
549
  });
557
550
 
558
- // NAMESPACE OBJECT: ./node_modules/@xterm/xterm/lib/xterm.mjs
559
- var lib_xterm_namespaceObject = {};
560
- __webpack_require__.r(lib_xterm_namespaceObject);
561
- __webpack_require__.d(lib_xterm_namespaceObject, {
562
- Terminal: () => (Dl)
563
- });
564
-
565
551
  // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
566
552
  var injectStylesIntoStyleTag = __webpack_require__(72);
567
553
  var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
@@ -5091,7 +5077,7 @@ const onDisconnect = wraptile(_onDisconnect);
5091
5077
  const onConnect = wraptile(_onConnect);
5092
5078
  /* harmony default export */ const gritty = (gritty_gritty);
5093
5079
  const defaultFontFamily = 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace';
5094
- const _defaultFontFamily = defaultFontFamily;
5080
+ const _defaultFontFamily = (/* unused pure expression or super */ null && (defaultFontFamily));
5095
5081
  function gritty_gritty(element, options = {}) {
5096
5082
  const el = get_el(element);
5097
5083
  const {
@@ -5102,7 +5088,7 @@ function gritty_gritty(element, options = {}) {
5102
5088
  autoRestart,
5103
5089
  cwd,
5104
5090
  connect,
5105
- Terminal = lib_xterm_namespaceObject,
5091
+ Terminal = Dl,
5106
5092
  WebglAddon = xr
5107
5093
  } = options;
5108
5094
  const env = get_env(options.env || {});
@@ -5228,7 +5214,7 @@ function doConnect(prefix, socketPath, overrides = {}) {
5228
5214
  }
5229
5215
  })();
5230
5216
 
5231
- gritty = __webpack_exports__;
5217
+ gritty = __webpack_exports__["default"];
5232
5218
  /******/ })()
5233
5219
  ;
5234
5220
  //# sourceMappingURL=gritty.js.map