beavuck-time 2.3.1 → 2.3.2
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.
- package/README.md +5 -3
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# ⏲️ Beavuck Time
|
|
2
2
|
|
|
3
|
+
[ ](https://www.npmjs.com/package/beavuck-time)
|
|
4
|
+
|
|
3
5
|
## 📊 Status
|
|
4
6
|
|
|
5
7
|
[](https://sonarcloud.io/summary/new_code?id=beavuck-services_time)
|
|
@@ -79,7 +81,7 @@ npm install beavuck-time
|
|
|
79
81
|
|
|
80
82
|
#### Programmatically
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
If you want to run this service programmatically in your Node.js project:
|
|
83
85
|
|
|
84
86
|
```js
|
|
85
87
|
import { startServer } from 'beavuck-time'
|
|
@@ -92,7 +94,7 @@ startServer({
|
|
|
92
94
|
```
|
|
93
95
|
|
|
94
96
|
You can rely on environment variables (BEAVUCK_TIME_HOST_URL, etc.) instead of passing an options object. Refer to
|
|
95
|
-
the
|
|
97
|
+
the Docker Compose example below to see an exhaustive list of available environment variables and what they do.
|
|
96
98
|
|
|
97
99
|
#### CLI
|
|
98
100
|
|
|
@@ -102,7 +104,7 @@ To run this service directly in your command line interface, just run:
|
|
|
102
104
|
npx beavuck-time
|
|
103
105
|
```
|
|
104
106
|
|
|
105
|
-
Refer to the
|
|
107
|
+
Refer to the Docker Compose example below to see an exhaustive list of available environment variables and what they do.
|
|
106
108
|
|
|
107
109
|
---
|
|
108
110
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beavuck-time",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Get time in ISO format, in UTC timezone, from a simple, lightweight node server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"time",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"go": "npm install && npm run build && npm run clean && npm run test && npm start"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@dotenvx/dotenvx": "^1.48.
|
|
42
|
+
"@dotenvx/dotenvx": "^1.48.4",
|
|
43
43
|
"cors": "^2.8.5",
|
|
44
44
|
"express": "^5.1.0",
|
|
45
45
|
"express-rate-limit": "^8.0.1",
|
|
46
46
|
"http-status-codes": "^2.3.0",
|
|
47
|
-
"joi": "^
|
|
47
|
+
"joi": "^18.0.0",
|
|
48
48
|
"tsoa": "^6.6.0",
|
|
49
49
|
"winston": "^3.17.0",
|
|
50
50
|
"winston-daily-rotate-file": "^5.0.0"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/cors": "^2.8.19",
|
|
55
55
|
"@types/express": "^5.0.3",
|
|
56
56
|
"@types/jest": "^30.0.0",
|
|
57
|
-
"@types/node": "^24.1
|
|
57
|
+
"@types/node": "^24.2.1",
|
|
58
58
|
"@types/supertest": "^6.0.3",
|
|
59
59
|
"eslint": "^9.32.0",
|
|
60
60
|
"globals": "^16.3.0",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"npm-check-updates": "^18.0.2",
|
|
64
64
|
"prettier": "3.6.2",
|
|
65
65
|
"supertest": "^7.1.4",
|
|
66
|
-
"ts-jest": "^29.4.
|
|
66
|
+
"ts-jest": "^29.4.1",
|
|
67
67
|
"ts-node": "^10.9.2",
|
|
68
|
-
"typescript": "^5.
|
|
69
|
-
"typescript-eslint": "^8.
|
|
68
|
+
"typescript": "^5.9.2",
|
|
69
|
+
"typescript-eslint": "^8.39.0"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
72
|
"node": ">=18.20.8"
|