@schukai/monster 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schukai/monster",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -4,9 +4,9 @@
4
4
  */
5
5
 
6
6
  /**
7
- * Namespace for storages
7
+ * Namespace for server
8
8
  *
9
- * @namespace Monster.Data.Datasource.RestAPI
9
+ * @namespace Monster.Data.Datasource.Server
10
10
  * @memberOf Monster.Data.Datasource
11
11
  * @author schukai GmbH
12
12
  */
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright 2022 schukai GmbH
3
+ * SPDX-License-Identifier: AGPL-3.0
4
+ */
5
+
6
+ /**
7
+ * Namespace for storages
8
+ *
9
+ * @namespace Monster.Data.Datasource.Server.RestAPI
10
+ * @memberOf Monster.Data.Datasource.Server
11
+ * @author schukai GmbH
12
+ */
13
+ const ns = {};
@@ -5,7 +5,7 @@
5
5
  * License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
6
6
  */
7
7
 
8
- import {internalSymbol,instanceSymbol} from "../../../constants.mjs";
8
+ import {internalSymbol,instanceSymbol} from "../../../../constants.mjs";
9
9
 
10
10
  export {WriteError}
11
11
 
@@ -15,7 +15,7 @@ export {WriteError}
15
15
  * @license AGPLv3
16
16
  * @since 1.24.0
17
17
  * @copyright schukai GmbH
18
- * @memberOf Monster.Data.Datasource.RestAPI
18
+ * @memberOf Monster.Data.Datasource.Server.RestAPI
19
19
  * @summary the error is thrown by the rest api in case of error
20
20
  */
21
21
  class WriteError extends Error {
@@ -38,7 +38,7 @@ class WriteError extends Error {
38
38
  * @since 2.1.0
39
39
  */
40
40
  static get [instanceSymbol]() {
41
- return Symbol.for("@schukai/monster/data/datasource/restapi/writeerror");
41
+ return Symbol.for("@schukai/monster/data/datasource/server/restapi/writeerror");
42
42
  }
43
43
 
44
44
  /**
@@ -10,7 +10,7 @@ import {isObject} from "../../../types/is.mjs";
10
10
  import {Server} from "../server.mjs";
11
11
  import {Pathfinder} from "../../pathfinder.mjs";
12
12
  import {Pipe} from "../../pipe.mjs";
13
- import {WriteError} from "../restapi/writeerror.mjs";
13
+ import {WriteError} from "./restapi/writeerror.mjs";
14
14
 
15
15
  export {RestAPI}
16
16
 
@@ -11,10 +11,8 @@ import {WebConnect as NetWebConnect} from "../../../net/webconnect.mjs";
11
11
  import {Message} from "../../../net/webconnect/message.mjs";
12
12
  import {Server} from "../server.mjs";
13
13
 
14
-
15
14
  export {WebConnect}
16
15
 
17
-
18
16
  /**
19
17
  * @private
20
18
  * @type {Symbol}
@@ -192,7 +192,7 @@ export {SessionStorage} from "./data/datasource/storage/sessionstorage.mjs"
192
192
  export {LocalStorage} from "./data/datasource/storage/localstorage.mjs"
193
193
  export {RestAPI} from "./data/datasource/server/restapi.mjs"
194
194
  export {WebConnect} from "./data/datasource/server/webconnect.mjs"
195
- export {WriteError} from "./data/datasource/restapi/writeerror.mjs"
195
+ export {WriteError} from "./data/datasource/server/restapi/writeerror.mjs"
196
196
  export {Storage, storageObjectSymbol} from "./data/datasource/storage.mjs"
197
197
  export {random} from "./math/random.mjs"
198
198
 
@@ -149,7 +149,7 @@ function getMonsterVersion() {
149
149
  }
150
150
 
151
151
  /** don't touch, replaced by make with package.json version */
152
- monsterVersion = new Version('3.4.0')
152
+ monsterVersion = new Version('3.4.1')
153
153
 
154
154
  return monsterVersion;
155
155
 
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version('3.4.0')
10
+ monsterVersion = new Version('3.4.1')
11
11
 
12
12
  let m = getMonsterVersion();
13
13
 
@@ -14,8 +14,8 @@
14
14
  </head>
15
15
  <body>
16
16
  <div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
17
- <h1 style='margin-bottom: 0.1em;'>Monster 3.3.0</h1>
18
- <div id="lastupdate" style='font-size:0.7em'>last update So 8. Jan 17:05:05 CET 2023</div>
17
+ <h1 style='margin-bottom: 0.1em;'>Monster 3.4.0</h1>
18
+ <div id="lastupdate" style='font-size:0.7em'>last update So 8. Jan 17:17:24 CET 2023</div>
19
19
  </div>
20
20
  <div id="mocks"></div>
21
21
  <div id="mocha"></div>