@haibun/core
Advanced tools
Comparing version 1.8.2 to 1.8.3
@@ -209,2 +209,3 @@ import { DomainContext, WorkspaceContext, WorldContext } from './contexts'; | ||
[name: string]: { | ||
url: string; | ||
since: number; | ||
@@ -211,0 +212,0 @@ trace: any; |
@@ -20,3 +20,3 @@ import { TNamed, AStepper } from '../defs'; | ||
match: RegExp; | ||
action: ({ param }: TNamed) => Promise<import("../defs").TOKActionResult | import("../defs").TNotOKActionResult>; | ||
action: ({ param }: TNamed) => Promise<import("../defs").TNotOKActionResult | import("../defs").TOKActionResult>; | ||
}; | ||
@@ -23,0 +23,0 @@ throws: { |
@@ -64,2 +64,3 @@ import { TFeature, TNotOKActionResult, TOKActionResult, TResult, TSpecl, TWorld, TRuntime, TActionResultTopics, TActionResult, TFound, TTag, AStepper, TExtraOptions, CStepper, TTagValue } from '../defs'; | ||
}; | ||
export declare function friendlyTime(d: Date): string; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,3 +29,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.stringOrError = exports.boolOrError = exports.intOrError = exports.descTag = exports.getRunTag = exports.applyResShouldContinue = exports.getFromRuntime = exports.findStepper = exports.findStepperFromOption = exports.getStepperOption = exports.getStepperOptionName = exports.verifyRequiredOptions = exports.getStepperOptionValue = exports.getPre = exports.setWorldStepperOptions = exports.verifyExtraOptions = exports.sleep = exports.isLowerCase = exports.describeSteppers = exports.getActionable = exports.getConfigFromBase = exports.getDefaultOptions = exports.shouldProcess = exports.recurse = exports.debase = exports.getSteppers = exports.createSteppers = exports.getStepper = exports.actionOK = exports.actionNotOK = exports.resultOutput = exports.use = void 0; | ||
exports.friendlyTime = exports.stringOrError = exports.boolOrError = exports.intOrError = exports.descTag = exports.getRunTag = exports.applyResShouldContinue = exports.getFromRuntime = exports.findStepper = exports.findStepperFromOption = exports.getStepperOption = exports.getStepperOptionName = exports.verifyRequiredOptions = exports.getStepperOptionValue = exports.getPre = exports.setWorldStepperOptions = exports.verifyExtraOptions = exports.sleep = exports.isLowerCase = exports.describeSteppers = exports.getActionable = exports.getConfigFromBase = exports.getDefaultOptions = exports.shouldProcess = exports.recurse = exports.debase = exports.getSteppers = exports.createSteppers = exports.getStepper = exports.actionOK = exports.actionNotOK = exports.resultOutput = exports.use = void 0; | ||
const fs_1 = require("fs"); | ||
@@ -326,2 +326,6 @@ const path_1 = __importDefault(require("path")); | ||
exports.stringOrError = stringOrError; | ||
function friendlyTime(d) { | ||
return new Date(d).toLocaleString(); | ||
} | ||
exports.friendlyTime = friendlyTime; | ||
//# sourceMappingURL=index.js.map |
@@ -103,8 +103,8 @@ "use strict"; | ||
}); | ||
describe.only('getStepperOptions', () => { | ||
it.only('finds stepper options', async () => { | ||
describe('getStepperOptions', () => { | ||
it('finds stepper options', async () => { | ||
const conc = util.getStepperOptionValue(lib_1.HAIBUN_O_TESTSTEPSWITHOPTIONS_EXISTS, 'true', [TestStepsWithOptions_1.default]); | ||
expect(conc).toBeDefined(); | ||
}); | ||
it('fills extra', async () => { | ||
it.skip('fills extra', async () => { | ||
const { world } = (0, lib_1.getDefaultWorld)(0); | ||
@@ -111,0 +111,0 @@ util.verifyExtraOptions({ [lib_1.HAIBUN_O_TESTSTEPSWITHOPTIONS_EXISTS]: 'true' }, [TestStepsWithOptions_1.default]); |
@@ -13,3 +13,3 @@ import { Context } from '../lib/contexts'; | ||
}>; | ||
isSet(what: string, orCond: string): import("../lib/defs").TOKActionResult | import("../lib/defs").TNotOKActionResult; | ||
isSet(what: string, orCond: string): import("../lib/defs").TNotOKActionResult | import("../lib/defs").TOKActionResult; | ||
steps: { | ||
@@ -48,8 +48,8 @@ concat: { | ||
gwta: string; | ||
action: ({ what, value }: TNamed) => Promise<import("../lib/defs").TOKActionResult | import("../lib/defs").TNotOKActionResult>; | ||
action: ({ what, value }: TNamed) => Promise<import("../lib/defs").TNotOKActionResult | import("../lib/defs").TOKActionResult>; | ||
}; | ||
isSet: { | ||
gwta: string; | ||
action: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs").TOKActionResult | import("../lib/defs").TNotOKActionResult>; | ||
build: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs").TOKActionResult | import("../lib/defs").TNotOKActionResult>; | ||
action: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs").TNotOKActionResult | import("../lib/defs").TOKActionResult>; | ||
build: ({ what }: TNamed, vstep: TVStep) => Promise<import("../lib/defs").TNotOKActionResult | import("../lib/defs").TOKActionResult>; | ||
}; | ||
@@ -56,0 +56,0 @@ background: { |
{ | ||
"name": "@haibun/core", | ||
"version": "1.8.2", | ||
"version": "1.8.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
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
276067
3679