Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "demoon", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Lua + Node", | ||
@@ -16,4 +16,4 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"wasmoon": "1.8.2" | ||
"wasmoon": "1.11.0" | ||
} | ||
} |
@@ -1,6 +0,7 @@ | ||
const { LuaFactory } = require('wasmoon') | ||
const { LuaFactory, LuaMultiReturn } = require('wasmoon') | ||
const path = require('path') | ||
const fs = require('fs').promises | ||
const FunctionClassTypeExtension = require('./legacyclasses') | ||
const fs = require('fs/promises') | ||
const start = async (entryFile) => { | ||
const start = async (entryFile, arg) => { | ||
const factory = new LuaFactory(undefined, process.env) | ||
@@ -16,2 +17,4 @@ | ||
engine.global.registerTypeExtension(10, new FunctionClassTypeExtension) | ||
engine.global.set('arg', arg) | ||
engine.global.set('typeof', value => typeof value) | ||
@@ -18,0 +21,0 @@ engine.global.set('instanceof', (value, type) => value instanceof type) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
7643
8
60
+ Added@types/emscripten@1.39.5(transitive)
+ Addedwasmoon@1.11.0(transitive)
- Removed@types/emscripten@1.39.4(transitive)
- Removedwasmoon@1.8.2(transitive)
Updatedwasmoon@1.11.0