spec-3nweb-server 1.8.10 → 1.8.11

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.
@@ -6,7 +6,7 @@
6
6
  build for linux:
7
7
  extends: build
8
8
  rules: [ { when: on_success } ]
9
- image: node-22
9
+ image: node-24
10
10
 
11
11
 
12
12
  test on linux:
@@ -14,7 +14,7 @@ test on linux:
14
14
  rules: [ { when: on_success } ]
15
15
  needs:
16
16
  - build for linux
17
- image: node-22
17
+ image: node-24
18
18
 
19
19
 
20
20
  pack for linux:
@@ -23,7 +23,7 @@ pack for linux:
23
23
  needs:
24
24
  - build for linux
25
25
  - test on linux
26
- image: node-22
26
+ image: node-24
27
27
 
28
28
 
29
29
  pack mock for linux:
@@ -32,7 +32,7 @@ pack mock for linux:
32
32
  needs:
33
33
  - build for linux
34
34
  - test on linux
35
- image: node-22
35
+ image: node-24
36
36
 
37
37
 
38
38
  # pack deb:
@@ -41,7 +41,7 @@ pack mock for linux:
41
41
  # needs:
42
42
  # - build for linux
43
43
  # - test on linux
44
- # image: node-16
44
+ # image: node-24
45
45
  # script:
46
46
  # - npm run pack-deb
47
47
  # artifacts:
package/.gitlab-ci.yml CHANGED
@@ -52,7 +52,7 @@ publish to npm:
52
52
  rules:
53
53
  - if: '$CI_COMMIT_BRANCH == "master"'
54
54
  when: manual
55
- image: node-22
55
+ image: node-24
56
56
  script:
57
57
  - bash publish-task.sh $NPM_PUBLISH_TOKEN
58
58
 
@@ -34,13 +34,15 @@ function setTestCertsAndDNS(domains, thisSrvLoc) {
34
34
  https.globalAgent.options.ca = tls_options_1.sslOpts.cert;
35
35
  // inject dns mock
36
36
  const dnsRecs = {};
37
+ const reportAddress = `report@${thisSrvLoc.includes(':') ? thisSrvLoc.substring(0, thisSrvLoc.indexOf(':')) : thisSrvLoc}`;
37
38
  for (const domain of domains) {
38
39
  dnsRecs[domain] = [
39
40
  ['asmail', '=', `${thisSrvLoc}/asmail`],
40
41
  [
41
42
  'mailerid=', `${thisSrvLoc}/mailerid`,
42
43
  `3nstorage=${thisSrvLoc}/3nstorage`
43
- ] // two 3NWeb records in one DNS TXT record
44
+ ],
45
+ [`report=${reportAddress}`]
44
46
  // XXX add other life-like records
45
47
  ];
46
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-3nweb-server",
3
- "version": "1.8.10",
3
+ "version": "1.8.11",
4
4
  "description": "3NWeb spec server.",
5
5
  "main": "build/lib.js",
6
6
  "types": "build/lib.d.ts",
@@ -37,13 +37,17 @@ export function setTestCertsAndDNS(
37
37
 
38
38
  // inject dns mock
39
39
  const dnsRecs: DnsTxtRecords = {};
40
+ const reportAddress = `report@${
41
+ thisSrvLoc.includes(':') ? thisSrvLoc.substring(0, thisSrvLoc.indexOf(':')) : thisSrvLoc
42
+ }`;
40
43
  for (const domain of domains) {
41
44
  dnsRecs[domain] = [
42
45
  [ 'asmail', '=', `${thisSrvLoc}/asmail` ], // one record in DNS TXT
43
46
  [
44
47
  'mailerid=', `${thisSrvLoc}/mailerid`,
45
48
  `3nstorage=${thisSrvLoc}/3nstorage`
46
- ] // two 3NWeb records in one DNS TXT record
49
+ ], // two 3NWeb records in one DNS TXT record
50
+ [ `report=${reportAddress}` ]
47
51
  // XXX add other life-like records
48
52
  ];
49
53
  }