From 14f99ac9122fe38228dca845083797f3027b232e Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Mon, 20 Jun 2022 19:19:30 +0100 Subject: [PATCH 01/42] deps --- package.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a7d8589b..5a514e27 100644 --- a/package.json +++ b/package.json @@ -99,30 +99,29 @@ "norma": "^2.0.2", "optioner": "^5.0.1", "ordu": "^2.2.0", - "patrun": "^7.1.0", + "patrun": "^7.2.4", "qs": "^6.10.5", "rolling-stats": "^0.2.1", "seneca-transport": "^7.2.0", - "use-plugin": "^9.1.0" + "use-plugin": "9" }, "devDependencies": { "@hapi/code": "8", - "@hapi/joi": "17", "@hapi/lab": "23", "@seneca/test-plugin": "0.1.0", "@types/node": "^18.0.0", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", - "gex": "^3.1.0", + "gex": "^4.0.1", "handlebars": "^4.7.7", "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.7.1", - "seneca-entity": "^16.4.0", + "seneca-entity": "^17.0.1", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", - "seneca-promisify": "^2.3.0", + "seneca-promisify": "^2.4.1", "summary": "^2.1.0", "typescript": "^4.7.4" } From 6ff8cdab7dea4d20be29283fb819d1ce87108913 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Mon, 20 Jun 2022 19:23:35 +0100 Subject: [PATCH 02/42] v3.28.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a514e27..9427c5d0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.28.0", + "version": "3.28.1", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ From 16f2e82d88baca31e00a3c67dbe7b2d2274535a0 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Mon, 20 Jun 2022 19:25:06 +0100 Subject: [PATCH 03/42] v3.28.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9427c5d0..914ae819 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.28.1", + "version": "3.28.2", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ From 2f83431dff626903aa5cb11c2736783810d099ad Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Mon, 4 Jul 2022 02:10:32 +0100 Subject: [PATCH 04/42] deps; provide util.Gex --- lib/plugin.js | 1 + lib/plugin.js.map | 2 +- lib/plugin.ts | 3 +++ package.json | 10 +++++----- seneca.js | 21 ++++++++++----------- seneca.js.map | 2 +- seneca.ts | 16 +++++++--------- test/util.test.js | 6 ++++++ 8 files changed, 34 insertions(+), 27 deletions(-) diff --git a/lib/plugin.js b/lib/plugin.js index bbf43dfb..c6f3a2a1 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -6,6 +6,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Plugin = void 0; +// TODO: replace `seneca-` prefix with `plugin-` for unnamed plugins const Uniq = require('lodash.uniq'); const Eraro = require('eraro'); const nua_1 = __importDefault(require("nua")); diff --git a/lib/plugin.js.map b/lib/plugin.js.map index dcb780e4..89ccbc9a 100644 --- a/lib/plugin.js.map +++ b/lib/plugin.js.map @@ -1 +1 @@ -{"version":3,"file":"plugin.js","sourceRoot":"","sources":["plugin.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wBAAwB;AACxB,YAAY,CAAA;;;;;;AAEZ,MAAM,IAAI,GAAQ,OAAO,CAAC,aAAa,CAAC,CAAA;AACxC,MAAM,KAAK,GAAQ,OAAO,CAAC,OAAO,CAAC,CAAA;AAEnC,8CAAqB;AACrB,+BAAqC;AAGrC,yEAAyE;AACzE,MAAM,MAAM,GAAQ,OAAO,C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CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;iBACzB;gBAED,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAGD,MAAM,MAAM,GAAG;IACb,OAAO;IACP,MAAM;CACP,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/plugin.ts b/lib/plugin.ts index 2cfb455e..5d852493 100644 --- a/lib/plugin.ts +++ b/lib/plugin.ts @@ -2,6 +2,9 @@ /* $lab:coverage:off$ */ 'use strict' +// TODO: replace `seneca-` prefix with `plugin-` for unnamed plugins + + const Uniq: any = require('lodash.uniq') const Eraro: any = require('eraro') diff --git a/package.json b/package.json index 914ae819..6464e4ff 100644 --- a/package.json +++ b/package.json @@ -99,8 +99,8 @@ "norma": "^2.0.2", "optioner": "^5.0.1", "ordu": "^2.2.0", - "patrun": "^7.2.4", - "qs": "^6.10.5", + "patrun": "^7.2.5", + "qs": "^6.11.0", "rolling-stats": "^0.2.1", "seneca-transport": "^7.2.0", "use-plugin": "9" @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "23", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.0.0", + "@types/node": "^18.0.1", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -118,10 +118,10 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.7.1", - "seneca-entity": "^17.0.1", + "seneca-entity": "^18.1.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", - "seneca-promisify": "^2.4.1", + "seneca-promisify": "^3.2.0", "summary": "^2.1.0", "typescript": "^4.7.4" } diff --git a/seneca.js b/seneca.js index 506db25e..ec3d95fb 100644 --- a/seneca.js +++ b/seneca.js @@ -12,7 +12,7 @@ const GateExecutor = require('gate-executor'); const Jsonic = require('jsonic'); const UsePlugin = require('use-plugin'); const nid_1 = __importDefault(require("nid")); -const Patrun = require('patrun'); +const patrun_1 = require("patrun"); const Stats = require('rolling-stats'); const { Ordu } = require('ordu'); const { Gubu, One, Any, Skip, Open } = require('gubu'); @@ -284,18 +284,17 @@ const option_defaults = { }; // Utility functions exposed by Seneca via `seneca.util`. const seneca_util = { - Eraro: Eraro, - Jsonic: Jsonic, + Eraro, + Jsonic, Nid: nid_1.default, - Patrun: Patrun, + Patrun: patrun_1.Patrun, + Gex: patrun_1.Gex, + Gubu, clean: Common.clean, pattern: Common.pattern, print: Common.print, error: error, deep: Common.deep, - // TODO: expose directly for better DX - no need to namespace under gubu - // Expose Gubu schema builders (Required, etc.). - Gubu, // Deprecated Legacy (make internal or rename) Optioner: Optioner, Joi: Joi, @@ -303,7 +302,7 @@ const seneca_util = { parsepattern: Common.parsePattern, pincanon: Common.pincanon, router: function router() { - return Patrun(); + return (0, patrun_1.Patrun)(); }, resolve_option: Common.resolve_option, // Legacy (deprecate and remove) @@ -418,12 +417,12 @@ function make_seneca(initial_opts) { err: start_opts.internal.print.err || Print.internal_err, }; // These need to come from options as required during construction. - private$.actrouter = start_opts.internal.actrouter || Patrun({ gex: true }); + private$.actrouter = start_opts.internal.actrouter || (0, patrun_1.Patrun)({ gex: true }); var soi_subrouter = start_opts.internal.subrouter || {}; private$.subrouter = { // Check for legacy inward router - inward: soi_subrouter.inward || Patrun({ gex: true }), - outward: soi_subrouter.outward || Patrun({ gex: true }), + inward: soi_subrouter.inward || (0, patrun_1.Patrun)({ gex: true }), + outward: soi_subrouter.outward || (0, patrun_1.Patrun)({ gex: true }), }; // Setup event handlers, if defined var event_names = ['log', 'act_in', 'act_out', 'act_err', 'ready', 'close']; diff --git a/seneca.js.map b/seneca.js.map index bf853055..edf8dc74 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,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,CAAC,CAAA;IAEF,OAAO,KAAK,CAAA;AACd,CAAC;AAED,6CAA6C;AAC7C,SAAS,YAAY;IACnB,OAAO;QACL,OAAO,EAAE,YAAY,EAAE;QACvB,KAAK,EAAE;YACL,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE;YACjB,GAAG,EAAE;gBACH,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,CAAC;aACT;YACD,MAAM,EAAE,EAAE;SACX;QACD,MAAM,EAAE,EAAE;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,EAAE;SACb;QACD,OAAO,EAAE;YACP,0CAA0C;YAC1C,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,GAAG;gBACR,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;aAC5B;SACF;QACD,cAAc,EAAE,EAAE;KACnB,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 023ccddd..9a8e2537 100644 --- a/seneca.ts +++ b/seneca.ts @@ -12,7 +12,7 @@ const GateExecutor = require('gate-executor') const Jsonic = require('jsonic') const UsePlugin = require('use-plugin') import Nid from 'nid' -const Patrun = require('patrun') +import { Patrun, Gex } from 'patrun' const Stats = require('rolling-stats') const { Ordu } = require('ordu') const { Gubu, One, Any, Skip, Open } = require('gubu') @@ -376,11 +376,13 @@ const option_defaults = { // Utility functions exposed by Seneca via `seneca.util`. const seneca_util = { - Eraro: Eraro, + Eraro, - Jsonic: Jsonic, - Nid: Nid, - Patrun: Patrun, + Jsonic, + Nid, + Patrun, + Gex, + Gubu, clean: Common.clean, pattern: Common.pattern, @@ -388,10 +390,6 @@ const seneca_util = { error: error, deep: Common.deep, - // TODO: expose directly for better DX - no need to namespace under gubu - // Expose Gubu schema builders (Required, etc.). - Gubu, - // Deprecated Legacy (make internal or rename) Optioner: Optioner, Joi: Joi, diff --git a/test/util.test.js b/test/util.test.js index 00af1659..82645a64 100644 --- a/test/util.test.js +++ b/test/util.test.js @@ -127,4 +127,10 @@ describe('util', function () { }) done() }) + + it('seneca.util.gex', function (done) { + expect(Seneca.util.Gex).exist() + expect(Seneca.util.Gex('a*').match('ab')).equal(true) + done() + }) }) From f7169702011d5b39138731de5e75b3541370efc2 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Mon, 4 Jul 2022 03:06:27 +0100 Subject: [PATCH 05/42] deps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6464e4ff..e07be78e 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.7.1", - "seneca-entity": "^18.1.0", + "seneca-entity": "^18.2.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.2.0", From f9e50b5f2857546f3bbc8fd77b2253826332e8a1 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 1 Sep 2022 23:30:19 +0100 Subject: [PATCH 06/42] deps --- lib/add.js | 1 + lib/add.js.map | 2 +- lib/add.ts | 1 + lib/plugin.js | 1 + lib/plugin.js.map | 2 +- lib/plugin.ts | 2 ++ package.json | 10 +++++----- 7 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/add.js b/lib/add.js index d2d84cb3..a7982d91 100644 --- a/lib/add.js +++ b/lib/add.js @@ -182,6 +182,7 @@ const task = { }, }; }, + // TODO: accept action.valid to define rules rules(spec) { const opts = spec.ctx.opts; const actdef = spec.data.actdef; diff --git a/lib/add.js.map b/lib/add.js.map index 3a933a3a..32f81926 100644 --- a/lib/add.js.map +++ b/lib/add.js.map @@ -1 +1 @@ -{"version":3,"file":"add.js","sourceRoot":"","sources":["add.ts"],"names":[],"mappings":";AAAA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IACJ,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/add.ts b/lib/add.ts index c0c37bc5..1c2a853c 100644 --- a/lib/add.ts +++ b/lib/add.ts @@ -241,6 +241,7 @@ const task = { }, + // TODO: accept action.valid to define rules rules(spec: TaskSpec) { const opts = spec.ctx.opts const actdef = spec.data.actdef diff --git a/lib/plugin.js b/lib/plugin.js index c6f3a2a1..6f6547ec 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -23,6 +23,7 @@ function api_use(callpoint, opts) { ordu.operator('seneca_export', intern.op.seneca_export); ordu.operator('seneca_options', intern.op.seneca_options); ordu.operator('seneca_complete', intern.op.seneca_complete); + // TODO: restructure in seneca 4.x ordu.add([ tasks.args, tasks.load, diff --git a/lib/plugin.js.map b/lib/plugin.js.map index 89ccbc9a..0837edf4 100644 --- a/lib/plugin.js.map +++ b/lib/plugin.js.map @@ -1 +1 @@ -{"version":3,"file":"plugin.js","sourceRoot":"","sources":["plugin.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wBAAwB;AACxB,YAAY,CAAA;;;;;;AAEZ,oEAAoE;AAGpE,MAAM,IAAI,GAAQ,OAAO,CAAC,aAAa,CAAC,CAAA;AACxC,MAAM,KAAK,GAAQ,OAAO,CAAC,OAAO,CAAC,CAAA;AAEnC,8CAAqB;AACrB,+BAAqC;AAGrC,yEAAyE;AACzE,MAAM,MAAM,GAAQ,OAAO,CAAC,UAAU,CAAC,CAAA;AACvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAEpC,uBAAuB;AAGvB,MAAM,MAAM,GAAG,WAAW,EAAE,CAAA;AAG5B,SAAS,OAAO,CAAC,SAAc,EAAE,IAAS;IACxC,MAAM,KAAK,GAAG,UAAU,EAAE,CAAA;IAC1B,MAAM,IAAI,GAAG,IAAI,WAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA;IAE5C,IAAI,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AC,CAAA;aAChC;iBACI;gBACH,KAAK,IAAI,CAAC,IAAI,GAAG,EAAE;oBACjB,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;oBACd,IAAI,CAAC,GAAG,OAAO,CAAC,CAAA;oBAEhB,IAAI,EAAE,GAAQ,EAAE,CAAA;oBAEhB,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,IAAI,QAAQ,KAAK,CAAC,EAAE;wBACrE,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,CAAC,CAAA;wBAEzC,IAAI,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAA;wBAExC,IAAI,IAAI,CAAC,aAAa,EAAE;4BACtB,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,CAAA;yBACpC;wBAED,EAAE,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;qBAC9D;yBAAM;wBACL,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;qBACf;oBAED,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;iBACzB;gBAED,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAGD,MAAM,MAAM,GAAG;IACb,OAAO;IACP,MAAM;CACP,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/plugin.ts b/lib/plugin.ts index 5d852493..e95bca68 100644 --- a/lib/plugin.ts +++ b/lib/plugin.ts @@ -31,6 +31,8 @@ function api_use(callpoint: any, opts: any) { ordu.operator('seneca_options', intern.op.seneca_options) ordu.operator('seneca_complete', intern.op.seneca_complete) + + // TODO: restructure in seneca 4.x ordu.add([ tasks.args, tasks.load, diff --git a/package.json b/package.json index e07be78e..2e4c15b7 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", - "gubu": "^3.1.0", + "gubu": "^4.0.0", "jsonic": "^1.0.1", "lodash.defaultsdeep": "^4.6.1", "lodash.flatten": "^4.4.0", @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "23", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.0.1", + "@types/node": "^18.7.14", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -118,11 +118,11 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.7.1", - "seneca-entity": "^18.2.0", + "seneca-entity": "^18.4.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", - "seneca-promisify": "^3.2.0", + "seneca-promisify": "^3.4.0", "summary": "^2.1.0", - "typescript": "^4.7.4" + "typescript": "^4.8.2" } } From 001aa27fd7bf452a95436e2210f618569f22901f Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 1 Sep 2022 23:50:54 +0100 Subject: [PATCH 07/42] remove duplicate logging marker as it pollutes; gubu update allows top level scalars --- lib/logging.js | 30 +++++++++++++++--------------- lib/logging.js.map | 2 +- lib/logging.ts | 28 ++++++++++++++-------------- package.json | 2 +- test/add.test.js | 27 +++++++++++++++++++++++++++ test/error.test.js | 4 +++- test/seneca-options.test.js | 8 ++++---- 7 files changed, 65 insertions(+), 36 deletions(-) diff --git a/lib/logging.js b/lib/logging.js index b763ccc3..33cb817a 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -316,12 +316,13 @@ function build_test_log(seneca, data) { let objstr = util_1.default.inspect(seneca.util.clean(obj)) .replace(/\s+/g, '') .substring(0, datalen); - if (objstr.length <= 22 || - (!obj.$$logged$$ && (!data.err || !data.err.$$logged$$))) { + if (objstr.length <= 22 || !data.err + // (!obj.$$logged$$ && (!data.err || !data.err.$$logged$$)) + ) { logb.push(objstr); - if ('object' === typeof obj) { - obj.$$logged$$ = () => { }; - } + // if ('object' === typeof obj) { + // obj.$$logged$$ = () => { } + // } } else { logb.push(objstr.substring(0, 22)) + '...'; @@ -336,16 +337,16 @@ function build_test_log(seneca, data) { if (data.data) { logb.push(data.data); } - if ('ERR' === data.case && data.err && !data.err.$$logged$$) { + if ('ERR' === data.case && data.err) { // && !data.err.$$logged$$) { logb.push((data.err.code ? '\n\n' + data.err.code : '') + '\n\n' + data.err.stack + '\n' + data.caller + '\n'); - if ('object' === typeof data.err) { - data.err.$$logged$$ = () => { }; - } + // if ('object' === typeof data.err) { + // data.err.$$logged$$ = () => { } + // } } } else if ('add' === data.kind) { @@ -376,12 +377,11 @@ function build_test_log(seneca, data) { config.host, 'function' === typeof config.port ? '' : config.port, ].join(';')); - } - else if (!data.$$logged$$) { - logb.push(util_1.default.inspect(data).replace(/\n/g, ' ').substring(0, datalen)); - if ('object' === typeof data) { - data.$$logged$$ = () => { }; - } + // } else if (!data.$$logged$$) { + // logb.push(Util.inspect(data).replace(/\n/g, ' ').substring(0, datalen)) + // if ('object' === typeof data) { + // data.$$logged$$ = () => { } + // } } if (data.did) { logb.push(data.did); diff --git a/lib/logging.js.map b/lib/logging.js.map index d84a7ed9..17cbafca 100644 --- a/lib/logging.js.map +++ b/lib/logging.js.map @@ -1 +1 @@ -{"version":3,"file":"logging.js","sourceRoot":"","sources":["logging.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,QAAQ;AACR,+DAA+D;AAE/D,gDAAuB;AAEvB,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,MAAM,eAAe,GAAG;IACtB,KAAK,EAAE,MAAM;IACb,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE;QACV,GAAG,EAAE,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AAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBAChD,KAAK,CAAC,MAAM,IAAI,CACd,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAC5D,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;aAClB;SACF;QACD,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACrD,CAAC;CACF,CAAA;AAGD,YAAY,CAAC,MAAM,GAAG,MAAM,CAAA"} \ No newline at end of file diff --git a/lib/logging.ts b/lib/logging.ts index 547c0280..e2ed6419 100644 --- a/lib/logging.ts +++ b/lib/logging.ts @@ -390,13 +390,13 @@ function build_test_log(seneca: any, data: any) { .substring(0, datalen) if ( - objstr.length <= 22 || - (!obj.$$logged$$ && (!data.err || !data.err.$$logged$$)) + objstr.length <= 22 || !data.err + // (!obj.$$logged$$ && (!data.err || !data.err.$$logged$$)) ) { logb.push(objstr) - if ('object' === typeof obj) { - obj.$$logged$$ = () => { } - } + // if ('object' === typeof obj) { + // obj.$$logged$$ = () => { } + // } } else { logb.push(objstr.substring(0, 22)) + '...' } @@ -414,7 +414,7 @@ function build_test_log(seneca: any, data: any) { logb.push(data.data) } - if ('ERR' === data.case && data.err && !data.err.$$logged$$) { + if ('ERR' === data.case && data.err) { // && !data.err.$$logged$$) { logb.push( (data.err.code ? '\n\n' + data.err.code : '') + '\n\n' + @@ -423,9 +423,9 @@ function build_test_log(seneca: any, data: any) { data.caller + '\n' ) - if ('object' === typeof data.err) { - data.err.$$logged$$ = () => { } - } + // if ('object' === typeof data.err) { + // data.err.$$logged$$ = () => { } + // } } } else if ('add' === data.kind) { logb.push(data.pattern) @@ -452,11 +452,11 @@ function build_test_log(seneca: any, data: any) { 'function' === typeof config.port ? '' : config.port, ].join(';') ) - } else if (!data.$$logged$$) { - logb.push(Util.inspect(data).replace(/\n/g, ' ').substring(0, datalen)) - if ('object' === typeof data) { - data.$$logged$$ = () => { } - } + // } else if (!data.$$logged$$) { + // logb.push(Util.inspect(data).replace(/\n/g, ' ').substring(0, datalen)) + // if ('object' === typeof data) { + // data.$$logged$$ = () => { } + // } } if (data.did) { diff --git a/package.json b/package.json index 2e4c15b7..2545cc20 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ }, "devDependencies": { "@hapi/code": "8", - "@hapi/lab": "23", + "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", "@types/node": "^18.7.14", "async": "^3.2.4", diff --git a/test/add.test.js b/test/add.test.js index 0665a8de..d6ecbd38 100644 --- a/test/add.test.js +++ b/test/add.test.js @@ -105,6 +105,7 @@ describe('add', function () { }) }) + it('rules-builders', function (fin) { const si = Seneca({ log: 'silent' }) //.test() const { Required } = si.valid @@ -129,6 +130,32 @@ describe('add', function () { }) }) + + it('rules-scalars', function (fin) { + const si = Seneca({ log: 'silent' }) //.test() + const { Required, Default } = si.valid + + si.add({ a: 1, b: Default(2) }, function (m, r) { + r({ x: m.b * 2 }) + }) + + si.act({ a: 1 }, function (e, o) { + expect(e).not.exist() + expect(o).equal({ x:4 }) + + this.act({ a: 1, b: 'q' }, function (e, o) { + expect(e).exist() + expect(o).not.exist() + expect(e.code).equal('act_invalid_msg') + expect(e.message).equal( + 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "q" because the value is not of type number.; message content was: { a: 1, b: \'q\' }.' + ) + fin() + }) + }) + }) + + it('rules-deep', function (fin) { const si = Seneca({ log: 'silent', legacy: false }) //.test() si.add({ a: 1, b: { c: 2 } }, function (m, r) { diff --git a/test/error.test.js b/test/error.test.js index dd4e9146..c9a5732d 100644 --- a/test/error.test.js +++ b/test/error.test.js @@ -59,6 +59,7 @@ describe('error', function () { it('types', types) + /* it('prior-once-test-log', function (fin) { let log = [] const si = Seneca({ @@ -117,7 +118,8 @@ describe('error', function () { fin() }) }) - + */ + function response_is_error(fin) { const si = Seneca({ log: 'silent' }) diff --git a/test/seneca-options.test.js b/test/seneca-options.test.js index 967e0d2b..7dc41f35 100644 --- a/test/seneca-options.test.js +++ b/test/seneca-options.test.js @@ -133,7 +133,7 @@ describe('seneca --seneca.log aliases tests: ', function () { done() }) it('--seneca.log.all', function (done) { - var opts = { debug: {} } + var opts = { legacy: false, debug: {} } opts.debug.argv = ['', '', '--seneca.log.all'] var si = Seneca(opts) expect(si.export('options').log).includes({ level: 'all' }) @@ -141,7 +141,7 @@ describe('seneca --seneca.log aliases tests: ', function () { done() }) it('--seneca.log.any', function (done) { - var opts = { debug: {} } + var opts = { legacy: false, debug: {} } opts.debug.argv = ['', '', '--seneca.log.any'] var si = Seneca(opts) expect(si.export('options').log).includes({ level: 'any' }) @@ -190,7 +190,7 @@ describe('seneca --seneca.log aliases tests: ', function () { done() }) it('--seneca.log.level.all', function (done) { - var opts = { debug: {} } + var opts = { legacy: false, debug: {} } opts.debug.argv = ['', '', '--seneca.log.level.all'] var si = Seneca(opts) expect(si.export('options').log).includes({ level: 'all' }) @@ -198,7 +198,7 @@ describe('seneca --seneca.log aliases tests: ', function () { done() }) it('--seneca.log.level.any', function (done) { - var opts = { debug: {} } + var opts = { legacy: false, debug: {} } opts.debug.argv = ['', '', '--seneca.log.level.any'] var si = Seneca(opts) expect(si.export('options').log).includes({ level: 'any' }) From 0fef10ae9297444a7ad50d25376f435bde906616 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 1 Sep 2022 23:53:37 +0100 Subject: [PATCH 08/42] v3.29.0 --- CHANGES.md | 6 ++++++ package.json | 2 +- test/add.test.js | 5 +---- test/error.test.js | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 630f0110..9ae22e5b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +## 3.29.0 2022-09-01 + +* Removed duplicate logging marker as it pollutes result values. +* Gubu update allows for top level scalar validation in messages. + + ## 3.28.0 2022-05-23 * Validation control options: valid.active|message|option|plugin diff --git a/package.json b/package.json index 2545cc20..a709519f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.28.2", + "version": "3.29.0", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ diff --git a/test/add.test.js b/test/add.test.js index d6ecbd38..9231d438 100644 --- a/test/add.test.js +++ b/test/add.test.js @@ -105,7 +105,6 @@ describe('add', function () { }) }) - it('rules-builders', function (fin) { const si = Seneca({ log: 'silent' }) //.test() const { Required } = si.valid @@ -130,7 +129,6 @@ describe('add', function () { }) }) - it('rules-scalars', function (fin) { const si = Seneca({ log: 'silent' }) //.test() const { Required, Default } = si.valid @@ -141,7 +139,7 @@ describe('add', function () { si.act({ a: 1 }, function (e, o) { expect(e).not.exist() - expect(o).equal({ x:4 }) + expect(o).equal({ x: 4 }) this.act({ a: 1, b: 'q' }, function (e, o) { expect(e).exist() @@ -155,7 +153,6 @@ describe('add', function () { }) }) - it('rules-deep', function (fin) { const si = Seneca({ log: 'silent', legacy: false }) //.test() si.add({ a: 1, b: { c: 2 } }, function (m, r) { diff --git a/test/error.test.js b/test/error.test.js index c9a5732d..346fc223 100644 --- a/test/error.test.js +++ b/test/error.test.js @@ -119,7 +119,7 @@ describe('error', function () { }) }) */ - + function response_is_error(fin) { const si = Seneca({ log: 'silent' }) From 3285f18146d0772c108eefeef1b438277d822b69 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 10 Feb 2023 13:34:30 +0000 Subject: [PATCH 09/42] error-intercept --- .gitignore | 1 + lib/act.js | 11 ++++++++++ lib/act.js.map | 2 +- lib/act.ts | 12 ++++++++++ lib/api.js | 10 +++++++++ lib/api.js.map | 2 +- lib/api.ts | 11 ++++++++++ lib/logging.js | 20 ++++++++--------- lib/logging.js.map | 2 +- lib/logging.ts | 18 +++++++-------- package.json | 10 ++++----- seneca.js | 1 + seneca.js.map | 2 +- seneca.ts | 1 + test/quick.js | 55 ++++++++++++++++++++++++++++++++++++++++++++++ 15 files changed, 129 insertions(+), 29 deletions(-) create mode 100644 test/quick.js diff --git a/.gitignore b/.gitignore index e2f0c34a..0aa82754 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ test/coverage.html *.csv package-lock.json yarn.lock +coverage diff --git a/lib/act.js b/lib/act.js index f234e575..f026e0ac 100644 --- a/lib/act.js +++ b/lib/act.js @@ -56,6 +56,17 @@ const intern = (module.exports.intern = { intern.execute_action(execspec, instance, opts, actctxt, actmsg, meta, action_reply); } catch (e) { + for (let intercept of instance.private$.intercept.act_error) { + intercept.call(instance, { + error: e, + execspec, + opts, + actctxt, + actmsg, + meta, + action_reply + }); + } if (opts.error.capture.action && true !== (e === null || e === void 0 ? void 0 : e.$$seneca_callback_error$$)) { const ex = (0, common_1.isError)(e) ? e : new Error((0, common_1.inspect)(e)); intern.handle_reply(opts, meta, actctxt, actmsg, ex); diff --git a/lib/act.js.map b/lib/act.js.map index 4f16ff56..15cf903a 100644 --- a/lib/act.js.map +++ b/lib/act.js.map @@ -1 +1 @@ -{"version":3,"file":"act.js","sourceRoot":"","sources":["act.ts"],"names":[],"mappings":";AAAA,+EAA+E;;AAG/E,iCAA6B;AAG7B,qCAUiB;AAGjB,kEAAkE;AAClE,qEAAqE;AACrE,4CAA4C;AAC5C,OAAO,CAAC,OAAO,GAAG;IAChB,MAAM,QAAQ,GAAG,IAAI,CAAA;IACrB,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAA;IAE/B,MAAM,IAAI,GACR,IAAA,sBAAa,EAAC,QAAQ,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IACzE,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G;YACR,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,QAAQ,CAAC,GAAG;SAClB,CAAC,CACH,CAAA;QAED,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAE5C,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/act.ts b/lib/act.ts index 7fb09446..e7bdde3d 100644 --- a/lib/act.ts +++ b/lib/act.ts @@ -97,6 +97,18 @@ const intern = (module.exports.intern = { action_reply ) } catch (e: any) { + for (let intercept of instance.private$.intercept.act_error) { + intercept.call(instance, { + error: e, + execspec, + opts, + actctxt, + actmsg, + meta, + action_reply + }) + } + if (opts.error.capture.action && true !== e?.$$seneca_callback_error$$) { const ex = isError(e) ? e : new Error(inspect(e)) intern.handle_reply(opts, meta, actctxt, actmsg, ex) diff --git a/lib/api.js b/lib/api.js index 60abaa45..71050701 100644 --- a/lib/api.js +++ b/lib/api.js @@ -225,6 +225,16 @@ function delegate(fixedargs, fixedmeta) { delegate: { value: delegate_delegate, writable: true }, context: { value: delegate_context, writable: true }, }); + // Rebind function decorations to the delegate instance. + // In particular, this makes the seneca.entity API methods work correctly. + const decorations = self.private$.decorations; + for (let decorationName in decorations) { + if ('function' === typeof decorations[decorationName]) { + let orig_decoration = decorations[decorationName]; + delegate[decorationName] = delegate[decorationName].bind(delegate); + Object.assign(delegate[decorationName], orig_decoration); + } + } return delegate; } // TODO: should be a configuration param so we can handle plugin name resolution diff --git a/lib/api.js.map b/lib/api.js.map index 800d09b9..4c9e944c 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AA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,OAAY,EAAE,OAAY,EAAE,MAAW;QACxE,IAAI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;QAClE,IAAI,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;aACzB,MAAM,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index e1107c01..e83b36c1 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -300,6 +300,17 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { context: { value: delegate_context, writable: true }, }) + // Rebind function decorations to the delegate instance. + // In particular, this makes the seneca.entity API methods work correctly. + const decorations = self.private$.decorations + for (let decorationName in decorations) { + if ('function' === typeof decorations[decorationName]) { + let orig_decoration = decorations[decorationName] + delegate[decorationName] = delegate[decorationName].bind(delegate) + Object.assign(delegate[decorationName], orig_decoration) + } + } + return delegate } diff --git a/lib/logging.js b/lib/logging.js index 33cb817a..8f1b8266 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -316,13 +316,8 @@ function build_test_log(seneca, data) { let objstr = util_1.default.inspect(seneca.util.clean(obj)) .replace(/\s+/g, '') .substring(0, datalen); - if (objstr.length <= 22 || !data.err - // (!obj.$$logged$$ && (!data.err || !data.err.$$logged$$)) - ) { + if (objstr.length <= 22 || !data.err) { logb.push(objstr); - // if ('object' === typeof obj) { - // obj.$$logged$$ = () => { } - // } } else { logb.push(objstr.substring(0, 22)) + '...'; @@ -377,11 +372,14 @@ function build_test_log(seneca, data) { config.host, 'function' === typeof config.port ? '' : config.port, ].join(';')); - // } else if (!data.$$logged$$) { - // logb.push(Util.inspect(data).replace(/\n/g, ' ').substring(0, datalen)) - // if ('object' === typeof data) { - // data.$$logged$$ = () => { } - // } + } + // Just plain data + else { + // TODO: use jsonic util + let datastr = util_1.default.inspect(seneca.util.clean(data.data || data)) + .replace(/\s+/g, '') + .substring(0, datalen); + logb.push(datastr.length <= 111 ? datastr : datastr.substring(0, 111) + '...'); } if (data.did) { logb.push(data.did); diff --git a/lib/logging.js.map b/lib/logging.js.map index 17cbafca..83673e10 100644 --- a/lib/logging.js.map +++ b/lib/logging.js.map @@ -1 +1 @@ -{"version":3,"file":"logging.js","sourceRoot":"","sources":["logging.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,QAAQ;AACR,+DAA+D;AAE/D,gDAAuB;AAEvB,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,MAAM,eAAe,GAAG;IACtB,KAAK,EAAE,MAAM;IACb,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE;QACV,GAAG,EAAE,KAAK;QACV,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,O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ACF;QACD,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACrD,CAAC;CACF,CAAA;AAGD,YAAY,CAAC,MAAM,GAAG,MAAM,CAAA"} \ No newline at end of file diff --git a/lib/logging.ts b/lib/logging.ts index e2ed6419..df2d4e9d 100644 --- a/lib/logging.ts +++ b/lib/logging.ts @@ -391,12 +391,8 @@ function build_test_log(seneca: any, data: any) { if ( objstr.length <= 22 || !data.err - // (!obj.$$logged$$ && (!data.err || !data.err.$$logged$$)) ) { logb.push(objstr) - // if ('object' === typeof obj) { - // obj.$$logged$$ = () => { } - // } } else { logb.push(objstr.substring(0, 22)) + '...' } @@ -452,11 +448,15 @@ function build_test_log(seneca: any, data: any) { 'function' === typeof config.port ? '' : config.port, ].join(';') ) - // } else if (!data.$$logged$$) { - // logb.push(Util.inspect(data).replace(/\n/g, ' ').substring(0, datalen)) - // if ('object' === typeof data) { - // data.$$logged$$ = () => { } - // } + } + + // Just plain data + else { + // TODO: use jsonic util + let datastr = Util.inspect(seneca.util.clean(data.data || data)) + .replace(/\s+/g, '') + .substring(0, datalen) + logb.push(datastr.length <= 111 ? datastr : datastr.substring(0, 111) + '...') } if (data.did) { diff --git a/package.json b/package.json index a709519f..1eb5dda6 100644 --- a/package.json +++ b/package.json @@ -94,8 +94,8 @@ "lodash.defaultsdeep": "^4.6.1", "lodash.flatten": "^4.4.0", "lodash.uniq": "^4.5.0", - "minimist": "^1.2.6", - "nid": "^2.0.0", + "minimist": "^1.2.7", + "nid": "^2.0.1", "norma": "^2.0.2", "optioner": "^5.0.1", "ordu": "^2.2.0", @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.7.14", + "@types/node": "^18.11.18", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -117,12 +117,12 @@ "handlebars": "^4.7.7", "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", - "prettier": "^2.7.1", + "prettier": "^2.8.2", "seneca-entity": "^18.4.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", "summary": "^2.1.0", - "typescript": "^4.8.2" + "typescript": "^4.9.4" } } diff --git a/seneca.js b/seneca.js index ec3d95fb..c1340c10 100644 --- a/seneca.js +++ b/seneca.js @@ -714,6 +714,7 @@ function make_private() { } }, ignore_plugins: {}, + intercept: { act_error: [] } }; } //# sourceMappingURL=seneca.js.map \ No newline at end of file diff --git a/seneca.js.map b/seneca.js.map index edf8dc74..271e5ff3 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;AACvC,8CAAqB;AACrB,mCAAoC;AACpC,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AACtC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAChC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AACtD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAG9B,6BAA6B;AAC7B,MAAM,QAAQ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aAC5B;SACF;QACD,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 9a8e2537..1dffb064 100644 --- a/seneca.ts +++ b/seneca.ts @@ -907,5 +907,6 @@ function make_private() { } }, ignore_plugins: {}, + intercept: { act_error: [] } } } diff --git a/test/quick.js b/test/quick.js new file mode 100644 index 00000000..7b0a7317 --- /dev/null +++ b/test/quick.js @@ -0,0 +1,55 @@ +const Seneca = require('../seneca') + +console.log(Seneca.util.Gex('a*')) + +let s0 = Seneca({ + legacy: false, + error: { + capture: { + callback: false, + action: false, + }, + }, +}) + .test() + .use('entity') + // .use(function interceptor() { + // let seneca = this + // this.private$.intercept.act_error.push(function foo_interceptor(actcall) { + // console.log('FOO_INTERCEPTOR', actcall) + // }) + + // }) + + // .act('sys:entity,hook:intercept,intercept:act_error', { + // action: function foo_interceptor(actcall) { + // console.log('FOO_INTERCEPTOR', actcall) + // } + // }, Seneca.util.print) + .add('a:1', function a1(msg, reply) { + reply({ x: msg.x }) + }) + .add('b:1', function a1(msg, reply) { + throw new Error('CC') + }) + .add('role:entity,cmd:list,name:foo', function () { + throw new Error('DD') + }) + .listen() + .ready(function () { + console.log(this.util.Gex('*')) + + // this.act('b:1,x:2', function(err, out) { + // console.log(out) + // }) + + // this.act('a:1,x:2', function(err, out) { + // throw new Error('AA') + // }) + + // this.entity('foo').save$(function(err, out) { + // throw new Error('BB') + // }) + + this.entity('foo').list$(Seneca.util.print) + }) From de44a9b60a3784274a86fd6f072b49b740201dae Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 10 Feb 2023 14:00:04 +0000 Subject: [PATCH 10/42] option.error.identify replaces common.isError --- CHANGES.md | 7 +++++++ lib/act.js | 6 +++--- lib/act.js.map | 2 +- lib/act.ts | 7 +++---- lib/common.d.ts | 3 +-- lib/common.js | 9 +++------ lib/common.js.map | 2 +- lib/common.ts | 9 ++------- seneca.js | 4 +++- seneca.js.map | 2 +- seneca.ts | 6 +++++- 11 files changed, 30 insertions(+), 27 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 9ae22e5b..ee866008 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,10 @@ +## 3.30.0 2022-02-10 + +* Error intercept customization hook. +* Rebind decoration functions to current delegate. +* Custom error identification. + + ## 3.29.0 2022-09-01 * Removed duplicate logging marker as it pollutes result values. diff --git a/lib/act.js b/lib/act.js index f026e0ac..01a8fbc7 100644 --- a/lib/act.js +++ b/lib/act.js @@ -68,7 +68,7 @@ const intern = (module.exports.intern = { }); } if (opts.error.capture.action && true !== (e === null || e === void 0 ? void 0 : e.$$seneca_callback_error$$)) { - const ex = (0, common_1.isError)(e) ? e : new Error((0, common_1.inspect)(e)); + const ex = opts.error.identify(e) ? e : new Error((0, common_1.inspect)(e)); intern.handle_reply(opts, meta, actctxt, actmsg, ex); complete(); } @@ -134,7 +134,7 @@ const intern = (module.exports.intern = { actctxt.actlog = intern.actlog; actctxt.errlog = intern.errlog; actctxt.error = common_1.error; - meta.error = (0, common_1.isError)(data.res); + meta.error = opts.error.identify(data.res); // A nasty edge case if (!meta.error && data.res === data.err) { data.err = null; @@ -309,7 +309,7 @@ const intern = (module.exports.intern = { const reply = ctxt.reply; const meta = data.meta; const msg = data.msg; - let err = (0, common_1.isError)(thrown_obj) + let err = instance.options().error.identify(thrown_obj) ? thrown_obj : new Error((0, common_1.inspect)(thrown_obj)); const opts = instance.options(); diff --git a/lib/act.js.map b/lib/act.js.map index 15cf903a..13482b55 100644 --- a/lib/act.js.map +++ b/lib/act.js.map @@ -1 +1 @@ -{"version":3,"file":"act.js","sourceRoot":"","sources":["act.ts"],"names":[],"mappings":";AAAA,+EAA+E;;AAG/E,iCAA6B;AAG7B,qCAUiB;AAGjB,kEAAkE;AAClE,qEAAqE;AACrE,4CAA4C;AAC5C,OAAO,CAAC,OAAO,GAAG;IAChB,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EAAC,EAAE,EAAE,GAAG,CAAC,OAAO,EAAE;gBACpB,OAAO,EAAE,GAAG,CAAC,OAAO;gBACpB,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,EAAE,EAAE,MAAM,CAAC,IAAI;gBACf,QAAQ,EAAE,KAAK;gBACf,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE;gBAC7B,SAAS,EAAE,aAAa;aACzB,CAAC,CACH,CAAA;SACF;QAED,QAAQ,CAAC,GAAG,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE;YACxC,qDAAqD;YACrD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,GAAG,CAAC,OAAO;YACjB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,GAAG,EAAE,GAAG;YACR,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,QAAQ,CAAC,GAAG;SAClB,CAAC,CACH,CAAA;QAED,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAE5C,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/act.ts b/lib/act.ts index e7bdde3d..2bb618d5 100644 --- a/lib/act.ts +++ b/lib/act.ts @@ -5,7 +5,6 @@ import { Meta } from './meta' import { - isError, build_message, inspect, noop, @@ -110,7 +109,7 @@ const intern = (module.exports.intern = { } if (opts.error.capture.action && true !== e?.$$seneca_callback_error$$) { - const ex = isError(e) ? e : new Error(inspect(e)) + const ex = opts.error.identify(e) ? e : new Error(inspect(e)) intern.handle_reply(opts, meta, actctxt, actmsg, ex) complete() } @@ -204,7 +203,7 @@ const intern = (module.exports.intern = { actctxt.errlog = intern.errlog actctxt.error = error - meta.error = isError(data.res) + meta.error = opts.error.identify(data.res) // A nasty edge case if (!meta.error && data.res === data.err) { @@ -462,7 +461,7 @@ const intern = (module.exports.intern = { const meta = data.meta const msg = data.msg - let err = isError(thrown_obj) + let err = instance.options().error.identify(thrown_obj) ? thrown_obj : new Error(inspect(thrown_obj)) diff --git a/lib/common.d.ts b/lib/common.d.ts index 9b3e0d10..22c61d28 100644 --- a/lib/common.d.ts +++ b/lib/common.d.ts @@ -23,7 +23,6 @@ declare function make_standard_act_log_entry(actdef: any, msg: any, meta: any, o declare function make_standard_err_log_entry(err: any, ctxt: any): any; declare function resolve_option(value: any, options: any): any; declare function autoincr(): () => number; -declare function isError(x: any): boolean; declare function inspect(val: any, opts?: any): string; declare function make_callpoint(active: any): (override: any) => any; declare function make_trace_desc(meta: any): any[]; @@ -56,4 +55,4 @@ declare class ActHistory { toString(this: any): string; [Util.inspect.custom](this: any): any; } -export { promiser, stringify, wrap_error, make_plugin_key, boolify, parse_jsonic, parse_pattern, build_message, pattern, pincanon, noop, clean, deep, each, makedie, make_standard_act_log_entry, make_standard_err_log_entry, resolve_option, autoincr, make_callpoint, make_trace_desc, history, print, parsePattern, tagnid, isError, inspect, error, msgstr, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, TRACE_TAG, TRACE_VERSION, TRACE_START, TRACE_END, TRACE_SYNC, TRACE_ACTION, }; +export { promiser, stringify, wrap_error, make_plugin_key, boolify, parse_jsonic, parse_pattern, build_message, pattern, pincanon, noop, clean, deep, each, makedie, make_standard_act_log_entry, make_standard_err_log_entry, resolve_option, autoincr, make_callpoint, make_trace_desc, history, print, parsePattern, tagnid, inspect, error, msgstr, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, TRACE_TAG, TRACE_VERSION, TRACE_START, TRACE_END, TRACE_SYNC, TRACE_ACTION, }; diff --git a/lib/common.js b/lib/common.js index e5dfd312..f0d2ce4f 100644 --- a/lib/common.js +++ b/lib/common.js @@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.TRACE_ACTION = exports.TRACE_SYNC = exports.TRACE_END = exports.TRACE_START = exports.TRACE_VERSION = exports.TRACE_TAG = exports.TRACE_INSTANCE = exports.TRACE_ID = exports.TRACE_PATTERN = exports.msgstr = exports.error = exports.inspect = exports.isError = exports.tagnid = exports.parsePattern = exports.print = exports.history = exports.make_trace_desc = exports.make_callpoint = exports.autoincr = exports.resolve_option = exports.make_standard_err_log_entry = exports.make_standard_act_log_entry = exports.makedie = exports.each = exports.deep = exports.clean = exports.noop = exports.pincanon = exports.pattern = exports.build_message = exports.parse_pattern = exports.parse_jsonic = exports.boolify = exports.make_plugin_key = exports.wrap_error = exports.stringify = exports.promiser = void 0; +exports.TRACE_ACTION = exports.TRACE_SYNC = exports.TRACE_END = exports.TRACE_START = exports.TRACE_VERSION = exports.TRACE_TAG = exports.TRACE_INSTANCE = exports.TRACE_ID = exports.TRACE_PATTERN = exports.msgstr = exports.error = exports.inspect = exports.tagnid = exports.parsePattern = exports.print = exports.history = exports.make_trace_desc = exports.make_callpoint = exports.autoincr = exports.resolve_option = exports.make_standard_err_log_entry = exports.make_standard_act_log_entry = exports.makedie = exports.each = exports.deep = exports.clean = exports.noop = exports.pincanon = exports.pattern = exports.build_message = exports.parse_pattern = exports.parse_jsonic = exports.boolify = exports.make_plugin_key = exports.wrap_error = exports.stringify = exports.promiser = void 0; const util_1 = __importDefault(require("util")); const errors_1 = __importDefault(require("./errors")); const Stringify = require('fast-safe-stringify'); @@ -224,8 +224,9 @@ function makedie(instance, ctxt) { try { if (!err) { err = new Error('unknown'); + // } else if (!Util.isError(err)) { } - else if (!util_1.default.isError(err)) { + else if (!so.error.identify(err)) { err = new Error('string' === typeof err ? err : inspect(err)); } err.fatal$ = true; @@ -419,10 +420,6 @@ function autoincr() { }; } exports.autoincr = autoincr; -function isError(x) { - return util_1.default.types.isNativeError(x); -} -exports.isError = isError; function inspect(val, opts) { return util_1.default.inspect(val, opts); } diff --git a/lib/common.js.map b/lib/common.js.map index 4f00ea28..a085500f 100644 --- a/lib/common.js.map +++ b/lib/common.js.map @@ -1 +1 @@ -{"version":3,"file":"common.js","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;;AAGZ,gDAAuB;AAGvB,sDAA6B;AAG7B,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAChD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,8CAAqB;AACrB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,YAAY,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAEnD,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAMpC,MAAM,KAAK,GACT,CAAC,OAAO,CAAC,KAAK;IACZ,OAAO,CAAC,KAAK;QACb,KAAK,CAAC;YACJ,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,gBAAM;YACd,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC,CAAA;AAitBL,sBAAK;AA9sBP,SAAS,QAAQ,CAAC,OAAY,EAAE,QAAa;IAC3C,IAAI,UAAU,KAAK,OAAO,OAAO,IAAI,IAAI,IAAI,QAAQ,EAAE;QACrD,QAAQ,GAAG,OAAO,CAAA;KACnB;SAAM;QACL,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAClC;IAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,QAAQ,CAAC,CAAC,GAAQ,EAAE,GAAQ,EAAE,EAAE;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I,CAAC,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACnB,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAA;IACxB,CAAC;CACF"} \ No newline at end of file diff --git a/lib/common.ts b/lib/common.ts index 4ace7132..51e7d747 100644 --- a/lib/common.ts +++ b/lib/common.ts @@ -300,7 +300,8 @@ function makedie(instance: any, ctxt: any) { try { if (!err) { err = new Error('unknown') - } else if (!Util.isError(err)) { + // } else if (!Util.isError(err)) { + } else if (!so.error.identify(err)) { err = new Error('string' === typeof err ? err : inspect(err)) } @@ -545,11 +546,6 @@ function autoincr() { } -function isError(x: any) { - return Util.types.isNativeError(x) -} - - function inspect(val: any, opts?: any) { return Util.inspect(val, opts) } @@ -747,7 +743,6 @@ export { print, parsePattern, tagnid, - isError, inspect, error, msgstr, diff --git a/seneca.js b/seneca.js index c1340c10..f8a95887 100644 --- a/seneca.js +++ b/seneca.js @@ -84,7 +84,9 @@ const option_defaults = { callback: true, // Capture errors in actions and pass to callback (false throws uncaught). action: true, - } + }, + // Custom function to identify thrown errors. + identify: (e) => e instanceof Error, }, // Validate messages and options. valid: { diff --git a/seneca.js.map b/seneca.js.map index 271e5ff3..76effd09 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,SAAS,G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YAAY,EAAE;QACvB,KAAK,EAAE;YACL,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE;YACjB,GAAG,EAAE;gBACH,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,CAAC;aACT;YACD,MAAM,EAAE,EAAE;SACX;QACD,MAAM,EAAE,EAAE;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,EAAE;SACb;QACD,OAAO,EAAE;YACP,0CAA0C;YAC1C,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,GAAG;gBACR,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;aAC5B;SACF;QACD,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 1dffb064..6a1f566d 100644 --- a/seneca.ts +++ b/seneca.ts @@ -110,7 +110,11 @@ const option_defaults = { // Capture errors in actions and pass to callback (false throws uncaught). action: true, - } + }, + + + // Custom function to identify thrown errors. + identify: (e: any) => e instanceof Error, }, // Validate messages and options. From 9d1f69dbd4999c68dca348848ea843e1dafd7f0a Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 10 Feb 2023 14:26:14 +0000 Subject: [PATCH 11/42] top level plugin options now legacy --- CHANGES.md | 3 ++- lib/api.js | 1 - lib/api.js.map | 2 +- lib/api.ts | 1 - lib/plugin.js | 9 ++++----- lib/plugin.js.map | 2 +- lib/plugin.ts | 10 ++++------ seneca.js | 2 ++ seneca.js.map | 2 +- seneca.ts | 3 +++ 10 files changed, 18 insertions(+), 17 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ee866008..85de34a4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,8 @@ * Error intercept customization hook. * Rebind decoration functions to current delegate. -* Custom error identification. +* Custom error identification, default now just instanceof Error. +* Plugin options at top level moved to legacy option. ## 3.29.0 2022-09-01 diff --git a/lib/api.js b/lib/api.js index 71050701..3f1604eb 100644 --- a/lib/api.js +++ b/lib/api.js @@ -523,7 +523,6 @@ function client(callpoint) { pins = pins.map((pin) => { return 'string' === typeof pin ? Jsonic(pin) : pin; }); - //var sd = Plugins.make_delegate(self, { // TODO: review - this feels like a hack // perhaps we should instantiate a virtual plugin to represent the client? // ... but is this necessary at all? diff --git a/lib/api.js.map b/lib/api.js.map index 4c9e944c..21da4109 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,IAAI,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAC9B,IAAI,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAE5B,IAAI,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAEhC,IAAI,MAAM,GAAG,MAAM,CAAC,2BAA2B,CAAA;AAE/C,IAAI,MAAM,GAAQ,EAAE,CAAA;AAGpB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;IAEnD,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IACtC,MAAM,CAAC,IAAI,CAAC,GAAG,E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C,MAAM,CAAC;YACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index e83b36c1..8c9b3a7b 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -692,7 +692,6 @@ function client(this: any, callpoint: any) { return 'string' === typeof pin ? Jsonic(pin) : pin }) - //var sd = Plugins.make_delegate(self, { // TODO: review - this feels like a hack // perhaps we should instantiate a virtual plugin to represent the client? // ... but is this necessary at all? diff --git a/lib/plugin.js b/lib/plugin.js index 6f6547ec..0d681aa2 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -253,7 +253,6 @@ function make_tasks() { } } } - //seneca.register(plugin, meta) }, delegate: (spec) => { let seneca = spec.ctx.seneca; @@ -368,18 +367,18 @@ function make_tasks() { let defaults = plugin.defaults; let fullname_options = Object.assign({}, // DEPRECATED: remove in 4 - so[fullname], so.plugin[fullname], + so.legacy.top_plugins ? so[fullname] : {}, so.plugin[fullname], // DEPRECATED: remove in 4 - so[fullname + '$' + plugin.tag], so.plugin[fullname + '$' + plugin.tag]); + so.legacy.top_plugins ? so[fullname + '$' + plugin.tag] : {}, so.plugin[fullname + '$' + plugin.tag]); let shortname = fullname !== plugin.name ? plugin.name : null; if (!shortname && fullname.indexOf('seneca-') === 0) { shortname = fullname.substring('seneca-'.length); } let shortname_options = Object.assign({}, // DEPRECATED: remove in 4 - so[shortname], so.plugin[shortname], + so.legacy.top_plugins ? so[fullname] : {}, so.plugin[shortname], // DEPRECATED: remove in 4 - so[shortname + '$' + plugin.tag], so.plugin[shortname + '$' + plugin.tag]); + so.legacy.top_plugins ? so[shortname + '$' + plugin.tag] : {}, so.plugin[shortname + '$' + plugin.tag]); let base = {}; // NOTE: plugin error codes are in their own namespaces // TODO: test this!!! diff --git a/lib/plugin.js.map b/lib/plugin.js.map index 0837edf4..2cd3cc75 100644 --- a/lib/plugin.js.map +++ b/lib/plugin.js.map @@ -1 +1 @@ -{"version":3,"file":"plugin.js","sourceRoot":"","sources":["plugin.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wBAAwB;AACxB,YAAY,CAAA;;;;;;AAEZ,oEAAoE;AAGpE,MAAM,IAAI,GAAQ,OAAO,CAAC,aAAa,CAAC,CAAA;AACxC,MAAM,KAAK,GAAQ,OAAO,CAAC,OAAO,CAAC,CAAA;AAEnC,8CAAqB;AACrB,+BAAqC;AAGrC,yEAAyE;AACzE,MAAM,MAAM,GAAQ,OAAO,CAAC,UAAU,CAAC,CAAA;AACvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAEpC,uBAAuB;AAGvB,MAAM,MAAM,GAAG,WAAW,EAAE,CAAA;AAG5B,SAAS,OAAO,CAAC,SAAc,EAAE,IAAS;IACxC,MAAM,KAAK,GAAG,UAAU,EAAE,CAAA;IAC1B,MAAM,IAAI,GAAG,IAAI,WAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA;IAE5C,IAAI,CAAC,QA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ED,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAGD,MAAM,MAAM,GAAG;IACb,OAAO;IACP,MAAM;CACP,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/plugin.ts b/lib/plugin.ts index e95bca68..35d6d7b3 100644 --- a/lib/plugin.ts +++ b/lib/plugin.ts @@ -342,8 +342,6 @@ function make_tasks(): any { } } } - - //seneca.register(plugin, meta) }, @@ -499,12 +497,12 @@ function make_tasks(): any { {}, // DEPRECATED: remove in 4 - so[fullname], + so.legacy.top_plugins ? so[fullname] : {}, so.plugin[fullname], // DEPRECATED: remove in 4 - so[fullname + '$' + plugin.tag], + so.legacy.top_plugins ? so[fullname + '$' + plugin.tag] : {}, so.plugin[fullname + '$' + plugin.tag] ) @@ -518,12 +516,12 @@ function make_tasks(): any { {}, // DEPRECATED: remove in 4 - so[shortname], + so.legacy.top_plugins ? so[fullname] : {}, so.plugin[shortname], // DEPRECATED: remove in 4 - so[shortname + '$' + plugin.tag], + so.legacy.top_plugins ? so[shortname + '$' + plugin.tag] : {}, so.plugin[shortname + '$' + plugin.tag] ) diff --git a/seneca.js b/seneca.js index f8a95887..7e871744 100644 --- a/seneca.js +++ b/seneca.js @@ -250,6 +250,8 @@ const option_defaults = { rules: false, // If false, use Gubu for option validation (including plugin defaults) options: true, + // If true, look for plugin options by name at the top level of options + top_plugins: false, }), // Processing task ordering. order: { diff --git a/seneca.js.map b/seneca.js.map index 76effd09..452b2ed6 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GA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AE,MAAW;QAC5E,IAAI,MAAM,EAAE;YACV,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;SAC1C;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,KAAK,CAAA;AACd,CAAC;AAED,6CAA6C;AAC7C,SAAS,YAAY;IACnB,OAAO;QACL,OAAO,EAAE,YAAY,EAAE;QACvB,KAAK,EAAE;YACL,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE;YACjB,GAAG,EAAE;gBACH,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,CAAC;aACT;YACD,MAAM,EAAE,EAAE;SACX;QACD,MAAM,EAAE,EAAE;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,EAAE;SACb;QACD,OAAO,EAAE;YACP,0CAA0C;YAC1C,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,GAAG;gBACR,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;aAC5B;SACF;QACD,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 6a1f566d..4ea6b621 100644 --- a/seneca.ts +++ b/seneca.ts @@ -337,6 +337,9 @@ const option_defaults = { // If false, use Gubu for option validation (including plugin defaults) options: true, + + // If true, look for plugin options by name at the top level of options + top_plugins: false, }), // Processing task ordering. From 9001a5c5b1f1cc3e73395a9dc804e57efce356ed Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 10 Feb 2023 14:31:28 +0000 Subject: [PATCH 12/42] build --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4fd393da..e2d13cbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,9 +5,9 @@ name: build on: push: - branches: [ master ] + branches: [ master, 3.x ] pull_request: - branches: [ master ] + branches: [ master, 3.x ] jobs: build: @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [lts/*, 17.x, 16.x, 14.x, 12.x, 10.x] + node-version: [lts/*, 19.x, 18.x, 16.x, 14.x, 12.x, 10.x] runs-on: ${{ matrix.os }} From 686cc33a624a5bd4f86c5fa2589d2ab5e8414496 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 10 Feb 2023 14:45:03 +0000 Subject: [PATCH 13/42] deconflict @seneca/request plugin --- lib/plugin.js | 6 ++++++ lib/plugin.js.map | 2 +- lib/plugin.ts | 7 +++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/plugin.js b/lib/plugin.js index 0d681aa2..fcb51ccc 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -120,6 +120,12 @@ function make_tasks() { let args = spec.data.plugin.args; let seneca = spec.ctx.seneca; let private$ = seneca.private$; + // Special cases for short plugin names + // TODO: plugin loading should check for @seneca and seneca first! + // 1. Avoid conflict with the OG request module! + if ('request' === args[0]) { + args[0] = '@seneca/request'; + } // TODO: use-plugin needs better error message for malformed plugin desc let desc = private$.use.build_plugin_desc(...args); desc.callpoint = spec.ctx.callpoint; diff --git a/lib/plugin.js.map b/lib/plugin.js.map index 2cd3cc75..3eac684b 100644 --- a/lib/plugin.js.map +++ b/lib/plugin.js.map @@ -1 +1 @@ -{"version":3,"file":"plugin.js","sourceRoot":"","sources":["plugin.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wBAAwB;AACxB,YAAY,CAAA;;;;;;AAEZ,oEAAoE;AAGpE,MAAM,IAAI,GAAQ,OAAO,CAAC,aAAa,CAAC,CAAA;AAC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IAAI,CAAC,IAAI,GAAG,EAAE;oBACjB,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;oBACd,IAAI,CAAC,GAAG,OAAO,CAAC,CAAA;oBAEhB,IAAI,EAAE,GAAQ,EAAE,CAAA;oBAEhB,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,IAAI,QAAQ,KAAK,CAAC,EAAE;wBACrE,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,CAAC,CAAA;wBAEzC,IAAI,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAA;wBAExC,IAAI,IAAI,CAAC,aAAa,EAAE;4BACtB,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,CAAA;yBACpC;wBAED,EAAE,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;qBAC9D;yBAAM;wBACL,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;qBACf;oBAED,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;iBACzB;gBAED,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAGD,MAAM,MAAM,GAAG;IACb,OAAO;IACP,MAAM;CACP,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/plugin.ts b/lib/plugin.ts index 35d6d7b3..e0f7ed9a 100644 --- a/lib/plugin.ts +++ b/lib/plugin.ts @@ -173,6 +173,13 @@ function make_tasks(): any { let seneca: any = spec.ctx.seneca let private$: any = seneca.private$ + // Special cases for short plugin names + // TODO: plugin loading should check for @seneca and seneca first! + // 1. Avoid conflict with the OG request module! + if ('request' === args[0]) { + args[0] = '@seneca/request' + } + // TODO: use-plugin needs better error message for malformed plugin desc let desc = private$.use.build_plugin_desc(...args) desc.callpoint = spec.ctx.callpoint From 611c193348e464a961fc2077fbc38acd16c1d798 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 10 Feb 2023 14:54:00 +0000 Subject: [PATCH 14/42] v3.30.0 --- package.json | 12 ++++++------ test/quick.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 1eb5dda6..730a9e0a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.29.0", + "version": "3.30.0", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ @@ -94,7 +94,7 @@ "lodash.defaultsdeep": "^4.6.1", "lodash.flatten": "^4.4.0", "lodash.uniq": "^4.5.0", - "minimist": "^1.2.7", + "minimist": "^1.2.8", "nid": "^2.0.1", "norma": "^2.0.2", "optioner": "^5.0.1", @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.11.18", + "@types/node": "^18.13.0", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -117,12 +117,12 @@ "handlebars": "^4.7.7", "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", - "prettier": "^2.8.2", - "seneca-entity": "^18.4.0", + "prettier": "^2.8.4", + "seneca-entity": "^19.0.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", "summary": "^2.1.0", - "typescript": "^4.9.4" + "typescript": "^4.9.5" } } diff --git a/test/quick.js b/test/quick.js index 7b0a7317..7c46b76b 100644 --- a/test/quick.js +++ b/test/quick.js @@ -18,7 +18,7 @@ let s0 = Seneca({ // this.private$.intercept.act_error.push(function foo_interceptor(actcall) { // console.log('FOO_INTERCEPTOR', actcall) // }) - + // }) // .act('sys:entity,hook:intercept,intercept:act_error', { From 0f02063cc2bdf807889dafa854a9f09406659ba9 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sat, 18 Feb 2023 15:21:04 +0000 Subject: [PATCH 15/42] update seneca-transport --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 730a9e0a..5d1ffd72 100644 --- a/package.json +++ b/package.json @@ -86,11 +86,11 @@ "dependencies": { "@hapi/joi": "^17.1.1", "@hapi/wreck": "17", + "@jsonic/jsonic-next": "^2.9.0", "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", "gubu": "^4.0.0", - "jsonic": "^1.0.1", "lodash.defaultsdeep": "^4.6.1", "lodash.flatten": "^4.4.0", "lodash.uniq": "^4.5.0", @@ -102,14 +102,14 @@ "patrun": "^7.2.5", "qs": "^6.11.0", "rolling-stats": "^0.2.1", - "seneca-transport": "^7.2.0", + "seneca-transport": "^8.0.0", "use-plugin": "9" }, "devDependencies": { "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.13.0", + "@types/node": "^18.14.0", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", From 01ca86c0ebe5ee908563a1622275c03da208235f Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sun, 19 Feb 2023 02:09:08 +0000 Subject: [PATCH 16/42] working --- lib/add.js | 2 +- lib/add.js.map | 2 +- lib/add.ts | 5 +- lib/api.js | 22 +++---- lib/api.js.map | 2 +- lib/api.ts | 23 +++---- lib/common.d.ts | 3 +- lib/common.js | 103 +++++++++++++++++++++++++++++-- lib/common.js.map | 2 +- lib/common.ts | 117 ++++++++++++++++++++++++++++++++++-- lib/legacy.js | 2 +- lib/legacy.js.map | 2 +- lib/legacy.ts | 2 +- lib/options.js | 2 +- lib/options.js.map | 2 +- lib/options.ts | 2 +- lib/transport.js | 2 +- lib/transport.js.map | 2 +- lib/transport.ts | 2 +- package.json | 4 +- seneca.js | 2 +- seneca.js.map | 2 +- seneca.ts | 2 +- test/actions.test.js | 4 +- test/common.test.js | 4 +- test/quick.js | 5 ++ test/seneca-options.test.js | 2 +- test/seneca.test.js | 4 +- 28 files changed, 262 insertions(+), 66 deletions(-) diff --git a/lib/add.js b/lib/add.js index a7982d91..687c48b3 100644 --- a/lib/add.js +++ b/lib/add.js @@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.task = exports.api_add = void 0; const gubu_1 = require("gubu"); +const Jsonic = require('@jsonic/jsonic-next'); const common_1 = require("./common"); -const Jsonic = require('jsonic'); function api_add() { let ctx = { opts: this.options(), diff --git a/lib/add.js.map b/lib/add.js.map index 32f81926..0dd65ed8 100644 --- a/lib/add.js.map +++ b/lib/add.js.map @@ -1 +1 @@ -{"version":3,"file":"add.js","sourceRoot":"","sources":["add.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAK/E,+BAAiC;AAGjC,qCAMiB;AAIjB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGhC,SAAS,OAAO;IACd,IAAI,GAAG,GAAG;QACR,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE;QACpB,IAAI,EAAE,IAAA,qBAAY,EAAC,IAAI,EAAE,SAAS,EAAE,qBAAqB,CAAC;QAC1D,OAAO,EAAE,IAAI,CAAC,QAAQ;QACtB,QAAQ,EAAE,IAAI;KACf,CAAA;IAED,IAAI,IAAI,GAAG;QACT,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;KACf,CAAA;IAED,2DAA2D;IAC3D,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC5C,IAAI,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BAAiB,EAAE,UAAS,MAAW;QACrC,OAAO;YACL,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,MAAM,EAAE;gBACN,IAAI,EAAE,MAAM,CAAC,eAAe;gBAC5B,IAAI,EAAE,MAAM,CAAC,WAAW;gBACxB,GAAG,EAAE,MAAM,CAAC,UAAU;aACvB;YACD,KAAK,EAAE,MAAM,CAAC,SAAS;YACvB,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,CAAC;YACP,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,EAAE;SACT,CAAA;IACH,CAAC;IAED,wEAAwE;IACxE,yEAAyE;IACzE,sBAAsB,EAAE,UAAS,MAAW,EAAE,MAAW;QACvD,YAAY,CAAC;YACX,IAAA,aAAI,EAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,EAAE,UAAS,MAAW;gBACzD,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;YAC7B,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/add.ts b/lib/add.ts index 1c2a853c..75d5e49a 100644 --- a/lib/add.ts +++ b/lib/add.ts @@ -5,6 +5,9 @@ import { TaskSpec } from 'ordu' import { Gubu, Open } from 'gubu' +const Jsonic = require('@jsonic/jsonic-next') + + import { clean, @@ -16,7 +19,7 @@ import { -const Jsonic = require('jsonic') + function api_add(this: any) { diff --git a/lib/api.js b/lib/api.js index 3f1604eb..e02e4b3f 100644 --- a/lib/api.js +++ b/lib/api.js @@ -2,7 +2,7 @@ /* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.API = void 0; -var Jsonic = require('jsonic'); +// var Jsonic = require('jsonic') var Norma = require('norma'); var Common = require('./common'); var errlog = Common.make_standard_err_log_entry; @@ -21,7 +21,7 @@ function wrap(pin, actdef, wrapper) { } function fix(patargs, msgargs, custom) { var self = this; - patargs = Jsonic(patargs || {}); + patargs = self.util.Jsonic(patargs || {}); var fix_delegate = self.delegate(patargs); // TODO: attach msgargs and custom to delegate.private$ in some way for debugging fix_delegate.add = function fix_add() { @@ -199,7 +199,7 @@ function delegate(fixedargs, fixedmeta) { }); strdesc = self.toString() + - (Object.keys(vfa).length ? '/' + Jsonic.stringify(vfa) : ''); + (Object.keys(vfa).length ? '/' + Common.jsonic_stringify(vfa) : ''); return strdesc; } var delegate_fixedargs = opts.strict.fixedargs @@ -341,8 +341,8 @@ function ping() { }; } function translate(from_in, to_in, pick_in) { - var from = 'string' === typeof from_in ? Jsonic(from_in) : from_in; - var to = 'string' === typeof to_in ? Jsonic(to_in) : to_in; + var from = 'string' === typeof from_in ? this.util.Jsonic(from_in) : from_in; + var to = 'string' === typeof to_in ? this.util.Jsonic(to_in) : to_in; var pick = {}; if ('string' === typeof pick_in) { pick_in = pick_in.split(/\s*,\s*/); @@ -419,7 +419,7 @@ function ignore_plugin(plugindesc, tag, ignore) { // Find the action metadata for a given pattern, if it exists. function find(pattern, flags) { var seneca = this; - var pat = 'string' === typeof pattern ? Jsonic(pattern) : pattern; + var pat = 'string' === typeof pattern ? seneca.util.Jsonic(pattern) : pattern; pat = seneca.util.clean(pat); pat = pat || {}; var actdef = seneca.private$.actrouter.find(pat, flags && flags.exact); @@ -435,14 +435,8 @@ function has(pattern) { // List all actions that match the pattern. function list(pattern) { return this.private$.actrouter - .list(null == pattern ? {} : Jsonic(pattern)) + .list(null == pattern ? {} : this.util.Jsonic(pattern)) .map((x) => x.match); - /* - return _.map( - this.private$.actrouter.list(null == pattern ? {} : Jsonic(pattern)), - 'match' - ) - */ } // Get the current status of the instance. function status(flags) { @@ -521,7 +515,7 @@ function client(callpoint) { var pins = config.pins || (Array.isArray(config.pin) ? config.pin : [config.pin || '']); pins = pins.map((pin) => { - return 'string' === typeof pin ? Jsonic(pin) : pin; + return 'string' === typeof pin ? self.util.Jsonic(pin) : pin; }); // TODO: review - this feels like a hack // perhaps we should instantiate a virtual plugin to represent the client? diff --git a/lib/api.js.map b/lib/api.js.map index 21da4109..60c37457 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,IAAI,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAC9B,IAAI,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAE5B,IAAI,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAEhC,IAAI,MAAM,GAAG,MAAM,CAAC,2BAA2B,CAAA;AAE/C,IAAI,MAAM,GAAQ,EAAE,CAAA;AAGpB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;IAEnD,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IACtC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,UAAS,CAAM;QAC9B,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,UAAS,UAAe;YACnD,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;QAC1C,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC;AAGD,SAAS,GAAG,CAAY,OAAY,EAAE,OAAY,EAAE,MAAW;IAC7D,IAAI,IAAI,GAAG,IAAI,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OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 8c9b3a7b..55a89e62 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -1,6 +1,6 @@ /* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ -var Jsonic = require('jsonic') +// var Jsonic = require('jsonic') var Norma = require('norma') var Common = require('./common') @@ -30,7 +30,7 @@ function wrap(this: any, pin: any, actdef: any, wrapper: any) { function fix(this: any, patargs: any, msgargs: any, custom: any) { var self = this - patargs = Jsonic(patargs || {}) + patargs = self.util.Jsonic(patargs || {}) var fix_delegate = self.delegate(patargs) @@ -263,7 +263,7 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { strdesc = self.toString() + - (Object.keys(vfa).length ? '/' + Jsonic.stringify(vfa) : '') + (Object.keys(vfa).length ? '/' + Common.jsonic_stringify(vfa) : '') return strdesc } @@ -450,8 +450,8 @@ function ping(this: any) { function translate(this: any, from_in: any, to_in: any, pick_in: any) { - var from = 'string' === typeof from_in ? Jsonic(from_in) : from_in - var to = 'string' === typeof to_in ? Jsonic(to_in) : to_in + var from = 'string' === typeof from_in ? this.util.Jsonic(from_in) : from_in + var to = 'string' === typeof to_in ? this.util.Jsonic(to_in) : to_in var pick: any = {} @@ -548,7 +548,7 @@ function ignore_plugin(this: any, plugindesc: any, tag: any, ignore: any) { function find(this: any, pattern: any, flags: any) { var seneca = this - var pat = 'string' === typeof pattern ? Jsonic(pattern) : pattern + var pat = 'string' === typeof pattern ? seneca.util.Jsonic(pattern) : pattern pat = seneca.util.clean(pat) pat = pat || {} @@ -571,15 +571,8 @@ function has(this: any, pattern: any) { // List all actions that match the pattern. function list(this: any, pattern: any) { return this.private$.actrouter - .list(null == pattern ? {} : Jsonic(pattern)) + .list(null == pattern ? {} : this.util.Jsonic(pattern)) .map((x: any) => x.match) - - /* - return _.map( - this.private$.actrouter.list(null == pattern ? {} : Jsonic(pattern)), - 'match' - ) - */ } @@ -689,7 +682,7 @@ function client(this: any, callpoint: any) { (Array.isArray(config.pin) ? config.pin : [config.pin || '']) pins = pins.map((pin: any) => { - return 'string' === typeof pin ? Jsonic(pin) : pin + return 'string' === typeof pin ? self.util.Jsonic(pin) : pin }) // TODO: review - this feels like a hack diff --git a/lib/common.d.ts b/lib/common.d.ts index 22c61d28..4d72007f 100644 --- a/lib/common.d.ts +++ b/lib/common.d.ts @@ -27,6 +27,7 @@ declare function inspect(val: any, opts?: any): string; declare function make_callpoint(active: any): (override: any) => any; declare function make_trace_desc(meta: any): any[]; declare function msgstr(msg: any, len?: number): string; +declare function jsonic_stringify(val: any, callopts?: any): string; declare const TRACE_PATTERN = 0; declare const TRACE_ID = 1; declare const TRACE_INSTANCE = 2; @@ -55,4 +56,4 @@ declare class ActHistory { toString(this: any): string; [Util.inspect.custom](this: any): any; } -export { promiser, stringify, wrap_error, make_plugin_key, boolify, parse_jsonic, parse_pattern, build_message, pattern, pincanon, noop, clean, deep, each, makedie, make_standard_act_log_entry, make_standard_err_log_entry, resolve_option, autoincr, make_callpoint, make_trace_desc, history, print, parsePattern, tagnid, inspect, error, msgstr, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, TRACE_TAG, TRACE_VERSION, TRACE_START, TRACE_END, TRACE_SYNC, TRACE_ACTION, }; +export { promiser, stringify, wrap_error, make_plugin_key, boolify, parse_jsonic, parse_pattern, build_message, pattern, pincanon, noop, clean, deep, each, makedie, make_standard_act_log_entry, make_standard_err_log_entry, resolve_option, autoincr, make_callpoint, make_trace_desc, history, print, parsePattern, tagnid, inspect, error, msgstr, jsonic_stringify, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, TRACE_TAG, TRACE_VERSION, TRACE_START, TRACE_END, TRACE_SYNC, TRACE_ACTION, }; diff --git a/lib/common.js b/lib/common.js index f0d2ce4f..33440557 100644 --- a/lib/common.js +++ b/lib/common.js @@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.TRACE_ACTION = exports.TRACE_SYNC = exports.TRACE_END = exports.TRACE_START = exports.TRACE_VERSION = exports.TRACE_TAG = exports.TRACE_INSTANCE = exports.TRACE_ID = exports.TRACE_PATTERN = exports.msgstr = exports.error = exports.inspect = exports.tagnid = exports.parsePattern = exports.print = exports.history = exports.make_trace_desc = exports.make_callpoint = exports.autoincr = exports.resolve_option = exports.make_standard_err_log_entry = exports.make_standard_act_log_entry = exports.makedie = exports.each = exports.deep = exports.clean = exports.noop = exports.pincanon = exports.pattern = exports.build_message = exports.parse_pattern = exports.parse_jsonic = exports.boolify = exports.make_plugin_key = exports.wrap_error = exports.stringify = exports.promiser = void 0; +exports.TRACE_ACTION = exports.TRACE_SYNC = exports.TRACE_END = exports.TRACE_START = exports.TRACE_VERSION = exports.TRACE_TAG = exports.TRACE_INSTANCE = exports.TRACE_ID = exports.TRACE_PATTERN = exports.jsonic_stringify = exports.msgstr = exports.error = exports.inspect = exports.tagnid = exports.parsePattern = exports.print = exports.history = exports.make_trace_desc = exports.make_callpoint = exports.autoincr = exports.resolve_option = exports.make_standard_err_log_entry = exports.make_standard_act_log_entry = exports.makedie = exports.each = exports.deep = exports.clean = exports.noop = exports.pincanon = exports.pattern = exports.build_message = exports.parse_pattern = exports.parse_jsonic = exports.boolify = exports.make_plugin_key = exports.wrap_error = exports.stringify = exports.promiser = void 0; const util_1 = __importDefault(require("util")); const errors_1 = __importDefault(require("./errors")); const Stringify = require('fast-safe-stringify'); const Eraro = require('eraro'); -const Jsonic = require('jsonic'); +const Jsonic = require('@jsonic/jsonic-next'); const nid_1 = __importDefault(require("nid")); const Norma = require('norma'); const DefaultsDeep = require('lodash.defaultsdeep'); @@ -100,12 +100,14 @@ function parse_jsonic(str, code) { return null == str ? null : Jsonic(str); } catch (e) { - let col = 1 === e.line ? e.column - 1 : e.column; + // let col = 1 === e.line ? e.column - 1 : e.column throw error(code, { argstr: str, syntax: e.message, - line: e.line, - col: col, + line: e.lineNumber, + col: e.columnNumber, + // line: e.line, + // col: col, }); } } @@ -283,7 +285,7 @@ function makedie(instance, ctxt) { ', ' + when.getTime() + '\nLOG ::: ' + - Jsonic.stringify(logdesc) + + jsonic_stringify(logdesc) + '\nNODE ::: ' + process.version + ', ' + @@ -464,6 +466,95 @@ function msgstr(msg, len = 111) { return str; } exports.msgstr = msgstr; +function jsonic_strify(val, opts, depth) { + depth++; + if (null == val) + return 'null'; + var type = Object.prototype.toString.call(val).charAt(8); + if ('F' === type && !opts.showfunc) + return null; + // WARNING: output may not be jsonically parsable! + if (opts.custom) { + if (Object.prototype.hasOwnProperty.call(val, 'toString')) { + return val.toString(); + } + else if (Object.prototype.hasOwnProperty.call(val, 'inspect')) { + return val.inspect(); + } + } + var out, i = 0, j, k; + if ('N' === type) { + return isNaN(val) ? 'null' : val.toString(); + } + else if ('O' === type) { + out = []; + if (depth <= opts.depth) { + j = 0; + for (let i in val) { + if (j >= opts.maxitems) + break; + var pass = true; + for (k = 0; k < opts.exclude.length && pass; k++) { + pass = !~i.indexOf(opts.exclude[k]); + } + pass = pass && !opts.omit[i]; + let str = jsonic_strify(val[i], opts, depth); + if (null != str && pass) { + var n = i.match(/^[a-zA-Z0-9_$]+$/) ? i : JSON.stringify(i); + out.push(n + ':' + str); + j++; + } + } + } + return '{' + out.join(',') + '}'; + } + else if ('A' === type) { + out = []; + if (depth <= opts.depth) { + for (; i < val.length && i < opts.maxitems; i++) { + let str = jsonic_strify(val[i], opts, depth); + if (null != str) { + out.push(str); + } + } + } + return '[' + out.join(',') + ']'; + } + else { + var valstr = val.toString(); + if (~" \"'\r\n\t,}]".indexOf(valstr[0]) || + !~valstr.match(/,}]/) || + ~" \r\n\t".indexOf(valstr[valstr.length - 1])) { + valstr = "'" + valstr.replace(/'/g, "\\'") + "'"; + } + return valstr; + } +} +// Legacy Jsonic stringify +function jsonic_stringify(val, callopts) { + try { + callopts = callopts || {}; + var opts = {}; + opts.showfunc = callopts.showfunc || callopts.f || false; + opts.custom = callopts.custom || callopts.c || false; + opts.depth = callopts.depth || callopts.d || 3; + opts.maxitems = callopts.maxitems || callopts.mi || 11; + opts.maxchars = callopts.maxchars || callopts.mc || 111; + opts.exclude = callopts.exclude || callopts.x || ['$']; + var omit = callopts.omit || callopts.o || []; + opts.omit = {}; + for (var i = 0; i < omit.length; i++) { + opts.omit[omit[i]] = true; + } + var str = jsonic_strify(val, opts, 0); + str = null == str ? '' : str.substring(0, opts.maxchars); + return str; + } + catch (e) { + return 'ERROR: jsonic_stringify: ' + e + ' input was: ' + JSON.stringify(val); + } +} +exports.jsonic_stringify = jsonic_stringify; const TRACE_PATTERN = 0; exports.TRACE_PATTERN = TRACE_PATTERN; const TRACE_ID = 1; diff --git a/lib/common.js.map b/lib/common.js.map index a085500f..e2db29a9 100644 --- a/lib/common.js.map +++ b/lib/common.js.map @@ -1 +1 @@ -{"version":3,"file":"common.js","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;;AAGZ,gDAAuB;AAGvB,sDAA6B;AAG7B,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAChD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,8CAAqB;AACrB,MAAM,KAAK,GA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AA;IACJ,CAAC;IAED,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACnB,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAA;IACxB,CAAC;CACF"} \ No newline at end of file diff --git a/lib/common.ts b/lib/common.ts index 51e7d747..3aa05740 100644 --- a/lib/common.ts +++ b/lib/common.ts @@ -10,7 +10,7 @@ import Errors from './errors' const Stringify = require('fast-safe-stringify') const Eraro = require('eraro') -const Jsonic = require('jsonic') +const Jsonic = require('@jsonic/jsonic-next') import Nid from 'nid' const Norma = require('norma') const DefaultsDeep = require('lodash.defaultsdeep') @@ -122,12 +122,14 @@ function parse_jsonic(str: any, code: any) { try { return null == str ? null : Jsonic(str) } catch (e: any) { - let col = 1 === e.line ? e.column - 1 : e.column + // let col = 1 === e.line ? e.column - 1 : e.column throw error(code, { argstr: str, syntax: e.message, - line: e.line, - col: col, + line: e.lineNumber, + col: e.columnNumber, + // line: e.line, + // col: col, }) } } @@ -371,7 +373,7 @@ function makedie(instance: any, ctxt: any) { ', ' + when.getTime() + '\nLOG ::: ' + - Jsonic.stringify(logdesc) + + jsonic_stringify(logdesc) + '\nNODE ::: ' + process.version + ', ' + @@ -596,6 +598,110 @@ function msgstr(msg: any, len: number = 111): string { } +function jsonic_strify(val: any, opts: any, depth: number) { + depth++ + if (null == val) return 'null' + + var type = Object.prototype.toString.call(val).charAt(8) + if ('F' === type && !opts.showfunc) return null + + // WARNING: output may not be jsonically parsable! + if (opts.custom) { + if (Object.prototype.hasOwnProperty.call(val, 'toString')) { + return val.toString() + } + else if (Object.prototype.hasOwnProperty.call(val, 'inspect')) { + return val.inspect() + } + } + + + var out, i = 0, j, k + + if ('N' === type) { + return isNaN(val) ? 'null' : val.toString() + } + else if ('O' === type) { + out = [] + if (depth <= opts.depth) { + j = 0 + for (let i in val) { + if (j >= opts.maxitems) break + + var pass = true + for (k = 0; k < opts.exclude.length && pass; k++) { + pass = !~i.indexOf(opts.exclude[k]) + } + pass = pass && !opts.omit[i] + + let str: string = jsonic_strify(val[i], opts, depth) + + if (null != str && pass) { + var n = i.match(/^[a-zA-Z0-9_$]+$/) ? i : JSON.stringify(i) + out.push(n + ':' + str) + j++ + } + } + } + return '{' + out.join(',') + '}' + } + else if ('A' === type) { + out = [] + if (depth <= opts.depth) { + for (; i < val.length && i < opts.maxitems; i++) { + let str: string = jsonic_strify(val[i], opts, depth) + if (null != str) { + out.push(str) + } + } + } + return '[' + out.join(',') + ']' + } + else { + var valstr = val.toString() + + if (~" \"'\r\n\t,}]".indexOf(valstr[0]) || + !~valstr.match(/,}]/) || + ~" \r\n\t".indexOf(valstr[valstr.length - 1])) { + valstr = "'" + valstr.replace(/'/g, "\\'") + "'" + } + + return valstr + } +} + + + +// Legacy Jsonic stringify +function jsonic_stringify(val: any, callopts?: any) { + try { + callopts = callopts || {} + var opts: any = {} + + opts.showfunc = callopts.showfunc || callopts.f || false + opts.custom = callopts.custom || callopts.c || false + opts.depth = callopts.depth || callopts.d || 3 + opts.maxitems = callopts.maxitems || callopts.mi || 11 + opts.maxchars = callopts.maxchars || callopts.mc || 111 + opts.exclude = callopts.exclude || callopts.x || ['$'] + var omit = callopts.omit || callopts.o || [] + + opts.omit = {} + for (var i = 0; i < omit.length; i++) { + opts.omit[omit[i]] = true; + } + + var str: string = jsonic_strify(val, opts, 0) + str = null == str ? '' : str.substring(0, opts.maxchars) + return str + } + catch (e) { + return 'ERROR: jsonic_stringify: ' + e + ' input was: ' + JSON.stringify(val) + } +} + + + const TRACE_PATTERN = 0 const TRACE_ID = 1 const TRACE_INSTANCE = 2 @@ -746,6 +852,7 @@ export { inspect, error, msgstr, + jsonic_stringify, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, diff --git a/lib/legacy.js b/lib/legacy.js index 769caad9..cd263d8a 100644 --- a/lib/legacy.js +++ b/lib/legacy.js @@ -10,7 +10,7 @@ const errors_1 = __importDefault(require("./errors")); const Flatten = require('lodash.flatten'); const Eraro = require('eraro'); const Norma = require('norma'); -const Jsonic = require('jsonic'); +const Jsonic = require('@jsonic/jsonic-next'); const Common = require('./common'); const internals = { error: Eraro({ diff --git a/lib/legacy.js.map b/lib/legacy.js.map index 72f3ffbe..3e3187b1 100644 --- a/lib/legacy.js.map +++ b/lib/legacy.js.map @@ -1 +1 @@ -{"version":3,"file":"legacy.js","sourceRoot":"","sources":["legacy.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,gDAAuB;AAEvB,sDAA6B;AAG7B,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;AACzC,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAEhC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAGlC,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,KAAK,CAAC;QACX,OAAO,EAAE,QAAQ;QACjB,MAAM,EAAE,gBAAM;QACd,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAA;AAID,kCAAkC;AAClC,2CAA2C;AAC3C,8BAA8B;AAE9B,SAAS,OAAO,CAAC,GAAQ,EAAE,IAAS;IAClC,IAAI,GAAG,GAAG,EAAE,CAAA;IACZ,OAAO,IAAI,IAAI,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE;QACpC,IAAI,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;QAC/B,OAAO,KAAK,CAAC,IAAI,CAAA;QACjB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACf,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;KACnB;IACD,OAAO,GAAG,CAAA;AACZ,CAAC;AAGD,qBAAqB;AACrB,SAAS,GAAG;IACV,KA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I,EAAE;gBAC5B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;aACtB;SACF;QAED,IAAI,GAAG,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;QAC9C,GAAG,CAAC,SAAS,GAAG,CAAC,CAAA,MAAA,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,KAAK,0CAAE,KAAK,CAAC,kBAAkB,CAAC,KAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QACzE,GAAG,CAAC,MAAM,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,OAAO,EAAE,CAAA;QAEpD,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,GAAG,CAAC,CAAC,CAAA;QAEvD,IAAI,EAAE,CAAC,UAAU,EAAE;YACjB,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;SAC9B;QAED,IAAI,EAAE,EAAE;YACN,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;SACnB;QAED,OAAO,GAAG,CAAA;IACZ,CAAC,CAAA;AACH,CAAC;AAID,MAAM,MAAM,GAAG;IACb,OAAO;IACP,GAAG;IACH,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,gBAAgB;CACjB,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/legacy.ts b/lib/legacy.ts index a337feab..4cdc1266 100644 --- a/lib/legacy.ts +++ b/lib/legacy.ts @@ -9,7 +9,7 @@ import Errors from './errors' const Flatten = require('lodash.flatten') const Eraro = require('eraro') const Norma = require('norma') -const Jsonic = require('jsonic') +const Jsonic = require('@jsonic/jsonic-next') const Common = require('./common') diff --git a/lib/options.js b/lib/options.js index d41a85cb..5dde8a9f 100644 --- a/lib/options.js +++ b/lib/options.js @@ -8,7 +8,7 @@ exports.resolve_options = void 0; const fs_1 = __importDefault(require("fs")); const path_1 = __importDefault(require("path")); const Eraro = require('eraro'); -const Jsonic = require('jsonic'); +const Jsonic = require('@jsonic/jsonic-next'); const Minimist = require('minimist'); const { Gubu } = require('gubu'); const Common = require('./common'); diff --git a/lib/options.js.map b/lib/options.js.map index ebc022f8..e60b00a4 100644 --- a/lib/options.js.map +++ b/lib/options.js.map @@ -1 +1 @@ -{"version":3,"file":"options.js","sourceRoot":"","sources":["options.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,4CAAmB;AACnB,gDAAuB;AAEvB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AACpC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEhC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,MAAM,KAAK,GAAG,KAAK,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,CAAC,CAAA;AAG/D,SAAS,eAAe,CAAC,UAAe,EAAE,QAAa,EAAE,YAAiB;IACxE,IAAI,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAA;IAEhC,IAAI,SAAS,GAAQ;QACnB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,YAAY,EAAE,EAAE;QAChB,MAAM,EAAE,EAAE;KACX,CAAA;IAED,iDAAiD;IACjD,IAAI,OAAO,GAAQ,EAAE,CAAA;IAErB,IAAI,UAAe,CAAA;IAEnB,IAAI,YAAY,CAAC,MAAM,IAAI,YAAY,CAAC,MAAM,CAAC,OAAO,EAAE;QACtD,UAAU,GAAG,YAAY,CAAC,MAA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line at end of file diff --git a/lib/options.ts b/lib/options.ts index 96eae4a6..e3977029 100644 --- a/lib/options.ts +++ b/lib/options.ts @@ -5,7 +5,7 @@ import Fs from 'fs' import Path from 'path' const Eraro = require('eraro') -const Jsonic = require('jsonic') +const Jsonic = require('@jsonic/jsonic-next') const Minimist = require('minimist') const { Gubu } = require('gubu') diff --git a/lib/transport.js b/lib/transport.js index 3ce209de..abe5d0ac 100644 --- a/lib/transport.js +++ b/lib/transport.js @@ -10,7 +10,7 @@ const http_1 = __importDefault(require("http")); const Https = require('https'); const Qs = require('qs'); const Url = require('url'); -const Jsonic = require('jsonic'); +const Jsonic = require('@jsonic/jsonic-next'); const Wreck = require('@hapi/wreck'); const Common = require('./common'); const legacy_1 = require("./legacy"); diff --git a/lib/transport.js.map b/lib/transport.js.map index ec606f42..5e97824f 100644 --- a/lib/transport.js.map +++ b/lib/transport.js.map @@ -1 +1 @@ -{"version":3,"file":"transport.js","sourceRoot":"","sources":["transport.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,gDAAuB;AACvB,gDAAuB;AAEvB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACxB,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA;AAE1B,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,KAAK,GAAG,OAAO,CAAC,aAAa,CAAC,CAAA;AACpC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,qCAAiC;AAGjC,uBAAuB;AACvB,0CAA0C;AAC1C,0CAA0C;AAE1C,wDAAwD;AAExD,SAAS,SAAS,CAAC,MAAW;IAC5B,MAAM,CAAC,GAAG,CAAC,2BAA2B,EAAE,aAAa,CAAC,CAAA;IACtD,MAAM,CAAC,GAAG,CAAC,2BAA2B,EAAE,aAAa,CAAC,CAAA;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AC,GAAG,CAAC,CAAA;YACnB,CAAC,CAAC,CAAA;QACN,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,MAAW,EAAE,IAAS;IAChD,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IACvE,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAE7D,IAAI,CAAC,KAAK,GAAG;QACX,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,OAAO,EAAE,IAAI,CAAC,IAAI;QAClB,IAAI,EAAE,EAAE;KACT,CAAA;IAED,OAAO,IAAI,CAAA;AACb,CAAC"} \ No newline at end of file diff --git a/lib/transport.ts b/lib/transport.ts index ceec5a62..54141518 100644 --- a/lib/transport.ts +++ b/lib/transport.ts @@ -8,7 +8,7 @@ const Https = require('https') const Qs = require('qs') const Url = require('url') -const Jsonic = require('jsonic') +const Jsonic = require('@jsonic/jsonic-next') const Wreck = require('@hapi/wreck') const Common = require('./common') diff --git a/package.json b/package.json index 5d1ffd72..1a7f1f67 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "dependencies": { "@hapi/joi": "^17.1.1", "@hapi/wreck": "17", - "@jsonic/jsonic-next": "^2.9.0", + "@jsonic/jsonic-next": "^2.9.1", "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", @@ -118,7 +118,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.4", - "seneca-entity": "^19.0.0", + "seneca-entity": "^19.2.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", diff --git a/seneca.js b/seneca.js index 7e871744..e301b7e4 100644 --- a/seneca.js +++ b/seneca.js @@ -9,7 +9,7 @@ const Events = require('events'); const Util = require('util'); // External modules. const GateExecutor = require('gate-executor'); -const Jsonic = require('jsonic'); +const Jsonic = require('@jsonic/jsonic-next'); const UsePlugin = require('use-plugin'); const nid_1 = __importDefault(require("nid")); const patrun_1 = require("patrun"); diff --git a/seneca.js.map b/seneca.js.map index 452b2ed6..acc2392e 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;AACvC,8CAAqB;AACrB,mCAAoC;AACpC,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AACtC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAChC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AACtD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAG9B,6BAA6B;AAC7B,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AACpC,MAAM,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;AAGhC,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;AACtC,MAAM,EAAE,YAAY,EAAE,GAAG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AAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;aAC5B;SACF;QACD,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 4ea6b621..9cb15bc4 100644 --- a/seneca.ts +++ b/seneca.ts @@ -9,7 +9,7 @@ const Util = require('util') // External modules. const GateExecutor = require('gate-executor') -const Jsonic = require('jsonic') +const Jsonic = require('@jsonic/jsonic-next') const UsePlugin = require('use-plugin') import Nid from 'nid' import { Patrun, Gex } from 'patrun' diff --git a/test/actions.test.js b/test/actions.test.js index 3804dc50..f1feaa8e 100644 --- a/test/actions.test.js +++ b/test/actions.test.js @@ -75,7 +75,9 @@ describe('actions', function () { }) it('info_fatal', function (fin) { - Seneca({ log: 'silent', system: { exit: function noop() {} } }).ready( + Seneca({ + log: 'silent', + system: { exit: function noop() {} } }).ready( function () { this.close = function () {} this.root.close = function () {} diff --git a/test/common.test.js b/test/common.test.js index be11e8c5..f0ad5b05 100644 --- a/test/common.test.js +++ b/test/common.test.js @@ -394,14 +394,14 @@ describe('common', function () { expect(Common.parse_jsonic('\na:b')).equal({ a: 'b' }) try { - Common.parse_jsonic('a') + Common.parse_jsonic('a::') expect(false).true() } catch (e) { expect(e.code).equals('bad_jsonic') } try { - Common.parse_jsonic('\n\na:\n\n x}') + Common.parse_jsonic('\n\na::\n\n x}') expect(false).true() } catch (e) { expect(e.code).equals('bad_jsonic') diff --git a/test/quick.js b/test/quick.js index 7c46b76b..122eaf84 100644 --- a/test/quick.js +++ b/test/quick.js @@ -1,3 +1,8 @@ +const Jsonic = require('@jsonic/jsonic-next') + +Jsonic('a::') + + const Seneca = require('../seneca') console.log(Seneca.util.Gex('a*')) diff --git a/test/seneca-options.test.js b/test/seneca-options.test.js index 7dc41f35..bd1a761f 100644 --- a/test/seneca-options.test.js +++ b/test/seneca-options.test.js @@ -83,7 +83,7 @@ describe('seneca --seneca.log arguments tests: ', function () { it('incorrect arg --seneca.log=level:', function (fin) { var opts = { debug: {} } - opts.debug.argv = ['', '', '--seneca.log=level:'] + opts.debug.argv = ['', '', '--seneca.log=level::'] try { Seneca(opts) Code.fail() diff --git a/test/seneca.test.js b/test/seneca.test.js index 9319a0ac..d1691d95 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -688,14 +688,14 @@ describe('seneca', function () { assert.equal(2, out) try { - si.add('a:,b:2', function (args, cb) { + si.add('a::2', function (args, cb) { cb() }) } catch (e) { assert.equal(e.code, 'add_string_pattern_syntax') try { - si.act('a:,b:2', { c: 3 }, function () { + si.act('a::2', { c: 3 }, function () { assert.fail() }) } catch (e) { From a8735802a2500d793d189f9802176b72fc05e8fc Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 24 Feb 2023 17:20:57 +0000 Subject: [PATCH 17/42] deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1a7f1f67..71169172 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.14.0", + "@types/node": "^18.14.1", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -118,7 +118,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.4", - "seneca-entity": "^19.2.0", + "seneca-entity": "^20.0.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", From f997189ab44bdde36f1e816b6ce6e49101f99aa4 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 1 Mar 2023 11:16:58 +0000 Subject: [PATCH 18/42] deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 71169172..25ac0466 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.14.1", + "@types/node": "^18.14.2", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -118,7 +118,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.4", - "seneca-entity": "^20.0.0", + "seneca-entity": "^20.0.1", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", From a3a210d3c6e49f8440f517497d4f65b6e94964ce Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 1 Mar 2023 11:57:15 +0000 Subject: [PATCH 19/42] common cleanup --- lib/add.js | 2 +- lib/add.js.map | 2 +- lib/add.ts | 3 +-- lib/api.js | 39 ++++++++++++++++++------------------ lib/api.js.map | 2 +- lib/api.ts | 51 ++++++++++++++++++++++++++++------------------- lib/common.d.ts | 4 ++-- lib/common.js | 5 +---- lib/common.js.map | 2 +- lib/common.ts | 7 ++----- 10 files changed, 60 insertions(+), 57 deletions(-) diff --git a/lib/add.js b/lib/add.js index 687c48b3..19f52741 100644 --- a/lib/add.js +++ b/lib/add.js @@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.task = exports.api_add = void 0; const gubu_1 = require("gubu"); -const Jsonic = require('@jsonic/jsonic-next'); const common_1 = require("./common"); function api_add() { let ctx = { @@ -95,6 +94,7 @@ const task = { const actdef = spec.data.actdef; const pat = spec.data.pattern; const opts = spec.ctx.opts; + const Jsonic = spec.ctx.instance.util.Jsonic; actdef.sub = !!actdef.raw.sub$; actdef.client = !!actdef.raw.client$; // Deprecate a pattern by providing a string message using deprecate$ key. diff --git a/lib/add.js.map b/lib/add.js.map index 0dd65ed8..fbb48bfc 100644 --- a/lib/add.js.map +++ b/lib/add.js.map @@ -1 +1 @@ -{"version":3,"file":"add.js","sourceRoot":"","s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M,EAAE,MAAM,CAAC,CAAA;YAC7B,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/add.ts b/lib/add.ts index 75d5e49a..d36f7b51 100644 --- a/lib/add.ts +++ b/lib/add.ts @@ -5,8 +5,6 @@ import { TaskSpec } from 'ordu' import { Gubu, Open } from 'gubu' -const Jsonic = require('@jsonic/jsonic-next') - import { @@ -131,6 +129,7 @@ const task = { const actdef = spec.data.actdef const pat = spec.data.pattern const opts = spec.ctx.opts + const Jsonic = spec.ctx.instance.util.Jsonic actdef.sub = !!actdef.raw.sub$ actdef.client = !!actdef.raw.client$ diff --git a/lib/api.js b/lib/api.js index e02e4b3f..1eb19aad 100644 --- a/lib/api.js +++ b/lib/api.js @@ -1,19 +1,18 @@ "use strict"; -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.API = void 0; -// var Jsonic = require('jsonic') -var Norma = require('norma'); -var Common = require('./common'); -var errlog = Common.make_standard_err_log_entry; -var intern = {}; +const Norma = require('norma'); +const common_1 = require("./common"); +const errlog = common_1.make_standard_err_log_entry; +const intern = {}; function wrap(pin, actdef, wrapper) { var pinthis = this; wrapper = 'function' === typeof actdef ? actdef : wrapper; actdef = 'function' === typeof actdef ? {} : actdef; pin = Array.isArray(pin) ? pin : [pin]; - Common.each(pin, function (p) { - Common.each(pinthis.list(p), function (actpattern) { + (0, common_1.each)(pin, function (p) { + (0, common_1.each)(pinthis.list(p), function (actpattern) { pinthis.add(actpattern, wrapper, actdef); }); }); @@ -64,7 +63,7 @@ function options(options, chain) { } // Update callpoint if (out_opts.debug.callpoint) { - private$.callpoint = Common.make_callpoint(out_opts.debug.callpoint); + private$.callpoint = (0, common_1.make_callpoint)(out_opts.debug.callpoint); } // DEPRECATED if (out_opts.legacy.logging) { @@ -85,7 +84,7 @@ function close(callpoint) { return function api_close(done) { var seneca = this; if (false !== done && null == done) { - return Common.promiser(intern.close.bind(seneca, callpoint)); + return (0, common_1.promiser)(intern.close.bind(seneca, callpoint)); } return intern.close.call(seneca, callpoint, done); }; @@ -127,7 +126,7 @@ function error(first) { error = plugin.eraro.apply(this, arguments); } else { - error = Common.eraro.apply(this, arguments); + error = common_1.error.apply(this, arguments); } return error; } @@ -199,7 +198,7 @@ function delegate(fixedargs, fixedmeta) { }); strdesc = self.toString() + - (Object.keys(vfa).length ? '/' + Common.jsonic_stringify(vfa) : ''); + (Object.keys(vfa).length ? '/' + (0, common_1.jsonic_stringify)(vfa) : ''); return strdesc; } var delegate_fixedargs = opts.strict.fixedargs @@ -393,11 +392,11 @@ function list_plugins() { return Object.assign({}, this.private$.plugins); } function find_plugin(plugindesc, tag) { - var plugin_key = Common.make_plugin_key(plugindesc, tag); + var plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); return this.private$.plugins[plugin_key]; } function has_plugin(plugindesc, tag) { - var plugin_key = Common.make_plugin_key(plugindesc, tag); + var plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); return !!this.private$.plugins[plugin_key]; } function ignore_plugin(plugindesc, tag, ignore) { @@ -405,7 +404,7 @@ function ignore_plugin(plugindesc, tag, ignore) { ignore = tag; tag = null; } - var plugin_key = Common.make_plugin_key(plugindesc, tag); + var plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); var resolved_ignore = (this.private$.ignore_plugins[plugin_key] = null == ignore ? true : !!ignore); this.log.info({ @@ -509,9 +508,9 @@ function client(callpoint) { var opts = self.options().transport || {}; var raw_config = intern.parse_config(argsarr); // pg: pin group - raw_config.pg = Common.pincanon(raw_config.pin || raw_config.pins); + raw_config.pg = (0, common_1.pincanon)(raw_config.pin || raw_config.pins); var config = intern.resolve_config(raw_config, opts); - config.id = config.id || Common.pattern(raw_config); + config.id = config.id || (0, common_1.pattern)(raw_config); var pins = config.pins || (Array.isArray(config.pin) ? config.pin : [config.pin || '']); pins = pins.map((pin) => { @@ -574,7 +573,7 @@ function client(callpoint) { return sd.die(private$.error(err, 'transport_client', config)); } if (null == liveclient) { - return sd.die(private$.error('transport_client_null', Common.clean(config))); + return sd.die(private$.error('transport_client_null', (0, common_1.clean)(config))); } sendclient = liveclient; }); @@ -670,7 +669,7 @@ intern.close = function (callpoint, done) { seneca.closed = true; seneca.flags.closed = true; // cleanup process event listeners - Common.each(options.system.close_signals, function (active, signal) { + (0, common_1.each)(options.system.close_signals, function (active, signal) { if (active) { process.removeListener(signal, seneca.private$.exit_close); } @@ -699,7 +698,7 @@ intern.close = function (callpoint, done) { }; intern.fix_args = function (origargs, patargs, msgargs, custom) { - var args = Common.parsePattern(this, origargs, 'rest:.*', patargs); + var args = (0, common_1.parsePattern)(this, origargs, 'rest:.*', patargs); var fixargs = [args.pattern] .concat({ fixed$: Object.assign({}, msgargs, args.pattern.fixed$), diff --git a/lib/api.js.map b/lib/api.js.map index 60c37457..bb60aafd 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,iCAAiC;AACjC,IAAI,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAE5B,IAAI,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAEhC,IAAI,MAAM,GAAG,MAAM,CAAC,2BAA2B,CAAA;AAE/C,IAAI,MAAM,GAAQ,EAAE,CAAA;AAGpB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,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AAY,EAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;QAC3D,IAAI,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;aACzB,MAAM,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 55a89e62..f12de275 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -1,13 +1,24 @@ -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ -// var Jsonic = require('jsonic') -var Norma = require('norma') +const Norma = require('norma') -var Common = require('./common') +import { + each, + make_standard_err_log_entry, + make_callpoint, + promiser, + error as common_error, + jsonic_stringify, + make_plugin_key, + pincanon, + pattern, + clean, + parsePattern, +} from './common' -var errlog = Common.make_standard_err_log_entry +const errlog = make_standard_err_log_entry -var intern: any = {} +const intern: any = {} function wrap(this: any, pin: any, actdef: any, wrapper: any) { @@ -17,8 +28,8 @@ function wrap(this: any, pin: any, actdef: any, wrapper: any) { actdef = 'function' === typeof actdef ? {} : actdef pin = Array.isArray(pin) ? pin : [pin] - Common.each(pin, function(p: any) { - Common.each(pinthis.list(p), function(actpattern: any) { + each(pin, function(p: any) { + each(pinthis.list(p), function(actpattern: any) { pinthis.add(actpattern, wrapper, actdef) }) }) @@ -92,7 +103,7 @@ function options(this: any, options: any, chain: any) { // Update callpoint if (out_opts.debug.callpoint) { - private$.callpoint = Common.make_callpoint(out_opts.debug.callpoint) + private$.callpoint = make_callpoint(out_opts.debug.callpoint) } // DEPRECATED @@ -118,7 +129,7 @@ function close(callpoint: any) { var seneca = this if (false !== done && null == done) { - return Common.promiser(intern.close.bind(seneca, callpoint)) + return promiser(intern.close.bind(seneca, callpoint)) } return intern.close.call(seneca, callpoint, done) @@ -171,7 +182,7 @@ function error(this: any, first: any) { if (plugin && plugin.eraro && plugin.eraro.has(first)) { error = plugin.eraro.apply(this, arguments) } else { - error = Common.eraro.apply(this, arguments) + error = common_error.apply(this, arguments) } return error @@ -263,7 +274,7 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { strdesc = self.toString() + - (Object.keys(vfa).length ? '/' + Common.jsonic_stringify(vfa) : '') + (Object.keys(vfa).length ? '/' + jsonic_stringify(vfa) : '') return strdesc } @@ -513,13 +524,13 @@ function list_plugins(this: any) { function find_plugin(this: any, plugindesc: any, tag: any) { - var plugin_key = Common.make_plugin_key(plugindesc, tag) + var plugin_key = make_plugin_key(plugindesc, tag) return this.private$.plugins[plugin_key] } function has_plugin(this: any, plugindesc: any, tag: any) { - var plugin_key = Common.make_plugin_key(plugindesc, tag) + var plugin_key = make_plugin_key(plugindesc, tag) return !!this.private$.plugins[plugin_key] } @@ -529,7 +540,7 @@ function ignore_plugin(this: any, plugindesc: any, tag: any, ignore: any) { ignore = tag tag = null } - var plugin_key = Common.make_plugin_key(plugindesc, tag) + var plugin_key = make_plugin_key(plugindesc, tag) var resolved_ignore = (this.private$.ignore_plugins[plugin_key] = null == ignore ? true : !!ignore) @@ -671,11 +682,11 @@ function client(this: any, callpoint: any) { var raw_config = intern.parse_config(argsarr) // pg: pin group - raw_config.pg = Common.pincanon(raw_config.pin || raw_config.pins) + raw_config.pg = pincanon(raw_config.pin || raw_config.pins) var config = intern.resolve_config(raw_config, opts) - config.id = config.id || Common.pattern(raw_config) + config.id = config.id || pattern(raw_config) var pins = config.pins || @@ -762,7 +773,7 @@ function client(this: any, callpoint: any) { if (null == liveclient) { return sd.die( - private$.error('transport_client_null', Common.clean(config)) + private$.error('transport_client_null', clean(config)) ) } @@ -889,7 +900,7 @@ intern.close = function(this: any, callpoint: any, done: any) { seneca.flags.closed = true // cleanup process event listeners - Common.each(options.system.close_signals, function(active: any, signal: any) { + each(options.system.close_signals, function(active: any, signal: any) { if (active) { process.removeListener(signal, seneca.private$.exit_close) } @@ -926,7 +937,7 @@ intern.close = function(this: any, callpoint: any, done: any) { intern.fix_args = function(this: any, origargs: any, patargs: any, msgargs: any, custom: any) { - var args = Common.parsePattern(this, origargs, 'rest:.*', patargs) + var args = parsePattern(this, origargs, 'rest:.*', patargs) var fixargs = [args.pattern] .concat({ fixed$: Object.assign({}, msgargs, args.pattern.fixed$), diff --git a/lib/common.d.ts b/lib/common.d.ts index 4d72007f..9fc2e882 100644 --- a/lib/common.d.ts +++ b/lib/common.d.ts @@ -1,14 +1,14 @@ /// import Util from 'util'; declare const error: any; -declare function promiser(context: any, callback: any): Promise; +declare function promiser(context: any, callback?: any): Promise; declare function stringify(): any; declare function wrap_error(err: any): void; declare function make_plugin_key(plugin: any, origtag: any): string; declare function boolify(v: any): boolean; declare const tagnid: any; declare function parse_jsonic(str: any, code: any): any; -declare function parse_pattern(instance: any, rawargs: any, normaspec: any, fixed?: any): any; +declare function parse_pattern(_instance: any, rawargs: any, normaspec: any, fixed?: any): any; declare const parsePattern: typeof parse_pattern; declare function build_message(instance: any, rawargs: any, normaspec: any, fixed: any): any; declare function pattern(patobj: any): any; diff --git a/lib/common.js b/lib/common.js index 33440557..9fa28fa2 100644 --- a/lib/common.js +++ b/lib/common.js @@ -100,21 +100,18 @@ function parse_jsonic(str, code) { return null == str ? null : Jsonic(str); } catch (e) { - // let col = 1 === e.line ? e.column - 1 : e.column throw error(code, { argstr: str, syntax: e.message, line: e.lineNumber, col: e.columnNumber, - // line: e.line, - // col: col, }); } } exports.parse_jsonic = parse_jsonic; // string args override object args // TODO: fix name -function parse_pattern(instance, rawargs, normaspec, fixed) { +function parse_pattern(_instance, rawargs, normaspec, fixed) { let args = Norma('{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', rawargs); // Precedence of arguments in add,act is left-to-right args.pattern = Object.assign({}, args.moreobjargs ? args.moreobjargs : null, args.objargs ? args.objargs : null, parse_jsonic(args.strargs, 'add_string_pattern_syntax'), fixed); diff --git a/lib/common.js.map b/lib/common.js.map index e2db29a9..07f80827 100644 --- a/lib/common.js.map +++ b/lib/common.js.map @@ -1 +1 @@ -{"version":3,"file":"common.js","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;;AAGZ,gDAAuB;AAGvB,sDAA6B;AAG7B,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAChD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAC7C,8CAAqB;AACrB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,YAAY,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAEnD,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAMpC,MAAM,KAAK,GACT,CAAC,OAAO,CAA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,CAAC;IAED,IAAI;QACF,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IAED,KAAK;QACH,IAAI,IAAI,CAAC,eAAe,EAAE;YACxB,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;SACpC;IACH,CAAC;IAED,QAAQ;QACN,OAAO,OAAO,CAAC;YACb,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,GAAG,EAAE,IAAI,CAAC,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACnB,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAA;IACxB,CAAC;CACF"} \ No newline at end of file diff --git a/lib/common.ts b/lib/common.ts index 3aa05740..e889f57a 100644 --- a/lib/common.ts +++ b/lib/common.ts @@ -31,7 +31,7 @@ const error = })) -function promiser(context: any, callback: any) { +function promiser(context: any, callback?: any) { if ('function' === typeof context && null == callback) { callback = context } else { @@ -122,14 +122,11 @@ function parse_jsonic(str: any, code: any) { try { return null == str ? null : Jsonic(str) } catch (e: any) { - // let col = 1 === e.line ? e.column - 1 : e.column throw error(code, { argstr: str, syntax: e.message, line: e.lineNumber, col: e.columnNumber, - // line: e.line, - // col: col, }) } } @@ -139,7 +136,7 @@ function parse_jsonic(str: any, code: any) { // TODO: fix name function parse_pattern( - instance: any, + _instance: any, rawargs: any, normaspec: any, fixed?: any From c56602bcbc0b76d239bbc2b8f4d4a42c43bc3f2f Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 1 Mar 2023 19:45:38 +0000 Subject: [PATCH 20/42] remove decorate rebind as broken --- lib/act.js | 1 + lib/act.js.map | 2 +- lib/act.ts | 3 +++ lib/api.js | 20 +++++++-------- lib/api.js.map | 2 +- lib/api.ts | 20 +++++++-------- seneca.js | 57 +++++++++++++++++++++--------------------- seneca.js.map | 2 +- seneca.ts | 13 ++++++---- test/seneca.test.js | 60 ++++++++++++++++++++------------------------- 10 files changed, 90 insertions(+), 90 deletions(-) diff --git a/lib/act.js b/lib/act.js index 01a8fbc7..8c9229ff 100644 --- a/lib/act.js +++ b/lib/act.js @@ -56,6 +56,7 @@ const intern = (module.exports.intern = { intern.execute_action(execspec, instance, opts, actctxt, actmsg, meta, action_reply); } catch (e) { + // TODO: review, needs better test for when this actually happens for (let intercept of instance.private$.intercept.act_error) { intercept.call(instance, { error: e, diff --git a/lib/act.js.map b/lib/act.js.map index 13482b55..b046b059 100644 --- a/lib/act.js.map +++ b/lib/act.js.map @@ -1 +1 @@ -{"version":3,"file":"act.js","sourceRoot":"","sources":["act.ts"],"names":[],"mappings":";AAAA,+EAA+E;;AAG/E,iCAA6B;AAG7B,qCASiB;AAGjB,kEAAkE;AAClE,qEAAqE;AACrE,4CAA4C;AAC5C,OAAO,CAAC,OAAO,GAAG;IAChB,MAAM,QAAQ,GAAG,IAAI,CAAA;IACrB,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAA;IAE/B,MAAM,IAAI,GACR,IAAA,sBAAa,EAAC,QAAQ,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IACzE,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;IACpB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;IAExB,0CAA0C;IAC1C,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,EAAE;QACtC,GAAG,CAAC,OAAO;YACT,4CAA4C;gBAC5C,CAAC,IAAI,KAAK,CAAC,IAAA,eAAM,EAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC;qBACtD,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;qBACtB,OAAO,CAAC,6BAA6B,EAAE,EAAE,CAAC;qBAC1C,OAAO,CAAC,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QAAQ,CAAC,GAAG;SAClB,CAAC,CACH,CAAA;QAED,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAE5C,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/act.ts b/lib/act.ts index 2bb618d5..fcc68e25 100644 --- a/lib/act.ts +++ b/lib/act.ts @@ -96,6 +96,8 @@ const intern = (module.exports.intern = { action_reply ) } catch (e: any) { + + // TODO: review, needs better test for when this actually happens for (let intercept of instance.private$.intercept.act_error) { intercept.call(instance, { error: e, @@ -311,6 +313,7 @@ const intern = (module.exports.intern = { const inwardres = act_instance.order.inward.execSync(actctxt, data) + if (inwardres.err) { throw inwardres.err } diff --git a/lib/api.js b/lib/api.js index 1eb19aad..21ee8b5f 100644 --- a/lib/api.js +++ b/lib/api.js @@ -224,16 +224,16 @@ function delegate(fixedargs, fixedmeta) { delegate: { value: delegate_delegate, writable: true }, context: { value: delegate_context, writable: true }, }); - // Rebind function decorations to the delegate instance. - // In particular, this makes the seneca.entity API methods work correctly. - const decorations = self.private$.decorations; - for (let decorationName in decorations) { - if ('function' === typeof decorations[decorationName]) { - let orig_decoration = decorations[decorationName]; - delegate[decorationName] = delegate[decorationName].bind(delegate); - Object.assign(delegate[decorationName], orig_decoration); - } - } + // // Rebind function decorations to the delegate instance. + // // In particular, this makes the seneca.entity API methods work correctly. + // const decorations = self.private$.decorations + // for (let decorationName in decorations) { + // if ('function' === typeof decorations[decorationName]) { + // let orig_decoration = decorations[decorationName] + // delegate[decorationName] = delegate[decorationName].bind(delegate) + // Object.assign(delegate[decorationName], orig_decoration) + // } + // } return delegate; } // TODO: should be a configuration param so we can handle plugin name resolution diff --git a/lib/api.js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AC,GAAG,CAAC,CAAA;QACvB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC,CAAA;AAED,MAAM,CAAC,QAAQ;IACb,UAAoB,QAAa,EAAE,OAAY,EAAE,OAAY,EAAE,MAAW;QACxE,IAAI,IAAI,GAAG,IAAA,qBAAY,EAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;QAC3D,IAAI,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;aACzB,MAAM,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index f12de275..4db5436a 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -311,16 +311,16 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { context: { value: delegate_context, writable: true }, }) - // Rebind function decorations to the delegate instance. - // In particular, this makes the seneca.entity API methods work correctly. - const decorations = self.private$.decorations - for (let decorationName in decorations) { - if ('function' === typeof decorations[decorationName]) { - let orig_decoration = decorations[decorationName] - delegate[decorationName] = delegate[decorationName].bind(delegate) - Object.assign(delegate[decorationName], orig_decoration) - } - } + // // Rebind function decorations to the delegate instance. + // // In particular, this makes the seneca.entity API methods work correctly. + // const decorations = self.private$.decorations + // for (let decorationName in decorations) { + // if ('function' === typeof decorations[decorationName]) { + // let orig_decoration = decorations[decorationName] + // delegate[decorationName] = delegate[decorationName].bind(delegate) + // Object.assign(delegate[decorationName], orig_decoration) + // } + // } return delegate } diff --git a/seneca.js b/seneca.js index e301b7e4..46fdb359 100644 --- a/seneca.js +++ b/seneca.js @@ -1,4 +1,4 @@ -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ 'use strict'; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -30,14 +30,14 @@ const Add = require('./lib/add'); const Sub = require('./lib/sub'); const prior_1 = require("./lib/prior"); const plugin_1 = require("./lib/plugin"); -const { Inward } = require('./lib/inward'); -const { Outward } = require('./lib/outward'); +const inward_1 = require("./lib/inward"); +const outward_1 = require("./lib/outward"); const { Legacy } = require('./lib/legacy'); const { resolve_options } = require('./lib/options'); -const Package = require('./package.json'); const { Print } = require('./lib/print'); const { addActions } = require('./lib/actions'); const { transport } = require('./lib/transport'); +const package_json_1 = __importDefault(require("./package.json")); // Internal data and utilities. const { error, deep } = Common; // Seneca options. @@ -444,9 +444,10 @@ function make_seneca(initial_opts) { // Define public member variables. root$.start_time = Date.now(); root$.context = {}; - root$.version = Package.version; + root$.version = package_json_1.default.version; // TODO: rename in 4.x as "args" terminology is legacy root$.fixedargs = {}; + root$.fixedmeta = {}; root$.flags = { closed: false, }; @@ -617,33 +618,33 @@ function make_seneca(initial_opts) { name: 'inward', debug: !!start_opts.debug.ordu || !!start_opts.order.inward.debug, }) - .add(Inward.inward_msg_modify) - .add(Inward.inward_closed) - .add(Inward.inward_act_cache) - .add(Inward.inward_act_default) - .add(Inward.inward_act_not_found) - .add(Inward.inward_act_stats) - .add(Inward.inward_validate_msg) - .add(Inward.inward_warnings) - .add(Inward.inward_msg_meta) - .add(Inward.inward_limit_msg) - .add(Inward.inward_prepare_delegate) - .add(Inward.inward_sub) - .add(Inward.inward_announce); + .add(inward_1.Inward.inward_msg_modify) + .add(inward_1.Inward.inward_closed) + .add(inward_1.Inward.inward_act_cache) + .add(inward_1.Inward.inward_act_default) + .add(inward_1.Inward.inward_act_not_found) + .add(inward_1.Inward.inward_act_stats) + .add(inward_1.Inward.inward_validate_msg) + .add(inward_1.Inward.inward_warnings) + .add(inward_1.Inward.inward_msg_meta) + .add(inward_1.Inward.inward_limit_msg) + .add(inward_1.Inward.inward_prepare_delegate) + .add(inward_1.Inward.inward_sub) + .add(inward_1.Inward.inward_announce); root$.order.outward = new Ordu({ name: 'outward', debug: !!start_opts.debug.ordu || !!start_opts.order.outward.debug, }) - .add(Outward.outward_make_error) - .add(Outward.outward_act_stats) - .add(Outward.outward_act_cache) - .add(Outward.outward_res_object) - .add(Outward.outward_res_entity) - .add(Outward.outward_msg_meta) - .add(Outward.outward_trace) - .add(Outward.outward_sub) - .add(Outward.outward_announce) - .add(Outward.outward_act_error); + .add(outward_1.Outward.outward_make_error) + .add(outward_1.Outward.outward_act_stats) + .add(outward_1.Outward.outward_act_cache) + .add(outward_1.Outward.outward_res_object) + .add(outward_1.Outward.outward_res_entity) + .add(outward_1.Outward.outward_msg_meta) + .add(outward_1.Outward.outward_trace) + .add(outward_1.Outward.outward_sub) + .add(outward_1.Outward.outward_announce) + .add(outward_1.Outward.outward_act_error); // Configure logging // Mark logger as being externally defined from options if (start_opts.logger && 'object' === typeof start_opts.logger) { diff --git a/seneca.js.map b/seneca.js.map index acc2392e..97f24c9c 100644 --- a/seneca.js.map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CAAC,SAAS,CACrB,CAAA;QAED,SAAS,CAAC,KAAK,CAAC,CAAA;KACjB;IAED,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAEnD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,aAAa,EAAE,UAAS,MAAW,EAAE,MAAW;QAC5E,IAAI,MAAM,EAAE;YACV,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;SAC1C;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,KAAK,CAAA;AACd,CAAC;AAED,6CAA6C;AAC7C,SAAS,YAAY;IACnB,OAAO;QACL,OAAO,EAAE,YAAY,EAAE;QACvB,KAAK,EAAE;YACL,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE;YACjB,GAAG,EAAE;gBACH,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,CAAC;aACT;YACD,MAAM,EAAE,EAAE;SACX;QACD,MAAM,EAAE,EAAE;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,EAAE;SACb;QACD,OAAO,EAAE;YACP,0CAA0C;YAC1C,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,GAAG;gBACR,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;aAC5B;SACF;QACD,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 9cb15bc4..c796459f 100644 --- a/seneca.ts +++ b/seneca.ts @@ -1,4 +1,4 @@ -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ 'use strict' @@ -34,15 +34,16 @@ const Add = require('./lib/add') const Sub = require('./lib/sub') import { Prior } from './lib/prior' import { Plugin } from './lib/plugin' -const { Inward } = require('./lib/inward') -const { Outward } = require('./lib/outward') +import { Inward } from './lib/inward' +import { Outward } from './lib/outward' const { Legacy } = require('./lib/legacy') const { resolve_options } = require('./lib/options') -const Package = require('./package.json') const { Print } = require('./lib/print') const { addActions } = require('./lib/actions') const { transport } = require('./lib/transport') +import Pkg from './package.json' + // Internal data and utilities. const { error, deep } = Common @@ -583,11 +584,13 @@ function make_seneca(initial_opts?: any) { // Define public member variables. root$.start_time = Date.now() root$.context = {} - root$.version = Package.version + root$.version = Pkg.version // TODO: rename in 4.x as "args" terminology is legacy root$.fixedargs = {} + root$.fixedmeta = {} + root$.flags = { closed: false, } diff --git a/test/seneca.test.js b/test/seneca.test.js index d1691d95..e0650210 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -98,12 +98,12 @@ describe('seneca', function () { var si = Seneca({ id$: 'a' }, testopts) si.start_time = 123 expect(JSON.stringify(si)).equal( - '{"isSeneca":true,"id":"a","fixedargs":{},"start_time":123,"version":"' + + '{"isSeneca":true,"id":"a","fixedargs":{},"fixedmeta":{},"start_time":123,"version":"' + Package.version + '"}' ) expect(Util.inspect(si).replace(/\n */g, ' ')).equal( - "{ isSeneca: true, id: 'a', did: undefined, fixedargs: {}, fixedmeta: undefined, start_time: 123, version: '" + + "{ isSeneca: true, id: 'a', did: undefined, fixedargs: {}, fixedmeta: {}, start_time: 123, version: '" + Package.version + "' }" ) @@ -1109,46 +1109,38 @@ describe('seneca', function () { done() }) - describe('#intercept', function () { - it('intercept', function (done) { - var si = Seneca({ log: 'silent' }).error(done) - var fm = {} + it('add-handle', function (done) { + var si = Seneca({ log: 'silent' }).error(done) + var fm = {} + + var i0 = function i0(msg, done) { + msg.z = 1 + var f = fm[msg.b] - var i0 = function i0(msg, done) { - msg.z = 1 - var f = fm[msg.b] - - f.call(this, msg, done) - } - - /* - i0.handle = function(a, t) { - fm[a.b$] = t - } - */ + f.call(this, msg, done) + } - i0.handle = function (actdef) { - fm[actdef.raw.b$] = actdef.func - } + i0.handle = function (actdef) { + fm[actdef.raw.b$] = actdef.func + } - si.add('a:1', i0) + si.add('a:1', i0) - si.add('a:1,b$:1', function b1(msg, done) { - done(null, { z: msg.z, b: 1 }) - }) + si.add('a:1,b$:1', function b1(msg, done) { + done(null, { z: msg.z, b: 1 }) + }) - si.add('a:1,b$:2', function b2(msg, done) { - done(null, { z: msg.z, b: 2 }) - }) + si.add('a:1,b$:2', function b2(msg, done) { + done(null, { z: msg.z, b: 2 }) + }) - si.act('a:1,b:1', function (e, o) { - assert.equal(1, o.b) + si.act('a:1,b:1', function (e, o) { + assert.equal(1, o.b) - si.act('a:1,b:2', function (e, o) { - assert.equal(2, o.b) + si.act('a:1,b:2', function (e, o) { + assert.equal(2, o.b) - done() - }) + done() }) }) }) From 663c347bd63ed61c85094bd9953a539686eeb404 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 31 May 2023 10:54:47 +0100 Subject: [PATCH 21/42] use-datalen-log --- lib/logging.js | 7 ++++--- lib/logging.js.map | 2 +- lib/logging.ts | 5 +++-- package.json | 12 ++++++------ 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/lib/logging.js b/lib/logging.js index 8f1b8266..9dc1d95a 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -377,9 +377,10 @@ function build_test_log(seneca, data) { else { // TODO: use jsonic util let datastr = util_1.default.inspect(seneca.util.clean(data.data || data)) - .replace(/\s+/g, '') - .substring(0, datalen); - logb.push(datastr.length <= 111 ? datastr : datastr.substring(0, 111) + '...'); + .replace(/\s+/g, ''); + // .substring(0, datalen) + logb.push(datastr.length <= datalen ? + datastr : datastr.substring(0, datalen) + '...'); } if (data.did) { logb.push(data.did); diff --git a/lib/logging.js.map b/lib/logging.js.map index 83673e10..461da2f7 100644 --- a/lib/logging.js.map +++ b/lib/logging.js.map @@ -1 +1 @@ -{"version":3,"file":"logging.js","sourceRoot":"","sources":["logging.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,QAAQ;AACR,+DAA+D;AAE/D,gDAAuB;AAEvB,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,MAAM,eAAe,GAAG;IACtB,KAAK,EAAE,MAAM;IACb,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE;QACV,GAAG,EAAE,KAAK;QACV,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,MAAM;QACX,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,OAAO;QACZ,GAAG,EAAE,MAAM;KACZ;IACD,MAAM,EAAE,WAAW;CACpB,CAAA;AAED,MAAM,YAAY,GAAQ;IACxB,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,MAAM;CACb,CAAA;AAED,MAAM,gBAAgB,GAAQ;IAC5B,WAAW;IACX,WAAW;IACX,WAAW;CACZ,CAAA;AAED,SAAS,YAAY;IACnB,MAAM,OAAO,GAAG;QACd,eAAe,EAAE,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC;QAC7C,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;QACvC,WAAW;QACX,cAAc;QACd,SAAS;QACT,WAAW;QACX,WAAW;QACX,WAAW;KACZ,CAAA;IACD,OAAO,OAAO,CAAA;AAChB,CAAC;AAybQ,oCAAY;AAvbrB,SAAS,WAAW,CAAY,KAAU;IACxC,IAAI,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,IAAI,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,G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,OAAO,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,CAAA;QACjD,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE,CAAA;QAEzC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QACjD,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE;YACpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBAChD,KAAK,CAAC,MAAM,IAAI,CACd,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAC5D,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;aAClB;SACF;QACD,KAAK,CAAC,MAAM,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACrD,CAAC;CACF,CAAA;AAGD,YAAY,CAAC,MAAM,GAAG,MAAM,CAAA"} \ No newline at end of file diff --git a/lib/logging.ts b/lib/logging.ts index df2d4e9d..cca83992 100644 --- a/lib/logging.ts +++ b/lib/logging.ts @@ -455,8 +455,9 @@ function build_test_log(seneca: any, data: any) { // TODO: use jsonic util let datastr = Util.inspect(seneca.util.clean(data.data || data)) .replace(/\s+/g, '') - .substring(0, datalen) - logb.push(datastr.length <= 111 ? datastr : datastr.substring(0, 111) + '...') + // .substring(0, datalen) + logb.push(datastr.length <= datalen ? + datastr : datastr.substring(0, datalen) + '...') } if (data.did) { diff --git a/package.json b/package.json index 25ac0466..46080ff8 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "dependencies": { "@hapi/joi": "^17.1.1", "@hapi/wreck": "17", - "@jsonic/jsonic-next": "^2.9.1", + "@jsonic/jsonic-next": "2.9.1", "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", @@ -100,7 +100,7 @@ "optioner": "^5.0.1", "ordu": "^2.2.0", "patrun": "^7.2.5", - "qs": "^6.11.0", + "qs": "^6.11.1", "rolling-stats": "^0.2.1", "seneca-transport": "^8.0.0", "use-plugin": "9" @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.14.2", + "@types/node": "^18.15.11", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -117,12 +117,12 @@ "handlebars": "^4.7.7", "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", - "prettier": "^2.8.4", - "seneca-entity": "^20.0.1", + "prettier": "^2.8.7", + "seneca-entity": "^21.0.2", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", "summary": "^2.1.0", - "typescript": "^4.9.5" + "typescript": "^5.0.2" } } From dc19add1a11be8251721b27225cb2e34b6821f88 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 31 May 2023 13:56:09 +0100 Subject: [PATCH 22/42] rebind-decoration-not-needed --- lib/api.js | 10 ---------- lib/api.js.map | 2 +- lib/api.ts | 11 ----------- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/lib/api.js b/lib/api.js index 21ee8b5f..7bb30f46 100644 --- a/lib/api.js +++ b/lib/api.js @@ -224,16 +224,6 @@ function delegate(fixedargs, fixedmeta) { delegate: { value: delegate_delegate, writable: true }, context: { value: delegate_context, writable: true }, }); - // // Rebind function decorations to the delegate instance. - // // In particular, this makes the seneca.entity API methods work correctly. - // const decorations = self.private$.decorations - // for (let decorationName in decorations) { - // if ('function' === typeof decorations[decorationName]) { - // let orig_decoration = decorations[decorationName] - // delegate[decorationName] = delegate[decorationName].bind(delegate) - // Object.assign(delegate[decorationName], orig_decoration) - // } - // } return delegate; } // TODO: should be a configuration param so we can handle plugin name resolution diff --git a/lib/api.js.map b/lib/api.js.map index 92cde947..5c183f44 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAE9B,qCAYiB;AAEjB,MAAM,MAAM,GAAG,oCAA2B,CAAA;AAE1C,MAAM,MAAM,GAAQ,EAAE,CAAA;AAGtB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;IAEnD,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IACtC,IAAA,aAAI,EAAC,GAAG,EAAE,UAAS,CAAM;QACvB,IAAA,aAAI,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,UAAS,UAAe;YAC5C,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;QAC1C,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC;AAGD,SAAS,GAAG,CAAY,OAAY,EAAE,OAAY,EAA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E,SAAS,EAAE,OAAO,CAAC,CAAA;QAC3D,IAAI,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;aACzB,MAAM,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 4db5436a..914be621 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -311,17 +311,6 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { context: { value: delegate_context, writable: true }, }) - // // Rebind function decorations to the delegate instance. - // // In particular, this makes the seneca.entity API methods work correctly. - // const decorations = self.private$.decorations - // for (let decorationName in decorations) { - // if ('function' === typeof decorations[decorationName]) { - // let orig_decoration = decorations[decorationName] - // delegate[decorationName] = delegate[decorationName].bind(delegate) - // Object.assign(delegate[decorationName], orig_decoration) - // } - // } - return delegate } From 8ae52d191f43ee97f8cad19796d40daf087d82f1 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 31 May 2023 14:35:18 +0100 Subject: [PATCH 23/42] v3.30.1 --- CHANGES.md | 6 ++++++ package.json | 14 +++++++------- test/actions.test.js | 31 +++++++++++++++---------------- test/quick.js | 1 - test/seneca.test.js | 2 +- 5 files changed, 29 insertions(+), 25 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 85de34a4..da70c3e6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +## 3.30.1 2022-05-31 + +* Remove rebind decoration as not needed - seneca-entity handles own special case +* Option debnug.datalen applies to test logs in all cases + + ## 3.30.0 2022-02-10 * Error intercept customization hook. diff --git a/package.json b/package.json index 46080ff8..3ae67629 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.30.0", + "version": "3.30.1", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ @@ -90,7 +90,7 @@ "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", - "gubu": "^4.0.0", + "gubu": "5.0.1", "lodash.defaultsdeep": "^4.6.1", "lodash.flatten": "^4.4.0", "lodash.uniq": "^4.5.0", @@ -100,7 +100,7 @@ "optioner": "^5.0.1", "ordu": "^2.2.0", "patrun": "^7.2.5", - "qs": "^6.11.1", + "qs": "^6.11.2", "rolling-stats": "^0.2.1", "seneca-transport": "^8.0.0", "use-plugin": "9" @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^18.15.11", + "@types/node": "^20.2.5", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -117,12 +117,12 @@ "handlebars": "^4.7.7", "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", - "prettier": "^2.8.7", - "seneca-entity": "^21.0.2", + "prettier": "^2.8.8", + "seneca-entity": "^22.0.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", "summary": "^2.1.0", - "typescript": "^5.0.2" + "typescript": "^5.0.4" } } diff --git a/test/actions.test.js b/test/actions.test.js index f1feaa8e..1106ea8c 100644 --- a/test/actions.test.js +++ b/test/actions.test.js @@ -77,24 +77,23 @@ describe('actions', function () { it('info_fatal', function (fin) { Seneca({ log: 'silent', - system: { exit: function noop() {} } }).ready( - function () { - this.close = function () {} - this.root.close = function () {} + system: { exit: function noop() {} }, + }).ready(function () { + this.close = function () {} + this.root.close = function () {} - this.add('role:seneca,cmd:close', function (msg, reply) { - reply() + this.add('role:seneca,cmd:close', function (msg, reply) { + reply() + }) + .sub('role:seneca,info:fatal', function (msg) { + expect(msg.err).exist() + fin() }) - .sub('role:seneca,info:fatal', function (msg) { - expect(msg.err).exist() - fin() - }) - .add('a:1', function () { - throw new Error('a:1') - }) - .act('a:1,fatal$:true') - } - ) + .add('a:1', function () { + throw new Error('a:1') + }) + .act('a:1,fatal$:true') + }) }) it('get_options', function (fin) { diff --git a/test/quick.js b/test/quick.js index 122eaf84..8b197e10 100644 --- a/test/quick.js +++ b/test/quick.js @@ -2,7 +2,6 @@ const Jsonic = require('@jsonic/jsonic-next') Jsonic('a::') - const Seneca = require('../seneca') console.log(Seneca.util.Gex('a*')) diff --git a/test/seneca.test.js b/test/seneca.test.js index e0650210..5f362d2c 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -1112,7 +1112,7 @@ describe('seneca', function () { it('add-handle', function (done) { var si = Seneca({ log: 'silent' }).error(done) var fm = {} - + var i0 = function i0(msg, done) { msg.z = 1 var f = fm[msg.b] From 8b6afabadbbf435e05c59f34c46e08d7cade59c7 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Wed, 28 Jun 2023 23:47:37 +0100 Subject: [PATCH 24/42] preload-options --- CHANGES.md | 5 ++ lib/plugin.js | 159 +++++++++++++++++++++++++++++++++++++++++- lib/plugin.js.map | 2 +- lib/plugin.ts | 164 +++++++++++++++++++++++++++++++++++++++++++- test/order.test.js | 1 + test/plugin.test.js | 1 + test/quick.js | 45 ++++++------ 7 files changed, 352 insertions(+), 25 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index da70c3e6..6df6d416 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## + +* Provide merged plugin options to the plugin preload function. + + ## 3.30.1 2022-05-31 * Remove rebind decoration as not needed - seneca-entity handles own special case diff --git a/lib/plugin.js b/lib/plugin.js index fcb51ccc..d6d4664b 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -28,6 +28,13 @@ function api_use(callpoint, opts) { tasks.args, tasks.load, tasks.normalize, + { + name: 'pre_options', exec: (spec) => { + if ('function' === typeof spec.data.plugin.define.preload) { + return tasks.options(spec); + } + } + }, tasks.preload, { name: 'pre_meta', exec: tasks.meta }, { name: 'pre_legacy_extend', exec: tasks.legacy_extend }, @@ -365,9 +372,159 @@ function make_tasks() { }); }); }, + /* + pre_options: (spec: TaskSpec) => { + try { + let plugin: any = spec.data.plugin + // let delegate: any = spec.data.delegate + let seneca = spec.ctx.seneca + + // let so = delegate.options() + let so = seneca.options() + + let fullname = plugin.fullname + let defaults = plugin.defaults + + let fullname_options = Object.assign( + {}, + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[fullname] : {}, + + so.plugin[fullname], + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[fullname + '$' + plugin.tag] : {}, + + so.plugin[fullname + '$' + plugin.tag] + ) + + let shortname = fullname !== plugin.name ? plugin.name : null + if (!shortname && fullname.indexOf('seneca-') === 0) { + shortname = fullname.substring('seneca-'.length) + } + + let shortname_options = Object.assign( + {}, + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[fullname] : {}, + + so.plugin[shortname], + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[shortname + '$' + plugin.tag] : {}, + + so.plugin[shortname + '$' + plugin.tag] + ) + + let base: any = {} + + // NOTE: plugin error codes are in their own namespaces + // TODO: test this!!! + let errors = plugin.errors || (plugin.define && plugin.define.errors) + + if (errors) { + base.errors = errors + } + + // TODO: these should deep merge + let fullopts = Object.assign( + base, + shortname_options, + fullname_options, + plugin.options || {} + ) + + + let resolved_options: any = {} + // let valid = delegate.valid // Gubu validator: https://github.com/rjrodger/gubu + let valid = seneca.valid // Gubu validator: https://github.com/rjrodger/gubu + + let err: Error | undefined = void 0 + let joi_schema: any = null + // let Joi = delegate.util.Joi + let Joi = seneca.util.Joi + + let defaults_values = + ('function' === typeof (defaults) && !defaults.gubu) ? + defaults({ valid, Joi }) : defaults + + if (null == defaults_values || + 0 === Object.keys(defaults_values).length || + !so.valid.active || + !so.valid.plugin + ) { + resolved_options = fullopts + } + else { + if (!so.legacy.options && !Joi.isSchema(defaults_values, { legacy: true })) { + // TODO: use Gubu.isShape + let isShape = defaults_values.gubu && defaults_values.gubu.gubu$ + + // TODO: when Gubu supports merge, also merge if isShape + if (!isShape && null == defaults_values.errors && null != errors) { + defaults_values.errors = {} + } + + let optionShape = + // isShape ? defaults_values : delegate.valid(defaults_values) + isShape ? defaults_values : seneca.valid(defaults_values) + let shapeErrors: any[] = [] + resolved_options = optionShape(fullopts, { err: shapeErrors }) + + if (0 < shapeErrors.length) { + //err = delegate.error('invalid_plugin_option', { + err = seneca.error('invalid_plugin_option', { + name: fullname, + err_msg: shapeErrors.map((se: any) => se.t).join('; '), + options: fullopts, + }) + } + } + else { + let joi_schema: any = intern.prepare_spec( + Joi, + defaults_values, + { allow_unknown: true }, + {} + ) + + let joi_out = joi_schema.validate(fullopts) + + if (joi_out.error) { + // err = delegate.error('invalid_plugin_option', { + err = seneca.error('invalid_plugin_option', { + name: fullname, + err_msg: joi_out.error.message, + options: fullopts, + }) + } + else { + resolved_options = joi_out.value + } + } + } + + return { + op: 'seneca_options', + err: err, + out: { + plugin: { + options: resolved_options, + options_schema: joi_schema + } + } + } + } catch (e: any) { + console.log('PREOPTS', e) + } + }, + */ options: (spec) => { let plugin = spec.data.plugin; - let delegate = spec.data.delegate; + let delegate = spec.data.delegate || + spec.ctx.seneca; // for preload let so = delegate.options(); let fullname = plugin.fullname; let defaults = plugin.defaults; diff --git a/lib/plugin.js.map b/lib/plugin.js.map index 3eac684b..f8768fae 100644 --- a/lib/plugin.js.map +++ b/lib/plugin.js.map @@ -1 +1 @@ -{"version":3,"file":"plugin.js","sourceRoot":"","sources":["plugin.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wBAAwB;AACxB,YAAY,CAAA;;;;;;AAEZ,oEAAoE;AAGpE,MAAM,IAAI,GAAQ,OAAO,CAAC,aAAa,CAAC,CAAA;AACxC,MAAM,KAAK,GAAQ,OAAO,CAAC,OAAO,CAAC,CAAA;AAEnC,8CAAqB;AACrB,+BAAqC;AAGrC,yEAAyE;AACzE,MAAM,MAAM,GAAQ,OAAO,CAAC,UAAU,CAAC,CAAA;AACvC,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAEpC,uBAAuB;AAGvB,MAAM,MAAM,GAAG,WAAW,EAAE,CAAA;AAG5B,SAAS,OAAO,CAAC,SAAc,EAAE,IAAS;IACxC,MAAM,KAAK,GAAG,UAAU,EAAE,CAAA;IAC1B,MAAM,IAAI,GAAG,IAAI,WAAI,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA;IAE5C,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC,EAAE,CAAC,aAAa,CAAC,CAAA;IACvD,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC,EAAE,CAAC,aAAa,CAAC,CAAA;IACvD,IAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC,EAAE,CAAC,cAAc,CAAC,CAAA;IACzD,IAAI,CAAC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC,EAAE,CAAC,eAAe,CAAC,CAAA;IAG3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AI,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,IAAI,QAAQ,KAAK,CAAC,EAAE;wBACrE,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,CAAC,CAAA;wBAEzC,IAAI,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAA;wBAExC,IAAI,IAAI,CAAC,aAAa,EAAE;4BACtB,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,CAAA;yBACpC;wBAED,EAAE,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;qBAC9D;yBAAM;wBACL,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;qBACf;oBAED,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;iBACzB;gBAED,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAGD,MAAM,MAAM,GAAG;IACb,OAAO;IACP,MAAM;CACP,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/plugin.ts b/lib/plugin.ts index e0f7ed9a..1eb467d4 100644 --- a/lib/plugin.ts +++ b/lib/plugin.ts @@ -37,7 +37,17 @@ function api_use(callpoint: any, opts: any) { tasks.args, tasks.load, tasks.normalize, + + { + name: 'pre_options', exec: (spec: TaskSpec) => { + if ('function' === typeof spec.data.plugin.define.preload) { + return tasks.options(spec) + } + } + }, + tasks.preload, + { name: 'pre_meta', exec: tasks.meta }, { name: 'pre_legacy_extend', exec: tasks.legacy_extend }, tasks.delegate, @@ -491,9 +501,161 @@ function make_tasks(): any { }, + /* + pre_options: (spec: TaskSpec) => { + try { + let plugin: any = spec.data.plugin + // let delegate: any = spec.data.delegate + let seneca = spec.ctx.seneca + + // let so = delegate.options() + let so = seneca.options() + + let fullname = plugin.fullname + let defaults = plugin.defaults + + let fullname_options = Object.assign( + {}, + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[fullname] : {}, + + so.plugin[fullname], + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[fullname + '$' + plugin.tag] : {}, + + so.plugin[fullname + '$' + plugin.tag] + ) + + let shortname = fullname !== plugin.name ? plugin.name : null + if (!shortname && fullname.indexOf('seneca-') === 0) { + shortname = fullname.substring('seneca-'.length) + } + + let shortname_options = Object.assign( + {}, + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[fullname] : {}, + + so.plugin[shortname], + + // DEPRECATED: remove in 4 + so.legacy.top_plugins ? so[shortname + '$' + plugin.tag] : {}, + + so.plugin[shortname + '$' + plugin.tag] + ) + + let base: any = {} + + // NOTE: plugin error codes are in their own namespaces + // TODO: test this!!! + let errors = plugin.errors || (plugin.define && plugin.define.errors) + + if (errors) { + base.errors = errors + } + + // TODO: these should deep merge + let fullopts = Object.assign( + base, + shortname_options, + fullname_options, + plugin.options || {} + ) + + + let resolved_options: any = {} + // let valid = delegate.valid // Gubu validator: https://github.com/rjrodger/gubu + let valid = seneca.valid // Gubu validator: https://github.com/rjrodger/gubu + + let err: Error | undefined = void 0 + let joi_schema: any = null + // let Joi = delegate.util.Joi + let Joi = seneca.util.Joi + + let defaults_values = + ('function' === typeof (defaults) && !defaults.gubu) ? + defaults({ valid, Joi }) : defaults + + if (null == defaults_values || + 0 === Object.keys(defaults_values).length || + !so.valid.active || + !so.valid.plugin + ) { + resolved_options = fullopts + } + else { + if (!so.legacy.options && !Joi.isSchema(defaults_values, { legacy: true })) { + // TODO: use Gubu.isShape + let isShape = defaults_values.gubu && defaults_values.gubu.gubu$ + + // TODO: when Gubu supports merge, also merge if isShape + if (!isShape && null == defaults_values.errors && null != errors) { + defaults_values.errors = {} + } + + let optionShape = + // isShape ? defaults_values : delegate.valid(defaults_values) + isShape ? defaults_values : seneca.valid(defaults_values) + let shapeErrors: any[] = [] + resolved_options = optionShape(fullopts, { err: shapeErrors }) + + if (0 < shapeErrors.length) { + //err = delegate.error('invalid_plugin_option', { + err = seneca.error('invalid_plugin_option', { + name: fullname, + err_msg: shapeErrors.map((se: any) => se.t).join('; '), + options: fullopts, + }) + } + } + else { + let joi_schema: any = intern.prepare_spec( + Joi, + defaults_values, + { allow_unknown: true }, + {} + ) + + let joi_out = joi_schema.validate(fullopts) + + if (joi_out.error) { + // err = delegate.error('invalid_plugin_option', { + err = seneca.error('invalid_plugin_option', { + name: fullname, + err_msg: joi_out.error.message, + options: fullopts, + }) + } + else { + resolved_options = joi_out.value + } + } + } + + return { + op: 'seneca_options', + err: err, + out: { + plugin: { + options: resolved_options, + options_schema: joi_schema + } + } + } + } catch (e: any) { + console.log('PREOPTS', e) + } + }, + */ + options: (spec: TaskSpec) => { let plugin: any = spec.data.plugin - let delegate: any = spec.data.delegate + let delegate: any = + spec.data.delegate || + spec.ctx.seneca // for preload let so = delegate.options() diff --git a/test/order.test.js b/test/order.test.js index 18a5b02e..0fbf2207 100644 --- a/test/order.test.js +++ b/test/order.test.js @@ -55,6 +55,7 @@ describe('order', function () { 'args', 'load', 'normalize', + 'pre_options', 'preload', 'pre_meta', 'pre_legacy_extend', diff --git a/test/plugin.test.js b/test/plugin.test.js index 1b59c9f9..634a598b 100644 --- a/test/plugin.test.js +++ b/test/plugin.test.js @@ -92,6 +92,7 @@ describe('plugin', function () { 'args', 'load', 'normalize', + 'pre_options', 'preload', 'pre_meta', 'pre_legacy_extend', diff --git a/test/quick.js b/test/quick.js index 8b197e10..16f7eea4 100644 --- a/test/quick.js +++ b/test/quick.js @@ -1,22 +1,22 @@ -const Jsonic = require('@jsonic/jsonic-next') +// const Jsonic = require('@jsonic/jsonic-next') -Jsonic('a::') +// Jsonic('a::') const Seneca = require('../seneca') -console.log(Seneca.util.Gex('a*')) +// console.log(Seneca.util.Gex('a*')) let s0 = Seneca({ legacy: false, - error: { - capture: { - callback: false, - action: false, - }, - }, + // error: { + // capture: { + // callback: false, + // action: false, + // }, + // }, }) .test() - .use('entity') + // .use('entity') // .use(function interceptor() { // let seneca = this // this.private$.intercept.act_error.push(function foo_interceptor(actcall) { @@ -33,27 +33,28 @@ let s0 = Seneca({ .add('a:1', function a1(msg, reply) { reply({ x: msg.x }) }) - .add('b:1', function a1(msg, reply) { - throw new Error('CC') - }) - .add('role:entity,cmd:list,name:foo', function () { - throw new Error('DD') - }) - .listen() + // .add('b:1', function a1(msg, reply) { + // throw new Error('CC') + // }) + // .add('role:entity,cmd:list,name:foo', function () { + // throw new Error('DD') + // }) + // .listen() .ready(function () { - console.log(this.util.Gex('*')) + // console.log(this.util.Gex('*')) // this.act('b:1,x:2', function(err, out) { // console.log(out) // }) - // this.act('a:1,x:2', function(err, out) { - // throw new Error('AA') - // }) + this.act('a:1,x:2', function(err, out) { + console.log(out) + // throw new Error('AA') + }) // this.entity('foo').save$(function(err, out) { // throw new Error('BB') // }) - this.entity('foo').list$(Seneca.util.print) + // this.entity('foo').list$(Seneca.util.print) }) From eb508e53f393f6cf60e1028f1b127a4f352e9d84 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 29 Jun 2023 13:29:34 +0100 Subject: [PATCH 25/42] v3.31.0 --- .github/workflows/build.yml | 2 +- CHANGES.md | 6 ++-- package.json | 12 +++---- seneca.d.ts | 67 +++++++++++++++++++++++++++++++++++++ seneca.js | 26 +++++++------- seneca.js.map | 2 +- seneca.ts | 38 ++++++++++++++------- test/quick.js | 4 +-- 8 files changed, 118 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2d13cbb..b22078ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [lts/*, 19.x, 18.x, 16.x, 14.x, 12.x, 10.x] + node-version: [lts/*, 19.x, 18.x, 16.x, 14.x] runs-on: ${{ matrix.os }} diff --git a/CHANGES.md b/CHANGES.md index 6df6d416..580148f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,15 +1,15 @@ -## +## 3.31.0 2023-06-29 * Provide merged plugin options to the plugin preload function. -## 3.30.1 2022-05-31 +## 3.30.1 2023-05-31 * Remove rebind decoration as not needed - seneca-entity handles own special case * Option debnug.datalen applies to test logs in all cases -## 3.30.0 2022-02-10 +## 3.30.0 2023-02-10 * Error intercept customization hook. * Rebind decoration functions to current delegate. diff --git a/package.json b/package.json index 3ae67629..9d2e6dac 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.30.1", + "version": "3.31.0", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ @@ -86,7 +86,7 @@ "dependencies": { "@hapi/joi": "^17.1.1", "@hapi/wreck": "17", - "@jsonic/jsonic-next": "2.9.1", + "@jsonic/jsonic-next": "2.10.0", "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", @@ -96,7 +96,7 @@ "lodash.uniq": "^4.5.0", "minimist": "^1.2.8", "nid": "^2.0.1", - "norma": "^2.0.2", + "norma": "^3.0.0", "optioner": "^5.0.1", "ordu": "^2.2.0", "patrun": "^7.2.5", @@ -109,7 +109,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^20.2.5", + "@types/node": "^20.3.2", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -118,11 +118,11 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.8", - "seneca-entity": "^22.0.0", + "seneca-entity": "^22.1.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.4.0", "summary": "^2.1.0", - "typescript": "^5.0.4" + "typescript": "^5.1.6" } } diff --git a/seneca.d.ts b/seneca.d.ts index b2ffc008..69348727 100644 --- a/seneca.d.ts +++ b/seneca.d.ts @@ -1,2 +1,69 @@ +import Nid from 'nid'; +import { Patrun, Gex } from 'patrun'; declare function init(seneca_options?: any, more_options?: any): any; +declare namespace init { + var Seneca: (this: any) => void; + var loghandler: any; + var use: () => any; + var test: () => any; + var quiet: () => any; + var util: { + Eraro: any; + Jsonic: any; + Nid: typeof Nid; + Patrun: typeof Patrun; + Gex: typeof Gex; + Gubu: any; + clean: any; + pattern: any; + print: any; + error: any; + deep: any; + Optioner: any; + Joi: any; + deepextend: any; + parsepattern: any; + pincanon: any; + router: () => any; + resolve_option: any; + argprops: any; + recurse: any; + copydata: any; + nil: any; + flatten: any; + }; + var valid: any; + var test$: { + intern: { + util: { + Eraro: any; + Jsonic: any; + Nid: typeof Nid; + Patrun: typeof Patrun; + Gex: typeof Gex; + Gubu: any; + clean: any; + pattern: any; + print: any; + error: any; + deep: any; + Optioner: any; + Joi: any; + deepextend: any; + parsepattern: any; + pincanon: any; + router: () => any; + resolve_option: any; + argprops: any; + recurse: any; + copydata: any; + nil: any; + flatten: any; + }; + }; + }; +} +type Instance = ReturnType & Record; +export type { Instance }; export default init; +declare function make_seneca(initial_opts?: any): any; diff --git a/seneca.js b/seneca.js index 46fdb359..b1e2f0cd 100644 --- a/seneca.js +++ b/seneca.js @@ -377,32 +377,32 @@ function init(seneca_options, more_options) { }); return seneca; } -module.exports = init; // Expose Seneca prototype for easier monkey-patching -module.exports.Seneca = Seneca; -exports.default = init; +init.Seneca = Seneca; // To reference builtin loggers when defining logging options. -module.exports.loghandler = Legacy.loghandler; +init.loghandler = Legacy.loghandler; // Makes require('seneca').use(...) work by creating an on-the-fly instance. -module.exports.use = function top_use() { +init.use = function top_use() { var argsarr = new Array(arguments.length); for (var l = 0; l < argsarr.length; ++l) { argsarr[l] = arguments[l]; } - var instance = module.exports(); + var instance = init(); return instance.use.apply(instance, argsarr); }; // Makes require('seneca').test() work. -module.exports.test = function top_test() { - return module.exports().test(...arguments); +init.test = function top_test() { + return init().test(...arguments); }; // Makes require('seneca').quiet() work. -module.exports.quiet = function top_quiet() { - return module.exports().quiet(...arguments); +init.quiet = function top_quiet() { + return init().quiet(...arguments); }; -module.exports.util = seneca_util; -module.exports.valid = Gubu; -module.exports.test$ = { intern: intern }; +init.util = seneca_util; +init.valid = Gubu; +init.test$ = { intern: intern }; +exports.default = init; +module.exports = init; // Create a new Seneca instance. function make_seneca(initial_opts) { // Create a private context. diff --git a/seneca.js.map b/seneca.js.map index 97f24c9c..2525cb17 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAC7C,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;AACvC,8CAAqB;AACrB,mCAAoC;AACpC,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AACtC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAChC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AACtD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAG9B,6BAA6B;AAC7B,MAAM,QAAQ,GAAG,OAAO,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AAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index c796459f..0674641d 100644 --- a/seneca.ts +++ b/seneca.ts @@ -493,42 +493,54 @@ function init(seneca_options?: any, more_options?: any) { return seneca } -module.exports = init + + // Expose Seneca prototype for easier monkey-patching -module.exports.Seneca = Seneca +init.Seneca = Seneca + -export default init // To reference builtin loggers when defining logging options. -module.exports.loghandler = Legacy.loghandler +init.loghandler = Legacy.loghandler // Makes require('seneca').use(...) work by creating an on-the-fly instance. -module.exports.use = function top_use() { +init.use = function top_use() { var argsarr = new Array(arguments.length) for (var l = 0; l < argsarr.length; ++l) { argsarr[l] = arguments[l] } - var instance = module.exports() + var instance = init() return instance.use.apply(instance, argsarr) } // Makes require('seneca').test() work. -module.exports.test = function top_test() { - return module.exports().test(...arguments) +init.test = function top_test() { + return init().test(...arguments) } // Makes require('seneca').quiet() work. -module.exports.quiet = function top_quiet() { - return module.exports().quiet(...arguments) +init.quiet = function top_quiet() { + return init().quiet(...arguments) } -module.exports.util = seneca_util -module.exports.valid = Gubu +init.util = seneca_util +init.valid = Gubu + +init.test$ = { intern: intern } + + +type Instance = ReturnType & Record + +export type { Instance } + + +export default init + +module.exports = init -module.exports.test$ = { intern: intern } // Create a new Seneca instance. function make_seneca(initial_opts?: any) { diff --git a/test/quick.js b/test/quick.js index 16f7eea4..29711e0d 100644 --- a/test/quick.js +++ b/test/quick.js @@ -16,7 +16,7 @@ let s0 = Seneca({ // }, }) .test() - // .use('entity') + // .use('entity') // .use(function interceptor() { // let seneca = this // this.private$.intercept.act_error.push(function foo_interceptor(actcall) { @@ -47,7 +47,7 @@ let s0 = Seneca({ // console.log(out) // }) - this.act('a:1,x:2', function(err, out) { + this.act('a:1,x:2', function (err, out) { console.log(out) // throw new Error('AA') }) From 0682d1b66b6cc437310150a2a3ad5a481946ea10 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 29 Jun 2023 13:57:54 +0100 Subject: [PATCH 26/42] deps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9d2e6dac..9dec5489 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "seneca-entity": "^22.1.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", - "seneca-promisify": "^3.4.0", + "seneca-promisify": "^3.5.0", "summary": "^2.1.0", "typescript": "^5.1.6" } From fc635b458e5a1767d36ca3751d1bd970187fec48 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 29 Jun 2023 14:18:22 +0100 Subject: [PATCH 27/42] v3.31.1 --- CHANGES.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 580148f6..e10a432d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## 3.31.1 2023-06-29 + +* Include Typescript type definitions. + + ## 3.31.0 2023-06-29 * Provide merged plugin options to the plugin preload function. diff --git a/package.json b/package.json index 9dec5489..59d33209 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.31.0", + "version": "3.31.1", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ @@ -62,7 +62,7 @@ "README.md", "CHANGES.md", "lib", - "seneca.js" + "seneca.*" ], "engines": { "node": ">=10" From cbc85059fbcf6328150aa763c390705ec2e22bc0 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 29 Jun 2023 15:43:54 +0100 Subject: [PATCH 28/42] v3.31.2 --- CHANGES.md | 5 +++++ lib/api.js | 6 +++++- lib/api.js.map | 2 +- lib/api.ts | 10 ++++++++-- package.json | 4 ++-- 5 files changed, 21 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index e10a432d..fd269bcb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## 3.31.2 2023-06-29 + +* Translation action function has meaningful name. + + ## 3.31.1 2023-06-29 * Include Typescript type definitions. diff --git a/lib/api.js b/lib/api.js index 7bb30f46..e23eb271 100644 --- a/lib/api.js +++ b/lib/api.js @@ -352,7 +352,7 @@ function translate(from_in, to_in, pick_in) { else { pick = null; } - this.add(from, function (msg, reply) { + let translation = function (msg, reply) { var pick_msg; if (pick) { pick_msg = {}; @@ -367,7 +367,11 @@ function translate(from_in, to_in, pick_in) { } var transmsg = Object.assign(pick_msg, to); this.act(transmsg, reply); + }; + Object.defineProperty(translation, 'name', { + value: 'translation__' + (0, common_1.jsonic_stringify)(from) + '__' + (0, common_1.jsonic_stringify)(to) }); + this.add(from, translation); return this; } function gate() { diff --git a/lib/api.js.map b/lib/api.js.map index 5c183f44..9804be96 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAE9B,qCAYiB;AAEjB,MAAM,MAAM,GAAG,oCAA2B,CAAA;AAE1C,MAAM,MAAM,GAAQ,EAAE,CAAA;AAGtB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;IAEnD,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IACtC,IAAA,aAAI,EAAC,GAAG,EAAE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/lib/api.ts index 914be621..16529b46 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -8,12 +8,12 @@ import { make_callpoint, promiser, error as common_error, - jsonic_stringify, make_plugin_key, pincanon, pattern, clean, parsePattern, + jsonic_stringify, } from './common' const errlog = make_standard_err_log_entry @@ -473,7 +473,7 @@ function translate(this: any, from_in: any, to_in: any, pick_in: any) { pick = null } - this.add(from, function(this: any, msg: any, reply: any) { + let translation = function(this: any, msg: any, reply: any) { var pick_msg: any if (pick) { @@ -489,8 +489,14 @@ function translate(this: any, from_in: any, to_in: any, pick_in: any) { var transmsg = Object.assign(pick_msg, to) this.act(transmsg, reply) + } + + Object.defineProperty(translation, 'name', { + value: 'translation__' + jsonic_stringify(from) + '__' + jsonic_stringify(to) }) + this.add(from, translation) + return this } diff --git a/package.json b/package.json index 59d33209..c96bf9c6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.31.1", + "version": "3.31.2", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ @@ -118,7 +118,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.8", - "seneca-entity": "^22.1.0", + "seneca-entity": "^23.0.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.5.0", From 64beddf3f7a3065206644504e29706fde804768a Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 29 Jun 2023 23:48:44 +0100 Subject: [PATCH 29/42] v3.32.0 --- CHANGES.md | 6 ++ lib/add.d.ts | 6 ++ lib/add.js | 33 +++++++++-- lib/add.js.map | 2 +- lib/add.ts | 47 ++++++++++++++-- lib/api.d.ts | 4 +- lib/api.js | 34 ++++++++---- lib/api.js.map | 2 +- lib/api.ts | 50 +++++++++++++---- lib/sub.js | 14 ++++- lib/sub.js.map | 2 +- lib/sub.ts | 18 +++++- package.json | 4 +- seneca.js | 5 +- seneca.js.map | 2 +- seneca.ts | 7 ++- test/add.test.js | 21 +++++-- test/message.test.js | 9 +-- test/seneca.test.js | 36 ++++++------ test/translation.test.js | 117 +++++++++++++++++++++++++++++++++++++++ 20 files changed, 347 insertions(+), 72 deletions(-) create mode 100644 test/translation.test.js diff --git a/CHANGES.md b/CHANGES.md index fd269bcb..5d26ee8d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +## 3.32.0 2023-06-29 + +* Translation also operates on message add and sub. +* Action id reformated to include plugin full name: https://github.com/senecajs/seneca/issues/905 + + ## 3.31.2 2023-06-29 * Translation action function has meaningful name. diff --git a/lib/add.d.ts b/lib/add.d.ts index 17a15d59..5a91e6db 100644 --- a/lib/add.d.ts +++ b/lib/add.d.ts @@ -1,6 +1,12 @@ import { TaskSpec } from 'ordu'; declare function api_add(this: any): any; declare const task: { + translate(spec: TaskSpec): { + op: string; + out: { + pattern: any; + }; + }; prepare(spec: TaskSpec): { op: string; out: { diff --git a/lib/add.js b/lib/add.js index 19f52741..29a935a4 100644 --- a/lib/add.js +++ b/lib/add.js @@ -27,9 +27,30 @@ function api_add() { } exports.api_add = api_add; const task = { - prepare(spec) { + translate(spec) { const args = spec.ctx.args; let raw_pattern = args.pattern; + // console.log('ADD TRANSLATE', raw_pattern) + let pattern = null; + if (false !== raw_pattern.translate$) { + // Must be exact match to ensure consistent translation + let translation = spec.ctx.private.translationrouter.find(raw_pattern); + if (translation) { + pattern = translation(raw_pattern); + // console.log('ADD T', raw_pattern, pattern) + } + } + return { + // TODO: simple op:set would be faster + op: 'merge', + out: { + pattern, + }, + }; + }, + prepare(spec) { + const args = spec.ctx.args; + let raw_pattern = spec.data.pattern || args.pattern; let pattern = (0, common_1.clean)(raw_pattern); let action = args.action || function default_action(_msg, done, meta) { @@ -128,8 +149,13 @@ const task = { const actdef = spec.data.actdef; const action = spec.data.action; const private$ = spec.ctx.private; - var action_name = null == action.name || '' === action.name ? 'action' : action.name; - actdef.id = action_name + '_' + private$.next_action_id(); + const plugin = actdef.plugin || {}; + const action_name = ((null == action.name || '' === action.name) ? + 'action' : action.name); + actdef.id = + ((null == plugin.fullname || '' === plugin.fullname) ? + '' : plugin.fullname + '/') + + action_name + '/' + private$.next_action_id(); actdef.name = action_name; actdef.func = action; if ('function' === typeof action.handle) { @@ -161,7 +187,6 @@ const task = { if ('function' === typeof priordef.handle && ((priordef.client && actdef.client) || (!priordef.client && !actdef.client))) { - //priordef.handle(args.pattern, action) priordef.handle(actdef); addroute = false; } diff --git a/lib/add.js.map b/lib/add.js.map index fbb48bfc..5fb3106e 100644 --- a/lib/add.js.map +++ b/lib/add.js.map @@ -1 +1 @@ -{"version":3,"file":"add.js","sourceRoot":"","sources":["add.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAK/E,+BAAiC;AAIjC,qCAMiB;AAOjB,SAAS,OAAO;IACd,IAAI,GAAG,GAAG;QACR,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE;QACpB,IAAI,EAAE,IAAA,qBAAY,EAAC,IAAI,EAAE,SAAS,EAAE,qBAAqB,CAAC;QAC1D,OAAO,EAAE,IAAI,CAAC,QAAQ;QACtB,QAAQ,EAAE,IAAI;KACf,CAAA;IAED,IAAI,IAAI,GAAG;QACT,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;KACf,CAAA;IAED,2DAA2D;IAC3D,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC5C,IAAI,GAAG,CAAC,GAAG,EAAE;QACX,MAAM,GAAG,CAAC,GAAG,CAAA;KACd;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAsTC,0BAAO;AAnTT,MAAM,IAAI,GAAG;IACX,OAAO,CAAC,IAAc;QACpB,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,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AAC,gBAAgB,EAAE,UAAS,MAAW;gBACzD,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;YAC7B,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/add.ts b/lib/add.ts index d36f7b51..924244b9 100644 --- a/lib/add.ts +++ b/lib/add.ts @@ -47,9 +47,39 @@ function api_add(this: any) { const task = { - prepare(spec: TaskSpec) { + translate(spec: TaskSpec) { const args = spec.ctx.args let raw_pattern = args.pattern + + // console.log('ADD TRANSLATE', raw_pattern) + + let pattern = null + + if (false !== raw_pattern.translate$) { + + // Must be exact match to ensure consistent translation + let translation = spec.ctx.private.translationrouter.find(raw_pattern) + + if (translation) { + pattern = translation(raw_pattern) + + // console.log('ADD T', raw_pattern, pattern) + } + } + + return { + // TODO: simple op:set would be faster + op: 'merge', + out: { + pattern, + }, + } + }, + + + prepare(spec: TaskSpec) { + const args = spec.ctx.args + let raw_pattern = spec.data.pattern || args.pattern let pattern = clean(raw_pattern) let action = @@ -177,9 +207,17 @@ const task = { const action = spec.data.action const private$ = spec.ctx.private - var action_name = - null == action.name || '' === action.name ? 'action' : action.name - actdef.id = action_name + '_' + private$.next_action_id() + const plugin = actdef.plugin || {} + + const action_name = + ((null == action.name || '' === action.name) ? + 'action' : action.name) + + actdef.id = + ((null == plugin.fullname || '' === plugin.fullname) ? + '' : plugin.fullname + '/') + + action_name + '/' + private$.next_action_id() + actdef.name = action_name actdef.func = action @@ -221,7 +259,6 @@ const task = { ((priordef.client && actdef.client) || (!priordef.client && !actdef.client)) ) { - //priordef.handle(args.pattern, action) priordef.handle(actdef) addroute = false } else { diff --git a/lib/api.d.ts b/lib/api.d.ts index 06088d8b..b5583631 100644 --- a/lib/api.d.ts +++ b/lib/api.d.ts @@ -23,7 +23,9 @@ declare function ping(this: any): { act: any; tr: any; }; -declare function translate(this: any, from_in: any, to_in: any, pick_in: any): any; +declare function translate(this: any, from_in: any, to_in: any, pick_in?: any, flags?: { + add?: boolean; +}): any; declare function gate(this: any): any; declare function ungate(this: any): any; declare function list_plugins(this: any): any; diff --git a/lib/api.js b/lib/api.js index e23eb271..4e2a7fd6 100644 --- a/lib/api.js +++ b/lib/api.js @@ -329,10 +329,10 @@ function ping() { }), }; } -function translate(from_in, to_in, pick_in) { - var from = 'string' === typeof from_in ? this.util.Jsonic(from_in) : from_in; - var to = 'string' === typeof to_in ? this.util.Jsonic(to_in) : to_in; - var pick = {}; +function translate(from_in, to_in, pick_in, flags) { + const from = 'string' === typeof from_in ? this.util.Jsonic(from_in) : from_in; + const to = 'string' === typeof to_in ? this.util.Jsonic(to_in) : to_in; + let pick = {}; if ('string' === typeof pick_in) { pick_in = pick_in.split(/\s*,\s*/); } @@ -352,8 +352,8 @@ function translate(from_in, to_in, pick_in) { else { pick = null; } - let translation = function (msg, reply) { - var pick_msg; + let translate = function (msg) { + let pick_msg; if (pick) { pick_msg = {}; Object.keys(pick).forEach(function (prop) { @@ -363,15 +363,29 @@ function translate(from_in, to_in, pick_in) { }); } else { - pick_msg = this.util.clean(msg); + pick_msg = (0, common_1.clean)(msg); } - var transmsg = Object.assign(pick_msg, to); + let transmsg = Object.assign(pick_msg, to); + for (let pn in transmsg) { + if (null == transmsg[pn]) { + delete transmsg[pn]; + } + } + return transmsg; + }; + this.private$.translationrouter.add(from, translate); + // console.log('TTT', translate({ c: 3, q: 9 })) + // console.log(this.private$.translationrouter + '') + let translation_action = function (msg, reply) { + let transmsg = translate(msg); + // console.log('ACT T', msg, transmsg) this.act(transmsg, reply); }; - Object.defineProperty(translation, 'name', { + Object.defineProperty(translation_action, 'name', { value: 'translation__' + (0, common_1.jsonic_stringify)(from) + '__' + (0, common_1.jsonic_stringify)(to) }); - this.add(from, translation); + from.translate$ = false; + this.add(from, translation_action); return this; } function gate() { diff --git a/lib/api.js.map b/lib/api.js.map index 9804be96..01b70670 100644 --- a/lib/api.js.map +++ b/lib/api.js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IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 16529b46..593c07aa 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -449,11 +449,19 @@ function ping(this: any) { } -function translate(this: any, from_in: any, to_in: any, pick_in: any) { - var from = 'string' === typeof from_in ? this.util.Jsonic(from_in) : from_in - var to = 'string' === typeof to_in ? this.util.Jsonic(to_in) : to_in +function translate( + this: any, + from_in: any, + to_in: any, + pick_in?: any, + flags?: { + add?: boolean + } +) { + const from = 'string' === typeof from_in ? this.util.Jsonic(from_in) : from_in + const to = 'string' === typeof to_in ? this.util.Jsonic(to_in) : to_in - var pick: any = {} + let pick: any = {} if ('string' === typeof pick_in) { pick_in = pick_in.split(/\s*,\s*/) @@ -473,8 +481,8 @@ function translate(this: any, from_in: any, to_in: any, pick_in: any) { pick = null } - let translation = function(this: any, msg: any, reply: any) { - var pick_msg: any + let translate = function(msg: any) { + let pick_msg: any if (pick) { pick_msg = {} @@ -483,19 +491,39 @@ function translate(this: any, from_in: any, to_in: any, pick_in: any) { pick_msg[prop] = msg[prop] } }) - } else { - pick_msg = this.util.clean(msg) } + else { + pick_msg = clean(msg) + } + + let transmsg = Object.assign(pick_msg, to) + + for (let pn in transmsg) { + if (null == transmsg[pn]) { + delete transmsg[pn] + } + } + + return transmsg + } + + this.private$.translationrouter.add(from, translate) + + // console.log('TTT', translate({ c: 3, q: 9 })) + // console.log(this.private$.translationrouter + '') - var transmsg = Object.assign(pick_msg, to) + let translation_action = function(this: any, msg: any, reply: any) { + let transmsg = translate(msg) + // console.log('ACT T', msg, transmsg) this.act(transmsg, reply) } - Object.defineProperty(translation, 'name', { + Object.defineProperty(translation_action, 'name', { value: 'translation__' + jsonic_stringify(from) + '__' + jsonic_stringify(to) }) - this.add(from, translation) + from.translate$ = false + this.add(from, translation_action) return this } diff --git a/lib/sub.js b/lib/sub.js index 1b31369c..632358df 100644 --- a/lib/sub.js +++ b/lib/sub.js @@ -7,13 +7,21 @@ const Common = require('./common'); function api_sub() { const self = this; const subargs = Common.parsePattern(self, arguments, 'action:f'); - const pattern = subargs.pattern; + const raw_pattern = subargs.pattern; const action = subargs.action; - let is_inward = !!pattern.in$; - let is_outward = !!pattern.out$; + let is_inward = !!raw_pattern.in$; + let is_outward = !!raw_pattern.out$; if (!is_outward) { is_inward = true; // Default if nothing specified } + let pattern = raw_pattern; + if (false !== raw_pattern.translate$) { + // Must be exact match to ensure consistent translation + let translation = this.private$.translationrouter.find(raw_pattern); + if (translation) { + pattern = translation(raw_pattern); + } + } const sub_pattern = self.util.clean(pattern); const routers = [ is_inward ? self.private$.subrouter.inward : null, diff --git a/lib/sub.js.map b/lib/sub.js.map index 1446f9f9..c7f8b784 100644 --- a/lib/sub.js.map +++ b/lib/sub.js.map @@ -1 +1 @@ -{"version":3,"file":"sub.js","sourceRoot":"","sources":["sub.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,YAAY,CAAA;;;AAEZ,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAGlC,yBAAyB;AACzB,SAAS,OAAO;IACd,MAAM,IAAI,GAAG,IAAI,CAAA;IACjB,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,CAAA;IAChE,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAA;IAC/B,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;IAE7B,IAAI,SAAS,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAA;IAC7B,IAAI,UAAU,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,CAAA;IAE/B,IAAI,CAAC,UAAU,EAAE;QACf,SAAS,GAAG,IAAI,CAAA,CAAC,+BAA+B;KACjD;IAED,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,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AEF,OAAO,IAAI,CAAA;AACb,CAAC;AAGC,0BAAO"} \ No newline at end of file diff --git a/lib/sub.ts b/lib/sub.ts index 535aeb3d..292571c4 100644 --- a/lib/sub.ts +++ b/lib/sub.ts @@ -8,16 +8,28 @@ const Common = require('./common') function api_sub(this: any) { const self = this const subargs = Common.parsePattern(self, arguments, 'action:f') - const pattern = subargs.pattern + const raw_pattern = subargs.pattern const action = subargs.action - let is_inward = !!pattern.in$ - let is_outward = !!pattern.out$ + let is_inward = !!raw_pattern.in$ + let is_outward = !!raw_pattern.out$ if (!is_outward) { is_inward = true // Default if nothing specified } + let pattern = raw_pattern + + if (false !== raw_pattern.translate$) { + + // Must be exact match to ensure consistent translation + let translation = this.private$.translationrouter.find(raw_pattern) + + if (translation) { + pattern = translation(raw_pattern) + } + } + const sub_pattern = self.util.clean(pattern) const routers = [ diff --git a/package.json b/package.json index c96bf9c6..e5770b0d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.31.2", + "version": "3.32.0", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ @@ -118,7 +118,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.8", - "seneca-entity": "^23.0.0", + "seneca-entity": "^23.0.1", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.5.0", diff --git a/seneca.js b/seneca.js index b1e2f0cd..c139e597 100644 --- a/seneca.js +++ b/seneca.js @@ -422,7 +422,9 @@ function make_seneca(initial_opts) { }; // These need to come from options as required during construction. private$.actrouter = start_opts.internal.actrouter || (0, patrun_1.Patrun)({ gex: true }); - var soi_subrouter = start_opts.internal.subrouter || {}; + private$.translationrouter = + start_opts.internal.translationrouter || (0, patrun_1.Patrun)({ gex: true }); + let soi_subrouter = start_opts.internal.subrouter || {}; private$.subrouter = { // Check for legacy inward router inward: soi_subrouter.inward || (0, patrun_1.Patrun)({ gex: true }), @@ -605,6 +607,7 @@ function make_seneca(initial_opts) { name: 'add', debug: !!start_opts.debug.ordu || !!start_opts.order.add.debug, }) + .add(Add.task.translate) .add(Add.task.prepare) .add(Add.task.plugin) .add(Add.task.callpoint) diff --git a/seneca.js.map b/seneca.js.map index 2525cb17..da983c84 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAC7C,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;AACvC,8CAAqB;AACrB,mCAAoC;AACpC,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AACtC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAChC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AACtD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAG9B,6BAA6B;AAC7B,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AACpC,MAAM,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;AAGhC,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;AACtC,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AACjD,MAAM,EAA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567,13 +567,17 @@ function make_seneca(initial_opts?: any) { // These need to come from options as required during construction. private$.actrouter = start_opts.internal.actrouter || Patrun({ gex: true }) - var soi_subrouter = start_opts.internal.subrouter || {} + private$.translationrouter = + start_opts.internal.translationrouter || Patrun({ gex: true }) + + let soi_subrouter = start_opts.internal.subrouter || {} private$.subrouter = { // Check for legacy inward router inward: soi_subrouter.inward || Patrun({ gex: true }), outward: soi_subrouter.outward || Patrun({ gex: true }), } + // Setup event handlers, if defined var event_names = ['log', 'act_in', 'act_out', 'act_err', 'ready', 'close'] event_names.forEach(function(event_name) { @@ -794,6 +798,7 @@ function make_seneca(initial_opts?: any) { name: 'add', debug: !!start_opts.debug.ordu || !!start_opts.order.add.debug, }) + .add(Add.task.translate) .add(Add.task.prepare) .add(Add.task.plugin) .add(Add.task.callpoint) diff --git a/test/add.test.js b/test/add.test.js index 9231d438..613040de 100644 --- a/test/add.test.js +++ b/test/add.test.js @@ -14,7 +14,7 @@ var it = Shared.make_it(lab) var Seneca = require('..') describe('add', function () { - it('name', function (fin) { + it('action-name', function (fin) { var si = Seneca().test() si.add('n:0') @@ -24,21 +24,32 @@ describe('add', function () { // NOTE: these may need to be updates if startup action call sequence changes. expect(si.find('n:0')).contains({ - id: 'default_action_8', + id: 'root$/default_action/8', name: 'default_action', }) expect(si.find('n:1')).contains({ - id: 'action_9', + id: 'root$/action/9', name: 'action', }) expect(si.find('n:2')).contains({ - id: 'n2_10', + id: 'root$/n2/10', name: 'n2', }) - fin() + si.use(function p0() { + this.add('p:0', function f0(msg, reply) { + reply({ x: 1 }) + }) + }).ready(function () { + expect(si.find('p:0')).contains({ + id: 'p0/f0/23', + name: 'f0', + }) + + fin() + }) }) it('action_modifier', function (fin) { diff --git a/test/message.test.js b/test/message.test.js index 0f09d823..8b825b70 100644 --- a/test/message.test.js +++ b/test/message.test.js @@ -171,11 +171,12 @@ describe('message', function () { .act('a:1', function (err, out) { expect(i).equal(4) expect(err.code).equal('maxparents') + // console.log(err.details.parents) expect(err.details.parents).equal([ - 'a:1 a1_8', - 'a:1 a1_8', - 'a:1 a1_8', - 'a:1 a1_8', + 'a:1 root$/a1/8', + 'a:1 root$/a1/8', + 'a:1 root$/a1/8', + 'a:1 root$/a1/8', ]) fin() diff --git a/test/seneca.test.js b/test/seneca.test.js index 5f362d2c..c69e50f2 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -1,31 +1,31 @@ /* Copyright (c) 2010-2019 Richard Rodger and other contributors, MIT License */ 'use strict' -var Assert = require('assert') -var Util = require('util') +const Assert = require('assert') +const Util = require('util') const Code = require('@hapi/code') const { Gex } = require('gex') const Lab = require('@hapi/lab') -var Package = require('../package.json') -var Common = require('../lib/common.js') +const Package = require('../package.json') +const Common = require('../lib/common.js') -var lab = (exports.lab = Lab.script()) -var describe = lab.describe -var expect = Code.expect -var assert = Assert +const lab = (exports.lab = Lab.script()) +const describe = lab.describe +const expect = Code.expect +const assert = Assert -var Shared = require('./shared') -var it = Shared.make_it(lab) -var clock = Shared.clock() +const Shared = require('./shared') +const it = Shared.make_it(lab) +const clock = Shared.clock() -var Seneca = require('..') +const Seneca = require('..') -var tmx = parseInt(process.env.TIMEOUT_MULTIPLIER || 1, 10) +const tmx = parseInt(process.env.TIMEOUT_MULTIPLIER || 1, 10) console.log('TEST transport tmx=' + tmx) // timerstub broken on node 0.11 -// var timerstub = require('timerstub') -var timerstub = { +// const timerstub = require('timerstub') +const timerstub = { setTimeout: setTimeout, setInterval: setInterval, Date: Date, @@ -34,7 +34,7 @@ var timerstub = { }, } -var testopts = { log: 'test' } +const testopts = { log: 'test' } describe('seneca', function () { it('happy', function (fin) { @@ -339,7 +339,7 @@ describe('seneca', function () { if (!this.options().prior.direct) { assert.ok(o.foo.prior) - assert.ok(trace(m).match(/foo_/)) + assert.ok(trace(m).match(/foo/)) } si.add({ op: 'foo' }, zed) @@ -356,7 +356,7 @@ describe('seneca', function () { assert.ok(!o.zed.prior) assert.ok(o.bar.prior) assert.ok(o.foo.prior) - assert.ok(trace(m).match(/bar_.*foo_/)) + assert.ok(trace(m).match(/bar.*foo/)) } fin() diff --git a/test/translation.test.js b/test/translation.test.js new file mode 100644 index 00000000..38e135a9 --- /dev/null +++ b/test/translation.test.js @@ -0,0 +1,117 @@ +/* Copyright (c) 2016 Richard Rodger, MIT License */ +'use strict' + +const Lab = require('@hapi/lab') +const Code = require('@hapi/code') + +var lab = (exports.lab = Lab.script()) +var describe = lab.describe +var expect = Code.expect + +var Shared = require('./shared') +var it = Shared.make_it(lab) +var Seneca = require('..') + +describe('translation', () => { + it('happy', async () => { + let s0 = Seneca({ legacy: false }) + .test() + .use('promisify') + + .message('a:1,b:2', async function (msg) { + return { x: 1 + msg.x } + }) + + let out = await s0.post('a:1,b:2,x:11') + expect(out.x).equal(12) + + s0.translate('c:3', 'a:1') + + out = await s0.post('c:3,b:2,x:21') + expect(out.x).equal(22) + }) + + it('prior-add', async () => { + let s0 = Seneca({ legacy: false }) + .test() + .use('promisify') + + .message('a:1,b:2', async function (msg) { + return { x: 1 + msg.x } + }) + + .translate('c:3', 'a:1,c:null') + + // console.log(s0.list()) + + s0.message('c:3,b:2', async function (msg) { + msg.x = 2 * msg.x + return this.prior(msg) + }) + + // console.log(s0.list()) + // console.log(s0.find('a:1,b:2')) + // console.log(s0.find('c:3,b:2')) + + let out = await s0.post('c:3,b:2,x:11') + expect(out.x).equal(23) + + out = await s0.post('a:1,b:2,x:11') + expect(out.x).equal(23) + + s0.message('c:3,b:2', async function (msg) { + msg.x = 0.1 + msg.x + return this.prior(msg) + }) + + out = await s0.post('c:3,b:2,x:11') + expect(out.x).equal(23.2) + + out = await s0.post('a:1,b:2,x:11') + expect(out.x).equal(23.2) + }) + + it('sub', async () => { + let log = [] + let s0 = Seneca({ legacy: false }) + .test() + .use('promisify') + + .message('a:1', async function (msg) { + return { x: 1 + msg.x } + }) + .sub('a:1', function (msg) { + log.push(msg) + }) + + let out = await s0.post('a:1,x:11') + expect(out.x).equal(12) + expect(log[0]).equal({ a: 1, x: 11, in$: true }) + + s0.translate('b:2', 'a:1,b:null') + + out = await s0.post('a:1,x:12') + expect(out.x).equal(13) + expect(log[1]).equal({ a: 1, x: 12, in$: true }) + + out = await s0.post('b:2,x:13') + expect(out.x).equal(14) + expect(log[2]).equal({ a: 1, x: 13, in$: true }) + + s0.message('c:3', async function (msg) { + return { x: 2 * msg.x } + }) + .translate('d:4', 'c:3,d:null') + .sub('d:4', function (msg) { + log.push(msg) + }) + + out = await s0.post('c:3,x:14') + expect(out.x).equal(28) + expect(log[3]).equal({ c: 3, x: 14, in$: true }) + + out = await s0.post('d:4,x:15') + expect(out.x).equal(30) + expect(log[4]).equal({ c: 3, x: 15, in$: true }) + }) +}) From b3396100ab69fa8cde6036172a51ad40dbf060a0 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Fri, 30 Jun 2023 00:51:14 +0100 Subject: [PATCH 30/42] deps --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e5770b0d..3eed85eb 100644 --- a/package.json +++ b/package.json @@ -118,10 +118,10 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^2.8.8", - "seneca-entity": "^23.0.1", + "seneca-entity": "^24.0.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", - "seneca-promisify": "^3.5.0", + "seneca-promisify": "^3.6.0", "summary": "^2.1.0", "typescript": "^5.1.6" } From 7934e9d207ce153f9345e676bf8bfb457f519aff Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sat, 16 Sep 2023 14:56:23 +0100 Subject: [PATCH 31/42] support seneca4 act-err arguments --- CHANGES.md | 5 +++++ lib/act.js | 2 ++ lib/act.js.map | 2 +- lib/act.ts | 3 +++ lib/api.js | 2 ++ lib/api.js.map | 2 +- lib/api.ts | 3 +++ lib/outward.js | 2 ++ lib/outward.js.map | 2 +- lib/outward.ts | 3 +++ package.json | 12 ++++++------ 11 files changed, 29 insertions(+), 9 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 5d26ee8d..b0943c45 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## 3.32.1 2023-09-16 + +* Provide Seneca 4 act-err argument variants via `act-err-4` temporary event. + + ## 3.32.0 2023-06-29 * Translation also operates on message add and sub. diff --git a/lib/act.js b/lib/act.js index 8c9229ff..135ba41f 100644 --- a/lib/act.js +++ b/lib/act.js @@ -335,6 +335,8 @@ const intern = (module.exports.intern = { did: instance.did, })); instance.emit('act-err', msg, err, data.res); + // Seneca 4 arguments + instance.emit('act-err-4', 'callback', msg, meta, err, data.res); if (opts.errhandler) { opts.errhandler.call(instance, err, err.meta$); } diff --git a/lib/act.js.map b/lib/act.js.map index b046b059..dd402f9c 100644 --- a/lib/act.js.map +++ b/lib/act.js.map @@ -1 +1 @@ -{"version":3,"file":"act.js","sourceRoot":"","sources":["act.ts"],"names":[],"mappings":";AAAA,+EAA+E;;AAG/E,iCAA6B;AAG7B,qCASiB;AAGjB,kEAAkE;AAClE,qEAAqE;AACrE,4CAA4C;AAC5C,OAAO,CAAC,OAAO,GAAG;IAChB,MAAM,QAAQ,GAAG,IAAI,CAAA;IACrB,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAA;IAE/B,MAAM,IAAI,GACR,IAAA,sBAAa,EAAC,QAAQ,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IACzE,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;IACpB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;IAExB,0CAA0C;IAC1C,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,EAAE;QACtC,GAAG,CAAC,OAAO;YACT,4CAA4C;gBAC5C,CAAC,IAAI,KAAK,CAAC,IAAA,eAAM,EAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO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AE,KAAK;YACX,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,GAAG,CAAC,OAAO;YACjB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,GAAG,EAAE,GAAG;YACR,QAAQ,EAAE,QAAQ;YAClB,GAAG,EAAE,QAAQ,CAAC,GAAG;SAClB,CAAC,CACH,CAAA;QAED,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAE5C,qBAAqB;QACrB,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAEhE,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/act.ts b/lib/act.ts index fcc68e25..d35ee8e1 100644 --- a/lib/act.ts +++ b/lib/act.ts @@ -500,6 +500,9 @@ const intern = (module.exports.intern = { instance.emit('act-err', msg, err, data.res) + // Seneca 4 arguments + instance.emit('act-err-4', 'callback', msg, meta, err, data.res) + if (opts.errhandler) { opts.errhandler.call(instance, err, err.meta$) } diff --git a/lib/api.js b/lib/api.js index 4e2a7fd6..cf072a45 100644 --- a/lib/api.js +++ b/lib/api.js @@ -695,6 +695,8 @@ intern.close = function (callpoint, done) { seneca.removeAllListeners('pin'); seneca.removeAllListeners('after-pin'); seneca.removeAllListeners('ready'); + // Seneca 4 variant + seneca.removeAllListeners('act-err-4'); seneca.private$.history.close(); if (seneca.private$.status_interval) { clearInterval(seneca.private$.status_interval); diff --git a/lib/api.js.map b/lib/api.js.map index 01b70670..cfdfdf2e 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","s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AC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 593c07aa..78406a06 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -945,6 +945,9 @@ intern.close = function(this: any, callpoint: any, done: any) { seneca.removeAllListeners('after-pin') seneca.removeAllListeners('ready') + // Seneca 4 variant + seneca.removeAllListeners('act-err-4') + seneca.private$.history.close() if (seneca.private$.status_interval) { diff --git a/lib/outward.js b/lib/outward.js index 92772087..eb3e6886 100644 --- a/lib/outward.js +++ b/lib/outward.js @@ -280,6 +280,8 @@ intern.act_error = function (instance, ctx, data) { } instance.log.error(entry); instance.emit('act-err', msg, err); + // Seneca 4 arguments + instance.emit('act-err-4', 'callback', msg, meta, err); // when fatal$ is set, prefer to die instead if ('function' === typeof opts.errhandler && (!msg || !meta.fatal)) { call_cb = !opts.errhandler.call(instance, err, err.meta$ || meta); diff --git a/lib/outward.js.map b/lib/outward.js.map index 2ca69283..2034fa56 100644 --- a/lib/outward.js.map +++ b/lib/outward.js.map @@ -1 +1 @@ -{"version":3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Q,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IACzB,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA;IAElC,qBAAqB;IACrB,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;IAEtD,4CAA4C;IAC5C,IAAI,UAAU,KAAK,OAAO,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;QAClE,OAAO,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,CAAA;KAClE;IAED,OAAO;QACL,OAAO,EAAE,OAAO;QAChB,GAAG,EAAE,GAAG;KACT,CAAA;AACH,CAAC,CAAA;AAGD,MAAM,OAAO,GAAG;IACd,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;IACzB,iBAAiB;IACjB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,aAAa;IACb,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,WAAW;CACZ,CAAA;AAGQ,0BAAO"} \ No newline at end of file diff --git a/lib/outward.ts b/lib/outward.ts index 0e278314..e6745b3c 100644 --- a/lib/outward.ts +++ b/lib/outward.ts @@ -357,6 +357,9 @@ intern.act_error = function(instance: any, ctx: any, data: any) { instance.log.error(entry) instance.emit('act-err', msg, err) + // Seneca 4 arguments + instance.emit('act-err-4', 'callback', msg, meta, err) + // when fatal$ is set, prefer to die instead if ('function' === typeof opts.errhandler && (!msg || !meta.fatal)) { call_cb = !opts.errhandler.call(instance, err, err.meta$ || meta) diff --git a/package.json b/package.json index 3eed85eb..430f2730 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "dependencies": { "@hapi/joi": "^17.1.1", "@hapi/wreck": "17", - "@jsonic/jsonic-next": "2.10.0", + "@jsonic/jsonic-next": "2.12.1", "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", @@ -109,20 +109,20 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^20.3.2", + "@types/node": "^20.6.2", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", "gex": "^4.0.1", - "handlebars": "^4.7.7", + "handlebars": "^4.7.8", "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", - "prettier": "^2.8.8", - "seneca-entity": "^24.0.0", + "prettier": "^3.0.3", + "seneca-entity": "^24.0.1", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.6.0", "summary": "^2.1.0", - "typescript": "^5.1.6" + "typescript": "^5.2.2" } } From 03de1d2b425112286e974858b8fa76a2ff6f8b09 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sat, 16 Sep 2023 14:57:51 +0100 Subject: [PATCH 32/42] v3.32.1 --- package.json | 2 +- test/act.test.js | 2 +- test/actions.test.js | 6 +++--- test/add.test.js | 10 +++++----- test/api.test.js | 6 +++--- test/close.test.js | 2 +- test/common.test.js | 18 +++++++++--------- test/custom.test.js | 28 +++++++++++++--------------- test/error.test.js | 2 +- test/legacy.test.js | 4 ++-- test/logging.test.js | 2 +- test/memory.js | 2 +- test/message.test.js | 8 ++++---- test/meta.test.js | 20 ++++++++++---------- test/options.test.js | 4 ++-- test/plugin.test.js | 22 +++++++++++----------- test/rate-client.js | 4 ++-- test/seneca.test.js | 20 ++++++++++---------- test/shared.js | 2 +- test/transport.test.js | 20 ++++++++++---------- test/util.test.js | 8 ++++---- 21 files changed, 95 insertions(+), 97 deletions(-) diff --git a/package.json b/package.json index 430f2730..d21bf36b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.32.0", + "version": "3.32.1", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ diff --git a/test/act.test.js b/test/act.test.js index d9ef71b5..9adfc803 100644 --- a/test/act.test.js +++ b/test/act.test.js @@ -123,7 +123,7 @@ describe('act', function () { s0.act('a:1,x:s', function (err, out) { expect(err.code).equal('act_invalid_msg') expect(err.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "x" with value "s" because the value is not of type number.; message content was: { a: 1, x: \'s\' }.' + 'seneca: Action a:1 received an invalid message; Validation failed for property "x" with value "s" because the value is not of type number.; message content was: { a: 1, x: \'s\' }.', ) fin() }) diff --git a/test/actions.test.js b/test/actions.test.js index 1106ea8c..851d24e2 100644 --- a/test/actions.test.js +++ b/test/actions.test.js @@ -51,7 +51,7 @@ describe('actions', function () { expect(out.calls).equal(1) fin() - } + }, ) }) }) @@ -118,9 +118,9 @@ describe('actions', function () { expect(out).not.exist() fin() - } + }, ) - } + }, ) }) }) diff --git a/test/add.test.js b/test/add.test.js index 613040de..9c935246 100644 --- a/test/add.test.js +++ b/test/add.test.js @@ -94,7 +94,7 @@ describe('add', function () { // console.log(e) expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "x" because the value is not of type number.; message content was: { a: 1, b: \'x\' }.' + 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "x" because the value is not of type number.; message content was: { a: 1, b: \'x\' }.', ) si.act({ a: 2, b: 3 }, function (e, o) { @@ -106,7 +106,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:2 received an invalid message; Validation failed for property "b" with value "x" because the value is not of type number.; message content was: { a: 2, b: \'x\' }.' + 'seneca: Action a:2 received an invalid message; Validation failed for property "b" with value "x" because the value is not of type number.; message content was: { a: 2, b: \'x\' }.', ) fin() @@ -133,7 +133,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "" because the value is required.; message content was: { a: 1 }.' + 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "" because the value is required.; message content was: { a: 1 }.', ) fin() }) @@ -157,7 +157,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "q" because the value is not of type number.; message content was: { a: 1, b: \'q\' }.' + 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "q" because the value is not of type number.; message content was: { a: 1, b: \'q\' }.', ) fin() }) @@ -181,7 +181,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:2 received an invalid message; Validation failed for property "d.f" with value "" because the value is required.; message content was: { a: 2, d: {} }.' + 'seneca: Action a:2 received an invalid message; Validation failed for property "d.f" with value "" because the value is required.; message content was: { a: 2, d: {} }.', ) fin() }) diff --git a/test/api.test.js b/test/api.test.js index 4dd41fae..7d5ffbe0 100644 --- a/test/api.test.js +++ b/test/api.test.js @@ -124,7 +124,7 @@ describe('api', function () { expect(err.code).equal('fail_cond_must_be_bool') expect(err.message).equal( - 'seneca: The Seneca.fail method expected the `cond` param to be a boolean.' + 'seneca: The Seneca.fail method expected the `cond` param to be a boolean.', ) expect(err.seneca).true() @@ -159,13 +159,13 @@ describe('api', function () { true, 'test_args', { arg0: 'foo', arg1: { bar: 1 }, not_an_arg: 1 }, - 2 + 2, ) } catch (err) { expect(err.code).equal('fail_wrong_number_of_args') expect(err.message).equal( - 'seneca: The Seneca.fail method was called with the wrong number of arguments: 4' + 'seneca: The Seneca.fail method was called with the wrong number of arguments: 4', ) expect(err.seneca).true() diff --git a/test/close.test.js b/test/close.test.js index 8a6db9a5..2ae11954 100644 --- a/test/close.test.js +++ b/test/close.test.js @@ -95,7 +95,7 @@ describe('close', function () { }) .close(function (err) { expect(err.message).equal( - 'seneca: Action cmd:close,role:seneca failed: bad-close.' + 'seneca: Action cmd:close,role:seneca failed: bad-close.', ) fin() }) diff --git a/test/common.test.js b/test/common.test.js index f0ad5b05..1f366def 100644 --- a/test/common.test.js +++ b/test/common.test.js @@ -38,15 +38,15 @@ describe('common', function () { expect( Common.resolve_option(function () { return 'b' - }) + }), ).equal('b') expect( Common.resolve_option( function (opts) { return opts.c }, - { c: 2 } - ) + { c: 2 }, + ), ).equal(2) fin() @@ -88,11 +88,11 @@ describe('common', function () { assert.equal( 1, - Common.deep({}, { a: { b: 1 } }, {}, { c: { d: 2 } }, {}).a.b + Common.deep({}, { a: { b: 1 } }, {}, { c: { d: 2 } }, {}).a.b, ) assert.equal( 2, - Common.deep({}, { a: { b: 1 } }, {}, { c: { d: 2 } }, {}).c.d + Common.deep({}, { a: { b: 1 } }, {}, { c: { d: 2 } }, {}).c.d, ) assert.equal(1, Common.deep({ a: { b: 1 } }, { a: { c: 2 } }, {}).a.b) @@ -106,11 +106,11 @@ describe('common', function () { assert.equal( 1, - Common.deep({}, { a: { b: 1 } }, {}, { a: { c: 2 } }, {}).a.b + Common.deep({}, { a: { b: 1 } }, {}, { a: { c: 2 } }, {}).a.b, ) assert.equal( 2, - Common.deep({}, { a: { b: 1 } }, {}, { a: { c: 2 } }, {}).a.c + Common.deep({}, { a: { b: 1 } }, {}, { a: { c: 2 } }, {}).a.c, ) assert.equal(1, Common.deep({ a: { b: 1 } }, { a: { b: 1 } }, {}).a.b) @@ -121,7 +121,7 @@ describe('common', function () { assert.equal( 2, - Common.deep({}, { a: { b: 1 } }, {}, { a: { b: 2 } }, {}).a.b + Common.deep({}, { a: { b: 1 } }, {}, { a: { b: 2 } }, {}).a.b, ) fin() @@ -418,7 +418,7 @@ describe('common', function () { expect(Common.make_plugin_key({ name: 'foo' }, '0')).equal('foo$0') expect(Common.make_plugin_key({ name: 'foo', tag: '0' })).equal('foo$0') expect(Common.make_plugin_key({ name: 'foo', tag: '0' }, 'a')).equal( - 'foo$0' + 'foo$0', ) expect(Common.make_plugin_key('foo.1~2-3$_')).equal('foo.1~2-3$_') diff --git a/test/custom.test.js b/test/custom.test.js index 096608ee..3cb02584 100644 --- a/test/custom.test.js +++ b/test/custom.test.js @@ -98,7 +98,7 @@ describe('custom', function () { expect(meta.custom).equal({ y: 1, z: 1, a1: 1 }) do_a2() - } + }, ) } @@ -110,7 +110,7 @@ describe('custom', function () { expect(meta.custom).equal({ y: 2, z: 2, a1: 1, a2: 1 }) do_a3() - } + }, ) } @@ -122,7 +122,7 @@ describe('custom', function () { expect(meta.custom).equal({ y: 3, z: 3, a1: 1, a2: 1, a3: 1 }) fin() - } + }, ) } }) @@ -159,14 +159,12 @@ describe('custom', function () { .use('entity') .add('a:1', function a1(msg, reply, meta1) { meta1.custom.a1x = 1 - this.make('foo', { id$: msg.id, q: msg.q }).save$(function ( - err, - foo1, - meta2 - ) { - meta2.custom.a1y = 1 - reply({ foo: foo1 }) - }) + this.make('foo', { id$: msg.id, q: msg.q }).save$( + function (err, foo1, meta2) { + meta2.custom.a1y = 1 + reply({ foo: foo1 }) + }, + ) }) .ready(function () { @@ -177,7 +175,7 @@ describe('custom', function () { expect('' + out.foo).equal('$-/-/foo;id=A;{q:1}') expect(meta.custom).equals({ w: 1, a1x: 1, a1y: 1 }) fin() - } + }, ) }) }) @@ -210,7 +208,7 @@ describe('custom', function () { it( 'custom-prior-direct', test_opts, - make_custom_prior_test({ prior: { direct: false } }) + make_custom_prior_test({ prior: { direct: false } }), ) it('custom-simple-transport', test_opts, function (fin) { @@ -400,7 +398,7 @@ describe('custom', function () { function foo_true(msg, reply, meta) { msg.custom_zed = meta.custom.zed reply(msg) - } + }, ) .ready() @@ -430,7 +428,7 @@ describe('custom', function () { msg.custom_zed = meta.custom.zed msg.custom_dez = meta.custom.dez reply(msg) - } + }, ) var out = await si.post('foo:true') diff --git a/test/error.test.js b/test/error.test.js index 346fc223..5f5d5050 100644 --- a/test/error.test.js +++ b/test/error.test.js @@ -642,7 +642,7 @@ describe('error', function () { assert.equal( 'act_execute', ctxt.errlog.code, - ctxt.name + '-F' + ctxt.name + '-F', ) } } diff --git a/test/legacy.test.js b/test/legacy.test.js index 7408ce53..dbf68da9 100644 --- a/test/legacy.test.js +++ b/test/legacy.test.js @@ -63,7 +63,7 @@ describe('legacy', function () { function (i, next) { next() }, - fin + fin, ) }) @@ -79,7 +79,7 @@ describe('legacy', function () { { a: 1, b: 2, c: 3 }, { b: 22, c: 33, d: 4 }, { c: 333 }, - ['d'] + ['d'], ) expect(out).to.include({ a: 1, b: 22, c: 333 }) diff --git a/test/logging.test.js b/test/logging.test.js index ede5c037..f8b7d635 100644 --- a/test/logging.test.js +++ b/test/logging.test.js @@ -244,7 +244,7 @@ describe('logging', function () { /re/, new Date(), null, - void 0 + void 0, ) this.log.info('eek!', m, r) this.log({ diff --git a/test/memory.js b/test/memory.js index 6a3344c8..98ff7c99 100644 --- a/test/memory.js +++ b/test/memory.js @@ -25,6 +25,6 @@ function report(start) { var end = Date.now() var mem = process.memoryUsage() console.log( - [SIZE, end - start, mem.rss, mem.heapTotal, mem.heapUsed].join('\t') + [SIZE, end - start, mem.rss, mem.heapTotal, mem.heapUsed].join('\t'), ) } diff --git a/test/message.test.js b/test/message.test.js index 8b825b70..d247ec3c 100644 --- a/test/message.test.js +++ b/test/message.test.js @@ -66,7 +66,7 @@ describe('message', function () { }) .act('a:1,x:1', function (err, out, meta) { expect( - this.util.flatten(meta.trace, 'trace').map((x) => x.desc[0]) + this.util.flatten(meta.trace, 'trace').map((x) => x.desc[0]), ).equal(['a:2', 'a:3', 'a:4']) fin() }) @@ -147,7 +147,7 @@ describe('message', function () { //console.log('CP mark', mark) expect(JSON.stringify(mark)).equal( - '{"a1c":1,"a2c":1,"a3c":1,"a3r":1,"a4c":1,"a5c":1,"a5r":1}' + '{"a1c":1,"a2c":1,"a3c":1,"a3r":1,"a4c":1,"a5c":1,"a5r":1}', ) //console.dir(meta,{depth:null}) @@ -206,7 +206,7 @@ describe('message', function () { desc: ['a:4'], trace: [], }, - ]) + ]), ).true() log.push('a2r') @@ -267,7 +267,7 @@ describe('message', function () { }, ], }, - ]) + ]), ).true() fin() diff --git a/test/meta.test.js b/test/meta.test.js index 9fe0a0af..39cd3910 100644 --- a/test/meta.test.js +++ b/test/meta.test.js @@ -65,13 +65,13 @@ describe('meta', function () { expect(meta.custom.foo).equal(11) fin() - } + }, ) - } + }, ) - } + }, ) - } + }, ) }) @@ -118,13 +118,13 @@ describe('meta', function () { expect(meta.custom.foo).equal(11) fin() - } + }, ) - } + }, ) - } + }, ) - } + }, ) } } @@ -132,7 +132,7 @@ describe('meta', function () { it('custom-meta-prior', make_custom_meta_prior({})) it( 'custom-meta-prior-direct', - make_custom_meta_prior({ prior: { direct: true } }) + make_custom_meta_prior({ prior: { direct: true } }), ) it('custom-fixed', function (fin) { @@ -166,7 +166,7 @@ describe('meta', function () { fin() }) - } + }, ) }) }) diff --git a/test/options.test.js b/test/options.test.js index 4e401d38..42854043 100644 --- a/test/options.test.js +++ b/test/options.test.js @@ -45,10 +45,10 @@ describe('options', function () { it('validate', async () => { expect(() => Seneca({ prior: { direct: 'BAD' } })).throws(/type/) expect( - Seneca({ valid: { active: false }, prior: { direct: 'BAD' } }) + Seneca({ valid: { active: false }, prior: { direct: 'BAD' } }), ).exist() expect( - Seneca({ valid: { option: false }, prior: { direct: 'BAD' } }) + Seneca({ valid: { option: false }, prior: { direct: 'BAD' } }), ).exist() }) }) diff --git a/test/plugin.test.js b/test/plugin.test.js index 634a598b..18488132 100644 --- a/test/plugin.test.js +++ b/test/plugin.test.js @@ -190,7 +190,7 @@ describe('plugin', function () { done() }) }, - { y: 3 } + { y: 3 }, ) .ready(function () { this.act('a:1,x:2', function (err, out) { @@ -242,7 +242,7 @@ describe('plugin', function () { }, { b: 2, - } + }, ) .use( @@ -252,7 +252,7 @@ describe('plugin', function () { }, { d: 2, - } + }, ) .ready(fin) @@ -278,7 +278,7 @@ describe('plugin', function () { { a: 1, b: 2, - } + }, ) }) @@ -312,7 +312,7 @@ describe('plugin', function () { expect(err).to.not.exist() expect(res.message).to.contain('no errors created.') s0.close(seneca.close.bind(seneca, fin)) - } + }, ) }) }) @@ -333,7 +333,7 @@ describe('plugin', function () { expect(err).to.not.exist() expect(res.message).to.contain('error caught!') s0.close(seneca.close.bind(seneca, fin)) - } + }, ) }) }) @@ -688,7 +688,7 @@ describe('plugin', function () { expect(err).to.exist() expect(err.msg).to.contain('from action') fin() - } + }, ) }) }) @@ -1052,7 +1052,7 @@ describe('plugin', function () { expect(opts).equal({ a: 2, b: 2, c: 3, d: 1 }) }, }, - { b: 2, c: 3, d: 1 } + { b: 2, c: 3, d: 1 }, ) .use(bar, { a: 3, d: 1 }) @@ -1251,7 +1251,7 @@ describe('plugin', function () { expect(options).equal({ x: 1, y: 'Y' }) }, }, - { x: 1 } + { x: 1 }, ) s0.ready(function () { @@ -1273,7 +1273,7 @@ describe('plugin', function () { expect(options).equal({ x: 1, y: 'Y' }) }, }, - { x: 1 } + { x: 1 }, ) s0.ready(function () { @@ -1295,7 +1295,7 @@ describe('plugin', function () { expect(options).equal({ x: 1, y: 'Y' }) }, }, - { x: 1 } + { x: 1 }, ) s0.ready(function () { diff --git a/test/rate-client.js b/test/rate-client.js index 5846ea54..12058e77 100644 --- a/test/rate-client.js +++ b/test/rate-client.js @@ -70,7 +70,7 @@ function finish(active) { stats.avgcall = Math.floor( calltimes.reduce(function (acc, elm) { return acc + elm - }, 0) / calltimes.length + }, 0) / calltimes.length, ) calltimes.sort(function (a, b) { @@ -85,7 +85,7 @@ function finish(active) { fs.writeFileSync( './bench-memory.csv', - 'w,r,t,u,e\n' + memory.map((x) => x.join(',')).join('\n') + 'w,r,t,u,e\n' + memory.map((x) => x.join(',')).join('\n'), ) fs.writeFileSync('./bench-calltimes.csv', 'ct\n' + calltimes.join('\n')) diff --git a/test/seneca.test.js b/test/seneca.test.js index c69e50f2..88c9a9d0 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -100,12 +100,12 @@ describe('seneca', function () { expect(JSON.stringify(si)).equal( '{"isSeneca":true,"id":"a","fixedargs":{},"fixedmeta":{},"start_time":123,"version":"' + Package.version + - '"}' + '"}', ) expect(Util.inspect(si).replace(/\n */g, ' ')).equal( "{ isSeneca: true, id: 'a', did: undefined, fixedargs: {}, fixedmeta: {}, start_time: 123, version: '" + Package.version + - "' }" + "' }", ) done() }) @@ -140,7 +140,7 @@ describe('seneca', function () { assert.ok(err) assert.equal( 'seneca: Action happy_error:1 failed: happy-error.', - err.message + err.message, ) done() }) @@ -332,7 +332,7 @@ describe('seneca', function () { si.act('op:foo,a:1,i:2', function (e, o, m) { assert.ok( - Gex('1~2~Seneca/*' + '/*').on('' + o.a + '~' + o.b + '~' + o.s) + Gex('1~2~Seneca/*' + '/*').on('' + o.a + '~' + o.b + '~' + o.s), ) assert.ok(!o.bar.prior) assert.ok(m.action.match(/bar/)) @@ -346,8 +346,8 @@ describe('seneca', function () { si.act('op:foo,a:1,i:3', function (e, o, m) { assert.ok( Gex('1~2~3~Seneca/*' + '/*').on( - '' + o.a + '~' + o.b + '~' + o.z + '~' + o.s - ) + '' + o.a + '~' + o.b + '~' + o.z + '~' + o.s, + ), ) assert.ok(m.action.match(/zed/)) @@ -428,7 +428,7 @@ describe('seneca', function () { si.act('op:foo,a:1,b:2', function (err, o) { assert.ok(!err) assert.ok( - Gex('1~2~Seneca/*' + '/*').on('' + o.a + '~' + o.b + '~' + o.s) + Gex('1~2~Seneca/*' + '/*').on('' + o.a + '~' + o.b + '~' + o.s), ) if (!this.options().prior.direct) { @@ -750,12 +750,12 @@ describe('seneca', function () { si.add( 'i:2,a:1', { b: 2, c: { required$: true } }, - addFunction + addFunction, ).act('i:2,a:1,b:2,c:3', function (err, out) { checkFunction(err, out, done) }) }) - } + }, ) }) }) @@ -825,7 +825,7 @@ describe('seneca', function () { // sensitive to changes in plugin init and internal action calls assert.equal( '{ calls: 8, done: 8, fails: 0, cache: 1 }', - Util.inspect(stats.act) + Util.inspect(stats.act), ) fin() }) diff --git a/test/shared.js b/test/shared.js index d5c0efd2..e894a5b5 100644 --- a/test/shared.js +++ b/test/shared.js @@ -23,7 +23,7 @@ module.exports = { ? func : Util.promisify(function (x, fin) { func(fin) - }) + }), ) } }, diff --git a/test/transport.test.js b/test/transport.test.js index bb185986..f44c8b47 100644 --- a/test/transport.test.js +++ b/test/transport.test.js @@ -191,7 +191,7 @@ describe('transport', function () { fin() }) }) - }) + }), ) }) @@ -246,7 +246,7 @@ describe('transport', function () { expect(meta.pattern).equal('') s0.close(c0.close.bind(c0, fin)) - } + }, ) } }) @@ -327,9 +327,9 @@ describe('transport', function () { expect(out.x).equals(3) s0.close(c0.close.bind(c0, fin)) - } + }, ) - } + }, ) }) }) @@ -444,7 +444,7 @@ describe('transport', function () { } expect(fn).to.not.throw() seneca.close(fin) - } + }, ) it( @@ -459,7 +459,7 @@ describe('transport', function () { } expect(fn).to.not.throw() seneca.close(fin) - } + }, ) it('action-error', test_opts, function (fin) { @@ -477,7 +477,7 @@ describe('transport', function () { () => {}, function () { return () => {} - } + }, ) var seneca = Seneca({ legacy: false }).test(fin) @@ -1056,8 +1056,8 @@ describe('transport', function () { expect(err.message).equal('from-test3') s1.close(s2.close.bind(s2, s3.close.bind(s3, fin))) }) - }) - ) + }), + ), ) }) @@ -1097,6 +1097,6 @@ describe('transport', function () { }) }) }) - } + }, ) }) diff --git a/test/util.test.js b/test/util.test.js index 82645a64..71a92a3d 100644 --- a/test/util.test.js +++ b/test/util.test.js @@ -21,10 +21,10 @@ describe('util', function () { it('seneca.util.deep.happy', function (done) { expect( - si.util.deep({}, { a: 1 }, { b: { c: 2 } }, { b: { c: 3, d: 4 } }) + si.util.deep({}, { a: 1 }, { b: { c: 2 } }, { b: { c: 3, d: 4 } }), ).to.include({ a: 1, b: { c: 3, d: 4 } }) expect( - si.util.deep({}, { a: 1 }, { b: [11, 22] }, { b: [undefined, 222, 333] }) + si.util.deep({}, { a: 1 }, { b: [11, 22] }, { b: [undefined, 222, 333] }), ).to.include({ a: 1, b: [11, 222, 333] }) done() }) @@ -99,7 +99,7 @@ describe('util', function () { d: { dd: 1 }, e: { ee: 1 }, f: [4, 5, 6], - } + }, ) expect(obj.a).to.equal({ aa: 1 }) @@ -117,7 +117,7 @@ describe('util', function () { it('seneca.util.deep.entity', function (done) { var obj = si.util.deep( { a: { x: 1 }, b: { y: 1, entity$: 'a/b/c' } }, - { c: { z: 1 }, b: { y: 2, entity$: 'a/b/c' } } + { c: { z: 1 }, b: { y: 2, entity$: 'a/b/c' } }, ) expect(obj).to.include({ From fb6ef78064cb0c66c7da28bc2de2bbb6cd3276f0 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Mon, 16 Oct 2023 19:04:13 +0100 Subject: [PATCH 33/42] api.ts --- lib/api.js | 34 ++++++++++++----------- lib/api.js.map | 2 +- lib/api.ts | 39 ++++++++++++++++----------- test/inward.test.js | 15 +++++++++-- test/outward.test.js | 15 +++++++++-- test/seneca.test.js | 64 +++++++++++++++----------------------------- 6 files changed, 90 insertions(+), 79 deletions(-) diff --git a/lib/api.js b/lib/api.js index cf072a45..75dabb7f 100644 --- a/lib/api.js +++ b/lib/api.js @@ -2,8 +2,9 @@ /* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.API = void 0; -const Norma = require('norma'); +const gubu_1 = require("gubu"); const common_1 = require("./common"); +const Argu = (0, gubu_1.MakeArgu)('seneca'); const errlog = common_1.make_standard_err_log_entry; const intern = {}; function wrap(pin, actdef, wrapper) { @@ -157,15 +158,12 @@ function fail(...args) { } } function inward() { - // TODO: norma should support f/x where x = # args - var args = Norma('inward:f', arguments); - // this.private$.inward.add(args.inward) + const args = Argu(arguments, { inward: Function }); this.root.order.inward.add(args.inward); return this; } function outward() { - var args = Norma('outward:f', arguments); - // this.private$.outward.add(args.outward) + const args = Argu(arguments, { outward: Function }); this.root.order.outward.add(args.outward); return this; } @@ -231,7 +229,12 @@ function depends() { var self = this; var private$ = this.private$; var error = this.util.error; - var args = Norma('{pluginname:s deps:a? moredeps:s*}', arguments); + // var args = Norma('{pluginname:s deps:a? moredeps:s*}', arguments) + const args = Argu(arguments, { + pluginname: String, + deps: (0, gubu_1.Ignore)([String]), + moredeps: (0, gubu_1.Rest)(String), + }); var deps = args.deps || args.moredeps || []; for (var i = 0; i < deps.length; i++) { var depname = deps[i]; @@ -588,19 +591,18 @@ function client(callpoint) { return self; }; } -// Inspired by https://github.com/hapijs/hapi/blob/master/lib/plugin.js decorate -// TODO: convert to plugin configuration, with standard errors function decorate() { - var args = Norma('property:s value:.', arguments); - var property = args.property; - if ('_' === property[0]) { - throw new Error('property cannot start with _'); - } + let args = Argu(arguments, { + property: (0, gubu_1.Check)(/^[^_]/, String) + .Fault('Decorate property cannot start with underscore (was $VALUE)'), + value: (0, gubu_1.Any)() + }); + let property = args.property; if (this.private$.decorations[property]) { - throw new Error('seneca is already decorated with the property: ' + property); + throw new Error('seneca: Decoration already exists: ' + property); } if (this.root[property]) { - throw new Error('cannot override a core seneca property: ' + property); + throw new Error('seneca: Decoration overrides core property:' + property); } this.root[property] = this.private$.decorations[property] = args.value; } diff --git a/lib/api.js.map b/lib/api.js.map index cfdfdf2e..0b4876b1 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAE9B,qCAYiB;AAEjB,MAAM,MAAM,GAAG,oCAA2B,CAAA;AAE1C,MAAM,MAAM,GAAQ,EAAE,CAAA;AAGtB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAA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AO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 78406a06..82288dfc 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -1,6 +1,6 @@ /* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ -const Norma = require('norma') +import { MakeArgu, Any, Check, Rest, Ignore } from 'gubu' import { each, @@ -16,6 +16,9 @@ import { jsonic_stringify, } from './common' + +const Argu = MakeArgu('seneca') + const errlog = make_standard_err_log_entry const intern: any = {} @@ -222,17 +225,14 @@ function fail(this: any, ...args: any[]) { function inward(this: any) { - // TODO: norma should support f/x where x = # args - var args = Norma('inward:f', arguments) - // this.private$.inward.add(args.inward) + const args = Argu(arguments, { inward: Function }) this.root.order.inward.add(args.inward) return this } function outward(this: any) { - var args = Norma('outward:f', arguments) - // this.private$.outward.add(args.outward) + const args = Argu(arguments, { outward: Function }) this.root.order.outward.add(args.outward) return this } @@ -320,7 +320,13 @@ function depends(this: any) { var self = this var private$ = this.private$ var error = this.util.error - var args = Norma('{pluginname:s deps:a? moredeps:s*}', arguments) + // var args = Norma('{pluginname:s deps:a? moredeps:s*}', arguments) + + const args = Argu(arguments, { + pluginname: String, + deps: Ignore([String]), + moredeps: Rest(String), + }) var deps = args.deps || args.moredeps || [] @@ -809,26 +815,27 @@ function client(this: any, callpoint: any) { } -// Inspired by https://github.com/hapijs/hapi/blob/master/lib/plugin.js decorate -// TODO: convert to plugin configuration, with standard errors function decorate(this: any) { - var args = Norma('property:s value:.', arguments) + let args = Argu(arguments, { + property: Check(/^[^_]/, String) + .Fault('Decorate property cannot start with underscore (was $VALUE)'), + value: Any() + }) + + let property = args.property - var property = args.property - if ('_' === property[0]) { - throw new Error('property cannot start with _') - } if (this.private$.decorations[property]) { - throw new Error('seneca is already decorated with the property: ' + property) + throw new Error('seneca: Decoration already exists: ' + property) } if (this.root[property]) { - throw new Error('cannot override a core seneca property: ' + property) + throw new Error('seneca: Decoration overrides core property:' + property) } this.root[property] = this.private$.decorations[property] = args.value } + intern.parse_config = function(args: any) { var out: any = {} diff --git a/test/inward.test.js b/test/inward.test.js index 68619f61..56fdf012 100644 --- a/test/inward.test.js +++ b/test/inward.test.js @@ -42,8 +42,19 @@ describe('inward', function () { try { API.inward() expect(false).true() - } catch (e) { - expect(e.code).equal('invalid_arguments') + } + catch (e) { + expect(e.message) + .equal('seneca: Validation failed for property "inward"'+ + ' with value "" because the value is required.') + expect({...e}).includes({ + gubu: true, + code: 'shape', + }) + expect(e.props[0]).includes({ + path:'inward', + type:'function' + }) } fin() diff --git a/test/outward.test.js b/test/outward.test.js index 567e2579..32691a5a 100644 --- a/test/outward.test.js +++ b/test/outward.test.js @@ -56,8 +56,19 @@ describe('outward', function () { try { API.outward() expect(false).true() - } catch (e) { - expect(e.code).equal('invalid_arguments') + } + catch (e) { + expect(e.message) + .equal('seneca: Validation failed for property "outward"'+ + ' with value "" because the value is required.') + expect({...e}).includes({ + gubu: true, + code: 'shape', + }) + expect(e.props[0]).includes({ + path:'outward', + type:'function' + }) } fin() diff --git a/test/seneca.test.js b/test/seneca.test.js index 88c9a9d0..5b5742c0 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -1048,53 +1048,33 @@ describe('seneca', function () { }) }) - describe('#decorate', function () { - it('can add a property to seneca', function (done) { - var si = Seneca({ log: 'silent' }) - si.decorate('foo', function () { - assert(this === si) - return 'bar' - }) - - assert.equal(si.foo(), 'bar') - done() + it('decorate-basic', async ()=> { + const si = Seneca().test().quiet() + si.decorate('foo', function () { + expect(this === si) + return 'bar' }) - it('cannot override core property', function (done) { - var si = Seneca({ log: 'silent' }) - - var fn = function () { - si.decorate('use', 'foo') - } - - assert.throws(fn) - done() - }) - - it('cannot overwrite a decorated property', function (done) { - var si = Seneca({ log: 'silent' }) - si.decorate('foo', function () { - return 'bar' - }) - - var fn = function () { - si.decorate('foo', 'bar') - } - - assert.throws(fn) - done() - }) + expect(si.foo()).equals('bar') + }) - it('cannot prefix a property with an underscore', function (done) { - var si = Seneca({ log: 'silent' }) + it('decorate-core-property', async ()=> { + const si = Seneca().test().quiet() + expect(()=>si.decorate('add',()=>{})) + .throws('seneca: Decoration overrides core property:add') + }) - var fn = function () { - si.decorate('_use', 'foo') - } + it('decorate-overwrite', async ()=>{ + const si = Seneca().test().quiet() + si.decorate('foo', ()=>{}) + expect(()=>si.decorate('foo',()=>{})) + .throws('seneca: Decoration already exists: foo') + }) - assert.throws(fn) - done() - }) + it('decorate-underscore-prefix', async ()=>{ + const si = Seneca().test().quiet() + expect(()=>si.decorate('_use')) + .throws('seneca: Decorate property cannot start with underscore (was _use)') }) it('supports jsonic params to has', function (done) { From 173a9e24a7aa565c8d1062a817232933ade0a4ca Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Tue, 17 Oct 2023 01:05:05 +0100 Subject: [PATCH 34/42] api-remove-var --- lib/api.js | 175 +++++++++++++++++++++++----------------------- lib/api.js.map | 2 +- lib/api.ts | 185 +++++++++++++++++++++++++------------------------ 3 files changed, 182 insertions(+), 180 deletions(-) diff --git a/lib/api.js b/lib/api.js index 75dabb7f..7e4d2cc2 100644 --- a/lib/api.js +++ b/lib/api.js @@ -8,7 +8,7 @@ const Argu = (0, gubu_1.MakeArgu)('seneca'); const errlog = common_1.make_standard_err_log_entry; const intern = {}; function wrap(pin, actdef, wrapper) { - var pinthis = this; + const pinthis = this; wrapper = 'function' === typeof actdef ? actdef : wrapper; actdef = 'function' === typeof actdef ? {} : actdef; pin = Array.isArray(pin) ? pin : [pin]; @@ -20,9 +20,9 @@ function wrap(pin, actdef, wrapper) { return this; } function fix(patargs, msgargs, custom) { - var self = this; + const self = this; patargs = self.util.Jsonic(patargs || {}); - var fix_delegate = self.delegate(patargs); + const fix_delegate = self.delegate(patargs); // TODO: attach msgargs and custom to delegate.private$ in some way for debugging fix_delegate.add = function fix_add() { return self.add.apply(this, intern.fix_args(arguments, patargs, msgargs, custom)); @@ -33,8 +33,8 @@ function fix(patargs, msgargs, custom) { return fix_delegate; } function options(options, chain) { - var self = this; - var private$ = self.private$; + const self = this; + const private$ = self.private$; if (null == options) { return private$.optioner.get(); } @@ -46,9 +46,9 @@ function options(options, chain) { data: options, }); } - var out_opts = (private$.exports.options = private$.optioner.set(options)); + let out_opts = (private$.exports.options = private$.optioner.set(options)); if ('string' === typeof options.tag) { - var oldtag = self.root.tag; + const oldtag = self.root.tag; self.root.tag = options.tag; self.root.id = self.root.id.substring(0, self.root.id.indexOf('/' + oldtag)) + @@ -57,7 +57,7 @@ function options(options, chain) { } // Update logging configuration if (options.log) { - var logspec = private$.logging.build_log(self); + const logspec = private$.logging.build_log(self); out_opts = private$.exports.options = private$.optioner.set({ log: logspec, }); @@ -69,7 +69,7 @@ function options(options, chain) { // DEPRECATED if (out_opts.legacy.logging) { if (options && options.log && Array.isArray(options.log.map)) { - for (var i = 0; i < options.log.map.length; ++i) { + for (let i = 0; i < options.log.map.length; ++i) { self.logroute(options.log.map[i]); } } @@ -83,7 +83,7 @@ function options(options, chain) { // sets public seneca.closed property function close(callpoint) { return function api_close(done) { - var seneca = this; + const seneca = this; if (false !== done && null == done) { return (0, common_1.promiser)(intern.close.bind(seneca, callpoint)); } @@ -103,7 +103,7 @@ function explain(toggle) { return (this.private$.explain = []); } else if (false === toggle) { - var out = this.private$.explain; + const out = this.private$.explain; delete this.private$.explain; return out; } @@ -118,18 +118,18 @@ function error(first) { if (null == first) { throw this.util.error('no_error_code'); } - var plugin_fullname = this.fixedargs && this.fixedargs.plugin$ && this.fixedargs.plugin$.full; - var plugin = null != plugin_fullname + const plugin_fullname = this.fixedargs && this.fixedargs.plugin$ && this.fixedargs.plugin$.full; + const plugin = null != plugin_fullname ? this.private$.plugins[plugin_fullname] : this.context.plugin; - var error = null; + let err = null; if (plugin && plugin.eraro && plugin.eraro.has(first)) { - error = plugin.eraro.apply(this, arguments); + err = plugin.eraro.apply(this, arguments); } else { - error = common_1.error.apply(this, arguments); + err = common_1.error.apply(this, arguments); } - return error; + return err; } } // NOTE: plugin error codes are in their own namespaces @@ -169,12 +169,12 @@ function outward() { } // TODO: rename fixedargs function delegate(fixedargs, fixedmeta) { - var self = this; - var root = this.root; - var opts = this.options(); + const self = this; + const root = this.root; + const opts = this.options(); fixedargs = fixedargs || {}; fixedmeta = fixedmeta || {}; - var delegate = Object.create(self); + const delegate = Object.create(self); delegate.private$ = Object.create(self.private$); delegate.did = (delegate.did ? delegate.did + '/' : '') + self.private$.didnid(); @@ -183,13 +183,13 @@ function delegate(fixedargs, fixedmeta) { } Object.assign(delegate_log, root.log); delegate_log.self = () => delegate; - var strdesc; + let strdesc; function delegate_toString() { if (strdesc) return strdesc; - var vfa = {}; + const vfa = {}; Object.keys(fixedargs).forEach((k) => { - var v = fixedargs[k]; + const v = fixedargs[k]; if (~k.indexOf('$')) return; vfa[k] = v; @@ -199,20 +199,20 @@ function delegate(fixedargs, fixedmeta) { (Object.keys(vfa).length ? '/' + (0, common_1.jsonic_stringify)(vfa) : ''); return strdesc; } - var delegate_fixedargs = opts.strict.fixedargs + const delegate_fixedargs = opts.strict.fixedargs ? Object.assign({}, fixedargs, self.fixedargs) : Object.assign({}, self.fixedargs, fixedargs); - var delegate_fixedmeta = opts.strict.fixedmeta + const delegate_fixedmeta = opts.strict.fixedmeta ? Object.assign({}, fixedmeta, self.fixedmeta) : Object.assign({}, self.fixedmeta, fixedmeta); function delegate_delegate(further_fixedargs, further_fixedmeta) { - var args = Object.assign({}, delegate.fixedargs, further_fixedargs || {}); - var meta = Object.assign({}, delegate.fixedmeta, further_fixedmeta || {}); + const args = Object.assign({}, delegate.fixedargs, further_fixedargs || {}); + const meta = Object.assign({}, delegate.fixedmeta, further_fixedmeta || {}); return self.delegate.call(this, args, meta); } // Somewhere to put contextual data for this delegate. // For example, data for individual web requests. - var delegate_context = Object.assign({}, self.context); + const delegate_context = Object.assign({}, self.context); // Prevents incorrect prototype properties in mocha test contexts Object.defineProperties(delegate, { log: { value: delegate_log, writable: true }, @@ -226,18 +226,17 @@ function delegate(fixedargs, fixedmeta) { } // TODO: should be a configuration param so we can handle plugin name resolution function depends() { - var self = this; - var private$ = this.private$; - var error = this.util.error; - // var args = Norma('{pluginname:s deps:a? moredeps:s*}', arguments) + const self = this; + const private$ = this.private$; + const error = this.util.error; const args = Argu(arguments, { pluginname: String, deps: (0, gubu_1.Ignore)([String]), moredeps: (0, gubu_1.Rest)(String), }); - var deps = args.deps || args.moredeps || []; - for (var i = 0; i < deps.length; i++) { - var depname = deps[i]; + const deps = args.deps || args.moredeps || []; + for (let i = 0; i < deps.length; i++) { + const depname = deps[i]; if (!private$.plugin_order.byname.includes(depname) && !private$.plugin_order.byname.includes('seneca-' + depname)) { self.die(error('plugin_required', { @@ -249,15 +248,15 @@ function depends() { } } function export$(key) { - var self = this; - var private$ = this.private$; - var error = this.util.error; - var opts = this.options(); + const self = this; + const private$ = this.private$; + const error = this.util.error; + const opts = this.options(); // Legacy aliases if (key === 'util') { key = 'basic'; } - var exportval = private$.exports[key]; + const exportval = private$.exports[key]; if (!exportval && opts.strict.exports) { return self.die(error('export_not_found', { key: key })); } @@ -265,13 +264,13 @@ function export$(key) { } function quiet(flags) { flags = flags || {}; - var quiet_opts = { + const quiet_opts = { test: false, quiet: true, log: 'none', reload$: true, // TODO: obsolete? }; - var opts = this.options(quiet_opts); + const opts = this.options(quiet_opts); // An override from env or args is possible. // Only flip to test mode if called from test() method if (opts.test && 'test' !== flags.from) { @@ -283,7 +282,7 @@ function quiet(flags) { } } function test(errhandler, logspec) { - var opts = this.options(); + const opts = this.options(); if ('-' != opts.tag) { this.root.id = null == opts.id$ @@ -295,7 +294,7 @@ function test(errhandler, logspec) { errhandler = null; } logspec = true === logspec || 'true' === logspec ? 'test' : logspec; - var test_opts = { + const test_opts = { errhandler: null == errhandler ? null : errhandler, test: true, quiet: false, @@ -303,7 +302,7 @@ function test(errhandler, logspec) { log: logspec || 'test', debug: { callpoint: true }, }; - var set_opts = this.options(test_opts); + const set_opts = this.options(test_opts); // An override from env or args is possible. if (set_opts.quiet) { return this.quiet({ from: 'test' }); @@ -319,7 +318,7 @@ function test(errhandler, logspec) { } } function ping() { - var now = Date.now(); + const now = Date.now(); return { now: now, uptime: now - this.private$.stats.start, @@ -403,11 +402,11 @@ function list_plugins() { return Object.assign({}, this.private$.plugins); } function find_plugin(plugindesc, tag) { - var plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); + const plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); return this.private$.plugins[plugin_key]; } function has_plugin(plugindesc, tag) { - var plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); + const plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); return !!this.private$.plugins[plugin_key]; } function ignore_plugin(plugindesc, tag, ignore) { @@ -415,8 +414,8 @@ function ignore_plugin(plugindesc, tag, ignore) { ignore = tag; tag = null; } - var plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); - var resolved_ignore = (this.private$.ignore_plugins[plugin_key] = + const plugin_key = (0, common_1.make_plugin_key)(plugindesc, tag); + const resolved_ignore = (this.private$.ignore_plugins[plugin_key] = null == ignore ? true : !!ignore); this.log.info({ kind: 'plugin', @@ -428,11 +427,11 @@ function ignore_plugin(plugindesc, tag, ignore) { } // Find the action metadata for a given pattern, if it exists. function find(pattern, flags) { - var seneca = this; - var pat = 'string' === typeof pattern ? seneca.util.Jsonic(pattern) : pattern; + const seneca = this; + let pat = 'string' === typeof pattern ? seneca.util.Jsonic(pattern) : pattern; pat = seneca.util.clean(pat); pat = pat || {}; - var actdef = seneca.private$.actrouter.find(pat, flags && flags.exact); + let actdef = seneca.private$.actrouter.find(pat, flags && flags.exact); if (!actdef) { actdef = seneca.private$.actrouter.find({}); } @@ -451,9 +450,9 @@ function list(pattern) { // Get the current status of the instance. function status(flags) { flags = flags || {}; - var hist = this.private$.history.stats(); + const hist = this.private$.history.stats(); hist.log = this.private$.history.list(); - var status = { + const status = { stats: this.stats(flags.stats), history: hist, transport: this.private$.transport, @@ -463,8 +462,8 @@ function status(flags) { // Reply to an action that is waiting for a result. // Used by transports to decouple sending messages from receiving responses. function reply(spec) { - var instance = this; - var actctxt = null; + const instance = this; + let actctxt = null; if (spec && spec.meta) { actctxt = instance.private$.history.get(spec.meta.id); if (actctxt) { @@ -476,9 +475,9 @@ function reply(spec) { // Listen for inbound messages. function listen(callpoint) { return function api_listen(...argsarr) { - var private$ = this.private$; - var self = this; - var done = argsarr[argsarr.length - 1]; + const private$ = this.private$; + const self = this; + let done = argsarr[argsarr.length - 1]; if (typeof done === 'function') { argsarr.pop(); } @@ -491,8 +490,8 @@ function listen(callpoint) { data: argsarr, callpoint: callpoint(true), }); - var opts = self.options().transport || {}; - var config = intern.resolve_config(intern.parse_config(argsarr), opts); + const opts = self.options().transport || {}; + const config = intern.resolve_config(intern.parse_config(argsarr), opts); self.act('role:transport,cmd:listen', { config: config, gate$: true }, function (err, result) { if (err) { return self.die(private$.error(err, 'transport_listen', config)); @@ -506,23 +505,23 @@ function listen(callpoint) { // Send outbound messages. function client(callpoint) { return function api_client() { - var private$ = this.private$; - var argsarr = Array.prototype.slice.call(arguments); - var self = this; + const private$ = this.private$; + const argsarr = Array.prototype.slice.call(arguments); + const self = this; self.log.info({ kind: 'client', case: 'INIT', data: argsarr, callpoint: callpoint(true), }); - var legacy = self.options().legacy || {}; - var opts = self.options().transport || {}; - var raw_config = intern.parse_config(argsarr); + const legacy = self.options().legacy || {}; + const opts = self.options().transport || {}; + const raw_config = intern.parse_config(argsarr); // pg: pin group raw_config.pg = (0, common_1.pincanon)(raw_config.pin || raw_config.pins); - var config = intern.resolve_config(raw_config, opts); + const config = intern.resolve_config(raw_config, opts); config.id = config.id || (0, common_1.pattern)(raw_config); - var pins = config.pins || + let pins = config.pins || (Array.isArray(config.pin) ? config.pin : [config.pin || '']); pins = pins.map((pin) => { return 'string' === typeof pin ? self.util.Jsonic(pin) : pin; @@ -530,7 +529,7 @@ function client(callpoint) { // TODO: review - this feels like a hack // perhaps we should instantiate a virtual plugin to represent the client? // ... but is this necessary at all? - var task_res = self.order.plugin.task.delegate.exec({ + const task_res = self.order.plugin.task.delegate.exec({ ctx: { seneca: self, }, @@ -542,9 +541,9 @@ function client(callpoint) { }, }, }); - var sd = task_res.out.delegate; - var sendclient; - var transport_client = function transport_client(msg, reply, meta) { + const sd = task_res.out.delegate; + let sendclient; + const transport_client = function transport_client(msg, reply, meta) { if (legacy.meta) { meta = meta || msg.meta$; } @@ -607,9 +606,9 @@ function decorate() { this.root[property] = this.private$.decorations[property] = args.value; } intern.parse_config = function (args) { - var out = {}; - var config = args.filter((x) => null != x); - var arglen = config.length; + let out = {}; + const config = args.filter((x) => null != x); + const arglen = config.length; // TODO: use Joi for better error msgs if (arglen === 1) { if (config[0] && 'object' === typeof config[0]) { @@ -631,9 +630,9 @@ intern.parse_config = function (args) { return out; }; intern.resolve_config = function (config, options) { - var out = Object.assign({}, config); + let out = Object.assign({}, config); Object.keys(options).forEach((key) => { - var value = options[key]; + const value = options[key]; if (value && 'object' === typeof value) { return; } @@ -645,7 +644,7 @@ intern.resolve_config = function (config, options) { if (out.type === 'direct' || out.type === 'http') { out.type = 'web'; } - var base = options[out.type] || {}; + const base = options[out.type] || {}; out = Object.assign({}, base, out); if (out.type === 'web' || out.type === 'tcp') { out.port = out.port == null ? base.port : out.port; @@ -655,10 +654,10 @@ intern.resolve_config = function (config, options) { return out; }; intern.close = function (callpoint, done) { - var seneca = this; - var options = seneca.options(); - var done_called = false; - var safe_done = function safe_done(err) { + const seneca = this; + const options = seneca.options(); + let done_called = false; + const safe_done = function safe_done(err) { if (!done_called && 'function' === typeof done) { done_called = true; return done.call(seneca, err); @@ -669,7 +668,7 @@ intern.close = function (callpoint, done) { return safe_done(); } seneca.ready(do_close); - var close_timeout = setTimeout(do_close, options.close_delay); + const close_timeout = setTimeout(do_close, options.close_delay); function do_close() { clearTimeout(close_timeout); if (seneca.flags.closed) { @@ -710,8 +709,8 @@ intern.close = function (callpoint, done) { }; intern.fix_args = function (origargs, patargs, msgargs, custom) { - var args = (0, common_1.parsePattern)(this, origargs, 'rest:.*', patargs); - var fixargs = [args.pattern] + const args = (0, common_1.parsePattern)(this, origargs, 'rest:.*', patargs); + const fixargs = [args.pattern] .concat({ fixed$: Object.assign({}, msgargs, args.pattern.fixed$), custom$: Object.assign({}, custom, args.pattern.custom$), diff --git a/lib/api.js.map b/lib/api.js.map index 0b4876b1..42b10147 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,+BAAyD;AAEzD,qCAYiB;AAGjB,MAAM,IAAI,GAAG,IAAA,eAAQ,EAAC,QAAQ,CAAC,CAAA;AAE/B,MAAM,MAAM,GAAG,oCAA2B,CAAA;AAE1C,MAAM,MAAM,GAAQ,EAAE,CAAA;AAGtB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,IAAI,OAAO,GAAG,IAAI,CAAA;IAElB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CA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,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 82288dfc..58edb0fd 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -25,7 +25,7 @@ const intern: any = {} function wrap(this: any, pin: any, actdef: any, wrapper: any) { - var pinthis = this + const pinthis = this wrapper = 'function' === typeof actdef ? actdef : wrapper actdef = 'function' === typeof actdef ? {} : actdef @@ -42,11 +42,11 @@ function wrap(this: any, pin: any, actdef: any, wrapper: any) { function fix(this: any, patargs: any, msgargs: any, custom: any) { - var self = this + const self = this patargs = self.util.Jsonic(patargs || {}) - var fix_delegate = self.delegate(patargs) + const fix_delegate = self.delegate(patargs) // TODO: attach msgargs and custom to delegate.private$ in some way for debugging @@ -69,8 +69,8 @@ function fix(this: any, patargs: any, msgargs: any, custom: any) { function options(this: any, options: any, chain: any) { - var self = this - var private$ = self.private$ + const self = this + const private$ = self.private$ if (null == options) { return private$.optioner.get() @@ -85,10 +85,10 @@ function options(this: any, options: any, chain: any) { }) } - var out_opts = (private$.exports.options = private$.optioner.set(options)) + let out_opts = (private$.exports.options = private$.optioner.set(options)) if ('string' === typeof options.tag) { - var oldtag = self.root.tag + const oldtag = self.root.tag self.root.tag = options.tag self.root.id = self.root.id.substring(0, self.root.id.indexOf('/' + oldtag)) + @@ -98,7 +98,7 @@ function options(this: any, options: any, chain: any) { // Update logging configuration if (options.log) { - var logspec = private$.logging.build_log(self) + const logspec = private$.logging.build_log(self) out_opts = private$.exports.options = private$.optioner.set({ log: logspec, }) @@ -112,7 +112,7 @@ function options(this: any, options: any, chain: any) { // DEPRECATED if (out_opts.legacy.logging) { if (options && options.log && Array.isArray(options.log.map)) { - for (var i = 0; i < options.log.map.length; ++i) { + for (let i = 0; i < options.log.map.length; ++i) { self.logroute(options.log.map[i]) } } @@ -129,7 +129,7 @@ function options(this: any, options: any, chain: any) { // sets public seneca.closed property function close(callpoint: any) { return function api_close(this: any, done: any) { - var seneca = this + const seneca = this if (false !== done && null == done) { return promiser(intern.close.bind(seneca, callpoint)) @@ -156,7 +156,7 @@ function explain(this: any, toggle: any) { if (true === toggle) { return (this.private$.explain = []) } else if (false === toggle) { - var out = this.private$.explain + const out = this.private$.explain delete this.private$.explain return out } @@ -168,30 +168,33 @@ function error(this: any, first: any) { if ('function' === typeof first) { this.options({ errhandler: first }) return this - } else { + } + else { if (null == first) { throw this.util.error('no_error_code') } - var plugin_fullname = + const plugin_fullname = this.fixedargs && this.fixedargs.plugin$ && this.fixedargs.plugin$.full - var plugin = + const plugin = null != plugin_fullname ? this.private$.plugins[plugin_fullname] : this.context.plugin - var error = null + let err = null if (plugin && plugin.eraro && plugin.eraro.has(first)) { - error = plugin.eraro.apply(this, arguments) - } else { - error = common_error.apply(this, arguments) + err = plugin.eraro.apply(this, arguments) + } + else { + err = common_error.apply(this, arguments) } - return error + return err } } + // NOTE: plugin error codes are in their own namespaces function fail(this: any, ...args: any[]) { if (args.length <= 2) { @@ -240,14 +243,14 @@ function outward(this: any) { // TODO: rename fixedargs function delegate(this: any, fixedargs: any, fixedmeta: any) { - var self = this - var root = this.root - var opts = this.options() + const self = this + const root = this.root + const opts = this.options() fixedargs = fixedargs || {} fixedmeta = fixedmeta || {} - var delegate = Object.create(self) + const delegate = Object.create(self) delegate.private$ = Object.create(self.private$) @@ -261,13 +264,13 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { Object.assign(delegate_log, root.log) delegate_log.self = () => delegate - var strdesc: any + let strdesc: any function delegate_toString() { if (strdesc) return strdesc - var vfa: any = {} + const vfa: any = {} Object.keys(fixedargs).forEach((k) => { - var v = fixedargs[k] + const v = fixedargs[k] if (~k.indexOf('$')) return vfa[k] = v }) @@ -279,11 +282,11 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { return strdesc } - var delegate_fixedargs = opts.strict.fixedargs + const delegate_fixedargs = opts.strict.fixedargs ? Object.assign({}, fixedargs, self.fixedargs) : Object.assign({}, self.fixedargs, fixedargs) - var delegate_fixedmeta = opts.strict.fixedmeta + const delegate_fixedmeta = opts.strict.fixedmeta ? Object.assign({}, fixedmeta, self.fixedmeta) : Object.assign({}, self.fixedmeta, fixedmeta) @@ -292,14 +295,14 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { further_fixedargs: any, further_fixedmeta: any ) { - var args = Object.assign({}, delegate.fixedargs, further_fixedargs || {}) - var meta = Object.assign({}, delegate.fixedmeta, further_fixedmeta || {}) + const args = Object.assign({}, delegate.fixedargs, further_fixedargs || {}) + const meta = Object.assign({}, delegate.fixedmeta, further_fixedmeta || {}) return self.delegate.call(this, args, meta) } // Somewhere to put contextual data for this delegate. // For example, data for individual web requests. - var delegate_context = Object.assign({}, self.context) + const delegate_context = Object.assign({}, self.context) // Prevents incorrect prototype properties in mocha test contexts Object.defineProperties(delegate, { @@ -317,10 +320,9 @@ function delegate(this: any, fixedargs: any, fixedmeta: any) { // TODO: should be a configuration param so we can handle plugin name resolution function depends(this: any) { - var self = this - var private$ = this.private$ - var error = this.util.error - // var args = Norma('{pluginname:s deps:a? moredeps:s*}', arguments) + const self = this + const private$ = this.private$ + const error = this.util.error const args = Argu(arguments, { pluginname: String, @@ -328,10 +330,10 @@ function depends(this: any) { moredeps: Rest(String), }) - var deps = args.deps || args.moredeps || [] + const deps = args.deps || args.moredeps || [] - for (var i = 0; i < deps.length; i++) { - var depname = deps[i] + for (let i = 0; i < deps.length; i++) { + const depname = deps[i] if ( !private$.plugin_order.byname.includes(depname) && @@ -350,17 +352,17 @@ function depends(this: any) { function export$(this: any, key: any) { - var self = this - var private$ = this.private$ - var error = this.util.error - var opts = this.options() + const self = this + const private$ = this.private$ + const error = this.util.error + const opts = this.options() // Legacy aliases if (key === 'util') { key = 'basic' } - var exportval = private$.exports[key] + const exportval = private$.exports[key] if (!exportval && opts.strict.exports) { return self.die(error('export_not_found', { key: key })) @@ -373,14 +375,14 @@ function export$(this: any, key: any) { function quiet(this: any, flags: any) { flags = flags || {} - var quiet_opts = { + const quiet_opts = { test: false, quiet: true, log: 'none', reload$: true, // TODO: obsolete? } - var opts = this.options(quiet_opts) + const opts = this.options(quiet_opts) // An override from env or args is possible. // Only flip to test mode if called from test() method @@ -395,7 +397,7 @@ function quiet(this: any, flags: any) { function test(this: any, errhandler: any, logspec: any) { - var opts = this.options() + const opts = this.options() if ('-' != opts.tag) { this.root.id = @@ -411,7 +413,7 @@ function test(this: any, errhandler: any, logspec: any) { logspec = true === logspec || 'true' === logspec ? 'test' : logspec - var test_opts = { + const test_opts = { errhandler: null == errhandler ? null : errhandler, test: true, quiet: false, @@ -420,7 +422,7 @@ function test(this: any, errhandler: any, logspec: any) { debug: { callpoint: true }, } - var set_opts = this.options(test_opts) + const set_opts = this.options(test_opts) // An override from env or args is possible. if (set_opts.quiet) { @@ -440,7 +442,7 @@ function test(this: any, errhandler: any, logspec: any) { function ping(this: any) { - var now = Date.now() + const now = Date.now() return { now: now, uptime: now - this.private$.stats.start, @@ -553,13 +555,13 @@ function list_plugins(this: any) { function find_plugin(this: any, plugindesc: any, tag: any) { - var plugin_key = make_plugin_key(plugindesc, tag) + const plugin_key = make_plugin_key(plugindesc, tag) return this.private$.plugins[plugin_key] } function has_plugin(this: any, plugindesc: any, tag: any) { - var plugin_key = make_plugin_key(plugindesc, tag) + const plugin_key = make_plugin_key(plugindesc, tag) return !!this.private$.plugins[plugin_key] } @@ -569,8 +571,8 @@ function ignore_plugin(this: any, plugindesc: any, tag: any, ignore: any) { ignore = tag tag = null } - var plugin_key = make_plugin_key(plugindesc, tag) - var resolved_ignore = (this.private$.ignore_plugins[plugin_key] = + const plugin_key = make_plugin_key(plugindesc, tag) + const resolved_ignore = (this.private$.ignore_plugins[plugin_key] = null == ignore ? true : !!ignore) this.log.info({ @@ -586,13 +588,13 @@ function ignore_plugin(this: any, plugindesc: any, tag: any, ignore: any) { // Find the action metadata for a given pattern, if it exists. function find(this: any, pattern: any, flags: any) { - var seneca = this + const seneca = this - var pat = 'string' === typeof pattern ? seneca.util.Jsonic(pattern) : pattern + let pat = 'string' === typeof pattern ? seneca.util.Jsonic(pattern) : pattern pat = seneca.util.clean(pat) pat = pat || {} - var actdef = seneca.private$.actrouter.find(pat, flags && flags.exact) + let actdef = seneca.private$.actrouter.find(pat, flags && flags.exact) if (!actdef) { actdef = seneca.private$.actrouter.find({}) @@ -620,10 +622,10 @@ function list(this: any, pattern: any) { function status(this: any, flags: any) { flags = flags || {} - var hist = this.private$.history.stats() + const hist = this.private$.history.stats() hist.log = this.private$.history.list() - var status = { + const status = { stats: this.stats(flags.stats), history: hist, transport: this.private$.transport, @@ -636,8 +638,8 @@ function status(this: any, flags: any) { // Reply to an action that is waiting for a result. // Used by transports to decouple sending messages from receiving responses. function reply(this: any, spec: any) { - var instance = this - var actctxt = null + const instance = this + let actctxt = null if (spec && spec.meta) { actctxt = instance.private$.history.get(spec.meta.id) @@ -653,13 +655,14 @@ function reply(this: any, spec: any) { // Listen for inbound messages. function listen(this: any, callpoint: any) { return function api_listen(this: any, ...argsarr: any[]) { - var private$ = this.private$ - var self = this + const private$ = this.private$ + const self = this - var done = argsarr[argsarr.length - 1] + let done = argsarr[argsarr.length - 1] if (typeof done === 'function') { argsarr.pop() - } else { + } + else { done = () => { } } @@ -670,8 +673,8 @@ function listen(this: any, callpoint: any) { callpoint: callpoint(true), }) - var opts = self.options().transport || {} - var config = intern.resolve_config(intern.parse_config(argsarr), opts) + const opts = self.options().transport || {} + const config = intern.resolve_config(intern.parse_config(argsarr), opts) self.act( 'role:transport,cmd:listen', @@ -694,9 +697,9 @@ function listen(this: any, callpoint: any) { // Send outbound messages. function client(this: any, callpoint: any) { return function api_client(this: any) { - var private$ = this.private$ - var argsarr = Array.prototype.slice.call(arguments) - var self = this + const private$ = this.private$ + const argsarr = Array.prototype.slice.call(arguments) + const self = this self.log.info({ kind: 'client', @@ -705,19 +708,19 @@ function client(this: any, callpoint: any) { callpoint: callpoint(true), }) - var legacy = self.options().legacy || {} - var opts = self.options().transport || {} + const legacy = self.options().legacy || {} + const opts = self.options().transport || {} - var raw_config = intern.parse_config(argsarr) + const raw_config = intern.parse_config(argsarr) // pg: pin group raw_config.pg = pincanon(raw_config.pin || raw_config.pins) - var config = intern.resolve_config(raw_config, opts) + const config = intern.resolve_config(raw_config, opts) config.id = config.id || pattern(raw_config) - var pins = + let pins = config.pins || (Array.isArray(config.pin) ? config.pin : [config.pin || '']) @@ -728,7 +731,7 @@ function client(this: any, callpoint: any) { // TODO: review - this feels like a hack // perhaps we should instantiate a virtual plugin to represent the client? // ... but is this necessary at all? - var task_res = self.order.plugin.task.delegate.exec({ + const task_res = self.order.plugin.task.delegate.exec({ ctx: { seneca: self, }, @@ -741,11 +744,11 @@ function client(this: any, callpoint: any) { }, }) - var sd = task_res.out.delegate + const sd = task_res.out.delegate - var sendclient: any + let sendclient: any - var transport_client: any = + const transport_client: any = function transport_client(this: any, msg: any, reply: any, meta: any) { if (legacy.meta) { meta = meta || msg.meta$ @@ -837,11 +840,11 @@ function decorate(this: any) { intern.parse_config = function(args: any) { - var out: any = {} + let out: any = {} - var config = args.filter((x: any) => null != x) + const config = args.filter((x: any) => null != x) - var arglen = config.length + const arglen = config.length // TODO: use Joi for better error msgs @@ -865,10 +868,10 @@ intern.parse_config = function(args: any) { intern.resolve_config = function(config: any, options: any) { - var out = Object.assign({}, config) + let out = Object.assign({}, config) Object.keys(options).forEach((key) => { - var value = options[key] + const value = options[key] if (value && 'object' === typeof value) { return } @@ -883,7 +886,7 @@ intern.resolve_config = function(config: any, options: any) { out.type = 'web' } - var base = options[out.type] || {} + const base = options[out.type] || {} out = Object.assign({}, base, out) @@ -898,11 +901,11 @@ intern.resolve_config = function(config: any, options: any) { intern.close = function(this: any, callpoint: any, done: any) { - var seneca = this - var options = seneca.options() + const seneca = this + const options = seneca.options() - var done_called = false - var safe_done: any = function safe_done(err: any) { + let done_called = false + const safe_done: any = function safe_done(err: any) { if (!done_called && 'function' === typeof done) { done_called = true return done.call(seneca, err) @@ -915,7 +918,7 @@ intern.close = function(this: any, callpoint: any, done: any) { } seneca.ready(do_close) - var close_timeout = setTimeout(do_close, options.close_delay) + const close_timeout = setTimeout(do_close, options.close_delay) function do_close() { clearTimeout(close_timeout) @@ -970,8 +973,8 @@ intern.close = function(this: any, callpoint: any, done: any) { intern.fix_args = function(this: any, origargs: any, patargs: any, msgargs: any, custom: any) { - var args = parsePattern(this, origargs, 'rest:.*', patargs) - var fixargs = [args.pattern] + const args = parsePattern(this, origargs, 'rest:.*', patargs) + const fixargs = [args.pattern] .concat({ fixed$: Object.assign({}, msgargs, args.pattern.fixed$), custom$: Object.assign({}, custom, args.pattern.custom$), From 225bce5965b455d139d08c12cccb05c0d179618f Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Tue, 17 Oct 2023 02:12:06 +0100 Subject: [PATCH 35/42] remove-norma-legacy --- lib/legacy.js | 11 +++++++--- lib/legacy.js.map | 2 +- lib/legacy.ts | 14 +++++++++--- test/legacy.test.js | 53 +++++++++++++++++++++++++++++++++++++++++++++ test/seneca.test.js | 48 ---------------------------------------- 5 files changed, 73 insertions(+), 55 deletions(-) diff --git a/lib/legacy.js b/lib/legacy.js index cd263d8a..7f37960d 100644 --- a/lib/legacy.js +++ b/lib/legacy.js @@ -1,5 +1,5 @@ "use strict"; -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; @@ -9,9 +9,10 @@ const util_1 = __importDefault(require("util")); const errors_1 = __importDefault(require("./errors")); const Flatten = require('lodash.flatten'); const Eraro = require('eraro'); -const Norma = require('norma'); const Jsonic = require('@jsonic/jsonic-next'); const Common = require('./common'); +const gubu_1 = require("gubu"); +const Argu = (0, gubu_1.MakeArgu)('seneca'); const internals = { error: Eraro({ package: 'seneca', @@ -151,7 +152,11 @@ function findpins() { } function act_if() { var self = this; - var args = Norma('{execute:b actargs:.*}', arguments); + // const args = Norma('{execute:b actargs:.*}', arguments) + const args = Argu(arguments, { + execute: Boolean, + actargs: (0, gubu_1.Rest)((0, gubu_1.Any)()), + }); if (args.execute) { return self.act.apply(self, args.actargs); } diff --git a/lib/legacy.js.map b/lib/legacy.js.map index 3e3187b1..fb08c724 100644 --- a/lib/legacy.js.map +++ b/lib/legacy.js.map @@ -1 +1 @@ -{"version":3,"file":"legacy.js","sourceRoot":"","sources":["legacy.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,gDAAuB;AAEvB,sDAA6B;AAG7B,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;AACzC,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAE7C,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAGlC,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,KAAK,CAAC;QACX,OAAO,EAAE,QAAQ;QACjB,MAAM,EAAE,gBAAM;QACd,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAA;AAID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AAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;SAC9B;QAED,IAAI,EAAE,EAAE;YACN,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;SACnB;QAED,OAAO,GAAG,CAAA;IACZ,CAAC,CAAA;AACH,CAAC;AAID,MAAM,MAAM,GAAG;IACb,OAAO;IACP,GAAG;IACH,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,MAAM;IACN,gBAAgB;CACjB,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/legacy.ts b/lib/legacy.ts index 4cdc1266..cb294cc4 100644 --- a/lib/legacy.ts +++ b/lib/legacy.ts @@ -1,4 +1,4 @@ -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ import Util from 'util' @@ -8,11 +8,14 @@ import Errors from './errors' const Flatten = require('lodash.flatten') const Eraro = require('eraro') -const Norma = require('norma') const Jsonic = require('@jsonic/jsonic-next') const Common = require('./common') +import { MakeArgu, Rest, Any } from 'gubu' + + +const Argu = MakeArgu('seneca') const internals = { error: Eraro({ @@ -185,7 +188,12 @@ function findpins(this: any) { function act_if(this: any) { var self = this - var args = Norma('{execute:b actargs:.*}', arguments) + // const args = Norma('{execute:b actargs:.*}', arguments) + + const args = Argu(arguments, { + execute: Boolean, + actargs: Rest(Any()), + }) if (args.execute) { return self.act.apply(self, args.actargs) diff --git a/test/legacy.test.js b/test/legacy.test.js index dbf68da9..9a69352e 100644 --- a/test/legacy.test.js +++ b/test/legacy.test.js @@ -130,4 +130,57 @@ describe('legacy', function () { fin() }) }) + + + it('act_if', function (done) { + var si = Seneca({ log: 'silent' }) + + si.add({ op: 'foo' }, function (args, next) { + next(null, 'foo' + args.bar) + }) + + si.act_if(true, { op: 'foo', bar: '1' }, function (err, out) { + expect(err).equal(null) + expect('foo1').equal(out) + }) + + si.act_if(false, { op: 'foo', bar: '2' }, function () { + expect(true).equal(false) + }) + + si.act_if(true, 'op:foo,bar:3', function (err, out) { + expect(err).equal(null) + expect('foo3').equal(out) + }) + + try { + si.act_if({ op: 'foo', bar: '2' }, function () { + expect(true).equal(false) + }) + expect(true).equal(false) + } + catch (e) { + expect(e.message).match(/not of type boolean/) + } + + si = Seneca({log:'test'}) + .add('a:1', function (msg, reply) { + reply({ b: msg.a + 1 }) + }) + .add('a:2', function (msg, reply) { + reply({ b: msg.a + 2 }) + }) + + si.act_if(true, 'a:1', function (err, out) { + expect(!err).true() + expect(2).equal(out.b) + + si.act_if(false, 'a:2', function () { + expect(true).equal(false) + }) + + process.nextTick(done) + }) + }) + }) diff --git a/test/seneca.test.js b/test/seneca.test.js index 5b5742c0..26475531 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -538,54 +538,6 @@ describe('seneca', function () { }) }) - it('act_if', function (done) { - var si = Seneca({ log: 'silent' }) - - si.add({ op: 'foo' }, function (args, next) { - next(null, 'foo' + args.bar) - }) - - si.act_if(true, { op: 'foo', bar: '1' }, function (err, out) { - assert.equal(err, null) - assert.equal('foo1', out) - }) - - si.act_if(false, { op: 'foo', bar: '2' }, function () { - assert.fail() - }) - - si.act_if(true, 'op:foo,bar:3', function (err, out) { - assert.equal(err, null) - assert.equal('foo3', out) - }) - - try { - si.act_if({ op: 'foo', bar: '2' }, function () { - assert.fail() - }) - } catch (e) { - assert.ok(e.message.match(/norma:/)) - } - - si = Seneca(testopts) - .add('a:1', function (msg, reply) { - reply({ b: msg.a + 1 }) - }) - .add('a:2', function (msg, reply) { - reply({ b: msg.a + 2 }) - }) - - si.act_if(true, 'a:1', function (err, out) { - assert.ok(!err) - assert.equal(2, out.b) - - si.act_if(false, 'a:2', function () { - assert.fail() - }) - - process.nextTick(done) - }) - }) it('loading-plugins', function (done) { var si = Seneca().test() From f9984ca99961e1fb58fc49ff684d6679ad7f3cc0 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Tue, 24 Oct 2023 04:34:33 +0100 Subject: [PATCH 36/42] first-working --- lib/act.js | 16 +++++- lib/act.js.map | 2 +- lib/act.ts | 30 +++++++++- lib/actions.js | 9 +-- lib/actions.js.map | 2 +- lib/actions.ts | 13 +++-- lib/add.js | 16 +++++- lib/add.js.map | 2 +- lib/add.ts | 29 +++++++--- lib/api.js | 19 +++++-- lib/api.js.map | 2 +- lib/api.ts | 37 +++++++++--- lib/common.d.ts | 5 +- lib/common.js | 94 +++++++++++++++++++++++-------- lib/common.js.map | 2 +- lib/common.ts | 43 +++++++++----- lib/inward.d.ts | 1 + lib/inward.js | 3 +- lib/inward.js.map | 2 +- lib/inward.ts | 3 +- lib/legacy.js | 1 - lib/legacy.js.map | 2 +- lib/legacy.ts | 1 - lib/plugin.js | 16 ++++-- lib/plugin.js.map | 2 +- lib/plugin.ts | 17 ++++-- lib/prior.js | 19 ++++++- lib/prior.js.map | 2 +- lib/prior.ts | 37 +++++++++++- lib/sub.js | 24 ++++++-- lib/sub.js.map | 2 +- lib/sub.ts | 42 ++++++++++++-- lib/transport.js | 3 +- lib/transport.js.map | 2 +- lib/transport.ts | 4 +- seneca.js | 9 ++- seneca.js.map | 2 +- seneca.ts | 11 +++- test/act.test.js | 2 +- test/actions.test.js | 5 +- test/add.test.js | 122 ++++++++++++++++++++++++++++++++++++---- test/common.test.js | 6 ++ test/delegation.test.js | 3 +- test/inward.test.js | 2 +- test/outward.test.js | 2 +- test/plugin.test.js | 6 +- test/quick.js | 3 +- test/seneca.test.js | 68 +++++++++++++--------- 48 files changed, 568 insertions(+), 177 deletions(-) diff --git a/lib/act.js b/lib/act.js index 135ba41f..172a55d8 100644 --- a/lib/act.js +++ b/lib/act.js @@ -1,15 +1,27 @@ "use strict"; -/* Copyright © 2019-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2019-2023 Richard Rodger and other contributors, MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); +const gubu_1 = require("gubu"); const meta_1 = require("./meta"); const common_1 = require("./common"); +const Argu = (0, gubu_1.MakeArgu)('seneca'); +const ActArgu = Argu('act', { + props: (0, gubu_1.One)((0, gubu_1.Empty)(String), Object), + moreprops: (0, gubu_1.Skip)(Object), + reply: (0, gubu_1.Skip)(Function), +}); // Perform an action and optionally return the result by callback. // The properties of the combined arguments are matched against known // patterns, and the most specific one wins. exports.api_act = function () { const instance = this; const opts = instance.options(); - const spec = (0, common_1.build_message)(instance, [...arguments], 'reply:f?', instance.fixedargs); + const spec = + // build_message(instance, [...arguments], 'reply:f?', instance.fixedargs) + ActArgu(arguments); + spec.msg = Object.assign({}, spec.moreprops ? spec.moreprops : null, 'string' === typeof spec.props ? + (0, common_1.parse_jsonic)(spec.props, 'msg_jsonic_syntax') : + spec.props, instance.fixedargs); const msg = spec.msg; const reply = spec.reply; // Capture caller code point if debugging. diff --git a/lib/act.js.map b/lib/act.js.map index dd402f9c..d9fd73cc 100644 --- a/lib/act.js.map +++ b/lib/act.js.map @@ -1 +1 @@ -{"version":3,"file":"act.js","sourceRoot":"","sources":["act.ts"],"names":[],"mappings":";AAAA,+EAA+E;;AAG/E,iCAA6B;AAG7B,qCASiB;AAGjB,kEAAkE;AAClE,qEAAqE;AACrE,4CAA4C;AAC5C,OAAO,CAAC,OAAO,GAAG;IAChB,MAAM,QAAQ,GAAG,IAAI,CAAA;IACrB,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAA;IAE/B,MAAM,IAAI,GACR,IAAA,sBAAa,EAAC,QAAQ,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IACzE,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;IACpB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;IAExB,0CAA0C;IAC1C,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,EAAE;QACtC,GAAG,CAAC,OAAO;YACT,4CAA4C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AI,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QAEhE,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAC,CAAA"} \ No newline at end of file diff --git a/lib/act.ts b/lib/act.ts index d35ee8e1..8d90eff4 100644 --- a/lib/act.ts +++ b/lib/act.ts @@ -1,11 +1,13 @@ -/* Copyright © 2019-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2019-2023 Richard Rodger and other contributors, MIT License. */ + +import { Gubu, MakeArgu, Open, Skip, One, Empty } from 'gubu' import { Meta } from './meta' import { - build_message, + // build_message, inspect, noop, error, @@ -13,9 +15,20 @@ import { msgstr, make_standard_err_log_entry, make_standard_act_log_entry, + parse_jsonic, } from './common' +const Argu = MakeArgu('seneca') + + +const ActArgu: any = Argu('act', { + props: One(Empty(String), Object), + moreprops: Skip(Object), + reply: Skip(Function), +}) + + // Perform an action and optionally return the result by callback. // The properties of the combined arguments are matched against known // patterns, and the most specific one wins. @@ -24,7 +37,18 @@ exports.api_act = function() { const opts = instance.options() const spec = - build_message(instance, [...arguments], 'reply:f?', instance.fixedargs) + // build_message(instance, [...arguments], 'reply:f?', instance.fixedargs) + ActArgu(arguments) + + spec.msg = Object.assign( + {}, + spec.moreprops ? spec.moreprops : null, + 'string' === typeof spec.props ? + parse_jsonic(spec.props, 'msg_jsonic_syntax') : + spec.props, + instance.fixedargs, + ) + const msg = spec.msg const reply = spec.reply diff --git a/lib/actions.js b/lib/actions.js index 2f4dfb5d..13336342 100644 --- a/lib/actions.js +++ b/lib/actions.js @@ -20,13 +20,14 @@ function addActions(instance) { instance.add({ role: 'options', cmd: 'get', deprecate$: true }, action_options_get); } exports.addActions = addActions; -function cmd_ping(msg, reply) { - reply(this.ping()); +function cmd_ping(_msg, reply) { + let ping = this.ping(); + reply(ping); } -function action_seneca_fatal(msg, reply) { +function action_seneca_fatal(_msg, reply) { reply(); } -function action_seneca_close(msg, reply) { +function action_seneca_close(_msg, reply) { this.emit('close'); reply(); } diff --git a/lib/actions.js.map b/lib/actions.js.map index d8707753..f71a0a73 100644 --- a/lib/actions.js.map +++ b/lib/actions.js.map @@ -1 +1 @@ -{"version":3,"file":"actions.js","sourceRoot":"","sources":["actions.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAG/E,qCAAiC;AAEjC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,SAAS,UAAU,CAAC,QAAa;IAC/B,QAAQ,CAAC,KAAK,GAAG,wBAAwB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAE5D,uBAAuB;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,QAAQ,CAAC,CAAA;IACvD,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAA;IAC9D,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAA;IACnE,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,mBAAmB,CAAC,CAAA;IACpE,QAAQ,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,kBAAkB,CAAC,CAAA;IAEpE,+BAA+B;IAC/B,oEAAoE;IAEpE,0BAA0B;IAC1B,uBAAuB;IACvB,QAAQ,CAAC,GAAG,CACV,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE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AO,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;YAEhE,IAAI,OAAO,EAAE;gBACX,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,CAAA;aACtB;iBAAM;gBACL,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;oBAC/C,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;gBACjE,CAAC,CAAC,CAAA;aACH;SACF;QAED,IAAI,KAAK,EAAE;YACT,KAAK,CAAC,KAAK,CAAC,CAAA;SACb;QACD,OAAO,KAAK,CAAA;IACd,CAAC,CAAA;AACH,CAAC;AAED,SAAS,kBAAkB,CAAY,GAAQ,EAAE,KAAU;IACzD,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;IAE5B,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,IAAI,CAAA;IAC3B,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CAAA;IAC9C,IAAI,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;IAEtC,KAAK,CAAC,eAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAA;AAC7B,CAAC"} \ No newline at end of file diff --git a/lib/actions.ts b/lib/actions.ts index 95b085f8..bdf55626 100644 --- a/lib/actions.ts +++ b/lib/actions.ts @@ -30,19 +30,24 @@ function addActions(instance: any) { ) } -function cmd_ping(this: any, msg: any, reply: any) { - reply(this.ping()) + +function cmd_ping(this: any, _msg: any, reply: any) { + let ping = this.ping() + reply(ping) } -function action_seneca_fatal(this: any, msg: any, reply: any) { + +function action_seneca_fatal(this: any, _msg: any, reply: any) { reply() } -function action_seneca_close(this: any, msg: any, reply: any) { + +function action_seneca_close(this: any, _msg: any, reply: any) { this.emit('close') reply() } + function make_action_seneca_stats(private$: any) { return function action_seneca_stats(this: any, msg: any, reply: any) { msg = msg || {} diff --git a/lib/add.js b/lib/add.js index 29a935a4..986ce017 100644 --- a/lib/add.js +++ b/lib/add.js @@ -1,13 +1,24 @@ "use strict"; -/* Copyright © 2019-2021 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2019-2023 Richard Rodger and other contributors, MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.task = exports.api_add = void 0; const gubu_1 = require("gubu"); const common_1 = require("./common"); +const Argu = (0, gubu_1.MakeArgu)('seneca'); +const AddArgu = Argu('add', { + props: (0, gubu_1.One)((0, gubu_1.Empty)(String), Object), + moreprops: (0, gubu_1.Skip)(Object), + action: (0, gubu_1.Skip)(Function), + actdef: (0, gubu_1.Skip)(Object), +}); function api_add() { + let args = AddArgu(arguments); + args.pattern = Object.assign({}, args.moreprops ? args.moreprops : null, 'string' === typeof args.props ? + (0, common_1.parse_jsonic)(args.props, 'add_string_pattern_syntax') : + args.props); let ctx = { opts: this.options(), - args: (0, common_1.parsePattern)(this, arguments, 'action:f? actdef:o?'), + args, private: this.private$, instance: this, }; @@ -30,7 +41,6 @@ const task = { translate(spec) { const args = spec.ctx.args; let raw_pattern = args.pattern; - // console.log('ADD TRANSLATE', raw_pattern) let pattern = null; if (false !== raw_pattern.translate$) { // Must be exact match to ensure consistent translation diff --git a/lib/add.js.map b/lib/add.js.map index 5fb3106e..896bf85c 100644 --- a/lib/add.js.map +++ b/lib/add.js.map @@ -1 +1 @@ -{"version":3,"file":"add.js","sourceRoot":"","sources":["add.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAK/E,+BAAiC;AAIjC,qCAMiB;AAOjB,SAAS,OAAO;IACd,IA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@@ -/* Copyright © 2019-2021 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2019-2023 Richard Rodger and other contributors, MIT License. */ import { TaskSpec } from 'ordu' -import { Gubu, Open } from 'gubu' - +import { Gubu, MakeArgu, Open, Skip, One, Empty } from 'gubu' import { clean, deep, each, - parsePattern, pattern, + parse_jsonic, } from './common' +const Argu = MakeArgu('seneca') + +const AddArgu: any = Argu('add', { + props: One(Empty(String), Object), + moreprops: Skip(Object), + action: Skip(Function), + actdef: Skip(Object), +}) function api_add(this: any) { + let args = AddArgu(arguments) + + args.pattern = Object.assign( + {}, + args.moreprops ? args.moreprops : null, + 'string' === typeof args.props ? + parse_jsonic(args.props, 'add_string_pattern_syntax') : + args.props, + ) + let ctx = { opts: this.options(), - args: parsePattern(this, arguments, 'action:f? actdef:o?'), + args, private: this.private$, instance: this, } @@ -51,8 +68,6 @@ const task = { const args = spec.ctx.args let raw_pattern = args.pattern - // console.log('ADD TRANSLATE', raw_pattern) - let pattern = null if (false !== raw_pattern.translate$) { diff --git a/lib/api.js b/lib/api.js index 7e4d2cc2..653d30fd 100644 --- a/lib/api.js +++ b/lib/api.js @@ -24,6 +24,7 @@ function fix(patargs, msgargs, custom) { patargs = self.util.Jsonic(patargs || {}); const fix_delegate = self.delegate(patargs); // TODO: attach msgargs and custom to delegate.private$ in some way for debugging + // TODO: this is very brittle. Use a directive instead. fix_delegate.add = function fix_add() { return self.add.apply(this, intern.fix_args(arguments, patargs, msgargs, custom)); }; @@ -231,7 +232,7 @@ function depends() { const error = this.util.error; const args = Argu(arguments, { pluginname: String, - deps: (0, gubu_1.Ignore)([String]), + deps: (0, gubu_1.Skip)([String]), moredeps: (0, gubu_1.Rest)(String), }); const deps = args.deps || args.moredeps || []; @@ -376,11 +377,8 @@ function translate(from_in, to_in, pick_in, flags) { return transmsg; }; this.private$.translationrouter.add(from, translate); - // console.log('TTT', translate({ c: 3, q: 9 })) - // console.log(this.private$.translationrouter + '') let translation_action = function (msg, reply) { let transmsg = translate(msg); - // console.log('ACT T', msg, transmsg) this.act(transmsg, reply); }; Object.defineProperty(translation_action, 'name', { @@ -707,9 +705,20 @@ intern.close = function (callpoint, done) { } return seneca; }; +const FixArgu = Argu('fix', { + props: (0, gubu_1.One)((0, gubu_1.Empty)(String), Object), + moreprops: (0, gubu_1.Skip)(Object), + rest: (0, gubu_1.Rest)((0, gubu_1.Any)()), +}); +// TODO; this should happen inside .add using a directive intern.fix_args = function (origargs, patargs, msgargs, custom) { - const args = (0, common_1.parsePattern)(this, origargs, 'rest:.*', patargs); + // const args = parsePattern(this, origargs, { rest: Rest(Any()) }, patargs) + // const args = parsePattern(this, origargs, 'rest:.*', patargs) + const args = FixArgu(origargs); + args.pattern = Object.assign({}, args.moreprops ? args.moreprops : null, 'string' === typeof args.props ? + (0, common_1.parse_jsonic)(args.props, 'add_string_pattern_syntax') : + args.props, patargs); const fixargs = [args.pattern] .concat({ fixed$: Object.assign({}, msgargs, args.pattern.fixed$), diff --git a/lib/api.js.map b/lib/api.js.map index 42b10147..a38cc63d 100644 --- a/lib/api.js.map +++ b/lib/api.js.map @@ -1 +1 @@ -{"version":3,"file":"api.js","sourceRoot":"","sources":["api.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAE/E,+BAAyD;AAEzD,qCAYiB;AAGjB,MAAM,IAAI,GAAG,IAAA,eAAQ,EAAC,QAAQ,CAAC,CAAA;AAE/B,MAAM,MAAM,GAAG,oCAA2B,CAAA;AAE1C,MAAM,MAAM,GAAQ,EAAE,CAAA;AAGtB,SAAS,IAAI,CAAY,GAAQ,EAAE,MAAW,EAAE,OAAY;IAC1D,MAAM,OAAO,GAAG,IAAI,CAAA;IAEpB,OAAO,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAA;IACzD,MAAM,GAAG,UAAU,KAAK,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;IAEn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,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,EACtC,QAAQ,KAAK,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;YAC9B,IAAA,qBAAY,EAAC,IAAI,CAAC,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC;YACvD,IAAI,CAAC,KAAK,EACZ,OAAO,CACR,CAAA;QAED,MAAM,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;aAC3B,MAAM,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACvD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;SACzD,CAAC;aACD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAEpB,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;AAKH,IAAI,GAAG,GAAG;IACR,IAAI;IACJ,GAAG;IACH,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,KAAK;IACL,IAAI;IACJ,MAAM;IACN,OAAO;IACP,QAAQ;IACR,OAAO;IACP,MAAM,EAAE,OAAO;IACf,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,MAAM;IACN,YAAY;IACZ,WAAW;IACX,UAAU;IACV,aAAa;IACb,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,QAAQ;CACT,CAAA;AAGQ,kBAAG"} \ No newline at end of file diff --git a/lib/api.ts b/lib/api.ts index 58edb0fd..2fb71e50 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -1,6 +1,6 @@ /* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ -import { MakeArgu, Any, Check, Rest, Ignore } from 'gubu' +import { MakeArgu, Any, Check, Rest, Skip, One, Empty } from 'gubu' import { each, @@ -12,8 +12,9 @@ import { pincanon, pattern, clean, - parsePattern, + // parsePattern, jsonic_stringify, + parse_jsonic, } from './common' @@ -50,6 +51,7 @@ function fix(this: any, patargs: any, msgargs: any, custom: any) { // TODO: attach msgargs and custom to delegate.private$ in some way for debugging + // TODO: this is very brittle. Use a directive instead. fix_delegate.add = function fix_add() { return self.add.apply( this, @@ -326,7 +328,7 @@ function depends(this: any) { const args = Argu(arguments, { pluginname: String, - deps: Ignore([String]), + deps: Skip([String]), moredeps: Rest(String), }) @@ -517,12 +519,8 @@ function translate( this.private$.translationrouter.add(from, translate) - // console.log('TTT', translate({ c: 3, q: 9 })) - // console.log(this.private$.translationrouter + '') - let translation_action = function(this: any, msg: any, reply: any) { let transmsg = translate(msg) - // console.log('ACT T', msg, transmsg) this.act(transmsg, reply) } @@ -971,15 +969,38 @@ intern.close = function(this: any, callpoint: any, done: any) { return seneca } + +const FixArgu: any = Argu('fix', { + props: One(Empty(String), Object), + moreprops: Skip(Object), + rest: Rest(Any()), +}) + + +// TODO; this should happen inside .add using a directive intern.fix_args = function(this: any, origargs: any, patargs: any, msgargs: any, custom: any) { - const args = parsePattern(this, origargs, 'rest:.*', patargs) + + // const args = parsePattern(this, origargs, { rest: Rest(Any()) }, patargs) + // const args = parsePattern(this, origargs, 'rest:.*', patargs) + const args = FixArgu(origargs) + + args.pattern = Object.assign( + {}, + args.moreprops ? args.moreprops : null, + 'string' === typeof args.props ? + parse_jsonic(args.props, 'add_string_pattern_syntax') : + args.props, + patargs, + ) + const fixargs = [args.pattern] .concat({ fixed$: Object.assign({}, msgargs, args.pattern.fixed$), custom$: Object.assign({}, custom, args.pattern.custom$), }) .concat(args.rest) + return fixargs } diff --git a/lib/common.d.ts b/lib/common.d.ts index 9fc2e882..1db37208 100644 --- a/lib/common.d.ts +++ b/lib/common.d.ts @@ -8,9 +8,6 @@ declare function make_plugin_key(plugin: any, origtag: any): string; declare function boolify(v: any): boolean; declare const tagnid: any; declare function parse_jsonic(str: any, code: any): any; -declare function parse_pattern(_instance: any, rawargs: any, normaspec: any, fixed?: any): any; -declare const parsePattern: typeof parse_pattern; -declare function build_message(instance: any, rawargs: any, normaspec: any, fixed: any): any; declare function pattern(patobj: any): any; declare function pincanon(inpin: any): any; declare function noop(): void; @@ -56,4 +53,4 @@ declare class ActHistory { toString(this: any): string; [Util.inspect.custom](this: any): any; } -export { promiser, stringify, wrap_error, make_plugin_key, boolify, parse_jsonic, parse_pattern, build_message, pattern, pincanon, noop, clean, deep, each, makedie, make_standard_act_log_entry, make_standard_err_log_entry, resolve_option, autoincr, make_callpoint, make_trace_desc, history, print, parsePattern, tagnid, inspect, error, msgstr, jsonic_stringify, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, TRACE_TAG, TRACE_VERSION, TRACE_START, TRACE_END, TRACE_SYNC, TRACE_ACTION, }; +export { promiser, stringify, wrap_error, make_plugin_key, boolify, parse_jsonic, pattern, pincanon, noop, clean, deep, each, makedie, make_standard_act_log_entry, make_standard_err_log_entry, resolve_option, autoincr, make_callpoint, make_trace_desc, history, print, tagnid, inspect, error, msgstr, jsonic_stringify, TRACE_PATTERN, TRACE_ID, TRACE_INSTANCE, TRACE_TAG, TRACE_VERSION, TRACE_START, TRACE_END, TRACE_SYNC, TRACE_ACTION, }; diff --git a/lib/common.js b/lib/common.js index 9fa28fa2..e1574dcc 100644 --- a/lib/common.js +++ b/lib/common.js @@ -4,16 +4,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.TRACE_ACTION = exports.TRACE_SYNC = exports.TRACE_END = exports.TRACE_START = exports.TRACE_VERSION = exports.TRACE_TAG = exports.TRACE_INSTANCE = exports.TRACE_ID = exports.TRACE_PATTERN = exports.jsonic_stringify = exports.msgstr = exports.error = exports.inspect = exports.tagnid = exports.parsePattern = exports.print = exports.history = exports.make_trace_desc = exports.make_callpoint = exports.autoincr = exports.resolve_option = exports.make_standard_err_log_entry = exports.make_standard_act_log_entry = exports.makedie = exports.each = exports.deep = exports.clean = exports.noop = exports.pincanon = exports.pattern = exports.build_message = exports.parse_pattern = exports.parse_jsonic = exports.boolify = exports.make_plugin_key = exports.wrap_error = exports.stringify = exports.promiser = void 0; +exports.TRACE_ACTION = exports.TRACE_SYNC = exports.TRACE_END = exports.TRACE_START = exports.TRACE_VERSION = exports.TRACE_TAG = exports.TRACE_INSTANCE = exports.TRACE_ID = exports.TRACE_PATTERN = exports.jsonic_stringify = exports.msgstr = exports.error = exports.inspect = exports.tagnid = exports.print = exports.history = exports.make_trace_desc = exports.make_callpoint = exports.autoincr = exports.resolve_option = exports.make_standard_err_log_entry = exports.make_standard_act_log_entry = exports.makedie = exports.each = exports.deep = exports.clean = exports.noop = exports.pincanon = exports.pattern = exports.parse_jsonic = exports.boolify = exports.make_plugin_key = exports.wrap_error = exports.stringify = exports.promiser = void 0; const util_1 = __importDefault(require("util")); -const errors_1 = __importDefault(require("./errors")); -const Stringify = require('fast-safe-stringify'); -const Eraro = require('eraro'); -const Jsonic = require('@jsonic/jsonic-next'); +const fast_safe_stringify_1 = __importDefault(require("fast-safe-stringify")); +const jsonic_next_1 = __importDefault(require("@jsonic/jsonic-next")); const nid_1 = __importDefault(require("nid")); -const Norma = require('norma'); +// const Norma = require('norma') +// import { MakeArgu, Skip } from 'gubu' +const Eraro = require('eraro'); const DefaultsDeep = require('lodash.defaultsdeep'); const { Print } = require('./print'); +const errors_1 = __importDefault(require("./errors")); +// const Argu = MakeArgu('seneca') const error = (exports.error = exports.eraro = Eraro({ @@ -37,7 +39,7 @@ function promiser(context, callback) { } exports.promiser = promiser; function stringify() { - return Stringify(...arguments); + return fast_safe_stringify_1.default(...arguments); } exports.stringify = stringify; function wrap_error(err) { @@ -97,7 +99,7 @@ exports.tagnid = tagnid; function parse_jsonic(str, code) { code = code || 'bad_jsonic'; try { - return null == str ? null : Jsonic(str); + return null == str ? null : (0, jsonic_next_1.default)(str); } catch (e) { throw error(code, { @@ -111,22 +113,68 @@ function parse_jsonic(str, code) { exports.parse_jsonic = parse_jsonic; // string args override object args // TODO: fix name -function parse_pattern(_instance, rawargs, normaspec, fixed) { - let args = Norma('{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', rawargs); - // Precedence of arguments in add,act is left-to-right - args.pattern = Object.assign({}, args.moreobjargs ? args.moreobjargs : null, args.objargs ? args.objargs : null, parse_jsonic(args.strargs, 'add_string_pattern_syntax'), fixed); - return args; +/* +function parse_pattern( + _instance: any, + rawargs: any, + // gubuspec: any, + normaspec: any, + fixed?: any +) { + let args = Norma( + '{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', + rawargs + ) + + + // console.log('PP', rawargs, gubuspec) + + // let args = Argu(rawargs, { + // strargs: Skip(String), + // objargs: Skip(Object), + // moreobjargs: Skip(Object), + // ...(gubuspec || {}) + // }) + + + // Precedence of arguments in add,act is left-to-right + args.pattern = Object.assign( + {}, + args.moreobjargs ? args.moreobjargs : null, + args.objargs ? args.objargs : null, + parse_jsonic(args.strargs, 'add_string_pattern_syntax'), + fixed + ) + + return args } -exports.parse_pattern = parse_pattern; -const parsePattern = parse_pattern; -exports.parsePattern = parsePattern; -function build_message(instance, rawargs, normaspec, fixed) { - let args = Norma('{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', rawargs); - // Precedence of arguments in add,act is left-to-right - args.msg = Object.assign({}, args.moreobjargs, args.objargs, parse_jsonic(args.strargs, 'msg_jsonic_syntax'), fixed); - return args; + +const parsePattern = parse_pattern +*/ +/* +function build_message( + _instance: any, + rawargs: any, + normaspec: any, + fixed: any +) { + let args = Norma( + '{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', + rawargs + ) + + // Precedence of arguments in add,act is left-to-right + args.msg = Object.assign( + {}, + args.moreobjargs, + args.objargs, + parse_jsonic(args.strargs, 'msg_jsonic_syntax'), + fixed + ) + + return args } -exports.build_message = build_message; +*/ // Convert pattern object into a normalized jsonic String. function pattern(patobj) { if ('string' === typeof patobj) { @@ -146,7 +194,7 @@ function pattern(patobj) { exports.pattern = pattern; function pincanon(inpin) { if ('string' == typeof inpin) { - return pattern(Jsonic(inpin)); + return pattern((0, jsonic_next_1.default)(inpin)); } else if (Array.isArray(inpin)) { let pin = inpin.map(pincanon); diff --git a/lib/common.js.map b/lib/common.js.map index 07f80827..062daad0 100644 --- a/lib/common.js.map +++ b/lib/common.js.map @@ -1 +1 @@ -{"version":3,"file":"common.js","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;;AAGZ,gDAAuB;AAGvB,sDAA6B;AAG7B,MAAM,SAAS,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAChD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAC7C,8CAAqB;AACrB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,YAAY,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAEnD,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAMpC,MAAM,KAAK,GACT,CAAC,OAAO,CAAC,KAAK;IACZ,OAAO,CAAC,KAAK;QACb,KAAK,CAAC;YACJ,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,gBAAM;YACd,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC,CAAA;AAmzBL,sBAAK;AAhzBP,SAAS,QAAQ,CAAC,OAAY,EAAE,QAAc;IAC5C,IAAI,UAAU,KAAK,OAAO,OAAO,IAAI,IAAI,IAAI,QAAQ,EAAE;QACrD,QAAQ,GAAG,OAAO,CAAA;KACnB;SAAM;QACL,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,C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AAO,OAAO,CAAC;YACb,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,GAAG,EAAE,IAAI,CAAC,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACnB,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAA;IACxB,CAAC;CACF"} \ No newline at end of file diff --git a/lib/common.ts b/lib/common.ts index e889f57a..4254a8bc 100644 --- a/lib/common.ts +++ b/lib/common.ts @@ -4,21 +4,21 @@ import Util from 'util' +import Stringify from 'fast-safe-stringify' +import Jsonic from '@jsonic/jsonic-next' +import Nid from 'nid' +// const Norma = require('norma') +// import { MakeArgu, Skip } from 'gubu' -import Errors from './errors' - - -const Stringify = require('fast-safe-stringify') const Eraro = require('eraro') -const Jsonic = require('@jsonic/jsonic-next') -import Nid from 'nid' -const Norma = require('norma') const DefaultsDeep = require('lodash.defaultsdeep') - const { Print } = require('./print') +import Errors from './errors' + +// const Argu = MakeArgu('seneca') const error = @@ -47,7 +47,7 @@ function promiser(context: any, callback?: any) { function stringify() { - return Stringify(...arguments) + return (Stringify as any)(...arguments) } @@ -135,9 +135,11 @@ function parse_jsonic(str: any, code: any) { // string args override object args // TODO: fix name +/* function parse_pattern( _instance: any, rawargs: any, + // gubuspec: any, normaspec: any, fixed?: any ) { @@ -146,6 +148,17 @@ function parse_pattern( rawargs ) + + // console.log('PP', rawargs, gubuspec) + + // let args = Argu(rawargs, { + // strargs: Skip(String), + // objargs: Skip(Object), + // moreobjargs: Skip(Object), + // ...(gubuspec || {}) + // }) + + // Precedence of arguments in add,act is left-to-right args.pattern = Object.assign( {}, @@ -159,10 +172,11 @@ function parse_pattern( } const parsePattern = parse_pattern +*/ - +/* function build_message( - instance: any, + _instance: any, rawargs: any, normaspec: any, fixed: any @@ -183,6 +197,7 @@ function build_message( return args } +*/ // Convert pattern object into a normalized jsonic String. function pattern(patobj: any) { @@ -827,8 +842,8 @@ export { make_plugin_key, boolify, parse_jsonic, - parse_pattern, - build_message, + // parse_pattern, + // build_message, pattern, pincanon, noop, @@ -844,7 +859,7 @@ export { make_trace_desc, history, print, - parsePattern, + // parsePattern, tagnid, inspect, error, diff --git a/lib/inward.d.ts b/lib/inward.d.ts index d233517d..46c1f1ae 100644 --- a/lib/inward.d.ts +++ b/lib/inward.d.ts @@ -79,6 +79,7 @@ declare function inward_validate_msg(spec: any): { message: any; msg: any; error: any; + props: any; }; log: { level: string | null; diff --git a/lib/inward.js b/lib/inward.js index 516697e9..a2685b68 100644 --- a/lib/inward.js +++ b/lib/inward.js @@ -1,5 +1,5 @@ "use strict"; -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Inward = void 0; const common_1 = require("./common"); @@ -183,6 +183,7 @@ function inward_validate_msg(spec) { message: err.message, msg: (0, common_1.clean)(msg), error: err, + props: err.gubu ? err.props : [], }, log: { level: so.trace.invalid ? 'warn' : null, diff --git a/lib/inward.js.map b/lib/inward.js.map index 89a9e7fc..1dcd9987 100644 --- a/lib/inward.js.map +++ b/lib/inward.js.map @@ -1 +1 @@ -{"version":3,"file":"inward.js","sourceRoot":"","sources":["inward.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;AAG/E,qCAMiB;AAGjB,MAAM,MAAM,GAAQ,EAAE,CAAA;AAGtB,SAAS,iBAAiB,CAAC,IAAS;IAClC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAA;IACpB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAA;IAEtB,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI,CAAA;IAEpB,IAAI,GAAG,CAAC,MAAM,EAAE;QACd,IAAI,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAA;QAC5B,IAAI,MAAM,GAAG,GAAG,CAAC,MAAM,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,EAAE,IAAI,CAAC,KAAK;oBACjB,MAAM,EAAE,IAAI,CAAC,MAAM;oBACnB,OAAO,EAAE,IAAI,CAAC,OAAO;oBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;oBACnB,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,GAAG,EAAE,IAAI,CAAC,GAAG;oBACb,IAAI,EAAE,IAAI,CAAC,IAAI;oBACf,GAAG,EAAE,IAAI,CAAC,GAAG;oBACb,SAAS,EAAE,IAAI,CAAC,SAAS;oBACzB,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,KAAK,EAAE,IAAI,CAAC,KAAK;iBAClB,CAAA;aACF;YAED,OAAO,CAAC,IAAI,CACV,KAAK,IAAI,QAAQ,KAAK,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAChE,CAAA;SACF;KACF;IAED,OAAO,OAAO,IAAI,IAAI,CAAC,OAAO,CAAA;AAChC,CAAC,CAAA;AAGD,IAAI,MAAM,GAAG;IACX,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,kBAAkB;IAClB,oBAAoB;IACpB,mBAAmB;IACnB,eAAe;IACf,eAAe;IACf,gBAAgB;IAChB,gBAAgB;IAChB,uBAAuB;IACvB,eAAe;IACf,UAAU;IACV,MAAM;CACP,CAAA;AAGQ,wBAAM"} \ No newline at end of file diff --git a/lib/inward.ts b/lib/inward.ts index 2e222e4c..4408548e 100644 --- a/lib/inward.ts +++ b/lib/inward.ts @@ -1,4 +1,4 @@ -/* Copyright © 2010-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2010-2023 Richard Rodger and other contributors, MIT License. */ import { @@ -232,6 +232,7 @@ function inward_validate_msg(spec: any) { message: err.message, msg: clean(msg), error: err, + props: err.gubu ? err.props : [], }, log: { level: so.trace.invalid ? 'warn' : null, diff --git a/lib/legacy.js b/lib/legacy.js index 7f37960d..8a57a7a2 100644 --- a/lib/legacy.js +++ b/lib/legacy.js @@ -152,7 +152,6 @@ function findpins() { } function act_if() { var self = this; - // const args = Norma('{execute:b actargs:.*}', arguments) const args = Argu(arguments, { execute: Boolean, actargs: (0, gubu_1.Rest)((0, gubu_1.Any)()), diff --git a/lib/legacy.js.map b/lib/legacy.js.map index fb08c724..1e31a66b 100644 --- a/lib/legacy.js.map +++ b/lib/legacy.js.map @@ -1 +1 @@ -{"version":3,"file":"legacy.js","sourceRoot":"","sources":["legacy.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,gDAAuB;AAEvB,sDAA6B;AAG7B,MAAM,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;AACzC,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAE7C,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,+BAA0C;AAG1C,MAAM,IAAI,GAAG,IAAA,eAAQ,EAAC,QAAQ,CAAC,CAAA;AAE/B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,KAAK,CAAC;QACX,OAAO,EAAE,QAAQ;QACjB,MAAM,EAAE,gBAAM;QACd,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAA;AAID,kCAAkC;AAClC,2CAA2C;AAC3C,8BAA8B;AAE9B,SAAS,OAAO,CAAC,GAAQ,EAAE,IAAS;IAClC,IAAI,GAAG,GAAG,EAAE,CAAA;IACZ,OAAO,IAAI,IAAI,GAAG,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE;QACpC,IAAI,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;QAC/B,OAAO,KAAK,CAAC,IAAI,CAAA;QACjB,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACf,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,QAAQ;IACR,MAAM;IACN,MAAM;IACN,gBAAgB;CACjB,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/legacy.ts b/lib/legacy.ts index cb294cc4..93058aa6 100644 --- a/lib/legacy.ts +++ b/lib/legacy.ts @@ -188,7 +188,6 @@ function findpins(this: any) { function act_if(this: any) { var self = this - // const args = Norma('{execute:b actargs:.*}', arguments) const args = Argu(arguments, { execute: Boolean, diff --git a/lib/plugin.js b/lib/plugin.js index d6d4664b..f5a3be83 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -291,17 +291,21 @@ function make_tasks() { let actdeflist = []; delegate.add = function plugin_add() { let argsarr = [...arguments]; + // TODO: this is very brittle. + // Instead pass in plugin details using a directive. let actdef = argsarr[argsarr.length - 1] || {}; if ('function' === typeof actdef) { actdef = {}; argsarr.push(actdef); } - actdef.plugin_name = plugin.name || '-'; - actdef.plugin_tag = plugin.tag || '-'; - actdef.plugin_fullname = plugin.fullname; - // TODO: is this necessary? - actdef.log = delegate.log; - actdeflist.push(actdef); + if (null != actdef && 'object' === typeof actdef) { + actdef.plugin_name = plugin.name || '-'; + actdef.plugin_tag = plugin.tag || '-'; + actdef.plugin_fullname = plugin.fullname; + // TODO: is this necessary? + actdef.log = delegate.log; + actdeflist.push(actdef); + } seneca.add.apply(delegate, argsarr); return this; }; diff --git a/lib/plugin.js.map b/lib/plugin.js.map index f8768fae..460bf18c 100644 --- a/lib/plugin.js.map +++ b/lib/plugin.js.map @@ -1 +1 @@ -{"version":3,"file":"plugin.js","sourceRoot":"","sources":["plugin.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,wBAAwB;AACxB,YAAY,CAAA;;;;;;AAEZ,oEAAoE;AAGpE,MAAM,IAAI,GAAQ,OAAO,CAAC,aAAa,CAAC,CAAA;AACxC,MAAM,KAAK,GAAQ,OAAO,CAAC,OAAO,CAAC,CAAA;AAEnC,8CAAqB;AACrB,+BAAqC;AAGrC,yEAAyE;AACzE,MAAM,M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,CAAA;oBAEhB,IAAI,EAAE,GAAQ,EAAE,CAAA;oBAEhB,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,IAAI,QAAQ,KAAK,CAAC,EAAE;wBACrE,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,GAAG,CAAC,CAAA;wBAEzC,IAAI,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAA;wBAExC,IAAI,IAAI,CAAC,aAAa,EAAE;4BACtB,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,CAAA;yBACpC;wBAED,EAAE,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;qBAC9D;yBAAM;wBACL,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;qBACf;oBAED,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;iBACzB;gBAED,OAAO,MAAM,CAAA;aACd;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAGD,MAAM,MAAM,GAAG;IACb,OAAO;IACP,MAAM;CACP,CAAA;AAIC,wBAAM"} \ No newline at end of file diff --git a/lib/plugin.ts b/lib/plugin.ts index 1eb467d4..a68b2fea 100644 --- a/lib/plugin.ts +++ b/lib/plugin.ts @@ -394,6 +394,9 @@ function make_tasks(): any { delegate.add = function plugin_add() { let argsarr = [...arguments] + + // TODO: this is very brittle. + // Instead pass in plugin details using a directive. let actdef = argsarr[argsarr.length - 1] || {} if ('function' === typeof actdef) { @@ -401,14 +404,16 @@ function make_tasks(): any { argsarr.push(actdef) } - actdef.plugin_name = plugin.name || '-' - actdef.plugin_tag = plugin.tag || '-' - actdef.plugin_fullname = plugin.fullname + if (null != actdef && 'object' === typeof actdef) { + actdef.plugin_name = plugin.name || '-' + actdef.plugin_tag = plugin.tag || '-' + actdef.plugin_fullname = plugin.fullname - // TODO: is this necessary? - actdef.log = delegate.log + // TODO: is this necessary? + actdef.log = delegate.log - actdeflist.push(actdef) + actdeflist.push(actdef) + } seneca.add.apply(delegate, argsarr) diff --git a/lib/prior.js b/lib/prior.js index 3e436afe..046b44bf 100644 --- a/lib/prior.js +++ b/lib/prior.js @@ -1,16 +1,24 @@ "use strict"; -/* Copyright © 2019-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2019-2023 Richard Rodger and other contributors, MIT License. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Prior = void 0; const util_1 = __importDefault(require("util")); +const gubu_1 = require("gubu"); const { Ordu } = require('ordu'); -const Common = require('./common'); +// const Common = require('./common') const { Inward } = require('./inward'); const Act = require('./act'); const { Meta } = require('./meta'); +const common_1 = require("./common"); +const Argu = (0, gubu_1.MakeArgu)('seneca'); +const ActArgu = Argu('prior', { + props: (0, gubu_1.One)((0, gubu_1.Empty)(String), Object), + moreprops: (0, gubu_1.Skip)(Object), + reply: (0, gubu_1.Skip)(Function), +}); const prior_inward = new Ordu({ name: 'prior_inward', }) @@ -26,7 +34,12 @@ function api_prior() { } // Get definition of prior action var priordef = this.private$.act.def.priordef; - var spec = Common.build_message(this, arguments, 'reply:f?', this.fixedargs); + // var spec = Common.build_message(this, arguments, 'reply:f?', this.fixedargs) + const spec = ActArgu(arguments); + // TODO: duplicated, should be utility + spec.msg = Object.assign({}, spec.moreprops ? spec.moreprops : null, 'string' === typeof spec.props ? + (0, common_1.parse_jsonic)(spec.props, 'msg_jsonic_syntax') : + spec.props); // TODO: clean sufficiently so that seneca.util.clean not needed var msg = spec.msg; var reply = spec.reply; diff --git a/lib/prior.js.map b/lib/prior.js.map index 369ec5b7..c1bc15e9 100644 --- a/lib/prior.js.map +++ b/lib/prior.js.map @@ -1 +1 @@ -{"version":3,"file":"prior.js","sourceRoot":"","sources":["prior.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,gDAAuB;AAEvB,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEhC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAClC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AACtC,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC5B,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAElC,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC;IAC5B,IAAI,EAAE,cAAc;CACrB,CAAC;KACC,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC;KAC7B,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC;KAC9B,GAAG,CAAC,MAAM,CAAC,eAAe,CAAC;KAC3B,GAAG,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAA;AAGtC,SAAS,SAAS;IAChB,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAA;IAC3B,IAAI,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;QAC7B,sDAAsD;QACtD,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;KAC9D;IAED,iCAAiC;IACjC,IAAI,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAA;IAE7C,IAAI,IAAI,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,CAAC,SA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AAC,eAAe,EAAE;gBAChC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;aAC3B;YAED,YAAY,CAAC,KAAK,CAAC,cAAc,EAAE,UAAU,CAAC,CAAA;SAC/C;aAAM;YACL,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAA;YACxB,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SACrB;KACF;SAAM;QACL,IAAI,IAAI,GAAG,GAAG,CAAC,KAAK,IAAI,EAAE,CAAA;QAC1B,IAAI,GAAG,GAAG,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAA;QAC3C,GAAG,GAAG,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,CAAC,CAAA;QAEhD,IAAI,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE;YAC/B,0DAA0D;YAC1D,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAA;SACnC;aAAM;YACL,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;SACzC;KACF;AACH,CAAC;AAGD,MAAM,KAAK,GAAG;IACZ,SAAS;CACV,CAAA;AAIC,sBAAK"} \ No newline at end of file diff --git a/lib/prior.ts b/lib/prior.ts index 6c22491a..31dcb638 100644 --- a/lib/prior.ts +++ b/lib/prior.ts @@ -1,15 +1,34 @@ -/* Copyright © 2019-2022 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2019-2023 Richard Rodger and other contributors, MIT License. */ import Util from 'util' +import { Gubu, MakeArgu, Open, Skip, One, Empty } from 'gubu' + + const { Ordu } = require('ordu') -const Common = require('./common') +// const Common = require('./common') const { Inward } = require('./inward') const Act = require('./act') const { Meta } = require('./meta') +import { + parse_jsonic, +} from './common' + + +const Argu = MakeArgu('seneca') + + +const ActArgu: any = Argu('prior', { + props: One(Empty(String), Object), + moreprops: Skip(Object), + reply: Skip(Function), +}) + + + const prior_inward = new Ordu({ name: 'prior_inward', }) @@ -29,7 +48,19 @@ function api_prior(this: any) { // Get definition of prior action var priordef = this.private$.act.def.priordef - var spec = Common.build_message(this, arguments, 'reply:f?', this.fixedargs) + + // var spec = Common.build_message(this, arguments, 'reply:f?', this.fixedargs) + const spec = ActArgu(arguments) + + // TODO: duplicated, should be utility + spec.msg = Object.assign( + {}, + spec.moreprops ? spec.moreprops : null, + 'string' === typeof spec.props ? + parse_jsonic(spec.props, 'msg_jsonic_syntax') : + spec.props, + ) + // TODO: clean sufficiently so that seneca.util.clean not needed var msg = spec.msg diff --git a/lib/sub.js b/lib/sub.js index 632358df..afa3ec02 100644 --- a/lib/sub.js +++ b/lib/sub.js @@ -1,14 +1,26 @@ -/* Copyright © 2020 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2020-2023 Richard Rodger and other contributors, MIT License. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.api_sub = void 0; -const Common = require('./common'); +const gubu_1 = require("gubu"); +const common_1 = require("./common"); +const Argu = (0, gubu_1.MakeArgu)('seneca'); +const SubArgu = Argu('sub', { + props: (0, gubu_1.One)((0, gubu_1.Empty)(String), Object), + moreprops: (0, gubu_1.Skip)(Object), + action: Function, +}); // Subscribe to messages. function api_sub() { const self = this; - const subargs = Common.parsePattern(self, arguments, 'action:f'); - const raw_pattern = subargs.pattern; - const action = subargs.action; + // const subargs = Common.parsePattern(self, arguments, 'action:f') + const args = SubArgu(arguments); + // TODO: this is duplicated - need to be a util + args.pattern = Object.assign({}, args.moreprops ? args.moreprops : null, 'string' === typeof args.props ? + (0, common_1.parse_jsonic)(args.props, 'add_string_pattern_syntax') : + args.props); + const raw_pattern = args.pattern; + const action = args.action; let is_inward = !!raw_pattern.in$; let is_outward = !!raw_pattern.out$; if (!is_outward) { @@ -32,7 +44,7 @@ function api_sub() { let sub_actions = router.find(sub_pattern, true); if (!sub_actions) { router.add(sub_pattern, (sub_actions = [])); - sub_actions.pattern = Common.pattern(sub_pattern); + sub_actions.pattern = (0, common_1.pattern)(sub_pattern); } sub_actions.push(action); }); diff --git a/lib/sub.js.map b/lib/sub.js.map index c7f8b784..0362f7b0 100644 --- a/lib/sub.js.map +++ b/lib/sub.js.map @@ -1 +1 @@ -{"version":3,"file":"sub.js","sourceRoot":"","sources":["sub.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,YAAY,CAAA;;;AAEZ,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAGlC,yBAAyB;AACzB,SAAS,OAAO;IACd,MAAM,IAAI,GAAG,IAAI,CAAA;IACjB,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,CAAA;IAChE,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,CAAA;IACnC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;IAE7B,IAAI,SAAS,GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,CAAA;IACjC,IAAI,UAAU,GAAG,CAAC,CAAC,WAAW,CAAC,IAAI,CAAA;IAEnC,IAAI,CAAC,UAAU,EAAE;QACf,SAAS,GAAG,IAAI,CAAA,CAAC,+BAA+B;KACjD;IAED,IAAI,OAAO,GAAG,WAAW,CAAA;IAEzB,IAAI,KAAK,KAAK,WAAW,CAAC,UAAU,EAAE;QAEpC,uDAAuD;QACvD,IAAI,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;QAEnE,IAAI,WAAW,EAAE;YACf,OAAO,GAAG,WAAW,CAAC,WAAW,CAAC,CAAA;SACnC;KACF;IAED,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,C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C,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI;KACpD,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAA;IAElB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;QACzB,gCAAgC;QAChC,IAAI,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAA;QAChD,IAAI,CAAC,WAAW,EAAE;YAChB,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,WAAW,GAAG,EAAE,CAAC,CAAC,CAAA;YAC3C,WAAW,CAAC,OAAO,GAAG,IAAA,gBAAc,EAAC,WAAW,CAAC,CAAA;SAClD;QACD,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAC1B,CAAC,CAAC,CAAA;IAEF,OAAO,IAAI,CAAA;AACb,CAAC;AAGC,0BAAO"} \ No newline at end of file diff --git a/lib/sub.ts b/lib/sub.ts index 292571c4..7982db3f 100644 --- a/lib/sub.ts +++ b/lib/sub.ts @@ -1,15 +1,45 @@ -/* Copyright © 2020 Richard Rodger and other contributors, MIT License. */ +/* Copyright © 2020-2023 Richard Rodger and other contributors, MIT License. */ 'use strict' -const Common = require('./common') +import { MakeArgu, Skip, One, Empty } from 'gubu' + + +import { + pattern as common_pattern, + parse_jsonic, +} from './common' + + +const Argu = MakeArgu('seneca') + + +const SubArgu: any = Argu('sub', { + props: One(Empty(String), Object), + moreprops: Skip(Object), + action: Function, +}) // Subscribe to messages. function api_sub(this: any) { const self = this - const subargs = Common.parsePattern(self, arguments, 'action:f') - const raw_pattern = subargs.pattern - const action = subargs.action + + // const subargs = Common.parsePattern(self, arguments, 'action:f') + + const args = SubArgu(arguments) + + // TODO: this is duplicated - need to be a util + args.pattern = Object.assign( + {}, + args.moreprops ? args.moreprops : null, + 'string' === typeof args.props ? + parse_jsonic(args.props, 'add_string_pattern_syntax') : + args.props, + ) + + + const raw_pattern = args.pattern + const action = args.action let is_inward = !!raw_pattern.in$ let is_outward = !!raw_pattern.out$ @@ -42,7 +72,7 @@ function api_sub(this: any) { let sub_actions = router.find(sub_pattern, true) if (!sub_actions) { router.add(sub_pattern, (sub_actions = [])) - sub_actions.pattern = Common.pattern(sub_pattern) + sub_actions.pattern = common_pattern(sub_pattern) } sub_actions.push(action) }) diff --git a/lib/transport.js b/lib/transport.js index abe5d0ac..9ba6ea0f 100644 --- a/lib/transport.js +++ b/lib/transport.js @@ -355,7 +355,8 @@ function hook_client_web(msg, hook_reply) { }); } function web_modify_request(seneca, spec) { - spec.body = stringifyJSON(externalize_msg(seneca, spec.msg, spec.meta)); + let extmsg = externalize_msg(seneca, spec.msg, spec.meta); + spec.body = stringifyJSON(extmsg); spec.headers['Content-Length'] = Buffer.byteLength(spec.body); spec.wreck = { json: false, diff --git a/lib/transport.js.map b/lib/transport.js.map index 5e97824f..7bf773bd 100644 --- a/lib/transport.js.map +++ b/lib/transport.js.map @@ -1 +1 @@ -{"version":3,"file":"transport.js","sourceRoot":"","sources":["transport.ts"],"names":[],"mappings":";AAAA,+EAA+E;;;;;;AAG/E,gDAAuB;AACvB,gDAAuB;AAEvB,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AACxB,MAAM,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,CAAA;AAE1B,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAC7C,MAAM,KAAK,GAAG,OAAO,CAAC,aAAa,CAAC,CAAA;AACpC,MAAM,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AAElC,qCAAiC;AAGjC,uBAAuB;AACvB,0CAA0C;AAC1C,0CAA0C;AAE1C,wDAAwD;AAExD,SAAS,SAAS,CAAC,MAAW;IAC5B,MAAM,CAAC,GAAG,CAAC,2BAA2B,EAAE,aAAa,CAAC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ACxB,CAAC,CAAC;iBACD,KAAK,CAAC,UAAS,GAAQ;gBACtB,OAAO,KAAK,CAAC,GAAG,CAAC,CAAA;YACnB,CAAC,CAAC,CAAA;QACN,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,MAAW,EAAE,IAAS;IAChD,IAAI,MAAM,GAAG,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;IACzD,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,MAAM,CAAC,CAAA;IACjC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAE7D,IAAI,CAAC,KAAK,GAAG;QACX,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,OAAO,EAAE,IAAI,CAAC,IAAI;QAClB,IAAI,EAAE,EAAE;KACT,CAAA;IAED,OAAO,IAAI,CAAA;AACb,CAAC"} \ No newline at end of file diff --git a/lib/transport.ts b/lib/transport.ts index 54141518..63de4716 100644 --- a/lib/transport.ts +++ b/lib/transport.ts @@ -409,7 +409,6 @@ function hook_client_web(this: any, msg: any, hook_reply: any) { } spec = config.modify_request(seneca, spec) - const wreck_req = config.wreck.request(spec.method, spec.url, spec.wreck) wreck_req .then(function(res: any) { @@ -450,7 +449,8 @@ function hook_client_web(this: any, msg: any, hook_reply: any) { } function web_modify_request(seneca: any, spec: any) { - spec.body = stringifyJSON(externalize_msg(seneca, spec.msg, spec.meta)) + let extmsg = externalize_msg(seneca, spec.msg, spec.meta) + spec.body = stringifyJSON(extmsg) spec.headers['Content-Length'] = Buffer.byteLength(spec.body) spec.wreck = { diff --git a/seneca.js b/seneca.js index c139e597..34d582d4 100644 --- a/seneca.js +++ b/seneca.js @@ -194,6 +194,11 @@ const option_defaults = { plugin: { load_once: false, }, + // System actions. + action: { + // Add system actions. + add: true + }, }, // Internal functionality. Reserved for objects and functions only. internal: Open({ @@ -672,7 +677,9 @@ function make_seneca(initial_opts) { start_opts.system.exit(err ? (err.exit === null ? 1 : err.exit) : 0); }); }; - addActions(root$); + if (start_opts.system.action.add) { + addActions(root$); + } // root$.act('role:seneca,cmd:pingx') if (!start_opts.legacy.transport) { start_opts.legacy.error = false; diff --git a/seneca.js.map b/seneca.js.map index da983c84..7286c4d9 100644 --- a/seneca.js.map +++ b/seneca.js.map @@ -1 +1 @@ -{"version":3,"file":"seneca.js","sourceRoot":"","sources":["seneca.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;AAGZ,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAChC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAG5B,oBAAoB;AACpB,MAAM,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AAC7C,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AAC7C,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;AACvC,8CAAqB;AACrB,mCAAoC;AACpC,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;AACtC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAChC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AACtD,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAG9B,6BAA6B;AAC7B,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;AACpC,MAAM,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;AAGhC,oBAAoB;AACpB,MAAM,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;A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P,0CAA0C;YAC1C,KAAK,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,GAAG;gBACR,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;gBAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;aAC5B;SACF;QACD,cAAc,EAAE,EAAE;QAClB,SAAS,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;KAC7B,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/seneca.ts b/seneca.ts index 6389a3b1..9ef88496 100644 --- a/seneca.ts +++ b/seneca.ts @@ -262,6 +262,13 @@ const option_defaults = { plugin: { load_once: false, }, + + // System actions. + action: { + + // Add system actions. + add: true + }, }, // Internal functionality. Reserved for objects and functions only. @@ -873,7 +880,9 @@ function make_seneca(initial_opts?: any) { }) } - addActions(root$) + if (start_opts.system.action.add) { + addActions(root$) + } // root$.act('role:seneca,cmd:pingx') diff --git a/test/act.test.js b/test/act.test.js index 9adfc803..93a53664 100644 --- a/test/act.test.js +++ b/test/act.test.js @@ -123,7 +123,7 @@ describe('act', function () { s0.act('a:1,x:s', function (err, out) { expect(err.code).equal('act_invalid_msg') expect(err.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "x" with value "s" because the value is not of type number.; message content was: { a: 1, x: \'s\' }.', + 'seneca: Action a:1 received an invalid message; Validation failed for property "x" with string "s" because the string is not of type number.; message content was: { a: 1, x: \'s\' }.', ) fin() }) diff --git a/test/actions.test.js b/test/actions.test.js index 851d24e2..be60cdf3 100644 --- a/test/actions.test.js +++ b/test/actions.test.js @@ -16,18 +16,19 @@ const it = Shared.make_it(lab) const Seneca = require('..') describe('actions', function () { - var si = Seneca({ log: 'silent' }) + // var si = Seneca({ log: 'silent' }) function z(msg, reply) { reply({ z: msg.z }) } it('cmd_ping', function (fin) { - var si = Seneca({ legacy: { transport: false } }).test(fin) + var si = Seneca({ legacy: false }).test(fin) expect(si.ping().id).equals(si.id) si.listen().ready(function () { this.act('role:seneca,cmd:ping', function (err, out) { + // console.log(err, 'out', out, this.id) expect(out.id).equals(this.id) si.close(fin) }) diff --git a/test/add.test.js b/test/add.test.js index 9c935246..9aaa8613 100644 --- a/test/add.test.js +++ b/test/add.test.js @@ -14,6 +14,107 @@ var it = Shared.make_it(lab) var Seneca = require('..') describe('add', function () { + it('args', function (fin) { + const si = Seneca().test() + si + // First can be jsonic + .add({a:1}, function a1(msg,reply){reply({x:1})}) + .add('a:2', function a2(msg,reply){reply({x:2})}) + + // Second is always an object. + .add({a:3}, {b:1}, function a3b1(msg,reply){reply({x:3})}) + .add('a:4', {b:2}, function a4b2(msg,reply){reply({x:4})}) + + // Sub patterns don't need an action. + .add({a:5}) + .add('a:6') + .add({a:7}) + .add('a:8', {b:5}) + + .add({a:9}, + function a9(msg,reply){reply({x:9})},{plugin_name:'p9'}) + .add('a:10', + function a10(msg,reply){reply({x:10})},{plugin_name:'p10'}) + .add({a:11}, {b:6}, + function a11b6(msg,reply){reply({x:11})},{plugin_name:'p11'}) + .add('a:12', {b:7}, + function a12b7(msg,reply){reply({x:12})},{plugin_name:'p12'}) + + let pats = si.list('a:*') + // console.log(pats) + expect(pats).equal([ + { a: '1' }, + { a: '2' }, + { a: '3', b: '1' }, + { a: '4', b: '2' }, + { a: '5' }, + { a: '6' }, + { a: '7' }, + { a: '8', b: '5' }, + { a: '9' }, + { a: '10' }, + { a: '11', b: '6' }, + { a: '12', b: '7' } + ]) + + si.act('a:1', function(err, out) { + expect(err).equal(null) + expect(out).equal({x:1}) + + si.act('a:2', function(err, out) { + expect(err).equal(null) + expect(out).equal({x:2}) + + si.act('a:3,b:1', function(err, out) { + expect(err).equal(null) + expect(out).equal({x:3}) + + si.act('a:4,b:2', function(err, out) { + expect(err).equal(null) + expect(out).equal({x:4}) + + si.act('a:9', function(err, out, meta) { + expect(err).equal(null) + expect(out).equal({x:9}) + expect(meta.plugin.name).equal('p9') + + si.act('a:10', function(err, out, meta) { + expect(err).equal(null) + expect(out).equal({x:10}) + expect(meta.plugin.name).equal('p10') + + si.act('a:11,b:6', function(err, out, meta) { + expect(err).equal(null) + expect(out).equal({x:11}) + expect(meta.plugin.name).equal('p11') + + si.act('a:12,b:7', function(err, out, meta) { + expect(err).equal(null) + expect(out).equal({x:12}) + expect(meta.plugin.name).equal('p12') + + fin() + }) + }) + }) + }) + }) + }) + }) + }) + }) + + it('args-error', function (fin) { + const si = Seneca().test() + + expect(()=>si.add('a','b')) + .throw('seneca (add): Validation failed for property "actdef"'+ + ' with string "b" because the string is not of type object.') + + fin() + }) + + it('action-name', function (fin) { var si = Seneca().test() @@ -76,7 +177,7 @@ describe('add', function () { }) it('rules-basic', function (fin) { - const si = Seneca({ log: 'silent', legacy: false }) + const si = Seneca({ legacy: false }).test().quiet() si.add({ a: 1, b: Number }, function (m, r) { r({ b: m.b * 2 }) @@ -91,12 +192,10 @@ describe('add', function () { this.act({ a: 1, b: 'x' }, function (e, o) { expect(e).exist() expect(o).not.exist() - // console.log(e) expect(e.code).equal('act_invalid_msg') - expect(e.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "x" because the value is not of type number.; message content was: { a: 1, b: \'x\' }.', - ) - + expect(e.details.props) + .equal([{ path: 'b', what: 'type', type: 'number', value: 'x' }]) + si.act({ a: 2, b: 3 }, function (e, o) { expect(e).not.exist() expect(o).equal({ b: 9 }) @@ -105,9 +204,8 @@ describe('add', function () { expect(e).exist() expect(o).not.exist() expect(e.code).equal('act_invalid_msg') - expect(e.message).equal( - 'seneca: Action a:2 received an invalid message; Validation failed for property "b" with value "x" because the value is not of type number.; message content was: { a: 2, b: \'x\' }.', - ) + expect(e.details.props) + .equal([{ path: 'b', what: 'type', type: 'number', value: 'x' }]) fin() }) @@ -133,7 +231,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "" because the value is required.; message content was: { a: 1 }.', + 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "undefined" because the value is required.; message content was: { a: 1 }.', ) fin() }) @@ -157,7 +255,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with value "q" because the value is not of type number.; message content was: { a: 1, b: \'q\' }.', + 'seneca: Action a:1 received an invalid message; Validation failed for property "b" with string "q" because the string is not of type number.; message content was: { a: 1, b: \'q\' }.', ) fin() }) @@ -181,7 +279,7 @@ describe('add', function () { expect(o).not.exist() expect(e.code).equal('act_invalid_msg') expect(e.message).equal( - 'seneca: Action a:2 received an invalid message; Validation failed for property "d.f" with value "" because the value is required.; message content was: { a: 2, d: {} }.', + 'seneca: Action a:2 received an invalid message; Validation failed for property "d.f" with value "undefined" because the value is required.; message content was: { a: 2, d: {} }.', ) fin() }) diff --git a/test/common.test.js b/test/common.test.js index 1f366def..33a03bb3 100644 --- a/test/common.test.js +++ b/test/common.test.js @@ -15,6 +15,12 @@ var Shared = require('./shared') var it = Shared.make_it(lab) describe('common', function () { + it('stringify', function (fin) { + expect(Common.stringify({})).equal('{}') + expect(Common.stringify({a:1})).equal('{"a":1}') + fin() + }) + it('misc', function (fin) { expect(Common.boolify(true)).to.equal(true) expect(Common.boolify(false)).to.equal(false) diff --git a/test/delegation.test.js b/test/delegation.test.js index 5ea8f2f1..64b74acf 100644 --- a/test/delegation.test.js +++ b/test/delegation.test.js @@ -24,7 +24,8 @@ describe('delegation', function () { reply(msg) }) var sid = si.delegate({ a$: 'A', b: 'B' }) - + // console.log('SID', sid) + assert.ok(Gex('Seneca/*.*.*/*').on(si.toString())) assert.ok(Gex('Seneca/*.*.*/*/{b:B}').on(sid.toString())) diff --git a/test/inward.test.js b/test/inward.test.js index 56fdf012..831a9173 100644 --- a/test/inward.test.js +++ b/test/inward.test.js @@ -46,7 +46,7 @@ describe('inward', function () { catch (e) { expect(e.message) .equal('seneca: Validation failed for property "inward"'+ - ' with value "" because the value is required.') + ' with value "undefined" because the value is required.') expect({...e}).includes({ gubu: true, code: 'shape', diff --git a/test/outward.test.js b/test/outward.test.js index 32691a5a..938715ea 100644 --- a/test/outward.test.js +++ b/test/outward.test.js @@ -60,7 +60,7 @@ describe('outward', function () { catch (e) { expect(e.message) .equal('seneca: Validation failed for property "outward"'+ - ' with value "" because the value is required.') + ' with value "undefined" because the value is required.') expect({...e}).includes({ gubu: true, code: 'shape', diff --git a/test/plugin.test.js b/test/plugin.test.js index 18488132..fbc1c89d 100644 --- a/test/plugin.test.js +++ b/test/plugin.test.js @@ -439,17 +439,17 @@ describe('plugin', function () { it('plugin-error-add', function (fin) { Seneca({ - log: 'silent', debug: { undead: true }, legacy: { transport: false }, }) + .quiet() .error(function (err) { expect('plugin_define_failed').to.equal(err.code) - expect('invalid_arguments').to.equal(err.orig.code) + expect('shape').to.equal(err.orig.code) fin() }) .use(function foo() { - this.add(new Error()) + this.add('a','b') }) }) diff --git a/test/quick.js b/test/quick.js index 29711e0d..97f9a2b8 100644 --- a/test/quick.js +++ b/test/quick.js @@ -14,6 +14,7 @@ let s0 = Seneca({ // action: false, // }, // }, + system:{action:{add:false}}, }) .test() // .use('entity') @@ -30,7 +31,7 @@ let s0 = Seneca({ // console.log('FOO_INTERCEPTOR', actcall) // } // }, Seneca.util.print) - .add('a:1', function a1(msg, reply) { + .add({a:1}, function a1(msg, reply) { reply({ x: msg.x }) }) // .add('b:1', function a1(msg, reply) { diff --git a/test/seneca.test.js b/test/seneca.test.js index 26475531..c156a420 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -239,24 +239,30 @@ describe('seneca', function () { }) }) + it('action-act-invalid-args', function (done) { - var si = Seneca(testopts, { log: 'silent' }) + const si = Seneca(testopts).test().quiet() si.act({ op: 'bad', a1: 100 }, function (e) { - assert.equal(e.code, 'act_not_found') + expect('act_not_found').equal(e.code) // default is not an object si.act({ op: 'bad', a1: 100, default$: 'qaz' }, function (e) { - assert.equal(e.code, 'act_default_bad') + expect('act_default_bad').equal(e.code) - si.act(null, function (e) { - assert.equal(e.code, 'act_not_found') + try { + si.act(null, function (e) {}) + expect(true).false() + } + catch(e) { + expect('shape').equal(e.code) done() - }) + } }) }) }) + it('action-default', function (done) { var si = Seneca(testopts).error(done) @@ -620,55 +626,63 @@ describe('seneca', function () { done() }) + it('strargs', function (done) { - var si = Seneca({ strict: { result: false } }) + const si = Seneca({ strict: { result: false } }) .test(done) - .add({ a: 1, b: 2 }, function (args, cb) { - cb(null, (args.c || -1) + parseInt(args.b, 10) + parseInt(args.a, 10)) + .add({ a: 1, b: 2 }, function (msg, reply) { + reply(null, (msg.c || -1) + parseInt(msg.b, 10) + parseInt(msg.a, 10)) }) si.act({ a: 1, b: 2, c: 3 }, function (err, out) { - assert.ok(!err) - assert.equal(6, out) + expect(!err).true() + expect(out).equal(6) si.act('a:1,b:2,c:3', function (err, out) { - assert.ok(!err) - assert.equal(6, out) - + expect(!err).true() + expect(out).equal(6) + si.act('a:1,b:2', function (err, out) { - assert.ok(!err) - assert.equal(2, out) + expect(!err).true() + expect(out).equal(2) try { si.add('a::2', function (args, cb) { cb() }) - } catch (e) { - assert.equal(e.code, 'add_string_pattern_syntax') - + } + catch (e) { + expect('add_string_pattern_syntax', e.code) + try { si.act('a::2', { c: 3 }, function () { - assert.fail() + expect(true).false() }) - } catch (e) { - assert.equal(e.code, 'msg_jsonic_syntax') + } + catch (e) { + expect(e.code).equal('msg_jsonic_syntax') try { si.add('a:1,b:2', 'bad-arg', function (args, cb) { cb() }) - } catch (e) { - assert.ok(e.message.match(/norma:/)) - + } + catch (e) { + expect(e.message) + .equal('seneca (add): Validation failed for property "actdef" '+ + 'with string "bad-arg" because the string is not of type object.') + try { si.add(123, function (args, cb) { cb() }) - } catch (e) { - assert.ok(e.message.match(/norma:/)) + } + catch (e) { + expect(e.message).equal('seneca (add): Value "123" for property "props" does not satisfy one of: string, Object') done() } } + return done(new Error('bad-arg not caught')) } } }) From fe7a2a181696f177c3edd3e1bd211d47d915ab47 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Tue, 24 Oct 2023 04:41:35 +0100 Subject: [PATCH 37/42] cleanup --- lib/common.js | 66 --------------------------------------------- lib/common.js.map | 2 +- lib/common.ts | 68 ----------------------------------------------- package.json | 3 +-- 4 files changed, 2 insertions(+), 137 deletions(-) diff --git a/lib/common.js b/lib/common.js index e1574dcc..84a8b7db 100644 --- a/lib/common.js +++ b/lib/common.js @@ -9,8 +9,6 @@ const util_1 = __importDefault(require("util")); const fast_safe_stringify_1 = __importDefault(require("fast-safe-stringify")); const jsonic_next_1 = __importDefault(require("@jsonic/jsonic-next")); const nid_1 = __importDefault(require("nid")); -// const Norma = require('norma') -// import { MakeArgu, Skip } from 'gubu' const Eraro = require('eraro'); const DefaultsDeep = require('lodash.defaultsdeep'); const { Print } = require('./print'); @@ -111,70 +109,6 @@ function parse_jsonic(str, code) { } } exports.parse_jsonic = parse_jsonic; -// string args override object args -// TODO: fix name -/* -function parse_pattern( - _instance: any, - rawargs: any, - // gubuspec: any, - normaspec: any, - fixed?: any -) { - let args = Norma( - '{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', - rawargs - ) - - - // console.log('PP', rawargs, gubuspec) - - // let args = Argu(rawargs, { - // strargs: Skip(String), - // objargs: Skip(Object), - // moreobjargs: Skip(Object), - // ...(gubuspec || {}) - // }) - - - // Precedence of arguments in add,act is left-to-right - args.pattern = Object.assign( - {}, - args.moreobjargs ? args.moreobjargs : null, - args.objargs ? args.objargs : null, - parse_jsonic(args.strargs, 'add_string_pattern_syntax'), - fixed - ) - - return args -} - -const parsePattern = parse_pattern -*/ -/* -function build_message( - _instance: any, - rawargs: any, - normaspec: any, - fixed: any -) { - let args = Norma( - '{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', - rawargs - ) - - // Precedence of arguments in add,act is left-to-right - args.msg = Object.assign( - {}, - args.moreobjargs, - args.objargs, - parse_jsonic(args.strargs, 'msg_jsonic_syntax'), - fixed - ) - - return args -} -*/ // Convert pattern object into a normalized jsonic String. function pattern(patobj) { if ('string' === typeof patobj) { diff --git a/lib/common.js.map b/lib/common.js.map index 062daad0..d9c6d0f3 100644 --- a/lib/common.js.map +++ b/lib/common.js.map @@ -1 +1 @@ -{"version":3,"file":"common.js","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,YAAY,CAAA;;;;;;AAGZ,gDAAuB;AAEvB,8EAA2C;AAC3C,sEAAwC;AACxC,8CAAqB;AACrB,iCAAiC;AACjC,wCAAwC;AAExC,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;AAC9B,MAAM,YAAY,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AACnD,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;AAEpC,sDAA6B;AAI7B,kCAAkC;AAGlC,MAAM,KAAK,GACT,CAAC,OAAO,CAAC,KAAK;IACZ,OAAO,CAAC,KAAK;QACb,KAAK,CAAC;YACJ,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,gBAAM;YACd,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC,CAAA;AAk0BL,sBAAK;AA/zBP,SAAS,QAAQ,CAAC,OAAY,EAAE,QAAc;IAC5C,IAAI,UAAU,KAAK,OAAO,OAAO,IAAI,IAAI,IAAI,QAAQ,EAAE;QACrD,QAAQ,GAAG,OAAO,CAAA;KACnB;SAAM;QACL,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;KAClC;IAED,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,QAAQ,CAAC,CAAC,GAAQ,EAAE,GAAQ,EAAE,EAAE;YAC9B,OAAO,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,O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,IAAI,CAAC,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK;SACjB,CAAC,CAAA;IACJ,CAAC;IAED,CAAC,cAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACnB,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAA;IACxB,CAAC;CACF"} \ No newline at end of file diff --git a/lib/common.ts b/lib/common.ts index 4254a8bc..ac241491 100644 --- a/lib/common.ts +++ b/lib/common.ts @@ -7,8 +7,6 @@ import Util from 'util' import Stringify from 'fast-safe-stringify' import Jsonic from '@jsonic/jsonic-next' import Nid from 'nid' -// const Norma = require('norma') -// import { MakeArgu, Skip } from 'gubu' const Eraro = require('eraro') const DefaultsDeep = require('lodash.defaultsdeep') @@ -132,72 +130,6 @@ function parse_jsonic(str: any, code: any) { } -// string args override object args -// TODO: fix name - -/* -function parse_pattern( - _instance: any, - rawargs: any, - // gubuspec: any, - normaspec: any, - fixed?: any -) { - let args = Norma( - '{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', - rawargs - ) - - - // console.log('PP', rawargs, gubuspec) - - // let args = Argu(rawargs, { - // strargs: Skip(String), - // objargs: Skip(Object), - // moreobjargs: Skip(Object), - // ...(gubuspec || {}) - // }) - - - // Precedence of arguments in add,act is left-to-right - args.pattern = Object.assign( - {}, - args.moreobjargs ? args.moreobjargs : null, - args.objargs ? args.objargs : null, - parse_jsonic(args.strargs, 'add_string_pattern_syntax'), - fixed - ) - - return args -} - -const parsePattern = parse_pattern -*/ - -/* -function build_message( - _instance: any, - rawargs: any, - normaspec: any, - fixed: any -) { - let args = Norma( - '{strargs:s? objargs:o? moreobjargs:o? ' + (normaspec || '') + '}', - rawargs - ) - - // Precedence of arguments in add,act is left-to-right - args.msg = Object.assign( - {}, - args.moreobjargs, - args.objargs, - parse_jsonic(args.strargs, 'msg_jsonic_syntax'), - fixed - ) - - return args -} -*/ // Convert pattern object into a normalized jsonic String. function pattern(patobj: any) { diff --git a/package.json b/package.json index d21bf36b..cbca8187 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,6 @@ "lodash.uniq": "^4.5.0", "minimist": "^1.2.8", "nid": "^2.0.1", - "norma": "^3.0.0", "optioner": "^5.0.1", "ordu": "^2.2.0", "patrun": "^7.2.5", @@ -109,7 +108,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^20.6.2", + "@types/node": "^20.8.8", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", From f796f60502d33c92aa3bb403175f5c93c5047f31 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Thu, 2 Nov 2023 02:19:21 +0000 Subject: [PATCH 38/42] gubu --- lib/ready.ts | 2 ++ package.json | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/ready.ts b/lib/ready.ts index 3f36dc2c..22f3d402 100644 --- a/lib/ready.ts +++ b/lib/ready.ts @@ -20,6 +20,8 @@ function make_ready(root: any) { } } +// TODO should callback with plugin errs, or throw them! + function api_ready(this: any, ready_func: any) { var self = this diff --git a/package.json b/package.json index cbca8187..7ddde48d 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "eraro": "^2.1.0", "fast-safe-stringify": "^2.1.1", "gate-executor": "^3.1.1", - "gubu": "5.0.1", + "gubu": "6.0.1", "lodash.defaultsdeep": "^4.6.1", "lodash.flatten": "^4.4.0", "lodash.uniq": "^4.5.0", @@ -108,7 +108,7 @@ "@hapi/code": "8", "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", - "@types/node": "^20.8.8", + "@types/node": "^20.8.10", "async": "^3.2.4", "bench": "^0.3.6", "coveralls": "^3.1.1", @@ -117,7 +117,7 @@ "lab-transform-typescript": "^3.0.1", "lolex": "^6.0.0", "prettier": "^3.0.3", - "seneca-entity": "^24.0.1", + "seneca-entity": "^25.0.0", "seneca-error-test": "^0.2.2", "seneca-joi": "^7.0.2", "seneca-promisify": "^3.6.0", From 0375b65bed81af472ae997ea3981e3454838dd2f Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sun, 5 Nov 2023 12:54:04 +0000 Subject: [PATCH 39/42] v3.32.1 --- .travis.yml | 35 ----------- CHANGES.md | 5 ++ lib/ready.js | 1 + lib/ready.js.map | 2 +- package.json | 2 +- test/add.test.js | 128 +++++++++++++++++++++++++--------------- test/common.test.js | 4 +- test/delegation.test.js | 2 +- test/inward.test.js | 16 ++--- test/legacy.test.js | 7 +-- test/outward.test.js | 16 ++--- test/plugin.test.js | 2 +- test/quick.js | 4 +- test/seneca.test.js | 61 +++++++++---------- 14 files changed, 141 insertions(+), 144 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d3ee4b56..00000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -language: node_js - -node_js: - - '14' - - '13' - - '12' - - '10' - -env: - global: - - TIMEOUT_MULTIPLIER=8 - -install: - - npm ci - -script: - - npm test - - > - if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then - npm audit - npm run coveralls - rm -rf node_modules - npm ci --only=production - ./test/smoke-test.sh; - ./test/entity-test.sh; - ./test/joi-test.sh; - ./test/doc-test.sh; - fi - - -os: - - "linux" - - "osx" - - "windows" - diff --git a/CHANGES.md b/CHANGES.md index b0943c45..513cd780 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,8 @@ +## 3.33.0 2023-11-05 + +* Remove norma library, replace functionality with update gubu library. + + ## 3.32.1 2023-09-16 * Provide Seneca 4 act-err argument variants via `act-err-4` temporary event. diff --git a/lib/ready.js b/lib/ready.js index 54e6cf1f..870ef769 100644 --- a/lib/ready.js +++ b/lib/ready.js @@ -18,6 +18,7 @@ function make_ready(root) { }; } exports.make_ready = make_ready; +// TODO should callback with plugin errs, or throw them! function api_ready(ready_func) { var self = this; // Allow pending actions to complete diff --git a/lib/ready.js.map b/lib/ready.js.map index 1917156b..d64f34fe 100644 --- a/lib/ready.js.map +++ b/lib/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I,EAAE,CAAC,CAAA;QAC1E,UAAU,EAAE,CAAA;KACb;IAAC,OAAO,SAAc,EAAE;QACvB,IAAI,GAAG,GAAG,QAAQ,CAAC,KAAK,CAAC,SAAS,EAAE,cAAc,EAAE;YAClD,OAAO,EAAE,SAAS,CAAC,OAAO;SAC3B,CAAC,CAAA;QAEF,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;SACpC;QAED,kDAAkD;QAClD,kCAAkC;aAC7B;YACH,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;SAClB;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index 7ddde48d..e4d969cb 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "@hapi/lab": "25", "@seneca/test-plugin": "0.1.0", "@types/node": "^20.8.10", - "async": "^3.2.4", + "async": "^3.2.5", "bench": "^0.3.6", "coveralls": "^3.1.1", "gex": "^4.0.1", diff --git a/test/add.test.js b/test/add.test.js index 9aaa8613..9cfffa36 100644 --- a/test/add.test.js +++ b/test/add.test.js @@ -17,29 +17,59 @@ describe('add', function () { it('args', function (fin) { const si = Seneca().test() si - // First can be jsonic - .add({a:1}, function a1(msg,reply){reply({x:1})}) - .add('a:2', function a2(msg,reply){reply({x:2})}) + // First can be jsonic + .add({ a: 1 }, function a1(msg, reply) { + reply({ x: 1 }) + }) + .add('a:2', function a2(msg, reply) { + reply({ x: 2 }) + }) - // Second is always an object. - .add({a:3}, {b:1}, function a3b1(msg,reply){reply({x:3})}) - .add('a:4', {b:2}, function a4b2(msg,reply){reply({x:4})}) + // Second is always an object. + .add({ a: 3 }, { b: 1 }, function a3b1(msg, reply) { + reply({ x: 3 }) + }) + .add('a:4', { b: 2 }, function a4b2(msg, reply) { + reply({ x: 4 }) + }) - // Sub patterns don't need an action. - .add({a:5}) + // Sub patterns don't need an action. + .add({ a: 5 }) .add('a:6') - .add({a:7}) - .add('a:8', {b:5}) - - .add({a:9}, - function a9(msg,reply){reply({x:9})},{plugin_name:'p9'}) - .add('a:10', - function a10(msg,reply){reply({x:10})},{plugin_name:'p10'}) - .add({a:11}, {b:6}, - function a11b6(msg,reply){reply({x:11})},{plugin_name:'p11'}) - .add('a:12', {b:7}, - function a12b7(msg,reply){reply({x:12})},{plugin_name:'p12'}) - + .add({ a: 7 }) + .add('a:8', { b: 5 }) + + .add( + { a: 9 }, + function a9(msg, reply) { + reply({ x: 9 }) + }, + { plugin_name: 'p9' }, + ) + .add( + 'a:10', + function a10(msg, reply) { + reply({ x: 10 }) + }, + { plugin_name: 'p10' }, + ) + .add( + { a: 11 }, + { b: 6 }, + function a11b6(msg, reply) { + reply({ x: 11 }) + }, + { plugin_name: 'p11' }, + ) + .add( + 'a:12', + { b: 7 }, + function a12b7(msg, reply) { + reply({ x: 12 }) + }, + { plugin_name: 'p12' }, + ) + let pats = si.list('a:*') // console.log(pats) expect(pats).equal([ @@ -54,43 +84,43 @@ describe('add', function () { { a: '9' }, { a: '10' }, { a: '11', b: '6' }, - { a: '12', b: '7' } + { a: '12', b: '7' }, ]) - - si.act('a:1', function(err, out) { + + si.act('a:1', function (err, out) { expect(err).equal(null) - expect(out).equal({x:1}) + expect(out).equal({ x: 1 }) - si.act('a:2', function(err, out) { + si.act('a:2', function (err, out) { expect(err).equal(null) - expect(out).equal({x:2}) + expect(out).equal({ x: 2 }) - si.act('a:3,b:1', function(err, out) { + si.act('a:3,b:1', function (err, out) { expect(err).equal(null) - expect(out).equal({x:3}) + expect(out).equal({ x: 3 }) - si.act('a:4,b:2', function(err, out) { + si.act('a:4,b:2', function (err, out) { expect(err).equal(null) - expect(out).equal({x:4}) + expect(out).equal({ x: 4 }) - si.act('a:9', function(err, out, meta) { + si.act('a:9', function (err, out, meta) { expect(err).equal(null) - expect(out).equal({x:9}) + expect(out).equal({ x: 9 }) expect(meta.plugin.name).equal('p9') - si.act('a:10', function(err, out, meta) { + si.act('a:10', function (err, out, meta) { expect(err).equal(null) - expect(out).equal({x:10}) + expect(out).equal({ x: 10 }) expect(meta.plugin.name).equal('p10') - si.act('a:11,b:6', function(err, out, meta) { + si.act('a:11,b:6', function (err, out, meta) { expect(err).equal(null) - expect(out).equal({x:11}) + expect(out).equal({ x: 11 }) expect(meta.plugin.name).equal('p11') - si.act('a:12,b:7', function(err, out, meta) { + si.act('a:12,b:7', function (err, out, meta) { expect(err).equal(null) - expect(out).equal({x:12}) + expect(out).equal({ x: 12 }) expect(meta.plugin.name).equal('p12') fin() @@ -107,14 +137,14 @@ describe('add', function () { it('args-error', function (fin) { const si = Seneca().test() - expect(()=>si.add('a','b')) - .throw('seneca (add): Validation failed for property "actdef"'+ - ' with string "b" because the string is not of type object.') + expect(() => si.add('a', 'b')).throw( + 'seneca (add): Validation failed for property "actdef"' + + ' with string "b" because the string is not of type object.', + ) fin() }) - - + it('action-name', function (fin) { var si = Seneca().test() @@ -193,9 +223,10 @@ describe('add', function () { expect(e).exist() expect(o).not.exist() expect(e.code).equal('act_invalid_msg') - expect(e.details.props) - .equal([{ path: 'b', what: 'type', type: 'number', value: 'x' }]) - + expect(e.details.props).equal([ + { path: 'b', what: 'type', type: 'number', value: 'x' }, + ]) + si.act({ a: 2, b: 3 }, function (e, o) { expect(e).not.exist() expect(o).equal({ b: 9 }) @@ -204,8 +235,9 @@ describe('add', function () { expect(e).exist() expect(o).not.exist() expect(e.code).equal('act_invalid_msg') - expect(e.details.props) - .equal([{ path: 'b', what: 'type', type: 'number', value: 'x' }]) + expect(e.details.props).equal([ + { path: 'b', what: 'type', type: 'number', value: 'x' }, + ]) fin() }) diff --git a/test/common.test.js b/test/common.test.js index 33a03bb3..2ceed315 100644 --- a/test/common.test.js +++ b/test/common.test.js @@ -17,10 +17,10 @@ var it = Shared.make_it(lab) describe('common', function () { it('stringify', function (fin) { expect(Common.stringify({})).equal('{}') - expect(Common.stringify({a:1})).equal('{"a":1}') + expect(Common.stringify({ a: 1 })).equal('{"a":1}') fin() }) - + it('misc', function (fin) { expect(Common.boolify(true)).to.equal(true) expect(Common.boolify(false)).to.equal(false) diff --git a/test/delegation.test.js b/test/delegation.test.js index 64b74acf..c72fbccd 100644 --- a/test/delegation.test.js +++ b/test/delegation.test.js @@ -25,7 +25,7 @@ describe('delegation', function () { }) var sid = si.delegate({ a$: 'A', b: 'B' }) // console.log('SID', sid) - + assert.ok(Gex('Seneca/*.*.*/*').on(si.toString())) assert.ok(Gex('Seneca/*.*.*/*/{b:B}').on(sid.toString())) diff --git a/test/inward.test.js b/test/inward.test.js index 831a9173..871998af 100644 --- a/test/inward.test.js +++ b/test/inward.test.js @@ -42,18 +42,18 @@ describe('inward', function () { try { API.inward() expect(false).true() - } - catch (e) { - expect(e.message) - .equal('seneca: Validation failed for property "inward"'+ - ' with value "undefined" because the value is required.') - expect({...e}).includes({ + } catch (e) { + expect(e.message).equal( + 'seneca: Validation failed for property "inward"' + + ' with value "undefined" because the value is required.', + ) + expect({ ...e }).includes({ gubu: true, code: 'shape', }) expect(e.props[0]).includes({ - path:'inward', - type:'function' + path: 'inward', + type: 'function', }) } diff --git a/test/legacy.test.js b/test/legacy.test.js index 9a69352e..908ae494 100644 --- a/test/legacy.test.js +++ b/test/legacy.test.js @@ -131,7 +131,6 @@ describe('legacy', function () { }) }) - it('act_if', function (done) { var si = Seneca({ log: 'silent' }) @@ -158,12 +157,11 @@ describe('legacy', function () { expect(true).equal(false) }) expect(true).equal(false) - } - catch (e) { + } catch (e) { expect(e.message).match(/not of type boolean/) } - si = Seneca({log:'test'}) + si = Seneca({ log: 'test' }) .add('a:1', function (msg, reply) { reply({ b: msg.a + 1 }) }) @@ -182,5 +180,4 @@ describe('legacy', function () { process.nextTick(done) }) }) - }) diff --git a/test/outward.test.js b/test/outward.test.js index 938715ea..970ea26d 100644 --- a/test/outward.test.js +++ b/test/outward.test.js @@ -56,18 +56,18 @@ describe('outward', function () { try { API.outward() expect(false).true() - } - catch (e) { - expect(e.message) - .equal('seneca: Validation failed for property "outward"'+ - ' with value "undefined" because the value is required.') - expect({...e}).includes({ + } catch (e) { + expect(e.message).equal( + 'seneca: Validation failed for property "outward"' + + ' with value "undefined" because the value is required.', + ) + expect({ ...e }).includes({ gubu: true, code: 'shape', }) expect(e.props[0]).includes({ - path:'outward', - type:'function' + path: 'outward', + type: 'function', }) } diff --git a/test/plugin.test.js b/test/plugin.test.js index fbc1c89d..5287772e 100644 --- a/test/plugin.test.js +++ b/test/plugin.test.js @@ -449,7 +449,7 @@ describe('plugin', function () { fin() }) .use(function foo() { - this.add('a','b') + this.add('a', 'b') }) }) diff --git a/test/quick.js b/test/quick.js index 97f9a2b8..e5d2e123 100644 --- a/test/quick.js +++ b/test/quick.js @@ -14,7 +14,7 @@ let s0 = Seneca({ // action: false, // }, // }, - system:{action:{add:false}}, + system: { action: { add: false } }, }) .test() // .use('entity') @@ -31,7 +31,7 @@ let s0 = Seneca({ // console.log('FOO_INTERCEPTOR', actcall) // } // }, Seneca.util.print) - .add({a:1}, function a1(msg, reply) { + .add({ a: 1 }, function a1(msg, reply) { reply({ x: msg.x }) }) // .add('b:1', function a1(msg, reply) { diff --git a/test/seneca.test.js b/test/seneca.test.js index c156a420..3c21769d 100644 --- a/test/seneca.test.js +++ b/test/seneca.test.js @@ -239,7 +239,6 @@ describe('seneca', function () { }) }) - it('action-act-invalid-args', function (done) { const si = Seneca(testopts).test().quiet() @@ -253,8 +252,7 @@ describe('seneca', function () { try { si.act(null, function (e) {}) expect(true).false() - } - catch(e) { + } catch (e) { expect('shape').equal(e.code) done() } @@ -262,7 +260,6 @@ describe('seneca', function () { }) }) - it('action-default', function (done) { var si = Seneca(testopts).error(done) @@ -544,7 +541,6 @@ describe('seneca', function () { }) }) - it('loading-plugins', function (done) { var si = Seneca().test() @@ -626,7 +622,6 @@ describe('seneca', function () { done() }) - it('strargs', function (done) { const si = Seneca({ strict: { result: false } }) .test(done) @@ -641,7 +636,7 @@ describe('seneca', function () { si.act('a:1,b:2,c:3', function (err, out) { expect(!err).true() expect(out).equal(6) - + si.act('a:1,b:2', function (err, out) { expect(!err).true() expect(out).equal(2) @@ -650,35 +645,34 @@ describe('seneca', function () { si.add('a::2', function (args, cb) { cb() }) - } - catch (e) { + } catch (e) { expect('add_string_pattern_syntax', e.code) - + try { si.act('a::2', { c: 3 }, function () { expect(true).false() }) - } - catch (e) { + } catch (e) { expect(e.code).equal('msg_jsonic_syntax') try { si.add('a:1,b:2', 'bad-arg', function (args, cb) { cb() }) - } - catch (e) { - expect(e.message) - .equal('seneca (add): Validation failed for property "actdef" '+ - 'with string "bad-arg" because the string is not of type object.') - + } catch (e) { + expect(e.message).equal( + 'seneca (add): Validation failed for property "actdef" ' + + 'with string "bad-arg" because the string is not of type object.', + ) + try { si.add(123, function (args, cb) { cb() }) - } - catch (e) { - expect(e.message).equal('seneca (add): Value "123" for property "props" does not satisfy one of: string, Object') + } catch (e) { + expect(e.message).equal( + 'seneca (add): Value "123" for property "props" does not satisfy one of: string, Object', + ) done() } } @@ -1014,7 +1008,7 @@ describe('seneca', function () { }) }) - it('decorate-basic', async ()=> { + it('decorate-basic', async () => { const si = Seneca().test().quiet() si.decorate('foo', function () { expect(this === si) @@ -1024,23 +1018,26 @@ describe('seneca', function () { expect(si.foo()).equals('bar') }) - it('decorate-core-property', async ()=> { + it('decorate-core-property', async () => { const si = Seneca().test().quiet() - expect(()=>si.decorate('add',()=>{})) - .throws('seneca: Decoration overrides core property:add') + expect(() => si.decorate('add', () => {})).throws( + 'seneca: Decoration overrides core property:add', + ) }) - it('decorate-overwrite', async ()=>{ + it('decorate-overwrite', async () => { const si = Seneca().test().quiet() - si.decorate('foo', ()=>{}) - expect(()=>si.decorate('foo',()=>{})) - .throws('seneca: Decoration already exists: foo') + si.decorate('foo', () => {}) + expect(() => si.decorate('foo', () => {})).throws( + 'seneca: Decoration already exists: foo', + ) }) - it('decorate-underscore-prefix', async ()=>{ + it('decorate-underscore-prefix', async () => { const si = Seneca().test().quiet() - expect(()=>si.decorate('_use')) - .throws('seneca: Decorate property cannot start with underscore (was _use)') + expect(() => si.decorate('_use')).throws( + 'seneca: Decorate property cannot start with underscore (was _use)', + ) }) it('supports jsonic params to has', function (done) { From 0f36859fe40bf4263a223b5e0f274924004c484c Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sun, 5 Nov 2023 12:56:04 +0000 Subject: [PATCH 40/42] v3.33.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e4d969cb..9acba09e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "seneca", "description": "A Microservices Framework for Node.js", - "version": "3.32.1", + "version": "3.33.0", "license": "MIT", "homepage": "http://senecajs.org", "keywords": [ From 8876e152707b9fcaa0c247019b3ed058d54d7190 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sun, 5 Nov 2023 13:21:30 +0000 Subject: [PATCH 41/42] dev.md --- API.md | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 API.md diff --git a/API.md b/API.md deleted file mode 100644 index 18f69426..00000000 --- a/API.md +++ /dev/null @@ -1,53 +0,0 @@ - -# Options - - - -# Methods - -## `use` (method) -Load plugin asynchronously. - -* _spec_ - Plugin definition. -* _options_ - Plugin options. - - -### Parameters - -#### _spec_ - string | object | function - -* _string_, attempt to load plugin by passing the string to the - `require` that loaded Seneca. See notes for search algorithm. - -* _object_, use this as the plugin definition. Properties are (see Notes for details): - ** _name_ - string - Name of plugin. - ** _define_ - function - Definition action for plugin. - -* _function_, use this as the plugin definition function. The name of - the function is taken as the name of the plugin. - - -#### _options_ - object - -Passed as the first argument to the plugin definition function to be -used for customizing the plugin's behavior. - -Optional directives: - -* _init$_ - boolean - If _false_, do not call the initialization action. -* _defined$_ - function - Callback function. - ** Called afer the plugin definition action completes. First parameter is the plugin description as returned by `find_plugin` -* _inited$_ - function - Callback function. - ** Called after the plugin initialization action completes. First parameter is the plugin description as returned by `find_plugin` - -### Notes - -TODO - - -#### Plugin tags - -TODO - - - From 2d2046ee84ce9da2b9c29a0baf0b4cabe4bb3354 Mon Sep 17 00:00:00 2001 From: Richard Rodger Date: Sun, 5 Nov 2023 13:21:50 +0000 Subject: [PATCH 42/42] dev.md --- DEV.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 DEV.md diff --git a/DEV.md b/DEV.md new file mode 100644 index 00000000..557da504 --- /dev/null +++ b/DEV.md @@ -0,0 +1,6 @@ + +# Branches + +- 3.x: Version 3 +- master: Version 4 +