Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@casual-simulation/aux-vm-client
Advanced tools
A set of utilities required to securely run an AUX as a client.
A set of utilities required to run an AUX as a client.
npm install @casual-simulation/aux-vm-client
import { RemoteAuxChannel } from '@casual-simulation/aux-vm-client';
import { AuxUser, AuxConfig } from '@casual-simulation/aux-vm';
export class MyCustomChannel extends RemoteAuxChannel {
constructor(defaultHost: string, user: AuxUser, config: AuxConfig) {
super(defaultHost, user, config, {});
}
// Override the _handleServerEvents function
// to handle events sent from a remote device.
protected async _handleServerEvents(events: DeviceAction[]) {
await super._handleServerEvents(events);
let filtered = events.filter(
e => e.device.roles.indexOf(SERVER_ROLE) >= 0
);
let mapped = <BotAction[]>filtered.map(e => e.event);
if (filtered.length > 0) {
await this.sendEvents(mapped);
}
}
}
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 utilities required to securely run an AUX as a client.
The npm package @casual-simulation/aux-vm-client receives a total of 139 weekly downloads. As such, @casual-simulation/aux-vm-client popularity was classified as not popular.
We found that @casual-simulation/aux-vm-client 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.