Socket
Socket
Sign inDemoInstall

@salesway/kohr

Package Overview
Dependencies
245
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

1

lib/db.js

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

const args = ctx.request.payload;
console.log(args);
var res = {};

@@ -138,0 +137,0 @@ if (Array.isArray(args))

2

lib/mutations.d.ts

@@ -15,5 +15,5 @@ import { Mutation } from 'dmut';

export declare const fn_logging: Mutation;
export declare const fn_merge_json: void;
export declare const fn_merge_json: Mutation;
export declare const views_auth: Mutation;
export declare const logging_perms: Mutation;
export declare const user_perms: Mutation;

@@ -182,4 +182,3 @@ "use strict";

$body$ language sql`;
exports.fn_merge_json = dmut_1.Mutation.depends(exports.plv8_ext)
.fn(function mergeJson(...a) {
function mergeJson(...a) {
function _merge(o1, o2) {

@@ -201,3 +200,6 @@ for (var x in o2) {

return res;
}, 'json');
}
exports.fn_merge_json = dmut_1.Mutation.depends(exports.plv8_ext)
.fn(mergeJson, 'json', 'json')
.fn(mergeJson, 'jsonb', 'jsonb');
exports.views_auth = dmut_1.Mutation.depends(exports.users)

@@ -204,0 +206,0 @@ .auto `create view users_public as

{
"name": "@salesway/kohr",
"version": "0.6.0",
"version": "0.6.1",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts",

@@ -107,3 +107,2 @@ import * as koa from 'koa'

/**

@@ -152,3 +151,2 @@ *

const args = ctx.request.payload
console.log(args)
var res = {}

@@ -155,0 +153,0 @@ if (Array.isArray(args))

@@ -213,4 +213,3 @@ import {Mutation} from 'dmut'

export const fn_merge_json = Mutation.depends(plv8_ext)
.fn(function mergeJson(...a: any[]): any {
function mergeJson(...a: any[]): any {
function _merge(o1: any, o2: any) {

@@ -234,5 +233,9 @@ for (var x in o2) {

return res
}, 'json')
}
export const fn_merge_json = Mutation.depends(plv8_ext)
.fn(mergeJson, 'json', 'json')
.fn(mergeJson, 'jsonb', 'jsonb')
export const views_auth = Mutation.depends(users)

@@ -239,0 +242,0 @@ .auto `create view users_public as

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc