notebook 7.4.2__py3-none-any.whl → 7.5.0a0__py3-none-any.whl

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.

Potentially problematic release.


This version of notebook might be problematic. Click here for more details.

Files changed (127) hide show
  1. notebook/_version.py +1 -1
  2. notebook/app.py +1 -1
  3. notebook/static/131.2d7644b406b0d9c7c44a.js +1421 -0
  4. notebook/static/131.2d7644b406b0d9c7c44a.js.map +1 -0
  5. notebook/static/{132.db5d3c22f078a7818fd1.js → 132.691a95a70c9fe7c1cc8f.js} +3 -3
  6. notebook/static/{132.db5d3c22f078a7818fd1.js.map → 132.691a95a70c9fe7c1cc8f.js.map} +1 -1
  7. notebook/static/{1650.3a6b263c6a1d9657528d.js → 1650.b2bf74f5a7cda92e3c47.js} +4 -4
  8. notebook/static/{1650.3a6b263c6a1d9657528d.js.map → 1650.b2bf74f5a7cda92e3c47.js.map} +1 -1
  9. notebook/static/{1684.fd08e2bcbbfdab7f4613.js → 1684.84aef14d83b41275e33f.js} +5 -5
  10. notebook/static/{1684.fd08e2bcbbfdab7f4613.js.map → 1684.84aef14d83b41275e33f.js.map} +1 -1
  11. notebook/static/{1715.fd1bcb796c0a9a9fa28d.js → 1715.31ca8e6a27554059ae6d.js} +4 -4
  12. notebook/static/{1715.fd1bcb796c0a9a9fa28d.js.map → 1715.31ca8e6a27554059ae6d.js.map} +1 -1
  13. notebook/static/{2228.5897a4ab53c9c224da5d.js → 2228.e21c6943709bcbca9f11.js} +2 -2
  14. notebook/static/{2228.5897a4ab53c9c224da5d.js.map → 2228.e21c6943709bcbca9f11.js.map} +1 -1
  15. notebook/static/{7328.eee17040775379f2ebf7.js → 2634.57bfa6d5c5ae1e42dd9f.js} +2 -2
  16. notebook/static/{7328.eee17040775379f2ebf7.js.map → 2634.57bfa6d5c5ae1e42dd9f.js.map} +1 -1
  17. notebook/static/{2913.bb0dfcafeee2f97377fc.js → 2913.274b19d8f201991f4a69.js} +3 -3
  18. notebook/static/{2913.bb0dfcafeee2f97377fc.js.map → 2913.274b19d8f201991f4a69.js.map} +1 -1
  19. notebook/static/{3146.255a8679aedb1427878a.js → 3146.696d2e174781e130c374.js} +3 -3
  20. notebook/static/{3146.255a8679aedb1427878a.js.map → 3146.696d2e174781e130c374.js.map} +1 -1
  21. notebook/static/{3197.679087d3d6e90032272a.js → 3197.8a84a7c958622566cb33.js} +37 -36
  22. notebook/static/3197.8a84a7c958622566cb33.js.map +1 -0
  23. notebook/static/{3619.2e4bf80097f9890aef49.js → 3619.94f58ca9f340882ec9c0.js} +2 -2
  24. notebook/static/{3619.2e4bf80097f9890aef49.js.map → 3619.94f58ca9f340882ec9c0.js.map} +1 -1
  25. notebook/static/{3768.ed31c6101d464610b011.js → 3768.3e9bd8411c9d7a4f6852.js} +19 -19
  26. notebook/static/{7302.c66e4aebda9a8718f63a.js.map → 3768.3e9bd8411c9d7a4f6852.js.map} +1 -1
  27. notebook/static/{4324.fa653693694bd924557b.js → 4324.45d34a932e3f27ce8b2a.js} +308 -308
  28. notebook/static/4324.45d34a932e3f27ce8b2a.js.map +1 -0
  29. notebook/static/{4382.55f6fbec80dc2cbc38c6.js → 4382.dc6ea85d32495ccfe078.js} +3 -3
  30. notebook/static/{4382.55f6fbec80dc2cbc38c6.js.map → 4382.dc6ea85d32495ccfe078.js.map} +1 -1
  31. notebook/static/{4406.c435ee1d9e07c37b46e4.js → 4406.ef5d96031cc78e1fd755.js} +4 -4
  32. notebook/static/{4406.c435ee1d9e07c37b46e4.js.map → 4406.ef5d96031cc78e1fd755.js.map} +1 -1
  33. notebook/static/{4645.621dcf760b2636ab6a32.js → 4645.a07af6b2ee3dae0c8672.js} +5 -5
  34. notebook/static/{4645.621dcf760b2636ab6a32.js.map → 4645.a07af6b2ee3dae0c8672.js.map} +1 -1
  35. notebook/static/{4837.d93fa1362a1755054b7e.js → 4837.22eaa3eee463019de513.js} +3 -3
  36. notebook/static/{4837.d93fa1362a1755054b7e.js.map → 4837.22eaa3eee463019de513.js.map} +1 -1
  37. notebook/static/{4926.07f857be253dfe2d9b64.js → 4926.21f2bcadbb0c72c87992.js} +4 -4
  38. notebook/static/{4926.07f857be253dfe2d9b64.js.map → 4926.21f2bcadbb0c72c87992.js.map} +1 -1
  39. notebook/static/{5135.68030d482ad6e7d2705f.js → 5135.b04715b9a20abf2d857f.js} +11 -11
  40. notebook/static/{5135.68030d482ad6e7d2705f.js.map → 5135.b04715b9a20abf2d857f.js.map} +1 -1
  41. notebook/static/{5573.110f5ccc7780d0607efe.js → 5573.062d8043aaaea888131c.js} +17 -17
  42. notebook/static/{5573.110f5ccc7780d0607efe.js.map → 5573.062d8043aaaea888131c.js.map} +1 -1
  43. notebook/static/{5601.0846bb0c153a39d95381.js → 5601.df72883a74cbec5a4187.js} +5 -5
  44. notebook/static/{5601.0846bb0c153a39d95381.js.map → 5601.df72883a74cbec5a4187.js.map} +1 -1
  45. notebook/static/{9442.e301e4179b7c69c125d7.js → 6080.56aefff013f4272b815c.js} +2 -2
  46. notebook/static/{9442.e301e4179b7c69c125d7.js.map → 6080.56aefff013f4272b815c.js.map} +1 -1
  47. notebook/static/{131.729c28b8323daf822cbe.js → 6236.ea8288f99f42bcff0039.js} +1050 -1583
  48. notebook/static/6236.ea8288f99f42bcff0039.js.map +1 -0
  49. notebook/static/{6345.4acc733484bbafac321b.js → 6345.dcba68ca03484d6fe94c.js} +5 -5
  50. notebook/static/{6345.4acc733484bbafac321b.js.map → 6345.dcba68ca03484d6fe94c.js.map} +1 -1
  51. notebook/static/{7302.c66e4aebda9a8718f63a.js → 7302.71fdd01bf0458ccfabb0.js} +19 -19
  52. notebook/static/{3768.ed31c6101d464610b011.js.map → 7302.71fdd01bf0458ccfabb0.js.map} +1 -1
  53. notebook/static/{7906.238c7960444b3299bc27.js → 7906.4ca9aa5889ff47b2d092.js} +3 -3
  54. notebook/static/{7906.238c7960444b3299bc27.js.map → 7906.4ca9aa5889ff47b2d092.js.map} +1 -1
  55. notebook/static/{7995.228c3c90da185c130d89.js → 7995.45be6443b704da1daafc.js} +3 -3
  56. notebook/static/{7995.228c3c90da185c130d89.js.map → 7995.45be6443b704da1daafc.js.map} +1 -1
  57. notebook/static/{8579.175d3ae6dffdbf0145eb.js → 8579.943b51e580fe5ba6ec85.js} +13 -13
  58. notebook/static/{8579.175d3ae6dffdbf0145eb.js.map → 8579.943b51e580fe5ba6ec85.js.map} +1 -1
  59. notebook/static/{8781.8d9955710c04c689f0cd.js → 8781.30d203631c8d44cac089.js} +60 -60
  60. notebook/static/{8781.8d9955710c04c689f0cd.js.map → 8781.30d203631c8d44cac089.js.map} +1 -1
  61. notebook/static/{8845.ac1c5acb78cea4acee08.js → 8845.639ebc34b4688cf4bf1c.js} +7 -7
  62. notebook/static/{8845.ac1c5acb78cea4acee08.js.map → 8845.639ebc34b4688cf4bf1c.js.map} +1 -1
  63. notebook/static/{8875.16a8a1fab0136d70a5f8.js → 8875.d30b4bdb849b1c6e8e48.js} +4 -4
  64. notebook/static/{8875.16a8a1fab0136d70a5f8.js.map → 8875.d30b4bdb849b1c6e8e48.js.map} +1 -1
  65. notebook/static/{9068.7c89844254ee24f35eee.js → 9068.035c74d3ac5947308e33.js} +3 -3
  66. notebook/static/{9068.7c89844254ee24f35eee.js.map → 9068.035c74d3ac5947308e33.js.map} +1 -1
  67. notebook/static/{9380.0b5d548d01ddba3e4378.js → 9380.50c0ce4765c95fdad134.js} +5 -5
  68. notebook/static/{9380.0b5d548d01ddba3e4378.js.map → 9380.50c0ce4765c95fdad134.js.map} +1 -1
  69. notebook/static/main.1d8650f7e0beb0a70c21.js +1180 -0
  70. notebook/static/main.1d8650f7e0beb0a70c21.js.map +1 -0
  71. notebook/static/{notebook_core.7213b2fe0eabee62279d.js → notebook_core.3a39fd35e3d3188d26bc.js} +875 -6570
  72. notebook/static/{notebook_core.7213b2fe0eabee62279d.js.map → notebook_core.3a39fd35e3d3188d26bc.js.map} +1 -1
  73. notebook/static/third-party-licenses.json +104 -104
  74. notebook/templates/consoles.html +1 -1
  75. notebook/templates/edit.html +1 -1
  76. notebook/templates/error.html +1 -1
  77. notebook/templates/notebooks.html +1 -1
  78. notebook/templates/terminals.html +1 -1
  79. notebook/templates/tree.html +1 -1
  80. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
  81. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
  82. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
  83. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
  84. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
  85. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
  86. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
  87. notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.062ba75f2f2f3a8e26d3.js +1 -0
  88. notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.327ec9d7a9413375ec45.js → notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.86d80b23f10dccd9fb98.js +1 -1
  89. notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js → notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.dab87fbc078083780f2b.js +1 -1
  90. notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/981.d00f62cb382e25262fa3.js +1 -0
  91. notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.2ef44fd0409252b4639d.js +1 -0
  92. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
  93. {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/METADATA +3 -3
  94. {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/RECORD +117 -117
  95. notebook/static/131.729c28b8323daf822cbe.js.map +0 -1
  96. notebook/static/3197.679087d3d6e90032272a.js.map +0 -1
  97. notebook/static/4324.fa653693694bd924557b.js.map +0 -1
  98. notebook/static/5448.a9016133a2b9389ac102.js +0 -951
  99. notebook/static/5448.a9016133a2b9389ac102.js.map +0 -1
  100. notebook/static/main.4c52c91f103071190cb1.js +0 -1180
  101. notebook/static/main.4c52c91f103071190cb1.js.map +0 -1
  102. notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/199.f16f9d1ce907d41fa0e1.js +0 -1
  103. notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.4abd86605f9970bf2af0.js +0 -1
  104. notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.a7f6d6f20e99b7f1c604.js +0 -1
  105. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
  106. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/applications/jupyter-notebook.desktop +0 -0
  107. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
  108. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
  109. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
  110. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
  111. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
  112. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
  113. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
  114. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
  115. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
  116. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
  117. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
  118. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
  119. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
  120. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
  121. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
  122. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
  123. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
  124. {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
  125. {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/WHEEL +0 -0
  126. {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/entry_points.txt +0 -0
  127. {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/licenses/LICENSE +0 -0
@@ -1985,7 +1985,262 @@ module.exports = mergeWith;
1985
1985
 
1986
1986
  /***/ }),
1987
1987
 
1988
- /***/ 69406:
1988
+ /***/ 86800:
1989
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1990
+
1991
+ "use strict";
1992
+
1993
+ // EXPORTS
1994
+ __webpack_require__.d(__webpack_exports__, {
1995
+ ConsoleLogger: () => (/* reexport */ ConsoleLogger),
1996
+ listen: () => (/* reexport */ listen)
1997
+ });
1998
+
1999
+ // UNUSED EXPORTS: AbstractMessageSignature, Disposable, DisposableCollection, ErrorCodes, Message, NotificationType, NotificationType0, NotificationType1, NotificationType2, NotificationType3, NotificationType4, NotificationType5, NotificationType6, NotificationType7, NotificationType8, NotificationType9, ParameterStructures, RequestType, RequestType0, RequestType1, RequestType2, RequestType3, RequestType4, RequestType5, RequestType6, RequestType7, RequestType8, RequestType9, ResponseError, WebSocketMessageReader, WebSocketMessageWriter, __esModule, createWebSocketConnection, toSocket
2000
+
2001
+ // EXTERNAL MODULE: ../node_modules/vscode-ws-jsonrpc/node_modules/vscode-jsonrpc/lib/browser/main.js
2002
+ var main = __webpack_require__(59536);
2003
+ // EXTERNAL MODULE: ../node_modules/vscode-ws-jsonrpc/node_modules/vscode-jsonrpc/lib/common/messages.js
2004
+ var messages = __webpack_require__(3219);
2005
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/disposable.js
2006
+ /* --------------------------------------------------------------------------------------------
2007
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2008
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2009
+ * ------------------------------------------------------------------------------------------ */
2010
+
2011
+ class DisposableCollection {
2012
+ constructor() {
2013
+ this.disposables = [];
2014
+ }
2015
+ dispose() {
2016
+ while (this.disposables.length !== 0) {
2017
+ this.disposables.pop().dispose();
2018
+ }
2019
+ }
2020
+ push(disposable) {
2021
+ const disposables = this.disposables;
2022
+ disposables.push(disposable);
2023
+ return {
2024
+ dispose() {
2025
+ const index = disposables.indexOf(disposable);
2026
+ if (index !== -1) {
2027
+ disposables.splice(index, 1);
2028
+ }
2029
+ }
2030
+ };
2031
+ }
2032
+ }
2033
+
2034
+ //# sourceMappingURL=disposable.js.map
2035
+ // EXTERNAL MODULE: ../node_modules/vscode-ws-jsonrpc/node_modules/vscode-jsonrpc/lib/common/messageReader.js
2036
+ var messageReader = __webpack_require__(66104);
2037
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/reader.js
2038
+ /* --------------------------------------------------------------------------------------------
2039
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2040
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2041
+ * ------------------------------------------------------------------------------------------ */
2042
+
2043
+ class WebSocketMessageReader extends messageReader.AbstractMessageReader {
2044
+ constructor(socket) {
2045
+ super();
2046
+ this.socket = socket;
2047
+ this.state = 'initial';
2048
+ this.events = [];
2049
+ this.socket.onMessage(message => this.readMessage(message));
2050
+ this.socket.onError(error => this.fireError(error));
2051
+ this.socket.onClose((code, reason) => {
2052
+ if (code !== 1000) {
2053
+ const error = {
2054
+ name: '' + code,
2055
+ message: `Error during socket reconnect: code = ${code}, reason = ${reason}`
2056
+ };
2057
+ this.fireError(error);
2058
+ }
2059
+ this.fireClose();
2060
+ });
2061
+ }
2062
+ listen(callback) {
2063
+ if (this.state === 'initial') {
2064
+ this.state = 'listening';
2065
+ this.callback = callback;
2066
+ while (this.events.length !== 0) {
2067
+ const event = this.events.pop();
2068
+ if (event.message) {
2069
+ this.readMessage(event.message);
2070
+ }
2071
+ else if (event.error) {
2072
+ this.fireError(event.error);
2073
+ }
2074
+ else {
2075
+ this.fireClose();
2076
+ }
2077
+ }
2078
+ }
2079
+ return {
2080
+ dispose: () => {
2081
+ if (this.callback === callback) {
2082
+ this.callback = undefined;
2083
+ }
2084
+ }
2085
+ };
2086
+ }
2087
+ readMessage(message) {
2088
+ if (this.state === 'initial') {
2089
+ this.events.splice(0, 0, { message });
2090
+ }
2091
+ else if (this.state === 'listening') {
2092
+ const data = JSON.parse(message);
2093
+ this.callback(data);
2094
+ }
2095
+ }
2096
+ fireError(error) {
2097
+ if (this.state === 'initial') {
2098
+ this.events.splice(0, 0, { error });
2099
+ }
2100
+ else if (this.state === 'listening') {
2101
+ super.fireError(error);
2102
+ }
2103
+ }
2104
+ fireClose() {
2105
+ if (this.state === 'initial') {
2106
+ this.events.splice(0, 0, {});
2107
+ }
2108
+ else if (this.state === 'listening') {
2109
+ super.fireClose();
2110
+ }
2111
+ this.state = 'closed';
2112
+ }
2113
+ }
2114
+ //# sourceMappingURL=reader.js.map
2115
+ // EXTERNAL MODULE: ../node_modules/vscode-ws-jsonrpc/node_modules/vscode-jsonrpc/lib/common/messageWriter.js
2116
+ var messageWriter = __webpack_require__(45053);
2117
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/writer.js
2118
+ /* --------------------------------------------------------------------------------------------
2119
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2120
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2121
+ * ------------------------------------------------------------------------------------------ */
2122
+
2123
+ class WebSocketMessageWriter extends messageWriter.AbstractMessageWriter {
2124
+ constructor(socket) {
2125
+ super();
2126
+ this.socket = socket;
2127
+ this.errorCount = 0;
2128
+ }
2129
+ end() {
2130
+ }
2131
+ async write(msg) {
2132
+ try {
2133
+ const content = JSON.stringify(msg);
2134
+ this.socket.send(content);
2135
+ }
2136
+ catch (e) {
2137
+ this.errorCount++;
2138
+ this.fireError(e, msg, this.errorCount);
2139
+ }
2140
+ }
2141
+ }
2142
+ //# sourceMappingURL=writer.js.map
2143
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/connection.js
2144
+ /* --------------------------------------------------------------------------------------------
2145
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2146
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2147
+ * ------------------------------------------------------------------------------------------ */
2148
+
2149
+
2150
+
2151
+ function createWebSocketConnection(socket, logger) {
2152
+ const messageReader = new WebSocketMessageReader(socket);
2153
+ const messageWriter = new WebSocketMessageWriter(socket);
2154
+ const connection = (0,main.createMessageConnection)(messageReader, messageWriter, logger);
2155
+ connection.onClose(() => connection.dispose());
2156
+ return connection;
2157
+ }
2158
+ //# sourceMappingURL=connection.js.map
2159
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/index.js
2160
+ /* --------------------------------------------------------------------------------------------
2161
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2162
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2163
+ * ------------------------------------------------------------------------------------------ */
2164
+
2165
+
2166
+
2167
+
2168
+ //# sourceMappingURL=index.js.map
2169
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/logger.js
2170
+ class ConsoleLogger {
2171
+ error(message) {
2172
+ console.error(message);
2173
+ }
2174
+ warn(message) {
2175
+ console.warn(message);
2176
+ }
2177
+ info(message) {
2178
+ console.info(message);
2179
+ }
2180
+ log(message) {
2181
+ console.log(message);
2182
+ }
2183
+ debug(message) {
2184
+ console.debug(message);
2185
+ }
2186
+ }
2187
+ //# sourceMappingURL=logger.js.map
2188
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/connection.js
2189
+ /* --------------------------------------------------------------------------------------------
2190
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2191
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2192
+ * ------------------------------------------------------------------------------------------ */
2193
+
2194
+ /* --------------------------------------------------------------------------------------------
2195
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2196
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2197
+ * ------------------------------------------------------------------------------------------ */
2198
+
2199
+ function listen(options) {
2200
+ const { webSocket, onConnection } = options;
2201
+ const logger = options.logger || new ConsoleLogger();
2202
+ webSocket.onopen = () => {
2203
+ const socket = toSocket(webSocket);
2204
+ const connection = createWebSocketConnection(socket, logger);
2205
+ onConnection(connection);
2206
+ };
2207
+ }
2208
+ function toSocket(webSocket) {
2209
+ return {
2210
+ send: content => webSocket.send(content),
2211
+ onMessage: cb => {
2212
+ webSocket.onmessage = event => cb(event.data);
2213
+ },
2214
+ onError: cb => {
2215
+ webSocket.onerror = event => {
2216
+ if ('message' in event) {
2217
+ cb(event.message);
2218
+ }
2219
+ };
2220
+ },
2221
+ onClose: cb => {
2222
+ webSocket.onclose = event => cb(event.code, event.reason);
2223
+ },
2224
+ dispose: () => webSocket.close()
2225
+ };
2226
+ }
2227
+ //# sourceMappingURL=connection.js.map
2228
+ ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/index.js
2229
+ /* --------------------------------------------------------------------------------------------
2230
+ * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
2231
+ * Licensed under the MIT License. See License.txt in the project root for license information.
2232
+ * ------------------------------------------------------------------------------------------ */
2233
+
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+ //# sourceMappingURL=index.js.map
2240
+
2241
+ /***/ }),
2242
+
2243
+ /***/ 59536:
1989
2244
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1990
2245
 
1991
2246
  "use strict";
@@ -2010,11 +2265,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
2010
2265
  };
2011
2266
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2012
2267
  exports.createMessageConnection = exports.BrowserMessageWriter = exports.BrowserMessageReader = void 0;
2013
- const ril_1 = __webpack_require__(36028);
2268
+ const ril_1 = __webpack_require__(17171);
2014
2269
  // Install the browser runtime abstract.
2015
2270
  ril_1.default.install();
2016
- const api_1 = __webpack_require__(95748);
2017
- __exportStar(__webpack_require__(95748), exports);
2271
+ const api_1 = __webpack_require__(21951);
2272
+ __exportStar(__webpack_require__(21951), exports);
2018
2273
  class BrowserMessageReader extends api_1.AbstractMessageReader {
2019
2274
  constructor(port) {
2020
2275
  super();
@@ -2069,7 +2324,7 @@ exports.createMessageConnection = createMessageConnection;
2069
2324
 
2070
2325
  /***/ }),
2071
2326
 
2072
- /***/ 36028:
2327
+ /***/ 17171:
2073
2328
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2074
2329
 
2075
2330
  "use strict";
@@ -2079,7 +2334,7 @@ exports.createMessageConnection = createMessageConnection;
2079
2334
  * Licensed under the MIT License. See License.txt in the project root for license information.
2080
2335
  * ------------------------------------------------------------------------------------------ */
2081
2336
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2082
- const api_1 = __webpack_require__(95748);
2337
+ const api_1 = __webpack_require__(21951);
2083
2338
  class MessageBuffer extends api_1.AbstractMessageBuffer {
2084
2339
  constructor(encoding = 'utf-8') {
2085
2340
  super(encoding);
@@ -2233,7 +2488,7 @@ exports["default"] = RIL;
2233
2488
 
2234
2489
  /***/ }),
2235
2490
 
2236
- /***/ 95748:
2491
+ /***/ 21951:
2237
2492
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2238
2493
 
2239
2494
  "use strict";
@@ -2246,7 +2501,7 @@ exports["default"] = RIL;
2246
2501
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2247
2502
  exports.ProgressType = exports.ProgressToken = exports.createMessageConnection = exports.NullLogger = exports.ConnectionOptions = exports.ConnectionStrategy = exports.AbstractMessageBuffer = exports.WriteableStreamMessageWriter = exports.AbstractMessageWriter = exports.MessageWriter = exports.ReadableStreamMessageReader = exports.AbstractMessageReader = exports.MessageReader = exports.SharedArrayReceiverStrategy = exports.SharedArraySenderStrategy = exports.CancellationToken = exports.CancellationTokenSource = exports.Emitter = exports.Event = exports.Disposable = exports.LRUCache = exports.Touch = exports.LinkedMap = exports.ParameterStructures = exports.NotificationType9 = exports.NotificationType8 = exports.NotificationType7 = exports.NotificationType6 = exports.NotificationType5 = exports.NotificationType4 = exports.NotificationType3 = exports.NotificationType2 = exports.NotificationType1 = exports.NotificationType0 = exports.NotificationType = exports.ErrorCodes = exports.ResponseError = exports.RequestType9 = exports.RequestType8 = exports.RequestType7 = exports.RequestType6 = exports.RequestType5 = exports.RequestType4 = exports.RequestType3 = exports.RequestType2 = exports.RequestType1 = exports.RequestType0 = exports.RequestType = exports.Message = exports.RAL = void 0;
2248
2503
  exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = void 0;
2249
- const messages_1 = __webpack_require__(75285);
2504
+ const messages_1 = __webpack_require__(3219);
2250
2505
  Object.defineProperty(exports, "Message", ({ enumerable: true, get: function () { return messages_1.Message; } }));
2251
2506
  Object.defineProperty(exports, "RequestType", ({ enumerable: true, get: function () { return messages_1.RequestType; } }));
2252
2507
  Object.defineProperty(exports, "RequestType0", ({ enumerable: true, get: function () { return messages_1.RequestType0; } }));
@@ -2273,32 +2528,32 @@ Object.defineProperty(exports, "NotificationType7", ({ enumerable: true, get: fu
2273
2528
  Object.defineProperty(exports, "NotificationType8", ({ enumerable: true, get: function () { return messages_1.NotificationType8; } }));
2274
2529
  Object.defineProperty(exports, "NotificationType9", ({ enumerable: true, get: function () { return messages_1.NotificationType9; } }));
2275
2530
  Object.defineProperty(exports, "ParameterStructures", ({ enumerable: true, get: function () { return messages_1.ParameterStructures; } }));
2276
- const linkedMap_1 = __webpack_require__(45164);
2531
+ const linkedMap_1 = __webpack_require__(89218);
2277
2532
  Object.defineProperty(exports, "LinkedMap", ({ enumerable: true, get: function () { return linkedMap_1.LinkedMap; } }));
2278
2533
  Object.defineProperty(exports, "LRUCache", ({ enumerable: true, get: function () { return linkedMap_1.LRUCache; } }));
2279
2534
  Object.defineProperty(exports, "Touch", ({ enumerable: true, get: function () { return linkedMap_1.Touch; } }));
2280
- const disposable_1 = __webpack_require__(68159);
2535
+ const disposable_1 = __webpack_require__(566);
2281
2536
  Object.defineProperty(exports, "Disposable", ({ enumerable: true, get: function () { return disposable_1.Disposable; } }));
2282
- const events_1 = __webpack_require__(345);
2537
+ const events_1 = __webpack_require__(16937);
2283
2538
  Object.defineProperty(exports, "Event", ({ enumerable: true, get: function () { return events_1.Event; } }));
2284
2539
  Object.defineProperty(exports, "Emitter", ({ enumerable: true, get: function () { return events_1.Emitter; } }));
2285
- const cancellation_1 = __webpack_require__(97770);
2540
+ const cancellation_1 = __webpack_require__(89696);
2286
2541
  Object.defineProperty(exports, "CancellationTokenSource", ({ enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } }));
2287
2542
  Object.defineProperty(exports, "CancellationToken", ({ enumerable: true, get: function () { return cancellation_1.CancellationToken; } }));
2288
- const sharedArrayCancellation_1 = __webpack_require__(50278);
2543
+ const sharedArrayCancellation_1 = __webpack_require__(89721);
2289
2544
  Object.defineProperty(exports, "SharedArraySenderStrategy", ({ enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } }));
2290
2545
  Object.defineProperty(exports, "SharedArrayReceiverStrategy", ({ enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } }));
2291
- const messageReader_1 = __webpack_require__(84806);
2546
+ const messageReader_1 = __webpack_require__(66104);
2292
2547
  Object.defineProperty(exports, "MessageReader", ({ enumerable: true, get: function () { return messageReader_1.MessageReader; } }));
2293
2548
  Object.defineProperty(exports, "AbstractMessageReader", ({ enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } }));
