@gjsify/tsc 0.64.60-next.368 → 0.64.60

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 (2) hide show
  1. package/dist/tsc.gjs.mjs +1 -1
  2. package/package.json +13 -14
package/dist/tsc.gjs.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env -S gjs -m
2
- if(globalThis.__gjsifyBundleUrl??=import.meta.url,Symbol.dispose||(Symbol.dispose=Symbol.for(`Symbol.dispose`)),Symbol.asyncDispose||(Symbol.asyncDispose=Symbol.for(`Symbol.asyncDispose`)),typeof Intl.Segmenter!=`function`&&(Intl.Segmenter=class Segmenter{constructor(){}resolvedOptions(){return{locale:`en`,granularity:`grapheme`}}segment(e){let t=String(e);return{input:t,[Symbol.iterator]:function*(){let e=0;for(let n of t)yield{segment:n,index:e,input:t},e+=n.length}}}}),globalThis.process===void 0){let e=globalThis.imports.system,t=globalThis.imports.gi.GLib,_h=e=>[0,0];_h.bigint=()=>0n;let n,_p=()=>{if(n)return n;n={platform:`linux`,arch:`x64`};try{if(t.getenv(`OS`)===`Windows_NT`||t.getenv(`SystemRoot`)){let e=(t.getenv(`PROCESSOR_ARCHITECTURE`)||``).toLowerCase();return n={platform:`win32`,arch:e===`arm64`?`arm64`:e===`x86`?`ia32`:`x64`},n}let e=t.spawn_sync(null,[`uname`,`-sm`],null,t.SpawnFlags.SEARCH_PATH,null);if(e&&e[0]&&e[1]){let t=new TextDecoder().decode(e[1]).trim().split(/\s+/);if(t.length>1){let e=t[0],r=t[t.length-1].toLowerCase();n={platform:e===`Linux`?`linux`:e===`Darwin`?`darwin`:/^CYGWIN/i.test(e)?`cygwin`:/^(MINGW|MSYS|Windows)/i.test(e)?`win32`:e.toLowerCase(),arch:r===`x86_64`||r===`amd64`?`x64`:r===`aarch64`||r===`arm64`?`arm64`:/^i[3-6]86$/.test(r)?`ia32`:r.startsWith(`arm`)?`arm`:r}}}}catch{}return n};globalThis.process={get platform(){return _p().platform},get arch(){return _p().arch},version:`v20.0.0`,env:new Proxy({},{get(e,n){return typeof n==`string`?t.getenv(n)??void 0:void 0},set(e,n,r){return typeof n==`string`&&t.setenv(n,String(r),!0),!0},has(e,n){return typeof n==`string`&&t.getenv(n)!==null},deleteProperty(e,n){return typeof n==`string`&&t.unsetenv(n),!0},ownKeys(){return t.listenv()??[]},getOwnPropertyDescriptor(e,n){let r=t.getenv(n);return r===null?void 0:{value:r,writable:!0,enumerable:!0,configurable:!0}}}),argv:e?.programArgs?[`gjs`,e.programInvocationName||``,...e.programArgs]:[`gjs`],versions:{gjs:(e=>`${Math.floor(e/1e4)}.${Math.floor(e%1e4/100)}.${e%100}`)(Number(e.version))},config:{},cwd(){return t.get_current_dir()||`/`},exit(t){e.exit(t??0)},stderr:{write(e){globalThis.printerr(e)}},stdout:{write(e){globalThis.print(e)}},stdin:null,exitCode:void 0,nextTick(e,...t){Promise.resolve().then(()=>e(...t))},hrtime:_h}}(function(){var e=globalThis.imports;if(!(!e||!e.gi)){var t;try{t=e.gi.GIRepository}catch{return}if(!(!t||!t.Repository||!t.Repository.dup_default)){var n=t.Repository.dup_default();if(!(!n||!n.prepend_search_path||!n.prepend_library_path)){var a=function(e){n.prepend_search_path(e),n.prepend_library_path(e)},r;try{r=e.gi.GLib}catch{}if(r&&r.file_test&&r.FileTest)for(var i=[[`/opt/homebrew/lib`,`/opt/homebrew/lib/girepository-1.0`,`/System/Library/CoreServices/SystemVersion.plist`],[`/opt/local/lib`,`/opt/local/lib/girepository-1.0`,`/System/Library/CoreServices/SystemVersion.plist`],[`/usr/local/lib`,`/usr/local/lib/girepository-1.0`,`/System/Library/CoreServices/SystemVersion.plist`]],o=i.length;o--;)r.file_test(i[o][2],r.FileTest.EXISTS)&&r.file_test(i[o][1],r.FileTest.IS_DIR)&&a(i[o][0])}}}})();import e from"gi://GLib?version=2.0";import t from"gi://Gio?version=2.0";import"system";import n from"gi://GioUnix?version=2.0";var r=Object.defineProperty,__name=(e,t)=>r(e,`name`,{value:t,configurable:!0}),i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,__esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__exportAll$3=(e,t)=>{let n={};for(var i in e)r(n,i,{get:e[i],enumerable:!0});return t||r(n,Symbol.toStringTag,{value:`Module`}),n},__copyProps=(e,t,n,c)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var l=o(t),u=0,d=l.length,f;u<d;u++)f=l[u],!s.call(e,f)&&f!==n&&r(e,f,{get:(e=>t[e]).bind(null,f),enumerable:!(c=i(t,f))||c.enumerable});return e},__toCommonJS=e=>s.call(e,`module.exports`)?e[`module.exports`]:__copyProps(r({},`__esModule`,{value:!0}),e),c=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),l,_encoder,u,FilePolyfill,d,f,p=__esmMin(()=>{_encoder=()=>l??=new TextEncoder,u=class BlobPolyfill{_parts;size;type;constructor(e,t){this._parts=e||[],this.type=t?.type||``,this.size=this._parts.reduce((e,t)=>typeof t==`string`?e+_encoder().encode(t).byteLength:t instanceof ArrayBuffer||ArrayBuffer.isView(t)?e+t.byteLength:t&&typeof t.size==`number`?e+t.size:e,0)}async bytes(){let e=await this.arrayBuffer();return new Uint8Array(e)}async text(){return new TextDecoder().decode(await this.arrayBuffer())}async arrayBuffer(){let e=[];for(let t of this._parts)if(typeof t==`string`)e.push(_encoder().encode(t));else if(t instanceof ArrayBuffer)e.push(new Uint8Array(t));else if(ArrayBuffer.isView(t))e.push(new Uint8Array(t.buffer,t.byteOffset,t.byteLength));else if(t&&typeof t.arrayBuffer==`function`){let n=await t.arrayBuffer();e.push(new Uint8Array(n))}let t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n.buffer}slice(e,t,n){return new BlobPolyfill([],{type:n})}stream(){let e=this;return new ReadableStream({async pull(t){let n=await e.arrayBuffer();t.enqueue(new Uint8Array(n)),t.close()}})}},FilePolyfill=class extends u{name;lastModified;webkitRelativePath=``;constructor(e,t,n){super(e,n),this.name=t,this.lastModified=n?.lastModified??Date.now()}},d=globalThis.Blob??u,f=globalThis.File??FilePolyfill});function makeCallable(e){return new Proxy(e,{apply(e,t,n){if(t==null||t===globalThis)return Reflect.construct(e,n,e);let r=Reflect.construct(e,n,e);for(let e of Reflect.ownKeys(r)){let n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n)}return t}})}var m=__esmMin(()=>{}),initErrorV8Methods,h=__esmMin(()=>{initErrorV8Methods=e=>{let t=Error;t.captureStackTrace||=function(e,t){let n=Error();Object.defineProperty(t||e,"stack",{configurable:!0,get:function getStack(){var e=n.stack;return Object.defineProperty(this,"stack",{value:e}),e}})}}});function createNodeError$1(e,t,n){let r=e,i=g[r?.code??-1]||`EIO`,o=`${i}: ${r?.message||`unknown error`}, ${t}`;n?.path&&(o+=` '${n.path}'`),n?.dest&&(o+=` -> '${n.dest}'`),n?.address&&(o+=` ${n.address}`),n?.port!=null&&(o+=`:${n.port}`);let s=Error(o);return s.code=i,s.syscall=t,s.errno=-(r?.code||0),n?.path&&(s.path=n.path),n?.address&&(s.address=n.address),n?.port!=null&&(s.port=n.port),s}function isNotFoundError(e){let t=e;return t?.code===1||t?.code===`ENOENT`}var g,_=__esmMin(()=>{g={0:`EIO`,1:`ENOENT`,2:`EEXIST`,3:`EISDIR`,4:`ENOTDIR`,5:`ENOTEMPTY`,6:`ENOENT`,7:`ENFILE`,9:`EACCES`,10:`ENFILE`,11:`EINVAL`,12:`ELOOP`,13:`ENOSPC`,14:`EACCES`,17:`ELOOP`,19:`ENOSPC`,20:`ENOTSUP`,22:`EMFILE`,24:`EROFS`,25:`ECANCELED`,26:`EBUSY`,27:`ETIMEDOUT`,28:`EHOSTUNREACH`,30:`EHOSTUNREACH`,31:`ENETUNREACH`,32:`ECONNREFUSED`,33:`EADDRINUSE`,34:`ECONNRESET`,36:`EPIPE`,38:`ENETUNREACH`,39:`ECONNREFUSED`,40:`ECONNREFUSED`,41:`EACCES`,44:`ECONNRESET`,46:`EMSGSIZE`},__name(createNodeError$1,`createNodeError`)});function registerGlobal(e,t){let n=globalThis;n[e]===void 0&&(n[e]=t)}var v=__esmMin(()=>{});function isTargetOs(e){return typeof e==`string`&&y.includes(e)}function hostPlatform(){let e=globalThis.process?.platform;return typeof e==`string`?e:void 0}function hostOs(){let e=hostPlatform();return isTargetOs(e)?e:void 0}function isWin32(){return hostPlatform()===`win32`}function isDarwin(){return hostPlatform()===`darwin`}var y,b=__esmMin(()=>{y=[`linux`,`darwin`,`win32`]});function _isError(e){return typeof Error.isError==`function`?Error.isError(e):e instanceof Error}function _safeRead(e,t){try{return e[t]}catch{return}}function _safeString(e){try{let t=String(e);return t.length>0&&!t.startsWith(`[object `)?t:void 0}catch{return}}function _thrownText(e){let t=_isError(e)?_safeRead(e,`message`):void 0;return typeof t==`string`?t:_safeString(e)??`unknown`}function _gerrorIdentity(e){let t=Object.prototype.hasOwnProperty;if(t.call(e,`domain`)||t.call(e,`code`))return;let n=_safeRead(e,`domain`),r=_safeRead(e,`code`);if(!(typeof n!=`number`||typeof r!=`number`))return{domain:n,code:r}}function _errorHeader(e){let t=_safeRead(e,`name`),n=_safeRead(e,`message`),r=typeof n==`string`?n:``;if(typeof t==`string`&&t.length>0)return r.length>0?`${t}: ${r}`:t;let i=_safeString(e);return i===void 0?r.length>0?`Error: ${r}`:`Error`:i}function _indentContinuation(e,t){return e.split(`
2
+ if(globalThis.__gjsifyBundleUrl??=import.meta.url,Symbol.dispose||(Symbol.dispose=Symbol.for(`Symbol.dispose`)),Symbol.asyncDispose||(Symbol.asyncDispose=Symbol.for(`Symbol.asyncDispose`)),typeof Intl.Segmenter!=`function`&&(Intl.Segmenter=class Segmenter{constructor(){}resolvedOptions(){return{locale:`en`,granularity:`grapheme`}}segment(e){let t=String(e);return{input:t,[Symbol.iterator]:function*(){let e=0;for(let n of t)yield{segment:n,index:e,input:t},e+=n.length}}}}),globalThis.process===void 0){let e=globalThis.imports.system,t=globalThis.imports.gi.GLib,_h=e=>[0,0];_h.bigint=()=>0n;let n,_p=()=>{if(n)return n;n={platform:`linux`,arch:`x64`};try{if(t.getenv(`OS`)===`Windows_NT`||t.getenv(`SystemRoot`)){let e=(t.getenv(`PROCESSOR_ARCHITECTURE`)||``).toLowerCase();return n={platform:`win32`,arch:e===`arm64`?`arm64`:e===`x86`?`ia32`:`x64`},n}let e=t.spawn_sync(null,[`uname`,`-sm`],null,t.SpawnFlags.SEARCH_PATH,null);if(e&&e[0]&&e[1]){let t=new TextDecoder().decode(e[1]).trim().split(/\s+/);if(t.length>1){let e=t[0],r=t[t.length-1].toLowerCase();n={platform:e===`Linux`?`linux`:e===`Darwin`?`darwin`:/^CYGWIN/i.test(e)?`cygwin`:/^(MINGW|MSYS|Windows)/i.test(e)?`win32`:e.toLowerCase(),arch:r===`x86_64`||r===`amd64`?`x64`:r===`aarch64`||r===`arm64`?`arm64`:/^i[3-6]86$/.test(r)?`ia32`:r.startsWith(`arm`)?`arm`:r}}}}catch{}return n};globalThis.process={get platform(){return _p().platform},get arch(){return _p().arch},version:`v20.0.0`,env:new Proxy({},{get(e,n){return typeof n==`string`?t.getenv(n)??void 0:void 0},set(e,n,r){return typeof n==`string`&&t.setenv(n,String(r),!0),!0},has(e,n){return typeof n==`string`&&t.getenv(n)!==null},deleteProperty(e,n){return typeof n==`string`&&t.unsetenv(n),!0},ownKeys(){return t.listenv()??[]},getOwnPropertyDescriptor(e,n){let r=t.getenv(n);return r===null?void 0:{value:r,writable:!0,enumerable:!0,configurable:!0}}}),argv:e?.programArgs?[`gjs`,e.programInvocationName||``,...e.programArgs]:[`gjs`],versions:{gjs:(e=>`${Math.floor(e/1e4)}.${Math.floor(e%1e4/100)}.${e%100}`)(Number(e.version))},config:{},cwd(){return t.get_current_dir()||`/`},exit(t){e.exit(t??0)},stderr:{write(e){globalThis.printerr(e)}},stdout:{write(e){globalThis.print(e)}},stdin:null,exitCode:void 0,nextTick(e,...t){Promise.resolve().then(()=>e(...t))},hrtime:_h}}(function(){var e=globalThis.imports;if(!(!e||!e.gi)){var t;try{t=e.gi.GIRepository}catch{return}if(!(!t||!t.Repository||!t.Repository.dup_default)){var n=t.Repository.dup_default();if(!(!n||!n.prepend_search_path||!n.prepend_library_path)){var a=function(e){n.prepend_search_path(e),n.prepend_library_path(e)},r;try{r=e.gi.GLib}catch{}if(r&&r.file_test&&r.FileTest)for(var i=[[`/opt/homebrew/lib`,`/opt/homebrew/lib/girepository-1.0`,`/System/Library/CoreServices/SystemVersion.plist`],[`/opt/local/lib`,`/opt/local/lib/girepository-1.0`,`/System/Library/CoreServices/SystemVersion.plist`],[`/usr/local/lib`,`/usr/local/lib/girepository-1.0`,`/System/Library/CoreServices/SystemVersion.plist`]],o=i.length;o--;)r.file_test(i[o][2],r.FileTest.EXISTS)&&r.file_test(i[o][1],r.FileTest.IS_DIR)&&a(i[o][0])}}}})();import e from"gi://GLib?version=2.0";import t from"gi://Gio?version=2.0";import n from"gi://GioUnix?version=2.0";var r=Object.defineProperty,__name=(e,t)=>r(e,`name`,{value:t,configurable:!0}),i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,__esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__exportAll$3=(e,t)=>{let n={};for(var i in e)r(n,i,{get:e[i],enumerable:!0});return t||r(n,Symbol.toStringTag,{value:`Module`}),n},__copyProps=(e,t,n,c)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var l=o(t),u=0,d=l.length,f;u<d;u++)f=l[u],!s.call(e,f)&&f!==n&&r(e,f,{get:(e=>t[e]).bind(null,f),enumerable:!(c=i(t,f))||c.enumerable});return e},__toCommonJS=e=>s.call(e,`module.exports`)?e[`module.exports`]:__copyProps(r({},`__esModule`,{value:!0}),e),c=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),l,_encoder,u,FilePolyfill,d,f,p=__esmMin(()=>{_encoder=()=>l??=new TextEncoder,u=class BlobPolyfill{_parts;size;type;constructor(e,t){this._parts=e||[],this.type=t?.type||``,this.size=this._parts.reduce((e,t)=>typeof t==`string`?e+_encoder().encode(t).byteLength:t instanceof ArrayBuffer||ArrayBuffer.isView(t)?e+t.byteLength:t&&typeof t.size==`number`?e+t.size:e,0)}async bytes(){let e=await this.arrayBuffer();return new Uint8Array(e)}async text(){return new TextDecoder().decode(await this.arrayBuffer())}async arrayBuffer(){let e=[];for(let t of this._parts)if(typeof t==`string`)e.push(_encoder().encode(t));else if(t instanceof ArrayBuffer)e.push(new Uint8Array(t));else if(ArrayBuffer.isView(t))e.push(new Uint8Array(t.buffer,t.byteOffset,t.byteLength));else if(t&&typeof t.arrayBuffer==`function`){let n=await t.arrayBuffer();e.push(new Uint8Array(n))}let t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.byteLength;return n.buffer}slice(e,t,n){return new BlobPolyfill([],{type:n})}stream(){let e=this;return new ReadableStream({async pull(t){let n=await e.arrayBuffer();t.enqueue(new Uint8Array(n)),t.close()}})}},FilePolyfill=class extends u{name;lastModified;webkitRelativePath=``;constructor(e,t,n){super(e,n),this.name=t,this.lastModified=n?.lastModified??Date.now()}},d=globalThis.Blob??u,f=globalThis.File??FilePolyfill});function makeCallable(e){return new Proxy(e,{apply(e,t,n){if(t==null||t===globalThis)return Reflect.construct(e,n,e);let r=Reflect.construct(e,n,e);for(let e of Reflect.ownKeys(r)){let n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n)}return t}})}var m=__esmMin(()=>{}),initErrorV8Methods,h=__esmMin(()=>{initErrorV8Methods=e=>{let t=Error;t.captureStackTrace||=function(e,t){let n=Error();Object.defineProperty(t||e,"stack",{configurable:!0,get:function getStack(){var e=n.stack;return Object.defineProperty(this,"stack",{value:e}),e}})}}});function createNodeError$1(e,t,n){let r=e,i=g[r?.code??-1]||`EIO`,o=`${i}: ${r?.message||`unknown error`}, ${t}`;n?.path&&(o+=` '${n.path}'`),n?.dest&&(o+=` -> '${n.dest}'`),n?.address&&(o+=` ${n.address}`),n?.port!=null&&(o+=`:${n.port}`);let s=Error(o);return s.code=i,s.syscall=t,s.errno=-(r?.code||0),n?.path&&(s.path=n.path),n?.address&&(s.address=n.address),n?.port!=null&&(s.port=n.port),s}function isNotFoundError(e){let t=e;return t?.code===1||t?.code===`ENOENT`}var g,_=__esmMin(()=>{g={0:`EIO`,1:`ENOENT`,2:`EEXIST`,3:`EISDIR`,4:`ENOTDIR`,5:`ENOTEMPTY`,6:`ENOENT`,7:`ENFILE`,9:`EACCES`,10:`ENFILE`,11:`EINVAL`,12:`ELOOP`,13:`ENOSPC`,14:`EACCES`,17:`ELOOP`,19:`ENOSPC`,20:`ENOTSUP`,22:`EMFILE`,24:`EROFS`,25:`ECANCELED`,26:`EBUSY`,27:`ETIMEDOUT`,28:`EHOSTUNREACH`,30:`EHOSTUNREACH`,31:`ENETUNREACH`,32:`ECONNREFUSED`,33:`EADDRINUSE`,34:`ECONNRESET`,36:`EPIPE`,38:`ENETUNREACH`,39:`ECONNREFUSED`,40:`ECONNREFUSED`,41:`EACCES`,44:`ECONNRESET`,46:`EMSGSIZE`},__name(createNodeError$1,`createNodeError`)});function registerGlobal(e,t){let n=globalThis;n[e]===void 0&&(n[e]=t)}var v=__esmMin(()=>{});function isTargetOs(e){return typeof e==`string`&&y.includes(e)}function hostPlatform(){let e=globalThis.process?.platform;return typeof e==`string`?e:void 0}function hostOs(){let e=hostPlatform();return isTargetOs(e)?e:void 0}function isWin32(){return hostPlatform()===`win32`}function isDarwin(){return hostPlatform()===`darwin`}var y,b=__esmMin(()=>{y=[`linux`,`darwin`,`win32`]});function _isError(e){return typeof Error.isError==`function`?Error.isError(e):e instanceof Error}function _safeRead(e,t){try{return e[t]}catch{return}}function _safeString(e){try{let t=String(e);return t.length>0&&!t.startsWith(`[object `)?t:void 0}catch{return}}function _thrownText(e){let t=_isError(e)?_safeRead(e,`message`):void 0;return typeof t==`string`?t:_safeString(e)??`unknown`}function _gerrorIdentity(e){let t=Object.prototype.hasOwnProperty;if(t.call(e,`domain`)||t.call(e,`code`))return;let n=_safeRead(e,`domain`),r=_safeRead(e,`code`);if(!(typeof n!=`number`||typeof r!=`number`))return{domain:n,code:r}}function _errorHeader(e){let t=_safeRead(e,`name`),n=_safeRead(e,`message`),r=typeof n==`string`?n:``;if(typeof t==`string`&&t.length>0)return r.length>0?`${t}: ${r}`:t;let i=_safeString(e);return i===void 0?r.length>0?`Error: ${r}`:`Error`:i}function _indentContinuation(e,t){return e.split(`
3
3
  `).join(`
4
4
  `+t)}function _formatError(e,t){if(t.has(e))return`[Circular ${_errorHeader(e)}]`;t.add(e);try{return _renderError(e,t)}catch(t){return`${_errorHeader(e)} [unformattable: ${_thrownText(t)}]`}finally{t.delete(e)}}function _renderError(e,t){let n=_errorHeader(e),r=_safeRead(e,`stack`),i=typeof r==`string`?r.replace(/\n+$/,``):``,o=i.length===0?n:i.startsWith(n)?i:`${n}\n${i}`,s={..._gerrorIdentity(e)};for(let t of Object.keys(e))S.includes(t)||(s[t]=_safeRead(e,t));let c=_stringify(s,t);c!==`{}`&&(o+=` `+c);let l=_safeRead(e,`cause`);l!==void 0&&(o+=`
5
5
  [cause]: `+_indentContinuation(_formatValue(l,t),` `));let u=_safeRead(e,`errors`);if(Array.isArray(u))for(let e=0;e<u.length;e++)o+=`\n [errors][${e}]: `+_indentContinuation(_formatValue(u[e],t),` `);return o}function _stringify(e,t){try{return JSON.stringify(e,(e,n)=>_isError(n)?_formatError(n,t):n)}catch(e){return`[unserializable: ${_thrownText(e)}]`}}function _formatValue(e,t){return _isError(e)?_formatError(e,t):_stringify(e,t)}function _formatArgs(...e){let t=new Set,n=e[0],r=e.slice(1);if(typeof n!=`string`||!/%(s|d|i|f|o|O|c)/.test(n))return e.map(e=>typeof e==`string`?e:_formatValue(e,t)).join(` `);let i=0,o=n.replace(/%([sdifOoc])/g,(e,n)=>{if(i>=r.length)return e;let o=r[i++];switch(n){case`s`:return _isError(o)?_formatError(o,t):String(o);case`d`:case`i`:return String(parseInt(String(o),10));case`f`:return String(parseFloat(String(o)));case`o`:case`O`:return _formatValue(o,t);case`c`:return``;default:return e}}),s=r.slice(i);return s.length===0?o:o+` `+s.map(e=>typeof e==`string`?e:_formatValue(e,t)).join(` `)}var x,S,Console,C,log,info,debug,warn,error,dir,dirxml,table,w,assert,T,time,timeEnd,timeLog,count,countReset,E,groupCollapsed,groupEnd,profile,profileEnd,timeStamp,D=__esmMin(()=>{x=typeof print==`function`&&typeof printerr==`function`,S=[`name`,`message`,`stack`,`cause`,`errors`,`fileName`,`lineNumber`,`columnNumber`],Console=class{_stdout;_stderr;_groupDepth=0;_groupIndentation;_timers=new Map;_counters=new Map;constructor(e,t){if(e&&typeof e.write==`function`)this._stdout=e,this._stderr=t||this._stdout;else if(e&&typeof e==`object`){let t=e;this._stdout=t.stdout,this._stderr=t.stderr||t.stdout}this._groupIndentation=2}_write(e,...t){let n=e===`stderr`&&this._stderr||this._stdout;if(n){let e=` `.repeat(this._groupDepth*this._groupIndentation),r=_formatArgs(...t);n.write(e+r+`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/tsc",
3
- "version": "0.64.60-next.368",
3
+ "version": "0.64.60",
4
4
  "description": "TypeScript compiler for GJS — bundles upstream `typescript` to a single GJS module + ships a Node-free `tsc` bin.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -52,22 +52,21 @@
52
52
  "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/infra/tsc#readme",
53
53
  "license": "MIT",
54
54
  "dependencies": {
55
- "@gjsify/console": "0.64.60-next.368",
56
- "@gjsify/crypto": "0.64.60-next.368",
57
- "@gjsify/fs": "0.64.60-next.368",
58
- "@gjsify/inspector": "0.64.60-next.368",
59
- "@gjsify/node-globals": "0.64.60-next.368",
60
- "@gjsify/os": "0.64.60-next.368",
61
- "@gjsify/path": "0.64.60-next.368",
62
- "@gjsify/perf_hooks": "0.64.60-next.368",
63
- "@gjsify/web-globals": "0.64.60-next.368"
55
+ "@gjsify/console": "0.64.60",
56
+ "@gjsify/crypto": "0.64.60",
57
+ "@gjsify/fs": "0.64.60",
58
+ "@gjsify/inspector": "0.64.60",
59
+ "@gjsify/node-globals": "0.64.60",
60
+ "@gjsify/os": "0.64.60",
61
+ "@gjsify/path": "0.64.60",
62
+ "@gjsify/perf_hooks": "0.64.60",
63
+ "@gjsify/web-globals": "0.64.60"
64
64
  },
65
65
  "devDependencies": {
66
- "@gjsify/cli": "0.64.60-next.368",
67
- "@gjsify/unit": "0.64.60-next.368",
66
+ "@gjsify/cli": "0.64.60",
67
+ "@gjsify/unit": "0.64.60",
68
68
  "@girs/gio-2.0": "5.4.0",
69
69
  "@girs/glib-2.0": "5.4.0",
70
70
  "typescript": "^6.0.3"
71
- },
72
- "gitHead": "bc5216978780476bb76edc9c1a920f5d837590a0"
71
+ }
73
72
  }