UNPKG

fetch-dns

Version:

A drop-in replacement of Node's 'dns' module using 'fetch' and DNS-over-HTTPS

98 lines (97 loc) 3.52 kB
{ "name": "fetch-dns", "version": "1.0.3-rc.1", "description": "A drop-in replacement of Node's 'dns' module using 'fetch' and DNS-over-HTTPS", "main": "./build/index.js", "types": "./build", "scripts": { "test": "yarn run build && yarn run eslint && DEBUG='*,-babel,-fetch-dns:debug,-fetch-dns:rrtypes:debug' jest --runInBand --detectOpenHandles", "build": "yarn run clean && ./script/generateConstants.sh && ./script/generateRrtypes.sh && tsc -b ./tsconfig.json", "prepare": "yarn run build", "clean": "rm -rf ./build ./src *.tar.gz *.tgz", "eslint": "yarn run clean && eslint --ext .js,.ts --fix ." }, "repository": { "type": "git", "url": "git+https://github.com/RobertFischer/fetch-dns.git" }, "keywords": [ "fetch", "dns", "react-native", "browser", "node", "node.js", "https", "dns-over-https", "doh" ], "author": "Robert Fischer <smokejumperit+fetch-dns@gmail.com>", "license": "Unlicense", "bugs": { "url": "https://github.com/RobertFischer/fetch-dns/issues" }, "homepage": "https://github.com/RobertFischer/fetch-dns#readme", "dependencies": { "bluebird": "^3.7.2", "cross-fetch": "^3.0.5", "debug": "^4.1.1", "events": "^3.2.0", "lodash": "^4.17.19", "stream": "^0.0.2", "tslib": "^2.0.1", "validator": "^13.1.1" }, "devDependencies": { "@semantic-release/changelog": "^5.0.1", "@semantic-release/commit-analyzer": "^8.0.1", "@semantic-release/git": "^9.0.0", "@semantic-release/github": "^7.0.7", "@semantic-release/npm": "^7.0.5", "@semantic-release/release-notes-generator": "^9.0.1", "@types/bluebird": "^3.5.32", "@types/debug": "^4.1.5", "@types/events": "^3.0.0", "@types/jest": "^26.0.8", "@types/lodash": "^4.14.158", "@types/node": "^14.0.23", "@types/validator": "^13.1.0", "@typescript-eslint/eslint-plugin": "^4.0.1", "@typescript-eslint/parser": "^4.0.1", "babel-eslint": "^10.1.0", "conventional-changelog-conventionalcommits": "^4.4.0", "eslint": "^7.8.1", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^23.20.0", "eslint-plugin-lodash": "^7.1.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-promise": "^4.2.1", "jest": "^26.2.2", "jest-extended": "^0.11.5", "prettier": "^2.1.1", "semantic-release": "^17.1.1", "ts-jest": "^26.1.4", "typescript": "^4.0.2" }, "engines": { "node": ">= 11.14.0" }, "browserslist": [ "cover 99% and > 0.1%", "last 2 years", "last 2 major versions and last 5 years", "last 2 Chrome major versions and > 0.1%", "last 2 Firefox major versions and > 0.1%", "last 2 Safari major versions and > 0.1%", "last 2 Edge major versions and > 0.1%", "last 5 and_chr major versions and > 0.1%", "last 5 and_ff major versions and > 0.1%", "last 5 ios_saf major versions and > 0.1%", "last 5 op_mini major versions and > 0.1%", "last 5 samsung major versions and > 0.1%", "last 5 android major versions and > 0.1%", "maintaind node versions", "not dead" ] }