2294
2549
  Object.defineProperty(exports, "ReadableStreamMessageReader", ({ enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } }));
2295
- const messageWriter_1 = __webpack_require__(69248);
2550
+ const messageWriter_1 = __webpack_require__(45053);
2296
2551
  Object.defineProperty(exports, "MessageWriter", ({ enumerable: true, get: function () { return messageWriter_1.MessageWriter; } }));
2297
2552
  Object.defineProperty(exports, "AbstractMessageWriter", ({ enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } }));
2298
2553
  Object.defineProperty(exports, "WriteableStreamMessageWriter", ({ enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } }));
2299
- const messageBuffer_1 = __webpack_require__(15506);
2554
+ const messageBuffer_1 = __webpack_require__(58935);
2300
2555
  Object.defineProperty(exports, "AbstractMessageBuffer", ({ enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } }));
2301
- const connection_1 = __webpack_require__(6336);
2556
+ const connection_1 = __webpack_require__(31433);
2302
2557
  Object.defineProperty(exports, "ConnectionStrategy", ({ enumerable: true, get: function () { return connection_1.ConnectionStrategy; } }));
2303
2558
  Object.defineProperty(exports, "ConnectionOptions", ({ enumerable: true, get: function () { return connection_1.ConnectionOptions; } }));
2304
2559
  Object.defineProperty(exports, "NullLogger", ({ enumerable: true, get: function () { return connection_1.NullLogger; } }));
