express-sweet 1.0.44 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/CHANGELOG.md +38 -14
  2. package/QUICK_START.md +149 -0
  3. package/README.md +38 -147
  4. package/dist/build.common.js +28 -22
  5. package/dist/build.esm.js +28 -22
  6. package/docs/package-lock.json +1243 -35
  7. package/docs/package.json +1 -1
  8. package/docs/src/database-class.hbs +1 -1
  9. package/docs/src/index.hbs +2 -2
  10. package/docs/src/install.hbs +12 -12
  11. package/docs/src/layout/default.hbs +147 -25
  12. package/docs/src/model-class.hbs +28 -28
  13. package/docs/src/rekognition-class.hbs +17 -17
  14. package/docs/src/ses-class.hbs +13 -13
  15. package/docs/src/view.hbs +66 -66
  16. package/docs/v1/authentication-overview.html +146 -24
  17. package/docs/v1/base-configuration.html +146 -24
  18. package/docs/v1/bounding-box-interface.html +146 -24
  19. package/docs/v1/changelog.html +146 -24
  20. package/docs/v1/css/app.css +21 -0
  21. package/docs/v1/database-class.html +147 -25
  22. package/docs/v1/download/templates/cjs/authentication.js +0 -14
  23. package/docs/v1/download/templates/cjs/database.js +3 -3
  24. package/docs/v1/download/templates/esm/authentication.js +0 -14
  25. package/docs/v1/download/templates/esm/database.js +3 -3
  26. package/docs/v1/environment-variable.html +146 -24
  27. package/docs/v1/face-details-emotions-interface.html +146 -24
  28. package/docs/v1/face-details-interface.html +146 -24
  29. package/docs/v1/face-match-interface.html +146 -24
  30. package/docs/v1/facial-recognition-overview.html +146 -24
  31. package/docs/v1/index-face-details-interface.html +146 -24
  32. package/docs/v1/index.html +148 -26
  33. package/docs/v1/install.html +158 -36
  34. package/docs/v1/login-procedure.html +146 -24
  35. package/docs/v1/logout-procedure.html +146 -24
  36. package/docs/v1/media/logos/default-dark.svg +1 -0
  37. package/docs/v1/media/logos/default-small-dark.svg +1 -0
  38. package/docs/v1/media/logos/default-small.svg +1 -1
  39. package/docs/v1/media/logos/default.svg +1 -1
  40. package/docs/v1/media/logos/favicon.svg +1 -1
  41. package/docs/v1/media/screencaps/login.jpg +0 -0
  42. package/docs/v1/media/screencaps/personal.jpg +0 -0
  43. package/docs/v1/media/screencaps/user-editing.jpg +0 -0
  44. package/docs/v1/media/screencaps/users.jpg +0 -0
  45. package/docs/v1/model-class.html +174 -52
  46. package/docs/v1/model-overview.html +146 -24
  47. package/docs/v1/rekognition-class.html +163 -41
  48. package/docs/v1/routing.html +146 -24
  49. package/docs/v1/ses-class.html +159 -37
  50. package/docs/v1/ses-overview.html +146 -24
  51. package/docs/v1/view.html +212 -90
  52. package/package.json +13 -17
  53. package/screencaps/login.jpg +0 -0
  54. package/screencaps/personal.jpg +0 -0
  55. package/screencaps/user-editing.jpg +0 -0
  56. package/screencaps/users.jpg +0 -0
  57. package/types/interfaces/AuthenticationConfig.d.ts +1 -0
  58. package/types/interfaces/BasicConfig.d.ts +1 -0
  59. package/types/interfaces/ViewConfig.d.ts +1 -0
  60. package/types/services/Authentication.d.ts +1 -0
  61. package/docs/v1/css/docs.css +0 -37
  62. package/docs/v1/media/screencaps/login.png +0 -0
  63. package/docs/v1/media/screencaps/personal-editing.png +0 -0
  64. package/docs/v1/media/screencaps/personal.png +0 -0
  65. package/docs/v1/media/screencaps/user-editing.png +0 -0
  66. package/docs/v1/media/screencaps/users.png +0 -0
  67. package/screencaps/login.png +0 -0
  68. package/screencaps/personal-editing.png +0 -0
  69. package/screencaps/personal.png +0 -0
  70. package/screencaps/user-editing.png +0 -0
  71. package/screencaps/users.png +0 -0
  72. /package/docs/{compile-documentation.js → generate-documentation.js} +0 -0
  73. /package/docs/v1/js/{docs.js → app.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,6 +1,27 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [1.1.1] - 2024/3/23
5
+ ### Changed
6
+ - When cookie security is enabled (`config/authentication.js#cookie_secure`) and the application is running on the HTTP protocol, the following warning message is output upon user authentication.
7
+ ```sh
8
+ Warning: Cookie security must be disabled for user authentication to work over the HTTP protocol (config/authentication.js#cookie_secure)
9
+ ```
10
+
11
+ ## [1.1.0] - 2024/3/6
12
+ ### Changed
13
+ - Updated Express Sweet's dependency packages.
14
+ - [express](https://www.npmjs.com/package/express) from v4.18.2 to v4.18.3
15
+ - [multer](https://www.npmjs.com/package/multer) from v1.4.4 to v1.4.5-lts.1
16
+ - [express-session](https://www.npmjs.com/package/express-session) from v1.17.3 to v1.18.0
17
+ - [sequelize](https://www.npmjs.com/package/sequelize) from v6.32.0 to v6.37.1
18
+ - [mariadb](https://www.npmjs.com/package/mariadb) from v2.4.0 to v3.2.3
19
+ - [moment](https://www.npmjs.com/package/moment) from v2.29.4 to v2.30.1
20
+ - Update [metronic-extension](https://www.npmjs.com/package/metronic-extension) of the demo from v1.0.1 to v3.0.9.
21
+
22
+ ### Added
23
+ - Demo (./demo) Docker environment added. See [here](demo/README.md) for details.
24
+
4
25
  ## [1.0.44] - 2023/12/30
5
26
  ### Changed
6
27
  - The `Secure` and `HttpOnly` attributes of the session cookie can now be set from the authentication configuration file (`config/authentication.js`).
@@ -8,17 +29,17 @@ All notable changes to this project will be documented in this file.
8
29
  config/authentication.js:
9
30
  ```js
10
31
  /**
11
- * Specifies the boolean value for the Secure Set-Cookie attribute.
12
- * The default is true, which sets the Secure attribute on the cookie.
13
- * @type {boolean|undefined}
14
- */
15
- cookie_secure: false,
32
+ * Specifies the boolean value for the Secure Set-Cookie attribute.
33
+ * The default is true, which sets the Secure attribute on the cookie.
34
+ * @type {boolean|undefined}
35
+ */
36
+ cookie_secure: true,
16
37
 
17
38
  /**
18
- * Specifies the boolean value for the HttpOnly Set-Cookie attribute.
19
- * Defaults to true, which sets the HttpOnly attribute on the cookie.
20
- * @type {boolean|undefined}
21
- */
39
+ * Specifies the boolean value for the HttpOnly Set-Cookie attribute.
40
+ * Defaults to true, which sets the HttpOnly attribute on the cookie.
41
+ * @type {boolean|undefined}
42
+ */
22
43
  cookie_httpOnly: true,
23
44
  ```
24
45
 
@@ -29,10 +50,10 @@ All notable changes to this project will be documented in this file.
29
50
  config/authentication.js:
30
51
  ```js
31
52
  /**
32
- * The name of the session ID cookie to set in the response (and read from in the request).
33
- * The default value is 'connect.sid'.
34
- * @type {string|undefined}
35
- */
53
+ * The name of the session ID cookie to set in the response (and read from in the request).
54
+ * The default value is 'connect.sid'.
55
+ * @type {string|undefined}
56
+ */
36
57
  cookie_name: 'connect.sid'
37
58
  ```
38
59
 
@@ -810,4 +831,7 @@ All notable changes to this project will be documented in this file.
810
831
  [1.0.41]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.40...v1.0.41
811
832
  [1.0.42]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.41...v1.0.42
812
833
  [1.0.43]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.42...v1.0.43
813
- [1.0.44]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.43...v1.0.44
834
+ [1.0.44]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.43...v1.0.44
835
+ [1.0.45]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.44...v1.0.45
836
+ [1.1.0]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.45...v1.1.0
837
+ [1.1.1]: https://github.com/takuya-motoshima/express-sweet/compare/v1.1.0...v1.1.1
package/QUICK_START.md ADDED
@@ -0,0 +1,149 @@
1
+ # Quick Start
2
+
3
+ The easiest way to get started with Express Sweet is to install express-sweet-generator and automatically create a template application.
4
+ The following application can be started immediately by executing the template.
5
+ See <a href="https://takuya-motoshima.github.io/express-sweet/v1/" target="_blank">here</a> for instructions on using express-sweet.
6
+
7
+ <p align="center">
8
+ <img alt="login" src="screencaps/login.jpg" width="45%">
9
+ <img alt="users" src="screencaps/users.jpg" width="45%">
10
+ </p>
11
+ <p align="center">
12
+ <img alt="user-editing" src="screencaps/user-editing.jpg" width="45%">
13
+ <img alt="personal" src="screencaps/personal.jpg" width="45%">
14
+ </p>
15
+
16
+ 1. Use the application generator tool, express-sweet-generator, to quickly create an application skeleton.
17
+ ```sh
18
+ npm install -g express-sweet-generator
19
+ ```
20
+
21
+ 1. Create an Express myapp named myapp.
22
+ The app is created in a folder named myapp in the working directory.
23
+ ```sh
24
+ express-sweet myapp
25
+ # If you want to use ESM, below.
26
+ #express-sweet -o esm myapp
27
+ ```
28
+ 1. Install dependent packages.
29
+ ```sh
30
+ cd myapp
31
+ npm install
32
+ ```
33
+ 1. This sample application uses a database.
34
+ Execute the following SQL to create the database.
35
+ ```sql
36
+ CREATE DATABASE IF NOT EXISTS `express_sweet_db` DEFAULT CHARACTER SET utf8mb4;
37
+
38
+ USE `express_sweet_db`;
39
+
40
+ CREATE TABLE `user` (
41
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
42
+ `name` varchar(30) NOT NULL,
43
+ `email` varchar(255) NOT NULL,
44
+ `password` varchar(100) NOT NULL,
45
+ `icon` varchar(768) NOT NULL DEFAULT MD5(RAND()),
46
+ `created` datetime NOT NULL DEFAULT current_timestamp(),
47
+ `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
48
+ PRIMARY KEY (`id`),
49
+ UNIQUE KEY `ukUserEmail` (`email`),
50
+ UNIQUE KEY `ukUserIcon`(`icon`)
51
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
52
+
53
+ CREATE TABLE `profile` (
54
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
55
+ `userId` int(10) unsigned NOT NULL,
56
+ `address` varchar(255) NOT NULL,
57
+ `tel` varchar(14) NOT NULL,
58
+ `created` datetime NOT NULL DEFAULT current_timestamp(),
59
+ `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
60
+ PRIMARY KEY (`id`),
61
+ UNIQUE KEY `ukProfileUserId` (`userId`),
62
+ CONSTRAINT `fkProfileUser` FOREIGN KEY (`userId`) REFERENCES `user` (`id`)
63
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
64
+
65
+ CREATE TABLE `comment` (
66
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
67
+ `userId` int(10) unsigned NOT NULL,
68
+ `text` text NOT NULL,
69
+ `created` datetime NOT NULL DEFAULT current_timestamp(),
70
+ `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
71
+ PRIMARY KEY (`id`),
72
+ CONSTRAINT `fkCommentUser` FOREIGN KEY (`userId`) REFERENCES `user` (`id`)
73
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
74
+
75
+ CREATE TABLE `book` (
76
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
77
+ `userId` int(10) unsigned NOT NULL,
78
+ `title` text NOT NULL,
79
+ `created` datetime NOT NULL DEFAULT current_timestamp(),
80
+ `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
81
+ PRIMARY KEY (`id`),
82
+ UNIQUE KEY `ukBookTitle` (`userId`, `title`(255)),
83
+ CONSTRAINT `fkBookUser` FOREIGN KEY (`userId`) REFERENCES `user` (`id`)
84
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
85
+
86
+ INSERT INTO `user` (`id`, `email`, `password`, `name`, `icon`) VALUES
87
+ (1, 'robin@example.com', 'password', 'Robin', '/upload/1.png'),
88
+ (2, 'taylor@example.com', 'password', 'Taylor', '/upload/2.png');
89
+
90
+ INSERT INTO `profile` (`userId`, `address`, `tel`) VALUES
91
+ (1, '777 Brockton Avenue, Abington MA 2351', '202-555-0105'),
92
+ (2, '30 Memorial Drive, Avon MA 2322', '');
93
+
94
+ INSERT INTO `comment` (`userId`, `text`) VALUES
95
+ (1, 'From Robin #1'),
96
+ (1, 'From Robin #2'),
97
+ (2, 'From Taylor #1');
98
+
99
+ INSERT INTO `book` (`userId`, `title`) VALUES
100
+ (1, 'Beautiful'),
101
+ (1, 'Lose Yourself'),
102
+ (2, 'When Im Gone');
103
+ ```
104
+ 1. Build front-end JS.
105
+ ```sh
106
+ cd myapp/client
107
+ npm install
108
+ npm run build
109
+ ```
110
+ 1. Next, you need to set how the database is connected.
111
+ The database connection method can be set in config/database.js, so change it according to your environment.
112
+ See [here](https://sequelize.org/docs/v6/other-topics/migrations/#cfg) for details.
113
+ ```js
114
+ // For ESM, use "export default".
115
+ //export default {
116
+ module.exports = {
117
+ development: {
118
+ username: 'root',
119
+ password: 'password',
120
+ database: 'express_sweet_db',
121
+ host: 'localhost',
122
+ dialect: 'mariadb'
123
+ },
124
+ test: {
125
+ username: 'root',
126
+ password: 'password',
127
+ database: 'express_sweet_db',
128
+ host: 'localhost',
129
+ dialect: 'mariadb'
130
+ },
131
+ production: {
132
+ username: 'root',
133
+ password: 'password',
134
+ database: 'express_sweet_db',
135
+ host: 'localhost',
136
+ dialect: 'mariadb'
137
+ }
138
+ }
139
+ ```
140
+ 1. The DB to be used can be defined individually for each environment.
141
+ Specify the environment in the .env file.
142
+ ```js
143
+ NODE_ENV=development
144
+ ```
145
+ 1. Launch the application.
146
+ ```sh
147
+ cd myapp
148
+ npm start
149
+ ```
package/README.md CHANGED
@@ -1,155 +1,46 @@
1
- # EXPRESS SWEET
1
+ # Express Sweet
2
2
  This is an extension of Express.
3
3
 
4
+ - [Express Sweet](#express-sweet)
5
+ - [Documentation](#documentation)
6
+ - [Quick Start](#quick-start)
7
+ - [How to start the demo with Docker](#how-to-start-the-demo-with-docker)
8
+ - [Release Notes](#release-notes)
9
+ - [Testing](#testing)
10
+ - [Author](#author)
11
+ - [License](#license)
12
+
4
13
  ## Documentation
5
- * [Express Sweet Documentation](https://takuya-motoshima.github.io/express-sweet/v1/)
6
- * [Changelog](CHANGELOG.md)
14
+ For Express Sweet documentation, please click [here](https://takuya-motoshima.github.io/express-sweet/v1/).
7
15
 
8
16
  ## Quick Start
9
- The easiest way to get started with Express Sweet is to install express-sweet-generator and automatically create a template application.
10
- The following application can be started immediately by executing the template.
11
- See <a href="https://takuya-motoshima.github.io/express-sweet/v1/" target="_blank">here</a> for instructions on using express-sweet.
12
-
13
- <p align="center">
14
- <img alt="login" src="screencaps/login.png" width="45%">
15
- <img alt="users" src="screencaps/users.png" width="45%">
16
- </p>
17
- <p align="center">
18
- <img alt="user-editing" src="screencaps/user-editing.png" width="45%">
19
- <img alt="personal" src="screencaps/personal.png" width="45%">
20
- </p>
21
-
22
- 1. Use the application generator tool, express-sweet-generator, to quickly create an application skeleton.
23
- ```sh
24
- npm install -g express-sweet-generator
25
- ```
26
-
27
- 1. Create an Express myapp named myapp.
28
- The app is created in a folder named myapp in the working directory.
29
- ```sh
30
- express-sweet myapp
31
- # If you want to use ESM, below.
32
- #express-sweet -o esm myapp
33
- ```
34
- 1. Install dependent packages.
35
- ```sh
36
- cd myapp
37
- npm install
38
- ```
39
- 1. This sample application uses a database.
40
- Execute the following SQL to create the database.
41
- ```sql
42
- CREATE DATABASE IF NOT EXISTS `sampledb` DEFAULT CHARACTER SET utf8mb4;
43
-
44
- USE `sampledb`;
45
-
46
- CREATE TABLE `user` (
47
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
48
- `name` varchar(30) NOT NULL,
49
- `email` varchar(255) NOT NULL,
50
- `password` varchar(100) NOT NULL,
51
- `icon` varchar(768) NOT NULL DEFAULT MD5(RAND()),
52
- `created` datetime NOT NULL DEFAULT current_timestamp(),
53
- `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
54
- PRIMARY KEY (`id`),
55
- UNIQUE KEY `ukUserEmail` (`email`),
56
- UNIQUE KEY `ukUserIcon`(`icon`)
57
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
58
-
59
- CREATE TABLE `profile` (
60
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
61
- `userId` int(10) unsigned NOT NULL,
62
- `address` varchar(255) NOT NULL,
63
- `tel` varchar(14) NOT NULL,
64
- `created` datetime NOT NULL DEFAULT current_timestamp(),
65
- `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
66
- PRIMARY KEY (`id`),
67
- UNIQUE KEY `ukProfileUserId` (`userId`),
68
- CONSTRAINT `fkProfileUser` FOREIGN KEY (`userId`) REFERENCES `user` (`id`)
69
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
70
-
71
- CREATE TABLE `comment` (
72
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
73
- `userId` int(10) unsigned NOT NULL,
74
- `text` text NOT NULL,
75
- `created` datetime NOT NULL DEFAULT current_timestamp(),
76
- `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
77
- PRIMARY KEY (`id`),
78
- CONSTRAINT `fkCommentUser` FOREIGN KEY (`userId`) REFERENCES `user` (`id`)
79
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
80
-
81
- CREATE TABLE `book` (
82
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
83
- `userId` int(10) unsigned NOT NULL,
84
- `title` text NOT NULL,
85
- `created` datetime NOT NULL DEFAULT current_timestamp(),
86
- `modified` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
87
- PRIMARY KEY (`id`),
88
- UNIQUE KEY `ukBookTitle` (`userId`, `title`(255)),
89
- CONSTRAINT `fkBookUser` FOREIGN KEY (`userId`) REFERENCES `user` (`id`)
90
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
91
-
92
- INSERT INTO `user` (`id`, `email`, `password`, `name`, `icon`) VALUES
93
- (1, 'robin@example.com', 'password', 'Robin', '/upload/1.png'),
94
- (2, 'taylor@example.com', 'password', 'Taylor', '/upload/2.png');
95
- INSERT INTO `profile` (`userId`, `address`, `tel`) VALUES
96
- (1, '777 Brockton Avenue, Abington MA 2351', '202-555-0105'),
97
- (2, '30 Memorial Drive, Avon MA 2322', '');
98
- INSERT INTO `comment` (`userId`, `text`) VALUES
99
- (1, 'From Robin #1'),
100
- (1, 'From Robin #2'),
101
- (2, 'From Taylor #1');
102
- INSERT INTO `book` (`userId`, `title`) VALUES
103
- (1, 'Beautiful'),
104
- (1, 'Lose Yourself'),
105
- (2, 'When Im Gone');
106
- ```
107
- 1. Build front-end JS.
108
- ```sh
109
- cd myapp/client
110
- npm install
111
- npm run build
112
- ```
113
- 1. Next, you need to set how the database is connected.
114
- The database connection method can be set in config/database.js, so change it according to your environment.
115
- See [here](https://sequelize.org/docs/v6/other-topics/migrations/#cfg) for details.
116
- ```js
117
- // For ESM, use "export default".
118
- //export default {
119
- module.exports = {
120
- development: {
121
- username: 'root',
122
- password: 'password',
123
- database: 'sampledb',
124
- host: 'localhost',
125
- dialect: 'mariadb'
126
- },
127
- test: {
128
- username: 'root',
129
- password: 'password',
130
- database: 'sampledb',
131
- host: 'localhost',
132
- dialect: 'mariadb'
133
- },
134
- production: {
135
- username: 'root',
136
- password: 'password',
137
- database: 'sampledb',
138
- host: 'localhost',
139
- dialect: 'mariadb'
140
- }
141
- }
142
- ```
143
- 1. The DB to be used can be defined individually for each environment.
144
- Specify the environment in the .env file.
145
- ```js
146
- NODE_ENV=development
147
- ```
148
- 1. Launch the application.
149
- ```sh
150
- cd myapp
151
- npm start
152
- ```
17
+ See [here](QUICK_START.md).
18
+
19
+ ## How to start the demo with Docker
20
+ See [here](demo/README.md).
21
+
22
+ ## Release Notes
23
+ All changes can be found [here](CHANGELOG.md).
24
+
25
+ - ### [1.1.1] - 2024/3/23
26
+ #### Changed
27
+ - When cookie security is enabled (`config/authentication.js#cookie_secure`) and the application is running on the HTTP protocol, the following warning message is output upon user authentication.
28
+ ```sh
29
+ Warning: Cookie security must be disabled for user authentication to work over the HTTP protocol (config/authentication.js#cookie_secure)
30
+ ```
31
+ - ### [1.1.0] - 2024/3/6
32
+ #### Changed
33
+ - Updated Express Sweet's dependency packages.
34
+ - [express](https://www.npmjs.com/package/express) from v4.18.2 to v4.18.3
35
+ - [multer](https://www.npmjs.com/package/multer) from v1.4.4 to v1.4.5-lts.1
36
+ - [express-session](https://www.npmjs.com/package/express-session) from v1.17.3 to v1.18.0
37
+ - [sequelize](https://www.npmjs.com/package/sequelize) from v6.32.0 to v6.37.1
38
+ - [mariadb](https://www.npmjs.com/package/mariadb) from v2.4.0 to v3.2.3
39
+ - [moment](https://www.npmjs.com/package/moment) from v2.29.4 to v2.30.1
40
+ - Update [metronic-extension](https://www.npmjs.com/package/metronic-extension) of the demo from v1.0.1 to v3.0.9.
41
+
42
+ #### Added
43
+ - Demo (./demo) Docker environment added. See [here](demo/README.md) for details.
153
44
 
154
45
  ## Testing
155
46
  With [npm](http://npmjs.org) do: