Spaces:
Runtime error
Runtime error
Download scripts/node_modules/tsx/dist/patch-repl.mjs from o134/Desinger-System: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/spaces/o134/Desinger-System/resolve/main/scripts/node_modules/tsx/dist/patch-repl.mjs
- Command line
-
hf download hf://spaces/o134/Desinger-System/scripts/node_modules/tsx/dist/patch-repl.mjs
-
curl -L -o patch-repl.mjs https://huggingface.co/spaces/o134/Desinger-System/resolve/main/scripts/node_modules/tsx/dist/patch-repl.mjs
496 Bytes
| var i=Object.defineProperty;var a=(t,r)=>i(t,"name",{value:r,configurable:!0});import s from"node:repl";import{transform as f}from"esbuild";const p=a(t=>{const{eval:r}=t,n=a(async function(e,c,o,l){try{e=(await f(e,{sourcefile:o,loader:"ts",tsconfigRaw:{compilerOptions:{preserveValueImports:!0}},define:{require:"global.require"}})).code}catch{}return r.call(this,e,c,o,l)},"preEval");t.eval=n},"patchEval"),{start:u}=s;s.start=function(){const t=Reflect.apply(u,this,arguments);return p(t),t}; | |