From 140f4e450eda83f03fbb267a6d4b79f8fad96e1f Mon Sep 17 00:00:00 2001 From: elrichgro Date: Mon, 20 Nov 2017 18:57:45 +0200 Subject: [PATCH 1/2] Allow underscores in persistence keys. --- lib/paths.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/paths.js b/lib/paths.js index ed5b3ea..3f752ec 100644 --- a/lib/paths.js +++ b/lib/paths.js @@ -16,7 +16,7 @@ class LocalPath { } static isValidName (name) { - const actorNameRegex = /^[a-z0-9-]+$/i; + const actorNameRegex = /^[a-z0-9-_]+$/i; return !!name && typeof (name) === 'string' && !!name.match(actorNameRegex); } From fc16553f5da4a01ade1e4975be7e38e0676adca2 Mon Sep 17 00:00:00 2001 From: elrichgro Date: Mon, 20 Nov 2017 18:58:14 +0200 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9210535..80b6e87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nact", - "version": "3.1.4", + "version": "3.1.5", "description": "nact ⇒ node.js + actors = your services have never been so µ", "main": "lib/index.js", "scripts": {