mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-03 04:26:44 +00:00
Update to bluebird 3
This commit is contained in:
parent
3ba7872e36
commit
969d714baf
@ -1,3 +1,4 @@
|
|||||||
|
* Updated to bluebird 3 [Page]
|
||||||
* Better parameter handling in PUT /v1/devices/:uuid [Pablo]
|
* Better parameter handling in PUT /v1/devices/:uuid [Pablo]
|
||||||
* An update hook response of 200 will cause the proxyvisor to stop pinging the hook [Pablo]
|
* An update hook response of 200 will cause the proxyvisor to stop pinging the hook [Pablo]
|
||||||
* Allow deleting dependent apps and devices [Pablo]
|
* Allow deleting dependent apps and devices [Pablo]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"JSONStream": "^1.1.2",
|
"JSONStream": "^1.1.2",
|
||||||
"blinking": "~0.0.2",
|
"blinking": "~0.0.2",
|
||||||
"bluebird": "^2.9.24",
|
"bluebird": "^3.0.0",
|
||||||
"body-parser": "^1.12.0",
|
"body-parser": "^1.12.0",
|
||||||
"buffer-equal-constant-time": "^1.0.1",
|
"buffer-equal-constant-time": "^1.0.1",
|
||||||
"docker-delta": "0.0.12",
|
"docker-delta": "0.0.12",
|
||||||
|
@ -3,7 +3,7 @@ dockerUtils = require './docker-utils'
|
|||||||
{ docker } = dockerUtils
|
{ docker } = dockerUtils
|
||||||
express = require 'express'
|
express = require 'express'
|
||||||
fs = Promise.promisifyAll require 'fs'
|
fs = Promise.promisifyAll require 'fs'
|
||||||
{ resinApi } = require './request'
|
{ resinApi, request } = require './request'
|
||||||
knex = require './db'
|
knex = require './db'
|
||||||
_ = require 'lodash'
|
_ = require 'lodash'
|
||||||
deviceRegister = require 'resin-register-device'
|
deviceRegister = require 'resin-register-device'
|
||||||
@ -11,7 +11,6 @@ randomHexString = require './lib/random-hex-string'
|
|||||||
utils = require './utils'
|
utils = require './utils'
|
||||||
device = require './device'
|
device = require './device'
|
||||||
bodyParser = require 'body-parser'
|
bodyParser = require 'body-parser'
|
||||||
request = Promise.promisifyAll require 'request'
|
|
||||||
appConfig = require './config'
|
appConfig = require './config'
|
||||||
PUBNUB = require 'pubnub'
|
PUBNUB = require 'pubnub'
|
||||||
execAsync = Promise.promisify(require('child_process').exec)
|
execAsync = Promise.promisify(require('child_process').exec)
|
||||||
|
@ -17,4 +17,4 @@ exports.cachedResinApi = resinApi.clone({}, cache: {})
|
|||||||
|
|
||||||
request = request.defaults(requestOpts)
|
request = request.defaults(requestOpts)
|
||||||
|
|
||||||
exports.request = Promise.promisifyAll(request)
|
exports.request = Promise.promisifyAll(request, multiArgs: true)
|
||||||
|
@ -8,7 +8,7 @@ networkCheck = require 'network-checker'
|
|||||||
blink = require('blinking')(config.ledFile)
|
blink = require('blinking')(config.ledFile)
|
||||||
url = require 'url'
|
url = require 'url'
|
||||||
randomHexString = require './lib/random-hex-string'
|
randomHexString = require './lib/random-hex-string'
|
||||||
request = Promise.promisifyAll require 'request'
|
{ request } = require './request'
|
||||||
logger = require './lib/logger'
|
logger = require './lib/logger'
|
||||||
TypedError = require 'typed-error'
|
TypedError = require 'typed-error'
|
||||||
execAsync = Promise.promisify(require('child_process').exec)
|
execAsync = Promise.promisify(require('child_process').exec)
|
||||||
|
Loading…
Reference in New Issue
Block a user