chore(package): update all dependencies
This commit is contained in:
parent
0c497900a2
commit
fe369bfa18
@ -1,8 +1,8 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 'stable'
|
||||
- '6'
|
||||
- '4'
|
||||
- stable
|
||||
- 6
|
||||
- 4
|
||||
|
||||
# Use containers.
|
||||
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
||||
|
@ -24,6 +24,7 @@ It has two parameters:
|
||||
- status: it's the service status in Nagios (0: OK | 1: WARNING | 2: CRITICAL).
|
||||
- message: it's the status information in Nagios.
|
||||
|
||||
```
|
||||
# Install dependencies
|
||||
> npm install
|
||||
|
||||
|
@ -32,20 +32,20 @@
|
||||
"node": ">=4"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.18.0",
|
||||
"babel-runtime": "^6.20.0",
|
||||
"buffer-crc32": "^0.2.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.18.0",
|
||||
"babel-eslint": "^7.1.0",
|
||||
"babel-eslint": "^7.1.1",
|
||||
"babel-plugin-transform-runtime": "^6.15.0",
|
||||
"babel-preset-latest": "^6.16.0",
|
||||
"babel-preset-stage-0": "^6.16.0",
|
||||
"babel-preset-env": "^1.1.4",
|
||||
"babel-preset-stage-3": "^6.16.0",
|
||||
"cross-env": "^3.1.3",
|
||||
"dependency-check": "^2.6.0",
|
||||
"ghooks": "^1.3.2",
|
||||
"rimraf": "^2.5.4",
|
||||
"standard": "^8.5.0"
|
||||
"standard": "^8.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
||||
@ -63,19 +63,26 @@
|
||||
"transform-runtime"
|
||||
],
|
||||
"presets": [
|
||||
"latest",
|
||||
"stage-0"
|
||||
[
|
||||
"env",
|
||||
{
|
||||
"targets": {
|
||||
"node": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"stage-3"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"ghooks": {
|
||||
"commit-msg": "npm test"
|
||||
}
|
||||
},
|
||||
"standard": {
|
||||
"ignore": [
|
||||
"dist"
|
||||
],
|
||||
"parser": "babel-eslint"
|
||||
},
|
||||
"config": {
|
||||
"ghooks": {
|
||||
"commit-msg": "npm test"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +35,10 @@ export const configurationSchema = {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
const bind = (fn, thisArg) => function __bound__ () {
|
||||
return fn.apply(thisArg, arguments)
|
||||
}
|
||||
|
||||
function nscaPacketBuilder ({
|
||||
host,
|
||||
iv,
|
||||
@ -86,8 +90,8 @@ const ENCODING = 'binary'
|
||||
class XoServerNagios {
|
||||
|
||||
constructor ({ xo }) {
|
||||
this._sendPassiveCheck = ::this._sendPassiveCheck
|
||||
this._set = ::xo.defineProperty
|
||||
this._sendPassiveCheck = bind(this._sendPassiveCheck, this)
|
||||
this._set = bind(xo.defineProperty, xo)
|
||||
this._unset = null
|
||||
|
||||
// Defined in configure().
|
||||
|
2554
packages/xo-server-transport-nagios/yarn.lock
Normal file
2554
packages/xo-server-transport-nagios/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user