Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • oss/libraries/javascript/monster
1 result
Select Git revision
Loading items
Show changes
Commits on Source (5)
<a name="v3.14.1"></a>
## [v3.14.1] - 2023-02-21
### Bug Fixes
- add empty strings
### Changes
- add tests
<a name="v3.14.0"></a>
## [v3.14.0] - 2023-02-21
### Add Features
......@@ -310,6 +319,7 @@
<a name="1.8.0"></a>
## 1.8.0 - 2021-08-15
[v3.14.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.14.0...v3.14.1
[v3.14.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.13.1...v3.14.0
[v3.13.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.13.0...v3.13.1
[v3.13.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.12.2...v3.13.0
......
{
"name": "@schukai/monster",
"version": "3.13.1",
"version": "3.14.0",
"description": "Monster is a simple library for creating fast, robust and lightweight websites.",
"keywords": [
"framework",
......
......@@ -406,6 +406,12 @@ function transform(value) {
throw new Error("missing key parameter");
}
// add empty strings
if (isString(key)&&key.trim()==="") {
concat += key;
continue;
}
if (!pf2.exists(key)) {
concat += key;
continue;
......
......@@ -142,7 +142,7 @@ function getMonsterVersion() {
}
/** don't touch, replaced by make with package.json version */
monsterVersion = new Version("3.13.1");
monsterVersion = new Version("3.14.0");
return monsterVersion;
}
{
"name": "monster",
"version": "3.13.1",
"version": "3.14.0",
"description": "monster",
"repository": {
"type": "git",
......
......@@ -28,6 +28,9 @@ describe('Transformer', function () {
[
['concat:a.b.c:test:a.b.d', {a: {b: {c: 4, d: 6}}}, "4test6"],
['concat:a.b.c:\\ \\ :a.b.d', {a: {b: {c: 4, d: 6}}}, "4 6"],
['concat:a.b.c:,:a.b.d', {a: {b: {c: 4, d: 6}}}, "4,6"],
['concat:a.b.c:,:\\ :a.b.d', {a: {b: {c: 4, d: 6}}}, "4, 6"],
['??:a', null, 'a'],
['??:a', undefined, 'a'],
['??:a', 'true', 'true'],
......
......@@ -7,7 +7,7 @@ describe('Monster', function () {
let monsterVersion
/** don´t touch, replaced by make with package.json version */
monsterVersion = new Version("3.13.1")
monsterVersion = new Version("3.14.0")
let m = getMonsterVersion();
......
{"version":"3.14.0"}
{"version":"3.14.1"}