
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@casual-simulation/aux-records
Advanced tools
Helpers and managers used by the CasualOS records system.
A set of helpers and managers for the CasualOS records system.
V3.7.1
os.createRecord(name)
function (#668).os.listSudioRecords(studioId)
function (#666).os.recordDatabase(request, options?)
- Creates or updates a database record.os.eraseDatabase(recordName, address, options?)
- Deletes a database record and associated data.os.listDatabases(recordName, startingAddress?, options?)
- Lists the databases that are stored in a record.os.listDatabasesByMarker(recordName, marker, startingAddress?, options?)
- Lists the databases which have the given marker.os.getDatabase(recordName, address)
- Gets a database instance that can be used to run queries against a database. Returns an object which has the following functions:
query
- A tagged template literal function that can query the database. Only allows read-only queries.execute
- A tagged template literal function that can execute SQL code on the database. Allows read-write.batch(statements, readonly?)
- Accepts an array of statements which are all executed in a transaction. If any one fails, then none of the statements will have any effect.sql
- A tagged template literal function that constructs a statement from the given SQL and parameters.run(statement, readonly?)
- Accepts a statement and executes it.raw
- Gets an object that is able to interface with the database without any special mapping of rows.databases
key in your SERVER_CONFIG
:
{
"databases": {
"provider": {
"type": "sqlite",
"folderPath": "/path/to/sqlite/databases/folder"
}
}
}
{
"databases": {
"provider": {
"type": "turso",
"organization": "YOUR_ORGANIZATION",
"token": "YOUR_API_TOKEN",
"group": "YOUR_DATABASE_GROUP"
}
}
}
Sec-Websocket-Protocol
header wasn't supported on API Gateway.FAQs
Helpers and managers used by the CasualOS records system.
The npm package @casual-simulation/aux-records receives a total of 724 weekly downloads. As such, @casual-simulation/aux-records popularity was classified as not popular.
We found that @casual-simulation/aux-records demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.