New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ronin

Package Overview
Dependencies
Maintainers
0
Versions
1941
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ronin - npm Package Compare versions

Comparing version 6.0.23 to 6.0.24-leo-ron-1099-experimental-48

dist/bin/index.d.ts

26

dist/index.js
import {
isStorableObject,
mergeOptions,
runQueriesWithStorageAndHooks
} from "./chunk-MTB4U7YJ.js";
} from "./chunk-TJWXHF5Z.js";

@@ -36,13 +37,20 @@ // src/utils/handlers.ts

const callback = (query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions));
const replacer = (value) => {
return isStorableObject(value) ? value : JSON.parse(JSON.stringify(value));
};
return {
// Query types for interacting with records.
get: getSyntaxProxy({ rootProperty: "get", callback }),
set: getSyntaxProxy({ rootProperty: "set", callback }),
add: getSyntaxProxy({ rootProperty: "add", callback }),
remove: getSyntaxProxy({ rootProperty: "remove", callback }),
count: getSyntaxProxy({ rootProperty: "count", callback }),
get: getSyntaxProxy({ rootProperty: "get", callback, replacer }),
set: getSyntaxProxy({ rootProperty: "set", callback, replacer }),
add: getSyntaxProxy({ rootProperty: "add", callback, replacer }),
remove: getSyntaxProxy({ rootProperty: "remove", callback, replacer }),
count: getSyntaxProxy({ rootProperty: "count", callback, replacer }),
// Query types for interacting with the database schema.
create: getSyntaxProxy({ rootProperty: "create", callback }),
alter: getSyntaxProxy({ rootProperty: "alter", callback }),
drop: getSyntaxProxy({ rootProperty: "drop", callback }),
create: getSyntaxProxy({
rootProperty: "create",
callback,
replacer
}),
alter: getSyntaxProxy({ rootProperty: "alter", callback, replacer }),
drop: getSyntaxProxy({ rootProperty: "drop", callback, replacer }),
// Function for executing a transaction containing multiple queries.

@@ -49,0 +57,0 @@ batch: (operations, queryOptions) => {

@@ -6,3 +6,3 @@ import {

runQueriesWithStorageAndHooks
} from "../chunk-MTB4U7YJ.js";
} from "../chunk-TJWXHF5Z.js";
export {

@@ -9,0 +9,0 @@ InvalidQueryError,

{
"name": "ronin",
"version": "6.0.23",
"version": "6.0.24-leo-ron-1099-experimental-48",
"type": "module",
"license": "Apache-2.0",
"description": "Access your RONIN database via TypeScript.",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"description": "Access your RONIN database via TypeScript.",
"bin": {
"ronin": "./dist/bin/index.js"
},
"files": [
"dist"
],
"scripts": {

@@ -20,5 +25,2 @@ "dev": "bun run build -- --watch",

},
"files": [
"dist"
],
"repository": "ronin-co/client",

@@ -71,13 +73,15 @@ "homepage": "https://ronin.co/docs/typescript-client",

},
"author": "ronin",
"license": "Apache-2.0",
"dependencies": {
"@ronin/cli": "0.2.25",
"@ronin/compiler": "0.14.11",
"@ronin/syntax": "0.2.6"
"@ronin/cli": "0.2.28",
"@ronin/compiler": "0.14.13",
"@ronin/syntax": "0.2.10"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/bun": "1.2.0",
"tsup": "8.3.5",
"@types/bun": "1.2.1",
"tsup": "8.3.6",
"typescript": "5.7.3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc