@postalsys/certs 1.0.10 → 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 ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ upgrade: true,
3
+ reject: ['eslint-config-prettier', 'express']
4
+ };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
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
+
11
+ ## [1.0.11](https://github.com/postalsys/certs/compare/v1.0.10...v1.0.11) (2024-09-08)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **punycode:** Replaced punycode module with punycode.js ([c474acb](https://github.com/postalsys/certs/commit/c474acb46f90885f722a3bbd74ba824bf2a4cdae))
17
+
3
18
  ## [1.0.10](https://github.com/postalsys/certs/compare/v1.0.9...v1.0.10) (2024-07-03)
4
19
 
5
20
 
@@ -3,7 +3,7 @@
3
3
  const { normalizeDomain } = require('./tools');
4
4
  const { Settings } = require('./settings');
5
5
  const msgpack = require('msgpack5')();
6
- const { v4: uuid } = require('uuid');
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 = uuid();
20
+ this.uuid = crypto.randomUUID();
21
21
  this.redis = redis;
22
22
  this.ttl = ttl || DEFAULT_TTL;
23
23
 
package/lib/tools.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const punycode = require('punycode/');
3
+ const punycode = require('punycode.js');
4
4
  const crypto = require('crypto');
5
5
  const { promisify } = require('util');
6
6
  const generateKeyPair = promisify(crypto.generateKeyPair);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postalsys/certs",
3
- "version": "1.0.10",
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.4.1"
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": "17.13.3",
29
+ "joi": "18.0.1",
30
30
  "msgpack5": "6.0.2",
31
31
  "pem-jwk": "2.0.0",
32
- "pino": "9.2.0",
33
- "punycode": "2.3.1",
34
- "uuid": "10.0.0"
32
+ "pino": "9.12.0",
33
+ "punycode.js": "2.3.1"
35
34
  }
36
35
  }