@@ -2316,13 +2571,13 @@ Object.defineProperty(exports, "CancellationReceiverStrategy", ({ enumerable: tr
2316
2571
  Object.defineProperty(exports, "CancellationSenderStrategy", ({ enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } }));
2317
2572
  Object.defineProperty(exports, "CancellationStrategy", ({ enumerable: true, get: function () { return connection_1.CancellationStrategy; } }));
2318
2573
  Object.defineProperty(exports, "MessageStrategy", ({ enumerable: true, get: function () { return connection_1.MessageStrategy; } }));
2319
- const ral_1 = __webpack_require__(48094);
2574
+ const ral_1 = __webpack_require__(76288);
2320
2575
  exports.RAL = ral_1.default;
2321
2576
 
2322
2577
 
2323
2578
  /***/ }),
2324
2579
 
2325
- /***/ 97770:
2580
+ /***/ 89696:
2326
2581
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2327
2582
 
2328
2583
  "use strict";
@@ -2333,9 +2588,9 @@ exports.RAL = ral_1.default;
2333
2588
  *--------------------------------------------------------------------------------------------*/
2334
2589
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2335
2590
  exports.CancellationTokenSource = exports.CancellationToken = void 0;
2336
- const ral_1 = __webpack_require__(48094);
2337
- const Is = __webpack_require__(78472);
2338
- const events_1 = __webpack_require__(345);
2591
+ const ral_1 = __webpack_require__(76288);
2592
+ const Is = __webpack_require__(84843);
2593
+ const events_1 = __webpack_require__(16937);
2339
2594
  var CancellationToken;
