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 (4)
<a name="v3.18.0"></a>
## [v3.18.0] - 2023-02-28
### Add Features
- new contains and has-entries
<a name="v3.17.0"></a> <a name="v3.17.0"></a>
## [v3.17.0] - 2023-02-28 ## [v3.17.0] - 2023-02-28
### Add Features ### Add Features
...@@ -344,6 +350,7 @@ ...@@ -344,6 +350,7 @@
<a name="1.8.0"></a> <a name="1.8.0"></a>
## 1.8.0 - 2021-08-15 ## 1.8.0 - 2021-08-15
[v3.18.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.17.0...v3.18.0
[v3.17.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.16.1...v3.17.0 [v3.17.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.16.1...v3.17.0
[v3.16.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.16.0...v3.16.1 [v3.16.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.16.0...v3.16.1
[v3.16.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.15.0...v3.16.0 [v3.16.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.15.0...v3.16.0
......
{ {
"name": "@schukai/monster", "name": "@schukai/monster",
"version": "3.16.1", "version": "3.17.0",
"description": "Monster is a simple library for creating fast, robust and lightweight websites.", "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
"keywords": [ "keywords": [
"framework", "framework",
......
...@@ -187,6 +187,33 @@ function transform(value) { ...@@ -187,6 +187,33 @@ function transform(value) {
validateString(value); validateString(value);
return value.toLowerCase(); return value.toLowerCase();
case "contains":
if (isString(value)) {
return value.includes(args[0]);
}
if (isArray(value)) {
return value.includes(args[0]);
}
if (isObject(value)) {
return value.hasOwnProperty(args[0]);
}
return false;
case "has-entries":
case "hasentries":
if (isObject(value)) {
return Object.keys(value).length > 0;
}
if (isArray(value)) {
return value.length > 0;
}
return false;
case "isundefined": case "isundefined":
case "is-undefined": case "is-undefined":
return value === undefined; return value === undefined;
......
...@@ -142,7 +142,7 @@ function getMonsterVersion() { ...@@ -142,7 +142,7 @@ function getMonsterVersion() {
} }
/** don't touch, replaced by make with package.json version */ /** don't touch, replaced by make with package.json version */
monsterVersion = new Version("3.16.1"); monsterVersion = new Version("3.17.0");
return monsterVersion; return monsterVersion;
} }
{ {
"name": "monster", "name": "monster",
"version": "3.16.1", "version": "3.17.0",
"description": "monster", "description": "monster",
"repository": { "repository": {
"type": "git", "type": "git",
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
"crypt": "^0.0.2", "crypt": "^0.0.2",
"cssnano": "^5.1.15", "cssnano": "^5.1.15",
"esbuild": "^0.17.10", "esbuild": "^0.17.10",
"flow-bin": "^0.200.0", "flow-bin": "^0.200.1",
"fs": "0.0.1-security", "fs": "0.0.1-security",
"glob": "^8.1.0", "glob": "^9.0.1",
"graphviz": "^0.0.9", "graphviz": "^0.0.9",
"jsdoc": "^4.0.2", "jsdoc": "^4.0.2",
"jsdoc-external-example": "github:volker-schukai/jsdoc-external-example", "jsdoc-external-example": "github:volker-schukai/jsdoc-external-example",
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
"vite-plugin-banner": "^0.7.0", "vite-plugin-banner": "^0.7.0",
"vite-plugin-list-directory-contents": "^1.4.5", "vite-plugin-list-directory-contents": "^1.4.5",
"vite-plugin-minify": "^1.5.2", "vite-plugin-minify": "^1.5.2",
"vite-plugin-mkcert": "^1.13.2", "vite-plugin-mkcert": "^1.13.3",
"ws": "^8.12.1" "ws": "^8.12.1"
} }
} }
...@@ -14,9 +14,9 @@ specifiers: ...@@ -14,9 +14,9 @@ specifiers:
crypt: ^0.0.2 crypt: ^0.0.2
cssnano: ^5.1.15 cssnano: ^5.1.15
esbuild: ^0.17.10 esbuild: ^0.17.10
flow-bin: ^0.200.0 flow-bin: ^0.200.1
fs: 0.0.1-security fs: 0.0.1-security
glob: ^8.1.0 glob: ^9.0.1
graphviz: ^0.0.9 graphviz: ^0.0.9
jsdoc: ^4.0.2 jsdoc: ^4.0.2
jsdoc-external-example: github:volker-schukai/jsdoc-external-example jsdoc-external-example: github:volker-schukai/jsdoc-external-example
...@@ -46,7 +46,7 @@ specifiers: ...@@ -46,7 +46,7 @@ specifiers:
vite-plugin-banner: ^0.7.0 vite-plugin-banner: ^0.7.0
vite-plugin-list-directory-contents: ^1.4.5 vite-plugin-list-directory-contents: ^1.4.5
vite-plugin-minify: ^1.5.2 vite-plugin-minify: ^1.5.2
vite-plugin-mkcert: ^1.13.2 vite-plugin-mkcert: ^1.13.3
ws: ^8.12.1 ws: ^8.12.1
devDependencies: devDependencies:
...@@ -63,9 +63,9 @@ devDependencies: ...@@ -63,9 +63,9 @@ devDependencies:
crypt: 0.0.2 crypt: 0.0.2
cssnano: 5.1.15_postcss@8.4.21 cssnano: 5.1.15_postcss@8.4.21
esbuild: 0.17.10 esbuild: 0.17.10
flow-bin: 0.200.0 flow-bin: 0.200.1
fs: 0.0.1-security fs: 0.0.1-security
glob: 8.1.0 glob: 9.0.1
graphviz: 0.0.9 graphviz: 0.0.9
jsdoc: 4.0.2 jsdoc: 4.0.2
jsdoc-external-example: github.com/volker-schukai/jsdoc-external-example/e039186b531487bd1b1d5e2e1586a396b910c9d9 jsdoc-external-example: github.com/volker-schukai/jsdoc-external-example/e039186b531487bd1b1d5e2e1586a396b910c9d9
...@@ -95,7 +95,7 @@ devDependencies: ...@@ -95,7 +95,7 @@ devDependencies:
vite-plugin-banner: 0.7.0 vite-plugin-banner: 0.7.0
vite-plugin-list-directory-contents: 1.4.5 vite-plugin-list-directory-contents: 1.4.5
vite-plugin-minify: 1.5.2_vite@4.1.4 vite-plugin-minify: 1.5.2_vite@4.1.4
vite-plugin-mkcert: 1.13.2_vite@4.1.4 vite-plugin-mkcert: 1.13.3_vite@4.1.4
ws: 8.12.1 ws: 8.12.1
packages: packages:
...@@ -808,12 +808,12 @@ packages: ...@@ -808,12 +808,12 @@ packages:
- '@types/node' - '@types/node'
dev: true dev: true
/@microsoft/api-extractor-model/7.26.4_@types+node@18.14.1: /@microsoft/api-extractor-model/7.26.4_@types+node@18.14.2:
resolution: {integrity: sha512-PDCgCzXDo+SLY5bsfl4bS7hxaeEtnXj7XtuzEE+BtALp7B5mK/NrS2kHWU69pohgsRmEALycQdaQPXoyT2i5MQ==} resolution: {integrity: sha512-PDCgCzXDo+SLY5bsfl4bS7hxaeEtnXj7XtuzEE+BtALp7B5mK/NrS2kHWU69pohgsRmEALycQdaQPXoyT2i5MQ==}
dependencies: dependencies:
'@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc': 0.14.2
'@microsoft/tsdoc-config': 0.16.2 '@microsoft/tsdoc-config': 0.16.2
'@rushstack/node-core-library': 3.55.2_@types+node@18.14.1 '@rushstack/node-core-library': 3.55.2_@types+node@18.14.2
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
dev: true dev: true
...@@ -838,14 +838,14 @@ packages: ...@@ -838,14 +838,14 @@ packages:
- '@types/node' - '@types/node'
dev: true dev: true
/@microsoft/api-extractor/7.34.4_@types+node@18.14.1: /@microsoft/api-extractor/7.34.4_@types+node@18.14.2:
resolution: {integrity: sha512-HOdcci2nT40ejhwPC3Xja9G+WSJmWhCUKKryRfQYsmE9cD+pxmBaKBKCbuS9jUcl6bLLb4Gz+h7xEN5r0QiXnQ==} resolution: {integrity: sha512-HOdcci2nT40ejhwPC3Xja9G+WSJmWhCUKKryRfQYsmE9cD+pxmBaKBKCbuS9jUcl6bLLb4Gz+h7xEN5r0QiXnQ==}
hasBin: true hasBin: true
dependencies: dependencies:
'@microsoft/api-extractor-model': 7.26.4_@types+node@18.14.1 '@microsoft/api-extractor-model': 7.26.4_@types+node@18.14.2
'@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc': 0.14.2
'@microsoft/tsdoc-config': 0.16.2 '@microsoft/tsdoc-config': 0.16.2
'@rushstack/node-core-library': 3.55.2_@types+node@18.14.1 '@rushstack/node-core-library': 3.55.2_@types+node@18.14.2
'@rushstack/rig-package': 0.3.18 '@rushstack/rig-package': 0.3.18
'@rushstack/ts-command-line': 4.13.2 '@rushstack/ts-command-line': 4.13.2
colors: 1.2.5 colors: 1.2.5
...@@ -1117,7 +1117,7 @@ packages: ...@@ -1117,7 +1117,7 @@ packages:
z-schema: 5.0.5 z-schema: 5.0.5
dev: true dev: true
/@rushstack/node-core-library/3.55.2_@types+node@18.14.1: /@rushstack/node-core-library/3.55.2_@types+node@18.14.2:
resolution: {integrity: sha512-SaLe/x/Q/uBVdNFK5V1xXvsVps0y7h1sN7aSJllQyFbugyOaxhNRF25bwEDnicARNEjJw0pk0lYnJQ9Kr6ev0A==} resolution: {integrity: sha512-SaLe/x/Q/uBVdNFK5V1xXvsVps0y7h1sN7aSJllQyFbugyOaxhNRF25bwEDnicARNEjJw0pk0lYnJQ9Kr6ev0A==}
peerDependencies: peerDependencies:
'@types/node': '*' '@types/node': '*'
...@@ -1125,7 +1125,7 @@ packages: ...@@ -1125,7 +1125,7 @@ packages:
'@types/node': '@types/node':
optional: true optional: true
dependencies: dependencies:
'@types/node': 18.14.1 '@types/node': 18.14.2
colors: 1.2.5 colors: 1.2.5
fs-extra: 7.0.1 fs-extra: 7.0.1
import-lazy: 4.0.0 import-lazy: 4.0.0
...@@ -1225,16 +1225,16 @@ packages: ...@@ -1225,16 +1225,16 @@ packages:
resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==} resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==}
dev: true dev: true
/@types/node/18.14.1: /@types/node/18.14.2:
resolution: {integrity: sha512-QH+37Qds3E0eDlReeboBxfHbX9omAcBCXEzswCu6jySP642jiM3cYSIkU/REqwhCUqXdonHFuBfJDiAJxMNhaQ==} resolution: {integrity: sha512-1uEQxww3DaghA0RxqHx0O0ppVlo43pJhepY51OxuQIKHpjbnYLA7vcdwioNPzIqmC2u3I/dmylcqjlh0e7AyUA==}
dev: true dev: true
/@wesbos/code-icons/1.2.4: /@wesbos/code-icons/1.2.4:
resolution: {integrity: sha512-ZiU0xf7epnCRrLDQIPnFstzoNWDvcUTtKoDU3VhpjsaGRzVClSmsi39c4kHxIOdfxvg4zwdW+goH96xr/vMTQQ==} resolution: {integrity: sha512-ZiU0xf7epnCRrLDQIPnFstzoNWDvcUTtKoDU3VhpjsaGRzVClSmsi39c4kHxIOdfxvg4zwdW+goH96xr/vMTQQ==}
dependencies: dependencies:
'@types/node': 18.14.1 '@types/node': 18.14.2
vite: 4.1.4_@types+node@18.14.1 vite: 4.1.4_@types+node@18.14.2
vite-plugin-dts: 1.7.3_75ucbpp7logpdg7n5tkyaoxqqm vite-plugin-dts: 1.7.3_2r2lhzpsyiotool4a27bb3llsy
vscode-icons-js: 11.6.1 vscode-icons-js: 11.6.1
transitivePeerDependencies: transitivePeerDependencies:
- less - less
...@@ -1380,7 +1380,7 @@ packages: ...@@ -1380,7 +1380,7 @@ packages:
postcss: ^8.1.0 postcss: ^8.1.0
dependencies: dependencies:
browserslist: 4.21.5 browserslist: 4.21.5
caniuse-lite: 1.0.30001457 caniuse-lite: 1.0.30001458
fraction.js: 4.2.0 fraction.js: 4.2.0
normalize-range: 0.1.2 normalize-range: 0.1.2
picocolors: 1.0.0 picocolors: 1.0.0
...@@ -1453,8 +1453,8 @@ packages: ...@@ -1453,8 +1453,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true hasBin: true
dependencies: dependencies:
caniuse-lite: 1.0.30001457 caniuse-lite: 1.0.30001458
electron-to-chromium: 1.4.308 electron-to-chromium: 1.4.313
node-releases: 2.0.10 node-releases: 2.0.10
update-browserslist-db: 1.0.10_browserslist@4.21.5 update-browserslist-db: 1.0.10_browserslist@4.21.5
dev: true dev: true
...@@ -1528,13 +1528,13 @@ packages: ...@@ -1528,13 +1528,13 @@ packages:
resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==}
dependencies: dependencies:
browserslist: 4.21.5 browserslist: 4.21.5
caniuse-lite: 1.0.30001457 caniuse-lite: 1.0.30001458
lodash.memoize: 4.1.2 lodash.memoize: 4.1.2
lodash.uniq: 4.5.0 lodash.uniq: 4.5.0
dev: true dev: true
/caniuse-lite/1.0.30001457: /caniuse-lite/1.0.30001458:
resolution: {integrity: sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA==} resolution: {integrity: sha512-lQ1VlUUq5q9ro9X+5gOEyH7i3vm+AYVT1WDCVB69XOZ17KZRhnZ9J0Sqz7wTHQaLBJccNCHq8/Ww5LlOIZbB0w==}
dev: true dev: true
/catharsis/0.9.0: /catharsis/0.9.0:
...@@ -1750,7 +1750,7 @@ packages: ...@@ -1750,7 +1750,7 @@ packages:
execa: 4.1.0 execa: 4.1.0
polyfill-library: 3.111.0 polyfill-library: 3.111.0
semver: 7.3.8 semver: 7.3.8
snyk: 1.1108.0 snyk: 1.1109.0
yargs: 15.4.1 yargs: 15.4.1
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
...@@ -2012,8 +2012,8 @@ packages: ...@@ -2012,8 +2012,8 @@ packages:
tslib: 2.5.0 tslib: 2.5.0
dev: true dev: true
/electron-to-chromium/1.4.308: /electron-to-chromium/1.4.313:
resolution: {integrity: sha512-qyTx2aDFjEni4UnRWEME9ubd2Xc9c0zerTUl/ZinvD4QPsF0S7kJTV/Es/lPCTkNX6smyYar+z/n8Cl6pFr8yQ==} resolution: {integrity: sha512-QckB9OVqr2oybjIrbMI99uF+b9+iTja5weFe0ePbqLb5BHqXOJUO1SG6kDj/1WtWPRIBr51N153AEq8m7HuIaA==}
dev: true dev: true
/emoji-regex/7.0.3: /emoji-regex/7.0.3:
...@@ -2248,8 +2248,8 @@ packages: ...@@ -2248,8 +2248,8 @@ packages:
hasBin: true hasBin: true
dev: true dev: true
/flow-bin/0.200.0: /flow-bin/0.200.1:
resolution: {integrity: sha512-4KquALYPkCCTCZ43GIqTDZDOf4znU3/kXsigpiwwORV8l/ctqwvKkqCOhjqvGy5DtbiL6WTPBqLwGAlxeGeNIA==} resolution: {integrity: sha512-0VCo3uZb0XIYF/sNFuLsGRpsUWnXbPi27MQ3AW7F1n7yAy2FEgMxDS/XQ3ubh5ga4M+yKrdeDsZ3IXwYyRNXMQ==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
hasBin: true hasBin: true
dev: true dev: true
...@@ -2408,15 +2408,14 @@ packages: ...@@ -2408,15 +2408,14 @@ packages:
path-is-absolute: 1.0.1 path-is-absolute: 1.0.1
dev: true dev: true
/glob/8.1.0: /glob/9.0.1:
resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} resolution: {integrity: sha512-psRdn8MI0gRcH0xow0VOhYxXD/6ZaRGmgtfN0oWN/hCgjxpRQBMCl7wE4JRJSAUTdJsW+FmD0EtE0CgJhKqSVw==}
engines: {node: '>=12'} engines: {node: '>=16 || 14 >=14.17'}
dependencies: dependencies:
fs.realpath: 1.0.0 fs.realpath: 1.0.0
inflight: 1.0.6 minimatch: 7.3.0
inherits: 2.0.4 minipass: 4.2.4
minimatch: 5.1.6 path-scurry: 1.5.0
once: 1.4.0
dev: true dev: true
/globals/11.12.0: /globals/11.12.0:
...@@ -2985,6 +2984,11 @@ packages: ...@@ -2985,6 +2984,11 @@ packages:
yallist: 4.0.0 yallist: 4.0.0
dev: true dev: true
/lru-cache/7.17.0:
resolution: {integrity: sha512-zSxlVVwOabhVyTi6E8gYv2cr6bXK+8ifYz5/uyJb9feXX6NACVDwY4p5Ut3WC3Ivo/QhpARHU3iujx2xGAYHbQ==}
engines: {node: '>=12'}
dev: true
/make-dir/3.1.0: /make-dir/3.1.0:
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
engines: {node: '>=8'} engines: {node: '>=8'}
...@@ -3081,6 +3085,18 @@ packages: ...@@ -3081,6 +3085,18 @@ packages:
brace-expansion: 2.0.1 brace-expansion: 2.0.1
dev: true dev: true
/minimatch/7.3.0:
resolution: {integrity: sha512-WaMDuhKa7a6zKiwplR1AOz+zGvJba24k5VU1Cy6NhEguavT2YRlHxuINUgTas4wiS6fwBpYq4TcA1XIECSntyw==}
engines: {node: '>=10'}
dependencies:
brace-expansion: 2.0.1
dev: true
/minipass/4.2.4:
resolution: {integrity: sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ==}
engines: {node: '>=8'}
dev: true
/mkdirp/1.0.4: /mkdirp/1.0.4:
resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==}
engines: {node: '>=10'} engines: {node: '>=10'}
...@@ -3386,6 +3402,14 @@ packages: ...@@ -3386,6 +3402,14 @@ packages:
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
dev: true dev: true
/path-scurry/1.5.0:
resolution: {integrity: sha512-hJ8rODLI9B2qwsYAd32rrI76gwVUPeu5kq/do6URDj2bJCVH3ilyT978Mv/NLuFMaqzHrn3XtiDLMZHaTTh4vA==}
engines: {node: '>=14'}
dependencies:
lru-cache: 7.17.0
minipass: 4.2.4
dev: true
/path-to-regexp/1.8.0: /path-to-regexp/1.8.0:
resolution: {integrity: sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==} resolution: {integrity: sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==}
dependencies: dependencies:
...@@ -4048,8 +4072,8 @@ packages: ...@@ -4048,8 +4072,8 @@ packages:
glob: 7.2.0 glob: 7.2.0
dev: true dev: true
/rollup/3.17.2: /rollup/3.17.3:
resolution: {integrity: sha512-qMNZdlQPCkWodrAZ3qnJtvCAl4vpQ8q77uEujVCCbC/6CLB7Lcmvjq7HyiOSnf4fxTT9XgsE36oLHJBH49xjqA==} resolution: {integrity: sha512-p5LaCXiiOL/wrOkj8djsIDFmyU9ysUxcyW+EKRLHb6TKldJzXpImjcRSR+vgo09DBdofGcOoLOsRyxxG2n5/qQ==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'} engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true hasBin: true
optionalDependencies: optionalDependencies:
...@@ -4167,8 +4191,8 @@ packages: ...@@ -4167,8 +4191,8 @@ packages:
supports-color: 7.2.0 supports-color: 7.2.0
dev: true dev: true
/snyk/1.1108.0: /snyk/1.1109.0:
resolution: {integrity: sha512-HThKYgmcZgNG9ONuGUtJ/JuUaDzyqRHbPljJc50dtU9nEBmUc915jtPfrKKITdn6K+Ap9Rs8eVqnXWq0MGW0hA==} resolution: {integrity: sha512-sBcibkAfcq6nXr6t0GieDjdc8kQfEf429+M1VKavGfLaJPQNIqSjtOhQJ5FcZqaB/mCWa1szektkHeyAiB4m9A==}
engines: {node: '>=12'} engines: {node: '>=12'}
hasBin: true hasBin: true
dev: true dev: true
...@@ -4553,21 +4577,21 @@ packages: ...@@ -4553,21 +4577,21 @@ packages:
resolution: {integrity: sha512-g0cm0wbrR6b6wR8FWtfD1RSDPacdumKEOAnneXv+NpJ9ez+j6rklRv6lMOO+aPf+Y6Zb8OzgIk0FXBZ6h+DeZQ==} resolution: {integrity: sha512-g0cm0wbrR6b6wR8FWtfD1RSDPacdumKEOAnneXv+NpJ9ez+j6rklRv6lMOO+aPf+Y6Zb8OzgIk0FXBZ6h+DeZQ==}
dev: true dev: true
/vite-plugin-dts/1.7.3_75ucbpp7logpdg7n5tkyaoxqqm: /vite-plugin-dts/1.7.3_2r2lhzpsyiotool4a27bb3llsy:
resolution: {integrity: sha512-u3t45p6fTbzUPMkwYe0ESwuUeiRMlwdPfD3dRyDKUwLe2WmEYcFyVp2o9/ke2EMrM51lQcmNWdV9eLcgjD1/ng==} resolution: {integrity: sha512-u3t45p6fTbzUPMkwYe0ESwuUeiRMlwdPfD3dRyDKUwLe2WmEYcFyVp2o9/ke2EMrM51lQcmNWdV9eLcgjD1/ng==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies: peerDependencies:
vite: '>=2.9.0' vite: '>=2.9.0'
dependencies: dependencies:
'@microsoft/api-extractor': 7.34.4_@types+node@18.14.1 '@microsoft/api-extractor': 7.34.4_@types+node@18.14.2
'@rollup/pluginutils': 5.0.2 '@rollup/pluginutils': 5.0.2
'@rushstack/node-core-library': 3.55.2_@types+node@18.14.1 '@rushstack/node-core-library': 3.55.2_@types+node@18.14.2
debug: 4.3.4 debug: 4.3.4
fast-glob: 3.2.12 fast-glob: 3.2.12
fs-extra: 10.1.0 fs-extra: 10.1.0
kolorist: 1.7.0 kolorist: 1.7.0
ts-morph: 17.0.1 ts-morph: 17.0.1
vite: 4.1.4_@types+node@18.14.1 vite: 4.1.4_@types+node@18.14.2
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- rollup - rollup
...@@ -4622,8 +4646,8 @@ packages: ...@@ -4622,8 +4646,8 @@ packages:
vite: 4.1.4 vite: 4.1.4
dev: true dev: true
/vite-plugin-mkcert/1.13.2_vite@4.1.4: /vite-plugin-mkcert/1.13.3_vite@4.1.4:
resolution: {integrity: sha512-zna6J66cgCaNt2vAP/kDLuBbzr3kivwS4wjBxGvoKK61PBdvlPW2M+vxEGEpuRrrW7X4vQAX9JzmXk1QSAI4Eg==} resolution: {integrity: sha512-cuAbOb6bHyTMhha9YimL6ZB/WoCcFy8d3uaf5n5Ovgybix1yvEu3pxARy2HjC5LJIS1qq6fFXG0+oj6/XMUapA==}
engines: {node: '>=v16.7.0'} engines: {node: '>=v16.7.0'}
peerDependencies: peerDependencies:
vite: '>=3' vite: '>=3'
...@@ -4666,12 +4690,12 @@ packages: ...@@ -4666,12 +4690,12 @@ packages:
esbuild: 0.16.17 esbuild: 0.16.17
postcss: 8.4.21 postcss: 8.4.21
resolve: 1.22.1 resolve: 1.22.1
rollup: 3.17.2 rollup: 3.17.3
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true
/vite/4.1.4_@types+node@18.14.1: /vite/4.1.4_@types+node@18.14.2:
resolution: {integrity: sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==} resolution: {integrity: sha512-3knk/HsbSTKEin43zHu7jTwYWv81f8kgAL99G5NWBcA1LKvtvcVAC4JjBH1arBunO9kQka+1oGbrMKOjk4ZrBg==}
engines: {node: ^14.18.0 || >=16.0.0} engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true hasBin: true
...@@ -4696,11 +4720,11 @@ packages: ...@@ -4696,11 +4720,11 @@ packages:
terser: terser:
optional: true optional: true
dependencies: dependencies:
'@types/node': 18.14.1 '@types/node': 18.14.2
esbuild: 0.16.17 esbuild: 0.16.17
postcss: 8.4.21 postcss: 8.4.21
resolve: 1.22.1 resolve: 1.22.1
rollup: 3.17.2 rollup: 3.17.3
optionalDependencies: optionalDependencies:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true
......
...@@ -28,6 +28,18 @@ describe('Transformer', function () { ...@@ -28,6 +28,18 @@ describe('Transformer', function () {
describe('Transformer.run()', function () { describe('Transformer.run()', function () {
[ [
['has-entries', {}, false],
['has-entries', {a:4}, true],
['has-entries', [], false],
['has-entries', "", false],
['has-entries', [1,2,3], true],
['has-entries', [1], true],
['has-entries', ["1"], true],
['has-entries', [true], true],
['contains:x', "asd wxd sdf", true],
['contains:x', "asd wd sdf", false],
['contains:b', ["a","b","c"], true],
['contains:x', ["a","b","c"], false],
['isundefined', "a", false], ['isundefined', "a", false],
['isundefined', null, false], ['isundefined', null, false],
['isundefined', undefined, true], ['isundefined', undefined, true],
......
...@@ -7,7 +7,7 @@ describe('Monster', function () { ...@@ -7,7 +7,7 @@ describe('Monster', function () {
let monsterVersion let monsterVersion
/** don´t touch, replaced by make with package.json version */ /** don´t touch, replaced by make with package.json version */
monsterVersion = new Version("3.16.1") monsterVersion = new Version("3.17.0")
let m = getMonsterVersion(); let m = getMonsterVersion();
......
{"version":"3.17.0"} {"version":"3.18.0"}