Commit bbe78acc authored by Xavier Guimard's avatar Xavier Guimard

New upstream version 1.1.0

parent 1b81901b
coverage
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
node_modules
npm-debug.log
.DS_Store
.idea/
\ No newline at end of file
sudo: false
language: node_js
node_js:
- '8'
- '6'
- '4'
script: 'npm run test-travis'
after_script: 'npm i codecov && codecov'
# Ordered by date of first contribution.
# Auto-generated by 'contributors' on Wed, 05 Aug 2015 23:46:41 GMT.
# Auto-generated by 'contributors' on Wed, 24 Apr 2019 14:05:51 GMT.
# https://github.com/xingrz/node-contributors
fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)
fengmk2 <fengmk2@gmail.com> (https://github.com/fengmk2)
alsotang <alsotang@gmail.com> (https://github.com/alsotang)
ali-sdk <m@fengmk2.com> (https://github.com/ali-sdk)
tangyao <2001-wms@163.com>
Mathieu TUDISCO <oss@mathieutu.dev>
1.1.0 / 2019-04-24
==================
**features**
* [[`7544592`](http://github.com/node-modules/address/commit/75445923a6f737fc21e3cf592f749bf014b7b4ce)] - feat: Add typings (#15) (Mathieu TUDISCO <<oss@mathieutu.dev>>)
1.0.3 / 2017-08-24
==================
......
namespace address {
function ip(interfaceName?: string): string
function ipv6(interfaceName?: string): string
function mac(callback: (err: Error, addr: string) => void): void
function mac(interfaceName: string, callback: (err: Error, addr: string) => void): void
function dns(callback: (err: Error, servers: string[]) => void): void
function dns(filePath: string, callback: (err: Error, servers: string[]) => void): void
}
function address(callback: (err: Error, addr: { ip: string, ipv6: string, mac: string }) => void): void
function address(interfaceName: string, callback: (err: Error, addr: { ip: string, ipv6: string, mac: string }) => void): void
export = address
{
"name": "address",
"version": "1.0.3",
"version": "1.1.0",
"description": "Get current machine IP, MAC and DNS servers.",
"main": "lib/address.js",
"types": "lib/address.d.ts",
"files": [
"lib"
],
......@@ -12,7 +13,6 @@
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js",
"benchmark": "matcha",
"autod": "autod -w --prefix '^'",
"cnpm": "npm install --registry=https://registry.npm.taobao.org",
"contributors": "contributors -f plain -o AUTHORS"
},
"dependencies": {},
......@@ -25,8 +25,7 @@
"pedding": "*",
"should": "*",
"benchmark": "*",
"beautify-benchmark": "*",
"webstorm-disable-index": "1"
"beautify-benchmark": "*"
},
"repository": {
"type": "git",
......@@ -43,4 +42,4 @@
},
"author": "fengmk2 <fengmk2@gmail.com>",
"license": "MIT"
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment