Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wyseman

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wyseman - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

doc/Control

6

lib/wyseman.js

@@ -111,3 +111,3 @@ //Manage the connection between a User Interface and the backend database

handler(msg, sender) {
this.log.trace("Wyseman packet handler, msg:" + JSON.stringify(msg))
this.log.trace("Wyseman packet handler, msg:", JSON.stringify(msg))

@@ -121,5 +121,3 @@ let {id, view, action} = msg

action = 'tuple'
Object.assign(msg, {fields: ['obj','pkey','cols','columns'], table: 'wm.table_meta', where: {obj: view}})
//this.log.debug(" Tuple:", view, this.config.interface)
if (this.config.interface && this.config.interface[view]) msg.ui = this.config.interface[view]
Object.assign(msg, {fields: ['obj','pkey','cols','columns','styles','fkeys'], table: 'wm.table_meta', where: {obj: view}})
}

@@ -126,0 +124,0 @@

{
"name": "wyseman",
"version": "1.0.3",
"version": "1.0.4",
"description": "PostgreSQL Schema Manager with Javascript, Ruby, TCL API",

@@ -8,3 +8,3 @@ "main": "lib/index.js",

"tclpkg": "wmmkpkg wyseman 0.50 tcltk",
"test": "mocha test/mocha/checkdb.js"
"test": "mocha test/mocha/all.js"
},

@@ -11,0 +11,0 @@ "keywords": [

//Run all tests in order
require('./checkdb.js')
require('./metadata.js')

@@ -8,8 +8,4 @@ //Build test database and check it

var fs = require('fs')
var logger = require('util').debuglog('checkdb')
var log = {
trace: (...msg)=>logger(msg.join(' ')),
debug: (...msg)=>logger(msg.join(' ')),
error: (...msg)=>console.error(...msg),
}
//var logger = require('util').debuglog('checkdb')
var log = new (require('../logger'))('checkdb')
var dbClient = require("../../lib/dbclient.js")

@@ -16,0 +12,0 @@ const dbConfig = {

module.exports={
DatabaseName: "wysemanTestDB"
DatabaseName: process.env.TEST_DB_NAME || "wysemanTestDB"
}

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