Atom eve seo

This commit is contained in:
2026-07-15 18:08:51 +02:00
parent 48e9e2992c
commit 7b81464a1d
665 changed files with 219503 additions and 894 deletions

View File

@@ -0,0 +1,2 @@
import{newQuickJSWASMModuleFromVariant,newQuickJSAsyncWASMModuleFromVariant}from"quickjs-emscripten-core";import DEBUG_SYNC from"@jitl/quickjs-wasmfile-debug-sync";import RELEASE_SYNC from"@jitl/quickjs-wasmfile-release-sync";import DEBUG_ASYNC from"@jitl/quickjs-wasmfile-debug-asyncify";import RELEASE_ASYNC from"@jitl/quickjs-wasmfile-release-asyncify";async function newQuickJSWASMModule(variantOrPromise=RELEASE_SYNC){return newQuickJSWASMModuleFromVariant(variantOrPromise)}async function newQuickJSAsyncWASMModule(variantOrPromise=RELEASE_ASYNC){return newQuickJSAsyncWASMModuleFromVariant(variantOrPromise)}export{DEBUG_SYNC,RELEASE_SYNC,DEBUG_ASYNC,RELEASE_ASYNC,newQuickJSWASMModule,newQuickJSAsyncWASMModule};
//# sourceMappingURL=chunk-OHAYRCBA.mjs.map

View File

@@ -0,0 +1,2 @@
import{DEBUG_ASYNC,DEBUG_SYNC,RELEASE_ASYNC,RELEASE_SYNC,newQuickJSAsyncWASMModule,newQuickJSWASMModule}from"./chunk-OHAYRCBA.mjs";export*from"quickjs-emscripten-core";var singleton,singletonPromise;async function getQuickJS(){return singletonPromise??(singletonPromise=newQuickJSWASMModule().then(instance=>(singleton=instance,instance))),await singletonPromise}function getQuickJSSync(){if(!singleton)throw new Error("QuickJS not initialized. Await getQuickJS() at least once.");return singleton}async function newAsyncRuntime(options){return(await newQuickJSAsyncWASMModule()).newRuntime(options)}async function newAsyncContext(options){return(await newQuickJSAsyncWASMModule()).newContext(options)}export{DEBUG_ASYNC,DEBUG_SYNC,RELEASE_ASYNC,RELEASE_SYNC,getQuickJS,getQuickJSSync,newAsyncContext,newAsyncRuntime,newQuickJSAsyncWASMModule,newQuickJSWASMModule};
//# sourceMappingURL=index.mjs.map

View File

@@ -0,0 +1,69 @@
{
"name": "quickjs-emscripten",
"version": "0.32.0",
"sideEffects": false,
"license": "MIT",
"type": "commonjs",
"keywords": [
"eval",
"quickjs",
"vm",
"interpreter",
"runtime",
"safe",
"emscripten",
"wasm"
],
"repository": {
"type": "git",
"url": "https://github.com/justjake/quickjs-emscripten"
},
"author": {
"name": "Jake Teton-Landis",
"url": "https://jake.tl"
},
"files": [
"LICENSE",
"dist/**/*",
"!dist/*.test.js",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "npx tsup",
"clean": "git clean -fx dist .output",
"tsc": "npx tsc -p . --noEmit",
"test:vi": "VITEST=1 npx vitest run",
"test:node": "npx tsc -p tsconfig.build.json && ./makeTestPackageJson.ts && node --experimental-import-meta-resolve -r source-map-support/register --test ./.output/*node-test*.*js",
"test": "npm run test:vi && npm run test:node"
},
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./variants": {
"types": "./dist/variants.d.ts",
"import": "./dist/variants.mjs",
"require": "./dist/variants.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@jitl/quickjs-wasmfile-debug-asyncify": "0.32.0",
"@jitl/quickjs-wasmfile-debug-sync": "0.32.0",
"@jitl/quickjs-wasmfile-release-asyncify": "0.32.0",
"@jitl/quickjs-wasmfile-release-sync": "0.32.0",
"quickjs-emscripten-core": "0.32.0"
},
"devDependencies": {
"@jitl/quickjs-singlefile-cjs-release-asyncify": "0.32.0",
"@jitl/quickjs-singlefile-cjs-release-sync": "0.32.0"
},
"engines": {
"node": ">=16.0.0"
}
}