feat(@xen-orchestra/async-map): 0.1.1

This commit is contained in:
Julien Fontanet 2021-03-03 09:17:08 +01:00
parent b3aff1162c
commit df48524ca5
9 changed files with 14 additions and 9 deletions

View File

@ -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

View File

@ -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": [

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -28,5 +28,4 @@
>
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- @xen-orchestra/async-map minor
- xo-server minor

View File

@ -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",

View File

@ -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",