/opt/canhelp/node_modules/tsx/dist
NameSizeModeActions
cjs/-0755rm
esm/-0755rm
cli.cjs1204910755editdlrm
cli.mjs1204020755editdlrm
client-BQVF1NaW.mjs5000644editdlrm
client-D6NvIMSC.cjs5490644editdlrm
get-pipe-path-BHW2eJdv.mjs3680644editdlrm
get-pipe-path-BoR10qr8.cjs4350644editdlrm
index-7AaEi15b.mjs522470644editdlrm
index-BWFBUo6r.cjs11810644editdlrm
index-gbaejti9.mjs10580644editdlrm
index-gckBtVBf.cjs523530644editdlrm
lexer-DgIbo0BU.cjs135070644editdlrm
lexer-DQCqS3nf.mjs134560644editdlrm
loader.cjs10320755editdlrm
loader.mjs7290755editdlrm
node-features-roYmp9jK.cjs6280644editdlrm
node-features-_8ZFwP_x.mjs5260644editdlrm
package-CeBgXWuR.mjs310644editdlrm
package-Dxt5kIHw.cjs470644editdlrm
patch-repl.cjs5060755editdlrm
patch-repl.mjs4960755editdlrm
preflight.cjs10080755editdlrm
preflight.mjs9730755editdlrm
register-2sWVXuRQ.cjs16640644editdlrm
register-B7jrtLTO.mjs14720644editdlrm
register-CFH5oNdT.mjs74960644editdlrm
register-D46fvsV_.cjs80030644editdlrm
repl.cjs7580755editdlrm
repl.mjs7180755editdlrm
require-D4F1Lv60.cjs5240644editdlrm
require-DQxpCAr4.mjs4650644editdlrm
suppress-warnings.cjs4970755editdlrm
suppress-warnings.mjs4840755editdlrm
temporary-directory-B83uKxJF.cjs1660644editdlrm
temporary-directory-CwHp0_NW.mjs1510644editdlrm
types-Cxp8y2TL.d.ts1350644editdlrm
Edit: /opt/canhelp/node_modules/tsx/dist/register-2sWVXuRQ.cjs (1664B)
"use strict";var g=Object.defineProperty;var o=(r,s)=>g(r,"name",{value:s,configurable:!0});var p=require("node:module"),v=require("node:worker_threads"),f=require("./register-D46fvsV_.cjs"),h=require("node:url"),m=typeof document<"u"?document.currentScript:null;const w=o(r=>(s,e)=>{if(!e)throw new Error("The current file path (import.meta.url) must be provided in the second argument of tsImport()");const n=e.startsWith(f.fileUrlPrefix)?e:h.pathToFileURL(e).toString();return import(`tsx://${JSON.stringify({specifier:s,parentURL:n,namespace:r})}`)},"createScopedImport");let l=!1;const _=o(r=>{if(!p.register)throw new Error(`This version of Node.js (${process.version}) does not support module.register(). Please upgrade to Node v18.19 or v20.6 and above.`);if(!l){const{_resolveFilename:t}=p;p._resolveFilename=(c,...u)=>t(f.interopCjsExports(c),...u),l=!0}const{sourceMapsEnabled:s}=process;process.setSourceMapsEnabled(!0);const{port1:e,port2:n}=new v.MessageChannel;p.register(`./esm/index.mjs?${Date.now()}`,{parentURL:typeof document>"u"?require("url").pathToFileURL(__filename).href:m&&m.src||new URL("register-2sWVXuRQ.cjs",document.baseURI).href,data:{port:n,namespace:r?.namespace,tsconfig:r?.tsconfig},transferList:[n]});const d=r?.onImport,a=d&&(t=>{t.type==="load"&&d(t.url)});a&&(e.on("message",a),e.unref());const i=o(()=>(s===!1&&process.setSourceMapsEnabled(!1),a&&e.off("message",a),e.postMessage("deactivate"),new Promise(t=>{const c=o(u=>{u.type==="deactivated"&&(t(),e.off("message",c))},"onDeactivated");e.on("message",c)})),"unregister");return r?.namespace&&(i.import=w(r.namespace),i.unregister=i),i},"register");exports.register=_;