2340
2595
  (function (CancellationToken) {
2341
2596
  CancellationToken.None = Object.freeze({
@@ -2426,7 +2681,7 @@ exports.CancellationTokenSource = CancellationTokenSource;
2426
2681
 
2427
2682
  /***/ }),
2428
2683
 
2429
- /***/ 6336:
2684
+ /***/ 31433:
2430
2685
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2431
2686
 
2432
2687
  "use strict";
@@ -2437,12 +2692,12 @@ exports.CancellationTokenSource = CancellationTokenSource;
2437
2692
  * ------------------------------------------------------------------------------------------ */
2438
2693
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2439
2694
  exports.createMessageConnection = exports.ConnectionOptions = exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.RequestCancellationReceiverStrategy = exports.IdCancellationReceiverStrategy = exports.ConnectionStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = exports.NullLogger = exports.ProgressType = exports.ProgressToken = void 0;
2440
- const ral_1 = __webpack_require__(48094);
2441
- const Is = __webpack_require__(78472);
2442
- const messages_1 = __webpack_require__(75285);
2443
- const linkedMap_1 = __webpack_require__(45164);
2444
- const events_1 = __webpack_require__(345);
2445
- const cancellation_1 = __webpack_require__(97770);
2695
+ const ral_1 = __webpack_require__(76288);
2696
+ const Is = __webpack_require__(84843);
2697
+ const messages_1 = __webpack_require__(3219);
2698
+ const linkedMap_1 = __webpack_require__(89218);
2699
+ const events_1 = __webpack_require__(16937);
2700
+ const cancellation_1 = __webpack_require__(89696);
2446
2701
  var CancelNotification;
2447
2702
  (function (CancelNotification) {
2448
2703
  CancelNotification.type = new messages_1.NotificationType('$/cancelRequest');
@@ -3646,7 +3901,7 @@ exports.createMessageConnection = createMessageConnection;
3646
3901
 
3647
3902
  /***/ }),
3648
3903
 
3649
- /***/ 68159:
3904
+ /***/ 566:
3650
3905
  /***/ ((__unused_webpack_module, exports) => {
3651
3906
 
3652
3907
  "use strict";
@@ -3670,7 +3925,7 @@ var Disposable;
3670
3925
 
3671
3926
  /***/ }),
3672
3927
 
3673
- /***/ 345:
3928
+ /***/ 16937:
3674
3929
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3675
3930
 
3676
3931
  "use strict";
@@ -3681,7 +3936,7 @@ var Disposable;
3681
3936
  * ------------------------------------------------------------------------------------------ */
3682
3937
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3683
3938
  exports.Emitter = exports.Event = void 0;
3684
- const ral_1 = __webpack_require__(48094);
3939
+ const ral_1 = __webpack_require__(76288);
3685
3940
  var Event;
3686
3941
  (function (Event) {
3687
3942
  const _disposable = { dispose() { } };
@@ -3806,7 +4061,7 @@ Emitter._noop = function () { };
3806
4061
 
3807
4062
  /***/ }),
3808
4063
 
3809
- /***/ 78472:
4064
+ /***/ 84843:
3810
4065
  /***/ ((__unused_webpack_module, exports) => {
3811
4066
 
3812
4067
  "use strict";
@@ -3849,7 +4104,7 @@ exports.stringArray = stringArray;
3849
4104
 
3850
4105
  /***/ }),
3851
4106
 
3852
- /***/ 45164:
4107
+ /***/ 89218:
3853
4108
  /***/ ((__unused_webpack_module, exports) => {
3854
4109
 
3855
4110
  "use strict";
@@ -4255,7 +4510,7 @@ exports.LRUCache = LRUCache;
4255
4510
 
4256
4511
  /***/ }),
4257
4512
 
4258
- /***/ 15506:
4513
+ /***/ 58935:
4259
4514
  /***/ ((__unused_webpack_module, exports) => {
4260
4515
 
4261
4516
  "use strict";
@@ -4415,7 +4670,7 @@ exports.AbstractMessageBuffer = AbstractMessageBuffer;
4415
4670
 
4416
4671
  /***/ }),
4417
4672
 
4418
- /***/ 84806:
4673
+ /***/ 66104:
4419
4674
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4420
4675
 
4421
4676
  "use strict";
@@ -4426,10 +4681,10 @@ exports.AbstractMessageBuffer = AbstractMessageBuffer;
4426
4681
  * ------------------------------------------------------------------------------------------ */
4427
4682
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4428
4683
  exports.ReadableStreamMessageReader = exports.AbstractMessageReader = exports.MessageReader = void 0;
4429
- const ral_1 = __webpack_require__(48094);
4430
- const Is = __webpack_require__(78472);
4431
- const events_1 = __webpack_require__(345);
4432
- const semaphore_1 = __webpack_require__(86791);
4684
+ const ral_1 = __webpack_require__(76288);
4685
+ const Is = __webpack_require__(84843);
4686
+ const events_1 = __webpack_require__(16937);
4687
+ const semaphore_1 = __webpack_require__(65019);
4433
4688
  var MessageReader;
4434
4689
  (function (MessageReader) {
4435
4690
  function is(value) {
@@ -4620,7 +4875,7 @@ exports.ReadableStreamMessageReader = ReadableStreamMessageReader;
4620
4875
 
4621
4876
  /***/ }),
4622
4877
 
4623
- /***/ 69248:
4878
+ /***/ 45053:
4624
4879
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4625
4880
 
4626
4881
  "use strict";
@@ -4631,10 +4886,10 @@ exports.ReadableStreamMessageReader = ReadableStreamMessageReader;
4631
4886
  * ------------------------------------------------------------------------------------------ */
4632
4887
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4633
4888
  exports.WriteableStreamMessageWriter = exports.AbstractMessageWriter = exports.MessageWriter = void 0;
4634
- const ral_1 = __webpack_require__(48094);
4635
- const Is = __webpack_require__(78472);
4636
- const semaphore_1 = __webpack_require__(86791);
4637
- const events_1 = __webpack_require__(345);
4889
+ const ral_1 = __webpack_require__(76288);
4890
+ const Is = __webpack_require__(84843);
4891
+ const semaphore_1 = __webpack_require__(65019);
4892
+ const events_1 = __webpack_require__(16937);
4638
4893
  const ContentLength = 'Content-Length: ';
4639
4894
  const CRLF = '\r\n';
4640
4895
  var MessageWriter;
@@ -4743,7 +4998,7 @@ exports.WriteableStreamMessageWriter = WriteableStreamMessageWriter;
4743
4998
 
4744
4999
  /***/ }),
4745
5000
 
4746
- /***/ 75285:
5001
+ /***/ 3219:
4747
5002
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4748
5003
 
4749
5004
  "use strict";
@@ -4754,7 +5009,7 @@ exports.WriteableStreamMessageWriter = WriteableStreamMessageWriter;
4754
5009
  * ------------------------------------------------------------------------------------------ */
4755
5010
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4756
5011
  exports.Message = exports.NotificationType9 = exports.NotificationType8 = exports.NotificationType7 = exports.NotificationType6 = exports.NotificationType5 = exports.NotificationType4 = exports.NotificationType3 = exports.NotificationType2 = exports.NotificationType1 = exports.NotificationType0 = exports.NotificationType = exports.RequestType9 = exports.RequestType8 = exports.RequestType7 = exports.RequestType6 = exports.RequestType5 = exports.RequestType4 = exports.RequestType3 = exports.RequestType2 = exports.RequestType1 = exports.RequestType = exports.RequestType0 = exports.AbstractMessageSignature = exports.ParameterStructures = exports.ResponseError = exports.ErrorCodes = void 0;
4757
- const is = __webpack_require__(78472);
5012
+ const is = __webpack_require__(84843);
4758
5013
  /**
4759
5014
  * Predefined error codes.
4760
5015
  */
@@ -5057,7 +5312,7 @@ var Message;
5057
5312
 
5058
5313
  /***/ }),
