@github/copilot-language-server 1.546.0 → 1.548.0

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.
@@ -1,4 +1,4 @@
1
- "use strict";var Rt=Object.defineProperty;var s=(i,e)=>Rt(i,"name",{value:e,configurable:!0});var bn=(i,e)=>{for(var t in e)Rt(i,t,{get:e[t],enumerable:!0})};var D=typeof document>"u"?require("node:url").pathToFileURL(__filename).href:D;var dn=require("worker_threads");var _t={};bn(_t,{computeDiff:()=>Kn,computeDiffSync:()=>mn});function J(i,e){let t=Y(i,e);return t===-1?void 0:i[t]}s(J,"findLastMonotonous");function Y(i,e,t=0,n=i.length){let r=t,o=n;for(;r<o;){let u=Math.floor((r+o)/2);e(i[u])?r=u+1:o=u}return r-1}s(Y,"findLastIdxMonotonous");function Et(i,e){let t=Re(i,e);return t===i.length?void 0:i[t]}s(Et,"findFirstMonotonous");function Re(i,e,t=0,n=i.length){let r=t,o=n;for(;r<o;){let u=Math.floor((r+o)/2);e(i[u])?o=u:r=u+1}return r}s(Re,"findFirstIdxMonotonousOrArrLen");var ve=class i{constructor(e){this._array=e;this._findLastMonotonousLastIdx=0}static{s(this,"MonotonousArray")}static{this.assertInvariants=!1}findLastMonotonous(e){if(i.assertInvariants){if(this._prevFindLastPredicate){for(let n of this._array)if(this._prevFindLastPredicate(n)&&!e(n))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}let t=Y(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=t+1,t===-1?void 0:this._array[t]}};var Qe=class{static{s(this,"ErrorHandler")}constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?ke.isErrorNoTelemetry(e)?new ke(e.message+`
1
+ "use strict";var Rt=Object.defineProperty;var s=(i,e)=>{try{return Rt(i,"name",{value:e,configurable:!0})}catch{return i}};var bn=(i,e)=>{for(var t in e)Rt(i,t,{get:e[t],enumerable:!0})};var D=typeof document>"u"?require("node:url").pathToFileURL(__filename).href:D;var dn=require("worker_threads");var _t={};bn(_t,{computeDiff:()=>Kn,computeDiffSync:()=>mn});function J(i,e){let t=Y(i,e);return t===-1?void 0:i[t]}s(J,"findLastMonotonous");function Y(i,e,t=0,n=i.length){let r=t,o=n;for(;r<o;){let u=Math.floor((r+o)/2);e(i[u])?r=u+1:o=u}return r-1}s(Y,"findLastIdxMonotonous");function Et(i,e){let t=Re(i,e);return t===i.length?void 0:i[t]}s(Et,"findFirstMonotonous");function Re(i,e,t=0,n=i.length){let r=t,o=n;for(;r<o;){let u=Math.floor((r+o)/2);e(i[u])?o=u:r=u+1}return r}s(Re,"findFirstIdxMonotonousOrArrLen");var ve=class i{constructor(e){this._array=e;this._findLastMonotonousLastIdx=0}static{s(this,"MonotonousArray")}static{this.assertInvariants=!1}findLastMonotonous(e){if(i.assertInvariants){if(this._prevFindLastPredicate){for(let n of this._array)if(this._prevFindLastPredicate(n)&&!e(n))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}let t=Y(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=t+1,t===-1?void 0:this._array[t]}};var Qe=class{static{s(this,"ErrorHandler")}constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?ke.isErrorNoTelemetry(e)?new ke(e.message+`
2
2
 
3
3
  `+e.stack):new Error(e.message+`
4
4