Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

better-lookup

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-lookup - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

cjs/index.d.ts

89

package.json
{
"name": "better-lookup",
"version": "1.3.0",
"description": "A better async DNS lookup function for Node.js that implements atomic cache operation.",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"prepublishOnly": "tsc --module commonjs --target es2015 --declaration true --sourcemap true --noImplicitThis true index.ts",
"postpublish": "ls index.* | grep -v index.ts | xargs rm -f",
"pretest": "tsc --module commonjs --target es2015 --esModuleInterop true test.ts",
"posttest": "rm -f test.js* && rm -f index.js*",
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ayonli/better-lookup.git"
},
"keywords": [
"dns",
"lookup",
"atomic",
"async",
"cache"
],
"author": "A-yon Lee <the@ayon.li>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ayonli/better-lookup/issues"
},
"homepage": "https://github.com/ayonli/better-lookup#readme",
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/node": "^14.11.1",
"https-proxy-agent": "^5.0.1",
"mocha": "^7.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@hyurl/utils": "^0.2.26"
},
"engines": {
"node": ">=10"
}
"name": "better-lookup",
"version": "1.4.0",
"description": "A better async DNS lookup function for Node.js that implements atomic cache operation.",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./cjs/index.d.ts",
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js",
"types": "./cjs/index.d.ts"
},
"scripts": {
"build": "tsc --module esnext --outDir esm && tsc --module commonjs --outDir cjs --declaration && node postbuild.js",
"prepack": "npm run build",
"test": "mocha -r ts-node/register test.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ayonli/better-lookup.git"
},
"keywords": [
"dns",
"lookup",
"atomic",
"async",
"cache"
],
"author": "A-yon Lee <the@ayon.li>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ayonli/better-lookup/issues"
},
"homepage": "https://github.com/ayonli/better-lookup#readme",
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "^22.1.0",
"https-proxy-agent": "^5.0.1",
"mocha": "^10.7.0",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
},
"dependencies": {
"@ayonli/jsext": "^0.9.55"
},
"engines": {
"node": ">=14"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc