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

@saulx/selva

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saulx/selva - npm Package Compare versions

Comparing version 21.3.0 to 23.0.0

20

dist/src/get/executeGetOperations/index.js

@@ -15,3 +15,3 @@ "use strict";

const inherit_1 = __importDefault(require("./inherit"));
const timeseries_1 = __importDefault(require("./timeseries"));
// import timeseries from './timeseries'
const selva_query_ast_parser_1 = require("@saulx/selva-query-ast-parser");

@@ -377,6 +377,3 @@ const util_1 = require("./util");

if (fs.timeseries) {
const vIdx = x.findIndex((el) => {
return el === '_value';
});
x = x[vIdx + 1];
console.warn('Timeseries not is discontinued in this version.');
}

@@ -566,16 +563,11 @@ const cast = exports.TYPE_CASTS[fs.type];

if (op.isTimeseries) {
return (0, timeseries_1.default)(client, op, lang, ctx);
console.warn('Timeseries not is discontinued in this version.');
}
else {
return (0, find_1.default)(client, op, lang, ctx, schema);
}
return (0, find_1.default)(client, op, lang, ctx, schema);
}
else if (op.type === 'aggregate') {
if (op.isTimeseries) {
// add this later...
return (0, timeseries_1.default)(client, op, lang, ctx);
console.warn('Timeseries not is discontinued in this version.');
}
else {
return (0, aggregate_1.default)(client, op, lang, ctx, schema);
}
return (0, aggregate_1.default)(client, op, lang, ctx, schema);
}

@@ -582,0 +574,0 @@ else if (op.type === 'inherit') {

@@ -7,3 +7,2 @@ /// <reference types="node" />

import { FieldSchemaObject } from './schema/types';
import { TimeseriesClient } from './timeseries';
import { GetOptions, ObserveEventOptions, GetResult } from './get';

@@ -22,3 +21,2 @@ import { SetOptions } from './set';

redis: Redis;
pg: TimeseriesClient;
selvaId: string;

@@ -25,0 +23,0 @@ uuid: string;

@@ -33,3 +33,2 @@ "use strict";

const initializeSchema_1 = __importDefault(require("./schema/initializeSchema"));
const timeseries_1 = require("./timeseries");
const get_1 = require("./get");

@@ -78,3 +77,2 @@ const set_1 = require("./set");

(0, connectRegistry_1.default)(this, opts);
this.pg = new timeseries_1.TimeseriesClient(this);
}

@@ -81,0 +79,0 @@ setCustomValidator(validator) {

@@ -12,2 +12,5 @@ "use strict";

const fn = _1.default[fields.values.type];
if (Object.keys(payload).filter((key) => /\./g.test(key)).length) {
throw new Error('Cannot use "." in a record key');
}
if (payload.$delete) {

@@ -14,0 +17,0 @@ result.push('7', field, '');

@@ -79,3 +79,7 @@ "use strict";

const isNonEmpty = (v) => !!(v && v.length);
if (payload.parents && (payload.parents['$noRoot'] || Array.isArray(payload.parents) || payload.parents.$value || isNonEmpty(payload.parents['$add']))) {
if (payload.parents &&
(payload.parents['$noRoot'] ||
Array.isArray(payload.parents) ||
payload.parents.$value ||
isNonEmpty(payload.parents['$add']))) {
result[0] += 'N';

@@ -82,0 +86,0 @@ }

{
"name": "@saulx/selva",
"version": "21.3.0",
"version": "23.0.0",
"license": "MIT",

@@ -54,3 +54,3 @@ "main": "dist/src/index.js",

"@types/pg": "^8.6.1",
"@saulx/selva-server": "21.3.0",
"@saulx/selva-server": "23.0.0",
"before-exit": "1.0.0",

@@ -73,4 +73,2 @@ "async-exec": "^1.1.0",

"@saulx/validators": "^1.1.0",
"pg": "8.7.1",
"pg-native": "3.0.0",
"squel": "^5.13.0",

@@ -77,0 +75,0 @@ "data-record": "^1.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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