pending-dns 1.2.1 → 1.2.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/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Andris Reinman
3
+ Copyright (c) 2020-2023 Andris Reinman
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -46,7 +46,9 @@ class DNSTcpServer extends EventEmitter {
46
46
  } catch (err) {
47
47
  // ignore
48
48
  }
49
+ return;
49
50
  }
51
+
50
52
  request.source = {
51
53
  type: 'tcp',
52
54
  port: socket.remotePort,
@@ -27,7 +27,9 @@ class DNSUdpServer extends EventEmitter {
27
27
  request = Packet.parse(buffer);
28
28
  } catch (err) {
29
29
  logger.error({ msg: 'Failed to parse DNS package', type: 'udp', err, buffer, port: rinfo.port, address: rinfo.address });
30
+ return;
30
31
  }
32
+
31
33
  request.source = {
32
34
  type: 'udp',
33
35
  port: rinfo.port,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pending-dns",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Lightweight API driven DNS server",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,26 +28,26 @@
28
28
  },
29
29
  "homepage": "https://github.com/postalsys/pending-dns#readme",
30
30
  "devDependencies": {
31
- "eslint": "8.45.0",
31
+ "eslint": "8.47.0",
32
32
  "eslint-config-nodemailer": "1.2.0",
33
- "eslint-config-prettier": "8.8.0",
33
+ "eslint-config-prettier": "9.0.0",
34
34
  "grunt": "1.6.1",
35
35
  "grunt-cli": "1.4.3",
36
36
  "grunt-eslint": "24.3.0",
37
37
  "license-report": "6.4.0"
38
38
  },
39
39
  "dependencies": {
40
- "@bugsnag/js": "^7.20.2",
40
+ "@bugsnag/js": "7.21.0",
41
41
  "@fidm/x509": "1.2.1",
42
42
  "@hapi/boom": "10.0.1",
43
43
  "@hapi/hapi": "21.3.2",
44
44
  "@hapi/inert": "7.1.0",
45
45
  "@hapi/joi": "17.1.1",
46
- "@hapi/vision": "7.0.2",
46
+ "@hapi/vision": "7.0.3",
47
47
  "@root/acme": "3.1.0",
48
48
  "@root/csr": "0.8.1",
49
49
  "dns2": "2.1.0",
50
- "handlebars": "4.7.7",
50
+ "handlebars": "4.7.8",
51
51
  "hapi-pino": "12.1.0",
52
52
  "hapi-swagger": "17.1.0",
53
53
  "http-proxy": "1.18.1",
@@ -57,7 +57,7 @@
57
57
  "minimist": "1.2.8",
58
58
  "node-rsa": "1.1.1",
59
59
  "pem-jwk": "2.0.0",
60
- "pino": "8.14.1",
60
+ "pino": "8.15.0",
61
61
  "punycode": "2.3.0",
62
62
  "shortid": "2.2.16",
63
63
  "uuid": "9.0.0",
@@ -73,9 +73,10 @@
73
73
  "help.txt"
74
74
  ],
75
75
  "targets": [
76
- "node16-linux-x64",
77
- "node16-macos-x64",
78
- "node16-win-x64"
76
+ "node18-linux-x64",
77
+ "node18-macos-x64",
78
+ "node18-macos-arm64",
79
+ "node18-win-x64"
79
80
  ],
80
81
  "outputPath": "ee-dist"
81
82
  }