Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@casual-simulation/aux-vm
Advanced tools
A set of abstractions and common utilities required to run an AUX on any platform.
npm install @casual-simulation/aux-vm
import { BaseSimulation, AuxVM } from '@casual-simulation/aux-vm';
// Simulations are wrappers for an
// AuxVM + AuxChannel combo.
// They make all the capabilities of an AUX easy to access
// and understand.
export class MySimulation extends BaseSimulation {
constructor(
id: string, // The ID of the
config: { isBuilder: boolean; isPlayer: boolean }
) {
super(id, config, config => new MyAuxVM(config));
}
}
// An AUX VM is in charge of separating
// the consumer from the AUX Environment.
// Basically its a security barrier between an AUX and the consumer code.
// On Web Browsers, this is usually implemented via web workers and sandboxed iframes.
// On Node.js, this is implemented via a custom script sandbox.
// Below, you can implement your own VM.
export class MyAuxVM implements AuxVM {
// TODO: Implement
}
V0.11.3
three-vrcontroller-module
to use the three
package instead of three-full
so we don't duplicate Three.js.webrtc-adapter
).lodash
imports to directly import the modules that are used.
server.saveFile(filename, data, options)
filename
is a string and should start with /drives/
.data
is a string of the data to store.options
is an object with the following properties:
callbackShout
A shout that should happen on the server when the file is done saving.overwriteExistingFile
A boolean that indicates if existing files should be overwritten. (defaults to false)server.loadFile(filename, options)
filename
is a string and should start with /drives/
.options
is an object with the following properties:
callbackShout
A shout that should happen on the server when the file is done loading.onAnyAction()
listener.
if (that.action.type === 'device') {
if (
['save_file', 'load_file'].indexOf(
that.action.event.type
) >= 0
) {
action.perform(that.action.event);
}
}
/drives
directory and the USB drives themselves are numbered starting with 0.
server.loadFile("/drives/0/myFile")
.server.saveFile("/drives/1/myFile", data)
.removeTags()
function from working when given an array of bots.FAQs
A set of abstractions required to securely run an AUX.
The npm package @casual-simulation/aux-vm receives a total of 72 weekly downloads. As such, @casual-simulation/aux-vm popularity was classified as not popular.
We found that @casual-simulation/aux-vm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.