better-hosts 0.1.14 → 0.1.15

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +6 -4
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -45880,7 +45880,7 @@ module.exports = require("fsevents");
45880
45880
  /***/ ((module) => {
45881
45881
 
45882
45882
  "use strict";
45883
- module.exports = JSON.parse('{"name":"better-hosts","version":"0.1.14","description":"","keywords":["dns"],"bin":"dist/cli.cjs","files":["dist"],"repository":"git@github.com:BlackGlory/better-hosts.git","author":"BlackGlory <woshenmedoubuzhidao@blackglory.me>","license":"MIT","scripts":{"deduplicate":"yarn-deduplicate","prepublishOnly":"run-s clean build bundle","postinstall":"patch-package","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-s build:*","build:compile":"tsc --project tsconfig.build.json","build:patch":"tscpaths --project tsconfig.build.json --src ./src --out ./lib","bundle":"webpack --stats-error-details","smoke":"node dist/cli.cjs --help","release":"standard-version"},"husky":{"hooks":{"pre-commit":"run-s 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/jest":"^27.4.1","@types/node":"14","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","eslint":"^8.20.0","husky":"4","jest":"^27.5.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","standard-version":"^9.5.0","ts-jest":"^27.1.4","tsconfig-paths":"^4.0.0","tscpaths":"^0.0.9","typescript":"^4.7.4","webpack":"^5.74.0","webpack-cli":"^4.10.0","webpack-shebang-plugin":"^1.1.7","yarn-deduplicate":"^5.0.0"},"dependencies":{"@blackglory/errors":"^2.2.1","@blackglory/go":"^1.1.1","@blackglory/prelude":"^0.1.3","@blackglory/types":"^1.2.1","chalk":"^4.1.2","chokidar":"^3.5.3","commander":"^9.4.0","extra-filesystem":"^0.4.4","extra-logger":"^0.6.8","extra-promise":"^2.3.0","iterable-operator":"^1.1.0","native-node-dns":"0.7.6","native-node-dns-packet":"0.1.5","patch-package":"^6.4.7","return-style":"^1.0.0"}}');
45883
+ module.exports = JSON.parse('{"name":"better-hosts","version":"0.1.15","description":"","keywords":["dns"],"bin":"dist/cli.cjs","files":["dist"],"repository":"git@github.com:BlackGlory/better-hosts.git","author":"BlackGlory <woshenmedoubuzhidao@blackglory.me>","license":"MIT","scripts":{"deduplicate":"yarn-deduplicate","prepublishOnly":"run-s clean build bundle","postinstall":"patch-package","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-s build:*","build:compile":"tsc --project tsconfig.build.json","build:patch":"tscpaths --project tsconfig.build.json --src ./src --out ./lib","bundle":"webpack --stats-error-details","smoke":"node dist/cli.cjs --help","release":"standard-version"},"husky":{"hooks":{"pre-commit":"run-s 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/jest":"^27.4.1","@types/node":"14","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","eslint":"^8.20.0","husky":"4","jest":"^27.5.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","standard-version":"^9.5.0","ts-jest":"^27.1.4","tsconfig-paths":"^4.0.0","tscpaths":"^0.0.9","typescript":"^4.7.4","webpack":"^5.74.0","webpack-cli":"^4.10.0","webpack-shebang-plugin":"^1.1.7","yarn-deduplicate":"^5.0.0"},"dependencies":{"@blackglory/errors":"^2.2.1","@blackglory/go":"^1.1.1","@blackglory/prelude":"^0.1.3","@blackglory/types":"^1.2.1","chalk":"^4.1.2","chokidar":"^3.5.3","commander":"^9.4.0","extra-filesystem":"^0.4.4","extra-logger":"^0.6.8","extra-promise":"^2.3.0","iterable-operator":"^1.1.0","native-node-dns":"0.7.6","native-node-dns-packet":"0.1.5","patch-package":"^6.4.7","return-style":"^1.0.0"}}');
45884
45884
 
45885
45885
  /***/ })
45886
45886
  /******/ ]);
@@ -45948,10 +45948,12 @@ const errors_1 = __webpack_require__(69);
45948
45948
  const extra_logger_1 = __webpack_require__(233);
45949
45949
  const parse_server_info_1 = __webpack_require__(241);
45950
45950
  const hosts_1 = __webpack_require__(242);
45951
+ const { name, version, description } = __webpack_require__(757);
45952
+ process.title = name;
45951
45953
  commander_1.program
45952
- .name((__webpack_require__(757).name))
45953
- .version((__webpack_require__(757).version))
45954
- .description((__webpack_require__(757).description))
45954
+ .name(name)
45955
+ .version(version)
45956
+ .description(description)
45955
45957
  .requiredOption('--fallback-server <server>')
45956
45958
  .option('--timeout [seconds]', '', '30')
45957
45959
  .option('--port [port]', '', '53')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-hosts",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "dns"