@haibun/core
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -11,3 +11,3 @@ import { TTag, WorkspaceBuilder } from './defs'; | ||
toString(): string; | ||
set(name: string, value: string | boolean): void; | ||
set(name: string, value: string | boolean | object): void; | ||
get(name: string): any; | ||
@@ -14,0 +14,0 @@ concat(name: string, value: any): void; |
@@ -43,2 +43,3 @@ "use strict"; | ||
catch (error) { | ||
console.log('moomoo'); | ||
return { result: { ok: false, tag, failure: { stage: 'Expand', error: { message: error.message, details: error } } } }; | ||
@@ -45,0 +46,0 @@ } |
@@ -18,2 +18,6 @@ "use strict"; | ||
this.steps = { | ||
concat: { | ||
gwta: 'concat {p1} and {p2} as {what}', | ||
action: ({ p1, p2, what }, vstep) => this.set({ what, value: `${p1}${p2}` }, vstep) | ||
}, | ||
set: { | ||
@@ -53,3 +57,3 @@ gwta: 'set( empty)? {what: string} to {value: string}', | ||
action: async ({ what }) => { | ||
this.world.logger.log(`is ${what}`); | ||
this.world.logger.log(`is ${JSON.stringify(what)}`); | ||
return defs_1.OK; | ||
@@ -56,0 +60,0 @@ }, |
{ | ||
"name": "@haibun/core", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -41,6 +41,3 @@ "author": "", | ||
"version": "npm run format && git add -A src" | ||
}, | ||
"dependencies": { | ||
"node-notifier": "^10.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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
234446
0
3060
- Removednode-notifier@^10.0.0
- Removedgrowly@1.3.0(transitive)
- Removedis-docker@2.2.1(transitive)
- Removedis-wsl@2.2.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removednode-notifier@10.0.1(transitive)
- Removedsemver@7.6.3(transitive)
- Removedshellwords@0.1.1(transitive)
- Removeduuid@8.3.2(transitive)
- Removedwhich@2.0.2(transitive)