fcdns 0.5.8 → 0.5.9
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/dist/cli.cjs +4 -3
- package/package.json +3 -3
package/dist/cli.cjs
CHANGED
|
@@ -20301,7 +20301,7 @@ exports.getRouteResult = (0, extra_lazy_1.withLazyStatic)(function (hostname) {
|
|
|
20301
20301
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
20302
20302
|
|
|
20303
20303
|
"use strict";
|
|
20304
|
-
var __dirname = "lib";
|
|
20304
|
+
var __dirname = require('path').join(module.path, "lib");
|
|
20305
20305
|
|
|
20306
20306
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
20307
20307
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -30359,7 +30359,8 @@ function writeSoa(buff, val, label_index) {
|
|
|
30359
30359
|
assertUndefined(val.minimum, 'SOA record requires "minimum"');
|
|
30360
30360
|
namePack(val.primary, buff, label_index);
|
|
30361
30361
|
namePack(val.admin, buff, label_index);
|
|
30362
|
-
|
|
30362
|
+
const serial = val.serial & 0xFFFFFFFF
|
|
30363
|
+
buff.writeUInt32BE(serial < 0 || serial > 4294967295 ? 0 : serial);
|
|
30363
30364
|
buff.writeInt32BE(val.refresh & 0xFFFFFFFF);
|
|
30364
30365
|
buff.writeInt32BE(val.retry & 0xFFFFFFFF);
|
|
30365
30366
|
buff.writeInt32BE(val.expiration & 0xFFFFFFFF);
|
|
@@ -48242,7 +48243,7 @@ exports.Constructor = Constructor;
|
|
|
48242
48243
|
/***/ ((module) => {
|
|
48243
48244
|
|
|
48244
48245
|
"use strict";
|
|
48245
|
-
module.exports = JSON.parse('{"name":"fcdns","version":"0.5.
|
|
48246
|
+
module.exports = JSON.parse('{"name":"fcdns","version":"0.5.9","description":"DNS relay server with fact-checking.","keywords":["dns"],"bin":"dist/cli.cjs","files":["migrations","dist"],"repository":"git@github.com:BlackGlory/fcdns.git","author":"BlackGlory <woshenmedoubuzhidao@blackglory.me>","license":"MIT","scripts":{"prepare":"ts-patch install -s","deduplicate":"yarn-deduplicate","postinstall":"patch-package","prepublishOnly":"run-s postinstall prepare clean build bundle","lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src","test":"jest --config jest.config.js","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:coverage":"jest --coverage --config jest.config.js","clean":"rimraf lib dist","build":"run-p build:*","build:src":"tsc --project tsconfig.build.json","build:scripts":"tsc --project tsconfig.scripts.json","bundle":"webpack --stats-error-details","smoke":"node dist/cli.cjs --help","release":"standard-version","script:generate-whitelist-by-cc":"ts-node scripts/generate-whitelist-by-cc.ts","script:import-poison-test-results-from-ndjson-map-file":"ts-node scripts/import-poison-test-results-from-ndjson-map-file.ts","script:import-route-results-from-ndjson-map-file":"ts-node scripts/import-route-results-from-ndjson-map-file.ts"},"husky":{"hooks":{"pre-commit":"run-s postinstall prepare clean lint build test bundle smoke","commit-msg":"commitlint --env HUSKY_GIT_PARAMS"}},"devDependencies":{"@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@types/better-sqlite3":"^7.6.0","@types/jest":"^27.4.1","@types/node":"14","@types/ping":"^0.4.1","@typescript-eslint/eslint-plugin":"^5.33.0","@typescript-eslint/parser":"^5.33.0","eslint":"^8.21.0","extra-prompts":"^0.1.3","husky":"4","internet-number":"^3.0.3","jest":"^27.5.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","standard-version":"^9.5.0","ts-jest":"^27.1.4","ts-node":"^10.9.1","ts-patch":"^2.0.2","typescript":"^4.7.4","typescript-transform-paths":"^3.3.1","webpack":"^5.74.0","webpack-cli":"^4.10.0","webpack-shebang-plugin":"^1.1.8","yarn-deduplicate":"^5.0.0"},"dependencies":{"@blackglory/better-sqlite3-migrations":"^0.1.15","@blackglory/errors":"^2.2.2","@blackglory/prelude":"^0.1.3","@blackglory/structures":"^0.6.2","address-range":"^0.2.11","better-sqlite3":"^7.6.2","chalk":"^4.1.2","commander":"^9.4.0","extra-filesystem":"^0.4.5","extra-lazy":"^1.3.1","extra-logger":"^0.6.9","extra-promise":"^2.4.1","iterable-operator":"^1.2.0","migrations-file":"^0.2.4","native-node-dns":"0.7.6","native-node-dns-packet":"0.1.5","patch-package":"^6.4.7","ping":"^0.4.2","return-style":"^1.0.0","you-died":"^0.4.1"}}');
|
|
48246
48247
|
|
|
48247
48248
|
/***/ })
|
|
48248
48249
|
/******/ ]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fcdns",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "DNS relay server with fact-checking.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dns"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prepare": "ts-patch install -s",
|
|
18
18
|
"deduplicate": "yarn-deduplicate",
|
|
19
19
|
"postinstall": "patch-package",
|
|
20
|
-
"prepublishOnly": "run-s clean build bundle",
|
|
20
|
+
"prepublishOnly": "run-s postinstall prepare clean build bundle",
|
|
21
21
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx --quiet src",
|
|
22
22
|
"test": "jest --config jest.config.js",
|
|
23
23
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"husky": {
|
|
37
37
|
"hooks": {
|
|
38
|
-
"pre-commit": "run-s prepare clean lint build test bundle smoke",
|
|
38
|
+
"pre-commit": "run-s postinstall prepare clean lint build test bundle smoke",
|
|
39
39
|
"commit-msg": "commitlint --env HUSKY_GIT_PARAMS"
|
|
40
40
|
}
|
|
41
41
|
},
|