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.1.1"></a>
## [v3.1.1] - 2023-01-06
### Bug Fixes
- wrong class name
<a name="v3.1.0"></a> <a name="v3.1.0"></a>
## [v3.1.0] - 2023-01-06 ## [v3.1.0] - 2023-01-06
### Add Features ### Add Features
...@@ -130,6 +136,7 @@ ...@@ -130,6 +136,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.1.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.1.0...v3.1.1
[v3.1.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.0.0...v3.1.0 [v3.1.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v3.0.0...v3.1.0
[v3.0.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v2.2.1...v3.0.0 [v3.0.0]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v2.2.1...v3.0.0
[v2.2.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v2.2.0...v2.2.1 [v2.2.1]: https://gitlab.schukai.com/oss/libraries/javascript/monster/compare/v2.2.0...v2.2.1
......
{ {
"name": "@schukai/monster", "name": "@schukai/monster",
"version": "3.0.0", "version": "3.1.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",
......
...@@ -16,14 +16,14 @@ export {WebSocketDatasource} ...@@ -16,14 +16,14 @@ export {WebSocketDatasource}
/** /**
* @private * @private
* @type {symbol} * @type {Symbol}
*/ */
const receiveQueueSymbol = Symbol("queue"); const receiveQueueSymbol = Symbol("queue");
/** /**
* @private * @private
* @type {symbol} * @type {Symbol}
* *
* hint: this name is used in the tests. if you want to change it, please change it in the tests as well. * hint: this name is used in the tests. if you want to change it, please change it in the tests as well.
*/ */
...@@ -330,7 +330,7 @@ class WebSocketDatasource extends Datasource { ...@@ -330,7 +330,7 @@ class WebSocketDatasource extends Datasource {
*/ */
getClone() { getClone() {
const self = this; const self = this;
return new Websocketdatasource(self[internalSymbol].getRealSubject()['options']); return new WebSocketDatasource(self[internalSymbol].getRealSubject()['options']);
} }
} }
......
...@@ -149,7 +149,7 @@ function getMonsterVersion() { ...@@ -149,7 +149,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.0.0') monsterVersion = new Version('3.1.0')
return monsterVersion; return monsterVersion;
......
{ {
"name": "monster", "name": "monster",
"version": "3.0.0", "version": "3.1.0",
"description": "monster", "description": "monster",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://gitlab.schukai.com/oss/libraries/javascript/monster.git" "url": "https://gitlab.schukai.com/oss/libraries/javascript/monster.git"
}, },
"bugs": {
"url": "https://gitlab.schukai.com/oss/libraries/javascript/monster/-/issues"
},
"scripts": { "scripts": {
"test": "npx mocha --recursive test/cases/", "test": "npx mocha --recursive test/cases/",
"web-test": "script/web-test.sh", "web-test": "script/web-test.sh",
......
...@@ -74,19 +74,19 @@ packages: ...@@ -74,19 +74,19 @@ packages:
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
dev: true dev: true
/@babel/core/7.20.7: /@babel/core/7.20.12:
resolution: {integrity: sha512-t1ZjCluspe5DW24bn2Rr1CDb2v9rn/hROtg9a2tmd0+QYf4bsloYfLQzjG4qHPNMhWtKdGC33R5AxGR2Af2cBw==} resolution: {integrity: sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
dependencies: dependencies:
'@ampproject/remapping': 2.2.0 '@ampproject/remapping': 2.2.0
'@babel/code-frame': 7.18.6 '@babel/code-frame': 7.18.6
'@babel/generator': 7.20.7 '@babel/generator': 7.20.7
'@babel/helper-compilation-targets': 7.20.7_@babel+core@7.20.7 '@babel/helper-compilation-targets': 7.20.7_@babel+core@7.20.12
'@babel/helper-module-transforms': 7.20.11 '@babel/helper-module-transforms': 7.20.11
'@babel/helpers': 7.20.7 '@babel/helpers': 7.20.7
'@babel/parser': 7.20.7 '@babel/parser': 7.20.7
'@babel/template': 7.20.7 '@babel/template': 7.20.7
'@babel/traverse': 7.20.10 '@babel/traverse': 7.20.12
'@babel/types': 7.20.7 '@babel/types': 7.20.7
convert-source-map: 1.9.0 convert-source-map: 1.9.0
debug: 4.3.4 debug: 4.3.4
...@@ -106,14 +106,14 @@ packages: ...@@ -106,14 +106,14 @@ packages:
jsesc: 2.5.2 jsesc: 2.5.2
dev: true dev: true
/@babel/helper-compilation-targets/7.20.7_@babel+core@7.20.7: /@babel/helper-compilation-targets/7.20.7_@babel+core@7.20.12:
resolution: {integrity: sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==} resolution: {integrity: sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
peerDependencies: peerDependencies:
'@babel/core': ^7.0.0 '@babel/core': ^7.0.0
dependencies: dependencies:
'@babel/compat-data': 7.20.10 '@babel/compat-data': 7.20.10
'@babel/core': 7.20.7 '@babel/core': 7.20.12
'@babel/helper-validator-option': 7.18.6 '@babel/helper-validator-option': 7.18.6
browserslist: 4.21.4 browserslist: 4.21.4
lru-cache: 5.1.1 lru-cache: 5.1.1
...@@ -157,7 +157,7 @@ packages: ...@@ -157,7 +157,7 @@ packages:
'@babel/helper-split-export-declaration': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6
'@babel/helper-validator-identifier': 7.19.1 '@babel/helper-validator-identifier': 7.19.1
'@babel/template': 7.20.7 '@babel/template': 7.20.7
'@babel/traverse': 7.20.10 '@babel/traverse': 7.20.12
'@babel/types': 7.20.7 '@babel/types': 7.20.7
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
...@@ -197,7 +197,7 @@ packages: ...@@ -197,7 +197,7 @@ packages:
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
dependencies: dependencies:
'@babel/template': 7.20.7 '@babel/template': 7.20.7
'@babel/traverse': 7.20.10 '@babel/traverse': 7.20.12
'@babel/types': 7.20.7 '@babel/types': 7.20.7
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
...@@ -229,8 +229,8 @@ packages: ...@@ -229,8 +229,8 @@ packages:
'@babel/types': 7.20.7 '@babel/types': 7.20.7
dev: true dev: true
/@babel/traverse/7.20.10: /@babel/traverse/7.20.12:
resolution: {integrity: sha512-oSf1juCgymrSez8NI4A2sr4+uB/mFd9MXplYGPEBnfAuWmmyeVcHa6xLPiaRBcXkcb/28bgxmQLTVwFKE1yfsg==} resolution: {integrity: sha512-MsIbFN0u+raeja38qboyF8TIT7K0BFzz/Yd/77ta4MsUsmP2RAnidIlwq7d5HFQrH/OZJecGV6B71C4zAgpoSQ==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
dependencies: dependencies:
'@babel/code-frame': 7.18.6 '@babel/code-frame': 7.18.6
...@@ -273,7 +273,7 @@ packages: ...@@ -273,7 +273,7 @@ packages:
resolution: {integrity: sha512-AouQ5I0a9TeRdHSN093WX5yz3ZlMbRyQ1xHn7K4OmXcbsRnS96Biy5Q2sTkqLwwTouAk/SNeWIjzrDZFQHp9Mw==} resolution: {integrity: sha512-AouQ5I0a9TeRdHSN093WX5yz3ZlMbRyQ1xHn7K4OmXcbsRnS96Biy5Q2sTkqLwwTouAk/SNeWIjzrDZFQHp9Mw==}
hasBin: true hasBin: true
dependencies: dependencies:
'@babel/core': 7.20.7 '@babel/core': 7.20.12
globals: 11.12.0 globals: 11.12.0
yargs: 13.3.2 yargs: 13.3.2
transitivePeerDependencies: transitivePeerDependencies:
...@@ -586,7 +586,7 @@ packages: ...@@ -586,7 +586,7 @@ 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.30001441 caniuse-lite: 1.0.30001442
electron-to-chromium: 1.4.284 electron-to-chromium: 1.4.284
node-releases: 2.0.8 node-releases: 2.0.8
update-browserslist-db: 1.0.10_browserslist@4.21.4 update-browserslist-db: 1.0.10_browserslist@4.21.4
...@@ -641,8 +641,8 @@ packages: ...@@ -641,8 +641,8 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
dev: true dev: true
/caniuse-lite/1.0.30001441: /caniuse-lite/1.0.30001442:
resolution: {integrity: sha512-OyxRR4Vof59I3yGWXws6i908EtGbMzVUi3ganaZQHmydk1iwDhRnvaPG2WaR0KcqrDFKrxVZHULT396LEPhXfg==} resolution: {integrity: sha512-239m03Pqy0hwxYPYR5JwOIxRJfLTWtle9FV8zosfV5pHg+/51uD4nxcUlM8+mWWGfwKtt8lJNHnD3cWw9VZ6ow==}
dev: true dev: true
/catharsis/0.9.0: /catharsis/0.9.0:
...@@ -816,13 +816,13 @@ packages: ...@@ -816,13 +816,13 @@ packages:
resolution: {integrity: sha512-uhipnEEH6SkC176Za0Rt3D7pTV60nTiS2Vn4wZBIQacUtfPBxuTG4dox/jy2yXDCEiFX62gYhehvCIYPudjzFA==} resolution: {integrity: sha512-uhipnEEH6SkC176Za0Rt3D7pTV60nTiS2Vn4wZBIQacUtfPBxuTG4dox/jy2yXDCEiFX62gYhehvCIYPudjzFA==}
hasBin: true hasBin: true
dependencies: dependencies:
'@babel/core': 7.20.7 '@babel/core': 7.20.12
'@financial-times/js-features-analyser': 0.0.4 '@financial-times/js-features-analyser': 0.0.4
browserslist: 4.21.4 browserslist: 4.21.4
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.1080.0 snyk: 1.1081.0
yargs: 15.4.1 yargs: 15.4.1
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
...@@ -2454,8 +2454,8 @@ packages: ...@@ -2454,8 +2454,8 @@ packages:
supports-color: 7.2.0 supports-color: 7.2.0
dev: true dev: true
/snyk/1.1080.0: /snyk/1.1081.0:
resolution: {integrity: sha512-ELqdJ8hCM/oWyMGbclhRkqezvBtJBBjT99AtpqKgIZu8TNCa8NPYc2TlgqCDaxERr2QYtzeh/qXE56EziDt1LA==} resolution: {integrity: sha512-vezueoJQSmQM7iVhfHFgABigBzX4Y+KxIol6kLSK5FbyFYxerAKx5nXH0SjGLwqt06QAX6JzEhYXdEL0vG4cRg==}
engines: {node: '>=12'} engines: {node: '>=12'}
hasBin: true hasBin: true
dev: true dev: true
......
...@@ -37,6 +37,16 @@ describe('Websocket', function () { ...@@ -37,6 +37,16 @@ describe('Websocket', function () {
done() done()
}); });
it('should get clone', function () {
ds = new WebSocketDatasource(testUrl)
const clone = ds.getClone()
expect(clone).to.be.an.instanceof(WebSocketDatasource)
})
it('should connect', function (done) { it('should connect', function (done) {
ds = new WebSocketDatasource({ ds = new WebSocketDatasource({
url: testUrl, url: testUrl,
......
...@@ -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.0.0') monsterVersion = new Version('3.1.0')
let m = getMonsterVersion(); let m = getMonsterVersion();
......
{"version":"3.1.0"} {"version":"3.1.1"}