feat(@xen-orchestra/async-map): 0.1.1
This commit is contained in:
parent
b3aff1162c
commit
df48524ca5
@ -1,4 +1,10 @@
|
||||
const wrapCall = require('promise-toolbox/wrapCall')
|
||||
const wrapCall = (fn, arg, thisArg) => {
|
||||
try {
|
||||
return Promise.resolve(fn.call(thisArg, arg))
|
||||
} catch (error) {
|
||||
return Promise.reject(error)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Similar to Promise.all + Array#map but supports all iterables and does not trigger ESLint array-callback-return
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"private": false,
|
||||
"name": "@xen-orchestra/async-map",
|
||||
"version": "0.0.0",
|
||||
"version": "0.1.1",
|
||||
"license": "ISC",
|
||||
"description": "Promise.all + map for all iterables",
|
||||
"keywords": [
|
||||
|
@ -6,7 +6,7 @@
|
||||
"preferGlobal": true,
|
||||
"bugs": "https://github.com/vatesfr/xen-orchestra/issues",
|
||||
"dependencies": {
|
||||
"@xen-orchestra/async-map": "^0.0.0",
|
||||
"@xen-orchestra/async-map": "^0.1.1",
|
||||
"@xen-orchestra/backups": "^0.6.0",
|
||||
"@xen-orchestra/fs": "^0.13.0",
|
||||
"filenamify": "^4.1.0",
|
||||
|
@ -18,7 +18,7 @@
|
||||
"dependencies": {
|
||||
"@vates/disposable": "^0.1.0",
|
||||
"@vates/multi-key-map": "^0.1.0",
|
||||
"@xen-orchestra/async-map": "^0.0.0",
|
||||
"@xen-orchestra/async-map": "^0.1.1",
|
||||
"@xen-orchestra/log": "^0.2.0",
|
||||
"@xen-orchestra/template": "^0.1.0",
|
||||
"@xen-orchestra/xapi": "^0.4.2",
|
||||
|
@ -25,7 +25,7 @@
|
||||
"@marsaud/smb2": "^0.17.2",
|
||||
"@sindresorhus/df": "^3.1.1",
|
||||
"@sullux/aws-sdk": "^1.0.5",
|
||||
"@xen-orchestra/async-map": "^0.0.0",
|
||||
"@xen-orchestra/async-map": "^0.1.1",
|
||||
"aws-sdk": "^2.686.0",
|
||||
"decorator-synchronized": "^0.5.0",
|
||||
"execa": "^5.0.0",
|
||||
|
@ -37,7 +37,7 @@
|
||||
"prepublishOnly": "yarn run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@xen-orchestra/async-map": "^0.0.0",
|
||||
"@xen-orchestra/async-map": "^0.1.1",
|
||||
"@xen-orchestra/log": "^0.2.0",
|
||||
"d3-time-format": "^2.2.3",
|
||||
"golike-defer": "^0.5.1",
|
||||
|
@ -28,5 +28,4 @@
|
||||
>
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- @xen-orchestra/async-map minor
|
||||
- xo-server minor
|
||||
|
@ -35,7 +35,7 @@
|
||||
"node": ">=6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@xen-orchestra/async-map": "^0.0.0",
|
||||
"@xen-orchestra/async-map": "^0.1.1",
|
||||
"@xen-orchestra/cron": "^1.0.6",
|
||||
"@xen-orchestra/log": "^0.2.0",
|
||||
"csv-stringify": "^5.5.0",
|
||||
|
@ -38,7 +38,7 @@
|
||||
"@vates/disposable": "^0.1.0",
|
||||
"@vates/multi-key-map": "^0.1.0",
|
||||
"@vates/parse-duration": "0.1.0",
|
||||
"@xen-orchestra/async-map": "^0.0.0",
|
||||
"@xen-orchestra/async-map": "^0.1.1",
|
||||
"@xen-orchestra/backups": "^0.6.0",
|
||||
"@xen-orchestra/cron": "^1.0.6",
|
||||
"@xen-orchestra/defined": "^0.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user