Socket
Socket
Sign inDemoInstall

@cyklang/cli

Package Overview
Dependencies
98
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.14.11 to 0.14.12

2

build/DBClient.js

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

try {
const script = new core_1.Script(this.dbManager.scope, '', source);
const script = new core_1.Script(this.dbManager.scope, '', source, this.dbManager);
await script.parseInstructions();

@@ -37,0 +37,0 @@ await script.execute();

@@ -99,7 +99,7 @@ "use strict";

if (langMap !== null && langMap !== undefined) {
structure.mapLang = langMap;
await structure.setLang(user_lang, langMap);
}
}
}
let script = new core_1.Script(structure.scope, xmlfilename, xml.toString());
let script = new core_1.Script(structure.scope, xmlfilename, xml.toString(), dbManager);
await script.parseInstructions();

@@ -106,0 +106,0 @@ await script.execute();

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

structure.scope.addInstructionType(new console_1.PrintInstructionType(logfilename));
let script = new core_1.Script(structure.scope, xmlfilename, xml.toString());
let script = new core_1.Script(structure.scope, xmlfilename, xml.toString(), dbManager);
const user_lang = login.content.user_lang;

@@ -102,3 +102,3 @@ if (user_lang && user_lang.trim() !== '') {

if (langMap !== null && langMap !== undefined) {
structure.mapLang = langMap;
await structure.setLang(user_lang, langMap);
outfilename = filename + "__" + user_lang + ".output";

@@ -105,0 +105,0 @@ }

{
"name": "@cyklang/cli",
"version": "0.14.11",
"version": "0.14.12",
"description": "cyklang CLI",

@@ -22,3 +22,3 @@ "main": "build/index.js",

"dependencies": {
"@cyklang/core": "^0.12.4",
"@cyklang/core": "^0.13.0",
"commander": "^9.4.0",

@@ -25,0 +25,0 @@ "dotenv": "^16.0.1",

@@ -32,3 +32,3 @@ import { BasicType, DBColumn, DBExecuteRequest, DBManager, DBTable, ObjectData, ObjectDataType, parseXML, PrimitiveData, Script, variable2json, XmlError } from "@cyklang/core";

try {
const script = new Script(this.dbManager.scope, '', source)
const script = new Script(this.dbManager.scope, '', source, this.dbManager)
await script.parseInstructions()

@@ -35,0 +35,0 @@ await script.execute()

@@ -179,3 +179,3 @@ #!/usr/bin/env node

program.name('cyk').description('cyklang CLI')
.version('0.14.11')
.version('0.14.12')
program.addCommand(new StartCommand('start'))

@@ -182,0 +182,0 @@ program.addCommand(new StopCommand('stop'))

@@ -79,3 +79,3 @@ import { Structure, Script, XmlError, DBRemote, DBManager, ModuleInstruction, parseXML, MapData } from "@cyklang/core"

if (langMap !== null && langMap !== undefined) {
structure.mapLang = langMap as MapData
await structure.setLang(user_lang, langMap as MapData)
}

@@ -85,3 +85,3 @@ }

let script = new Script(structure.scope, xmlfilename, xml.toString())
let script = new Script(structure.scope, xmlfilename, xml.toString(), dbManager)
await script.parseInstructions()

@@ -88,0 +88,0 @@ await script.execute()

@@ -67,3 +67,3 @@ import { Structure, Script, XmlError, DBRemote, DBManager, MapData, ModuleInstruction, parseXML } from "@cyklang/core"

structure.scope.addInstructionType(new PrintInstructionType(logfilename))
let script = new Script(structure.scope, xmlfilename, xml.toString())
let script = new Script(structure.scope, xmlfilename, xml.toString(), dbManager)
const user_lang = login.content.user_lang

@@ -84,3 +84,3 @@ if (user_lang && user_lang.trim() !== '') {

if (langMap !== null && langMap !== undefined) {
structure.mapLang = langMap as MapData
await structure.setLang(user_lang, langMap as MapData)

@@ -87,0 +87,0 @@ outfilename = filename + "__" + user_lang + ".output"

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