mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 06:57:49 +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]
|
||||
* An update hook response of 200 will cause the proxyvisor to stop pinging the hook [Pablo]
|
||||
* Allow deleting dependent apps and devices [Pablo]
|
||||
|
@ -9,7 +9,7 @@
|
||||
"dependencies": {
|
||||
"JSONStream": "^1.1.2",
|
||||
"blinking": "~0.0.2",
|
||||
"bluebird": "^2.9.24",
|
||||
"bluebird": "^3.0.0",
|
||||
"body-parser": "^1.12.0",
|
||||
"buffer-equal-constant-time": "^1.0.1",
|
||||
"docker-delta": "0.0.12",
|
||||
|
@ -3,7 +3,7 @@ dockerUtils = require './docker-utils'
|
||||
{ docker } = dockerUtils
|
||||
express = require 'express'
|
||||
fs = Promise.promisifyAll require 'fs'
|
||||
{ resinApi } = require './request'
|
||||
{ resinApi, request } = require './request'
|
||||
knex = require './db'
|
||||
_ = require 'lodash'
|
||||
deviceRegister = require 'resin-register-device'
|
||||
@ -11,7 +11,6 @@ randomHexString = require './lib/random-hex-string'
|
||||
utils = require './utils'
|
||||
device = require './device'
|
||||
bodyParser = require 'body-parser'
|
||||
request = Promise.promisifyAll require 'request'
|
||||
appConfig = require './config'
|
||||
PUBNUB = require 'pubnub'
|
||||
execAsync = Promise.promisify(require('child_process').exec)
|
||||
|
@ -17,4 +17,4 @@ exports.cachedResinApi = resinApi.clone({}, cache: {})
|
||||
|
||||
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)
|
||||
url = require 'url'
|
||||
randomHexString = require './lib/random-hex-string'
|
||||
request = Promise.promisifyAll require 'request'
|
||||
{ request } = require './request'
|
||||
logger = require './lib/logger'
|
||||
TypedError = require 'typed-error'
|
||||
execAsync = Promise.promisify(require('child_process').exec)
|
||||
|
Loading…
Reference in New Issue
Block a user