5059
5314
 
5060
- /***/ 48094:
5315
+ /***/ 76288:
5061
5316
  /***/ ((__unused_webpack_module, exports) => {
5062
5317
 
5063
5318
  "use strict";
@@ -5088,7 +5343,7 @@ exports["default"] = RAL;
5088
5343
 
5089
5344
  /***/ }),
5090
5345
 
5091
- /***/ 86791:
5346
+ /***/ 65019:
5092
5347
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5093
5348
 
5094
5349
  "use strict";
@@ -5099,7 +5354,7 @@ exports["default"] = RAL;
5099
5354
  * ------------------------------------------------------------------------------------------ */
5100
5355
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5101
5356
  exports.Semaphore = void 0;
5102
- const ral_1 = __webpack_require__(48094);
5357
+ const ral_1 = __webpack_require__(76288);
5103
5358
  class Semaphore {
5104
5359
  constructor(capacity = 1) {
5105
5360
  if (capacity <= 0) {
@@ -5164,7 +5419,7 @@ exports.Semaphore = Semaphore;
5164
5419
 
5165
5420
  /***/ }),
5166
5421
 
5167
- /***/ 50278:
5422
+ /***/ 89721:
5168
5423
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5169
5424
 
5170
5425
  "use strict";
@@ -5175,7 +5430,7 @@ exports.Semaphore = Semaphore;
5175
5430
  * ------------------------------------------------------------------------------------------ */
5176
5431
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5177
5432
  exports.SharedArrayReceiverStrategy = exports.SharedArraySenderStrategy = void 0;
5178
- const cancellation_1 = __webpack_require__(97770);
5433
+ const cancellation_1 = __webpack_require__(89696);
5179
5434
  var CancellationState;
5180
5435
  (function (CancellationState) {
5181
5436
  CancellationState.Continue = 0;
@@ -5246,262 +5501,7 @@ class SharedArrayReceiverStrategy {
5246
5501
  exports.SharedArrayReceiverStrategy = SharedArrayReceiverStrategy;
5247
5502
 
5248
5503
 
5249
- /***/ }),
5250
-
5251
- /***/ 86800:
5252
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
5253
-
5254
- "use strict";
5255
-
5256
- // EXPORTS
5257
- __webpack_require__.d(__webpack_exports__, {
5258
- ConsoleLogger: () => (/* reexport */ ConsoleLogger),
5259
- listen: () => (/* reexport */ listen)
5260
- });
5261
-
5262
- // UNUSED EXPORTS: AbstractMessageSignature, Disposable, DisposableCollection, ErrorCodes, Message, NotificationType, NotificationType0, NotificationType1, NotificationType2, NotificationType3, NotificationType4, NotificationType5, NotificationType6, NotificationType7, NotificationType8, NotificationType9, ParameterStructures, RequestType, RequestType0, RequestType1, RequestType2, RequestType3, RequestType4, RequestType5, RequestType6, RequestType7, RequestType8, RequestType9, ResponseError, WebSocketMessageReader, WebSocketMessageWriter, __esModule, createWebSocketConnection, toSocket
5263
-
5264
- // EXTERNAL MODULE: ../node_modules/vscode-jsonrpc/lib/browser/main.js
5265
- var main = __webpack_require__(69406);
5266
- // EXTERNAL MODULE: ../node_modules/vscode-jsonrpc/lib/common/messages.js
5267
- var messages = __webpack_require__(75285);
5268
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/disposable.js
5269
- /* --------------------------------------------------------------------------------------------
5270
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5271
- * Licensed under the MIT License. See License.txt in the project root for license information.
5272
- * ------------------------------------------------------------------------------------------ */
5273
-
5274
- class DisposableCollection {
5275
- constructor() {
5276
- this.disposables = [];
5277
- }
5278
- dispose() {
5279
- while (this.disposables.length !== 0) {
5280
- this.disposables.pop().dispose();
5281
- }
5282
- }
5283
- push(disposable) {
5284
- const disposables = this.disposables;
5285
- disposables.push(disposable);
5286
- return {
5287
- dispose() {
5288
- const index = disposables.indexOf(disposable);
5289
- if (index !== -1) {
5290
- disposables.splice(index, 1);
5291
- }
5292
- }
5293
- };
5294
- }
5295
- }
5296
-
5297
- //# sourceMappingURL=disposable.js.map
5298
- // EXTERNAL MODULE: ../node_modules/vscode-jsonrpc/lib/common/messageReader.js
5299
- var messageReader = __webpack_require__(84806);
5300
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/reader.js
5301
- /* --------------------------------------------------------------------------------------------
5302
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5303
- * Licensed under the MIT License. See License.txt in the project root for license information.
5304
- * ------------------------------------------------------------------------------------------ */
5305
-
5306
- class WebSocketMessageReader extends messageReader.AbstractMessageReader {
5307
- constructor(socket) {
5308
- super();
5309
- this.socket = socket;
5310
- this.state = 'initial';
5311
- this.events = [];
5312
- this.socket.onMessage(message => this.readMessage(message));
5313
- this.socket.onError(error => this.fireError(error));
5314
- this.socket.onClose((code, reason) => {
5315
- if (code !== 1000) {
5316
- const error = {
5317
- name: '' + code,
5318
- message: `Error during socket reconnect: code = ${code}, reason = ${reason}`
5319
- };
5320
- this.fireError(error);
5321
- }
5322
- this.fireClose();
5323
- });
5324
- }
5325
- listen(callback) {
5326
- if (this.state === 'initial') {
5327
- this.state = 'listening';
5328
- this.callback = callback;
5329
- while (this.events.length !== 0) {
5330
- const event = this.events.pop();
5331
- if (event.message) {
5332
- this.readMessage(event.message);
5333
- }
5334
- else if (event.error) {
5335
- this.fireError(event.error);
5336
- }
5337
- else {
5338
- this.fireClose();
5339
- }
5340
- }
5341
- }
5342
- return {
5343
- dispose: () => {
5344
- if (this.callback === callback) {
5345
- this.callback = undefined;
5346
- }
5347
- }
5348
- };
5349
- }
5350
- readMessage(message) {
5351
- if (this.state === 'initial') {
5352
- this.events.splice(0, 0, { message });
5353
- }
5354
- else if (this.state === 'listening') {
5355
- const data = JSON.parse(message);
5356
- this.callback(data);
5357
- }
5358
- }
5359
- fireError(error) {
5360
- if (this.state === 'initial') {
5361
- this.events.splice(0, 0, { error });
5362
- }
5363
- else if (this.state === 'listening') {
5364
- super.fireError(error);
5365
- }
5366
- }
5367
- fireClose() {
5368
- if (this.state === 'initial') {
5369
- this.events.splice(0, 0, {});
5370
- }
5371
- else if (this.state === 'listening') {
5372
- super.fireClose();
5373
- }
5374
- this.state = 'closed';
5375
- }
5376
- }
5377
- //# sourceMappingURL=reader.js.map
5378
- // EXTERNAL MODULE: ../node_modules/vscode-jsonrpc/lib/common/messageWriter.js
5379
- var messageWriter = __webpack_require__(69248);
5380
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/writer.js
5381
- /* --------------------------------------------------------------------------------------------
5382
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5383
- * Licensed under the MIT License. See License.txt in the project root for license information.
5384
- * ------------------------------------------------------------------------------------------ */
5385
-
5386
- class WebSocketMessageWriter extends messageWriter.AbstractMessageWriter {
5387
- constructor(socket) {
5388
- super();
5389
- this.socket = socket;
5390
- this.errorCount = 0;
5391
- }
5392
- end() {
5393
- }
5394
- async write(msg) {
5395
- try {
5396
- const content = JSON.stringify(msg);
5397
- this.socket.send(content);
5398
- }
5399
- catch (e) {
5400
- this.errorCount++;
5401
- this.fireError(e, msg, this.errorCount);
5402
- }
5403
- }
5404
- }
5405
- //# sourceMappingURL=writer.js.map
5406
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/connection.js
5407
- /* --------------------------------------------------------------------------------------------
5408
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5409
- * Licensed under the MIT License. See License.txt in the project root for license information.
5410
- * ------------------------------------------------------------------------------------------ */
5411
-
5412
-
5413
-
5414
- function createWebSocketConnection(socket, logger) {
5415
- const messageReader = new WebSocketMessageReader(socket);
5416
- const messageWriter = new WebSocketMessageWriter(socket);
5417
- const connection = (0,main.createMessageConnection)(messageReader, messageWriter, logger);
5418
- connection.onClose(() => connection.dispose());
5419
- return connection;
5420
- }
5421
- //# sourceMappingURL=connection.js.map
5422
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/socket/index.js
5423
- /* --------------------------------------------------------------------------------------------
5424
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5425
- * Licensed under the MIT License. See License.txt in the project root for license information.
5426
- * ------------------------------------------------------------------------------------------ */
5427
-
5428
-
5429
-
5430
-
5431
- //# sourceMappingURL=index.js.map
5432
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/logger.js
5433
- class ConsoleLogger {
5434
- error(message) {
5435
- console.error(message);
5436
- }
5437
- warn(message) {
5438
- console.warn(message);
5439
- }
5440
- info(message) {
5441
- console.info(message);
5442
- }
5443
- log(message) {
5444
- console.log(message);
5445
- }
5446
- debug(message) {
5447
- console.debug(message);
5448
- }
5449
- }
5450
- //# sourceMappingURL=logger.js.map
5451
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/connection.js
5452
- /* --------------------------------------------------------------------------------------------
5453
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5454
- * Licensed under the MIT License. See License.txt in the project root for license information.
5455
- * ------------------------------------------------------------------------------------------ */
5456
-
5457
- /* --------------------------------------------------------------------------------------------
5458
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5459
- * Licensed under the MIT License. See License.txt in the project root for license information.
5460
- * ------------------------------------------------------------------------------------------ */
5461
-
5462
- function listen(options) {
5463
- const { webSocket, onConnection } = options;
5464
- const logger = options.logger || new ConsoleLogger();
5465
- webSocket.onopen = () => {
5466
- const socket = toSocket(webSocket);
5467
- const connection = createWebSocketConnection(socket, logger);
5468
- onConnection(connection);
5469
- };
5470
- }
5471
- function toSocket(webSocket) {
5472
- return {
5473
- send: content => webSocket.send(content),
5474
- onMessage: cb => {
5475
- webSocket.onmessage = event => cb(event.data);
5476
- },
5477
- onError: cb => {
5478
- webSocket.onerror = event => {
5479
- if ('message' in event) {
5480
- cb(event.message);
5481
- }
5482
- };
5483
- },
5484
- onClose: cb => {
5485
- webSocket.onclose = event => cb(event.code, event.reason);
5486
- },
5487
- dispose: () => webSocket.close()
5488
- };
5489
- }
5490
- //# sourceMappingURL=connection.js.map
5491
- ;// CONCATENATED MODULE: ../node_modules/vscode-ws-jsonrpc/lib/index.js
5492
- /* --------------------------------------------------------------------------------------------
5493
- * Copyright (c) 2018-2022 TypeFox GmbH (http://www.typefox.io). All rights reserved.
5494
- * Licensed under the MIT License. See License.txt in the project root for license information.
5495
- * ------------------------------------------------------------------------------------------ */
5496
-
5497
-
5498
-
5499
-
5500
-
5501
-
5502
- //# sourceMappingURL=index.js.map
5503
-
5504
5504
  /***/ })
5505
5505
 
5506
5506
  }]);
5507
- //# sourceMappingURL=4324.fa653693694bd924557b.js.map?v=fa653693694bd924557b
5507
+ //# sourceMappingURL=4324.45d34a932e3f27ce8b2a.js.map?v=45d34a932e3f27ce8b2a