chore(package): update all dependencies
This commit is contained in:
parent
0c497900a2
commit
fe369bfa18
@ -1,8 +1,8 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 'stable'
|
- stable
|
||||||
- '6'
|
- 6
|
||||||
- '4'
|
- 4
|
||||||
|
|
||||||
# Use containers.
|
# Use containers.
|
||||||
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
# 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).
|
- status: it's the service status in Nagios (0: OK | 1: WARNING | 2: CRITICAL).
|
||||||
- message: it's the status information in Nagios.
|
- message: it's the status information in Nagios.
|
||||||
|
|
||||||
|
```
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
> npm install
|
> npm install
|
||||||
|
|
||||||
|
@ -32,20 +32,20 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-runtime": "^6.18.0",
|
"babel-runtime": "^6.20.0",
|
||||||
"buffer-crc32": "^0.2.13"
|
"buffer-crc32": "^0.2.13"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.18.0",
|
"babel-cli": "^6.18.0",
|
||||||
"babel-eslint": "^7.1.0",
|
"babel-eslint": "^7.1.1",
|
||||||
"babel-plugin-transform-runtime": "^6.15.0",
|
"babel-plugin-transform-runtime": "^6.15.0",
|
||||||
"babel-preset-latest": "^6.16.0",
|
"babel-preset-env": "^1.1.4",
|
||||||
"babel-preset-stage-0": "^6.16.0",
|
"babel-preset-stage-3": "^6.16.0",
|
||||||
"cross-env": "^3.1.3",
|
"cross-env": "^3.1.3",
|
||||||
"dependency-check": "^2.6.0",
|
"dependency-check": "^2.6.0",
|
||||||
"ghooks": "^1.3.2",
|
"ghooks": "^1.3.2",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"standard": "^8.5.0"
|
"standard": "^8.6.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
||||||
@ -63,19 +63,26 @@
|
|||||||
"transform-runtime"
|
"transform-runtime"
|
||||||
],
|
],
|
||||||
"presets": [
|
"presets": [
|
||||||
"latest",
|
[
|
||||||
"stage-0"
|
"env",
|
||||||
|
{
|
||||||
|
"targets": {
|
||||||
|
"node": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stage-3"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"config": {
|
||||||
|
"ghooks": {
|
||||||
|
"commit-msg": "npm test"
|
||||||
|
}
|
||||||
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"parser": "babel-eslint"
|
"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 ({
|
function nscaPacketBuilder ({
|
||||||
host,
|
host,
|
||||||
iv,
|
iv,
|
||||||
@ -86,8 +90,8 @@ const ENCODING = 'binary'
|
|||||||
class XoServerNagios {
|
class XoServerNagios {
|
||||||
|
|
||||||
constructor ({ xo }) {
|
constructor ({ xo }) {
|
||||||
this._sendPassiveCheck = ::this._sendPassiveCheck
|
this._sendPassiveCheck = bind(this._sendPassiveCheck, this)
|
||||||
this._set = ::xo.defineProperty
|
this._set = bind(xo.defineProperty, xo)
|
||||||
this._unset = null
|
this._unset = null
|
||||||
|
|
||||||
// Defined in configure().
|
// 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