@postalsys/certs 1.0.11 → 1.0.12
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/.ncurc.js +4 -0
- package/CHANGELOG.md +8 -0
- package/lib/acme-challenge.js +2 -2
- package/package.json +5 -6
package/.ncurc.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.12](https://github.com/postalsys/certs/compare/v1.0.11...v1.0.12) (2025-09-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Bumped deps ([762fc6e](https://github.com/postalsys/certs/commit/762fc6e0c82c63427a46fe99b23db72b8f2c7333))
|
|
9
|
+
* do not use uuid library ([5d6716f](https://github.com/postalsys/certs/commit/5d6716f1c856aa9deadd596ac0b85d6433b3fec0))
|
|
10
|
+
|
|
3
11
|
## [1.0.11](https://github.com/postalsys/certs/compare/v1.0.10...v1.0.11) (2024-09-08)
|
|
4
12
|
|
|
5
13
|
|
package/lib/acme-challenge.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const { normalizeDomain } = require('./tools');
|
|
4
4
|
const { Settings } = require('./settings');
|
|
5
5
|
const msgpack = require('msgpack5')();
|
|
6
|
-
const
|
|
6
|
+
const crypto = require('crypto');
|
|
7
7
|
|
|
8
8
|
// Unfinished challenges are deleted after this amount of time
|
|
9
9
|
const DEFAULT_TTL = 2 * 3600 * 1000; // milliseconds
|
|
@@ -17,7 +17,7 @@ class AcmeChallenge {
|
|
|
17
17
|
this.config = config;
|
|
18
18
|
const { redis, ttl, namespace } = this.config;
|
|
19
19
|
|
|
20
|
-
this.uuid =
|
|
20
|
+
this.uuid = crypto.randomUUID();
|
|
21
21
|
this.redis = redis;
|
|
22
22
|
this.ttl = ttl || DEFAULT_TTL;
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postalsys/certs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Manage Let's Encrypt certificates",
|
|
5
5
|
"main": "lib/certs.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,16 +21,15 @@
|
|
|
21
21
|
"eslint-config-nodemailer": "1.2.0",
|
|
22
22
|
"eslint-config-prettier": "9.1.0",
|
|
23
23
|
"express": "4.19.2",
|
|
24
|
-
"ioredis": "5.
|
|
24
|
+
"ioredis": "5.8.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@root/acme": "3.1.0",
|
|
28
28
|
"ioredfour": "1.3.0-ioredis-07",
|
|
29
|
-
"joi": "
|
|
29
|
+
"joi": "18.0.1",
|
|
30
30
|
"msgpack5": "6.0.2",
|
|
31
31
|
"pem-jwk": "2.0.0",
|
|
32
|
-
"pino": "9.
|
|
33
|
-
"punycode.js": "2.3.1"
|
|
34
|
-
"uuid": "10.0.0"
|
|
32
|
+
"pino": "9.12.0",
|
|
33
|
+
"punycode.js": "2.3.1"
|
|
35
34
|
}
|
|
36
35
|
}
|