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

ronin

Package Overview
Dependencies
Maintainers
4
Versions
1935
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 5.3.15 to 5.4.0-corny-ron-1071-experimental-453

67

dist/index.js

@@ -31,47 +31,26 @@ import {

import { getBatchProxy, getSyntaxProxy } from "@ronin/syntax/queries";
var createSyntaxFactory = (options) => ({
// Query types for interacting with records.
get: getSyntaxProxy(
"get",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
set: getSyntaxProxy(
"set",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
add: getSyntaxProxy(
"add",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
remove: getSyntaxProxy(
"remove",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
count: getSyntaxProxy(
"count",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
// Query types for interacting with the database schema.
create: getSyntaxProxy(
"create",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
alter: getSyntaxProxy(
"alter",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
drop: getSyntaxProxy(
"drop",
(query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions))
),
// Function for executing a transaction containing multiple queries.
batch: (operations, batchQueryOptions) => getBatchProxy(
operations,
batchQueryOptions,
(queries, queryOptions) => queriesHandler(
queries.map(({ query }) => query),
mergeOptions(options, batchQueryOptions, queryOptions)
var createSyntaxFactory = (options) => {
const callback = (query, queryOptions) => queryHandler(query, mergeOptions(options, queryOptions));
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 }),
// Query types for interacting with the database schema.
create: getSyntaxProxy({ rootProperty: "create", callback }),
alter: getSyntaxProxy({ rootProperty: "alter", callback }),
drop: getSyntaxProxy({ rootProperty: "drop", callback }),
// Function for executing a transaction containing multiple queries.
batch: (operations, batchQueryOptions) => getBatchProxy(
operations,
batchQueryOptions,
(queries, queryOptions) => queriesHandler(
queries.map(({ structure }) => structure),
mergeOptions(options, batchQueryOptions, queryOptions)
)
)
)
});
};
};

@@ -78,0 +57,0 @@ // src/index.ts

{
"name": "ronin",
"version": "5.3.15",
"version": "5.4.0-corny-ron-1071-experimental-453",
"type": "module",

@@ -71,5 +71,5 @@ "license": "Apache-2.0",

"dependencies": {
"@ronin/cli": "0.2.11",
"@ronin/cli": "0.2.12",
"@ronin/compiler": "0.13.9",
"@ronin/syntax": "0.1.8"
"@ronin/syntax": "0.1.11"
},

@@ -76,0 +76,0 @@ "devDependencies": {

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