This commit is contained in:
Evert Prants 2021-09-03 20:23:22 +03:00
parent 9e14050583
commit 814b72ab8e
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
4 changed files with 111 additions and 116 deletions

195
package-lock.json generated
View File

@ -1,27 +1,27 @@
{ {
"name": "@squeebot/core", "name": "@squeebot/core",
"version": "3.3.0", "version": "3.3.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@squeebot/core", "name": "@squeebot/core",
"version": "3.3.0", "version": "3.3.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"dateformat": "^4.0.0", "dateformat": "^4.5.1",
"fs-extra": "^9.0.1", "fs-extra": "^10.0.0",
"semver": "^7.3.2", "semver": "^7.3.5",
"tar": "^6.0.5" "tar": "^6.1.11"
}, },
"devDependencies": { "devDependencies": {
"@types/dateformat": "^3.0.1", "@types/dateformat": "^3.0.1",
"@types/fs-extra": "^9.0.4", "@types/fs-extra": "^9.0.12",
"@types/node": "^14.14.9", "@types/node": "^16.7.10",
"@types/semver": "^7.3.4", "@types/semver": "^7.3.8",
"@types/tar": "^4.0.4", "@types/tar": "^4.0.5",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"typescript": "^4.0.5" "typescript": "^4.4.2"
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
@ -57,9 +57,9 @@
"dev": true "dev": true
}, },
"node_modules/@types/fs-extra": { "node_modules/@types/fs-extra": {
"version": "9.0.4", "version": "9.0.12",
"resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.4.tgz", "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.12.tgz",
"integrity": "sha512-50GO5ez44lxK5MDH90DYHFFfqxH7+fTqEEnvguQRzJ/tY9qFrMSHLiYHite+F3SNmf7+LHC1eMXojuD+E3Qcyg==", "integrity": "sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/node": "*" "@types/node": "*"
@ -75,21 +75,21 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "14.14.9", "version": "16.7.10",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz",
"integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==", "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==",
"dev": true "dev": true
}, },
"node_modules/@types/semver": { "node_modules/@types/semver": {
"version": "7.3.4", "version": "7.3.8",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.4.tgz", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.8.tgz",
"integrity": "sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ==", "integrity": "sha512-D/2EJvAlCEtYFEYmmlGwbGXuK886HzyCc3nZX/tkFTQdEU8jZDAgiv08P162yB17y4ZXZoq7yFAnW4GDBb9Now==",
"dev": true "dev": true
}, },
"node_modules/@types/tar": { "node_modules/@types/tar": {
"version": "4.0.4", "version": "4.0.5",
"resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.4.tgz", "resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.5.tgz",
"integrity": "sha512-0Xv+xcmkTsOZdIF4yCnd7RkOOyfyqPaqJ7RZFKnwdxfDbkN3eAAE9sHl8zJFqBz4VhxolW9EErbjR1oyH7jK2A==", "integrity": "sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@types/minipass": "*", "@types/minipass": "*",
@ -117,14 +117,6 @@
"sprintf-js": "~1.0.2" "sprintf-js": "~1.0.2"
} }
}, },
"node_modules/at-least-node": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
"engines": {
"node": ">= 4.0.0"
}
},
"node_modules/balanced-match": { "node_modules/balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
@ -200,9 +192,9 @@
"dev": true "dev": true
}, },
"node_modules/dateformat": { "node_modules/dateformat": {
"version": "4.0.0", "version": "4.5.1",
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.0.0.tgz", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.5.1.tgz",
"integrity": "sha512-zpKyDYpeePyYGJp2HhRxLHlA+jZQNjt+MwmcVmLxCIECeC4Ks3TI3yk/CSMKylbnCJ5htonfOugYtRRTpyoHow==", "integrity": "sha512-OD0TZ+B7yP7ZgpJf5K2DIbj3FZvFvxgFUuaqA/V5zTjAtAAXZ1E8bktHxmAGs4x5b7PflqA9LeQ84Og7wYtF7Q==",
"engines": { "engines": {
"node": "*" "node": "*"
} }
@ -239,17 +231,16 @@
} }
}, },
"node_modules/fs-extra": { "node_modules/fs-extra": {
"version": "9.0.1", "version": "10.0.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz",
"integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==",
"dependencies": { "dependencies": {
"at-least-node": "^1.0.0",
"graceful-fs": "^4.2.0", "graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1", "jsonfile": "^6.0.1",
"universalify": "^1.0.0" "universalify": "^2.0.0"
}, },
"engines": { "engines": {
"node": ">=10" "node": ">=12"
} }
}, },
"node_modules/fs-minipass": { "node_modules/fs-minipass": {
@ -371,12 +362,15 @@
"universalify": "^2.0.0" "universalify": "^2.0.0"
} }
}, },
"node_modules/jsonfile/node_modules/universalify": { "node_modules/lru-cache": {
"version": "2.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"dependencies": {
"yallist": "^4.0.0"
},
"engines": { "engines": {
"node": ">= 10.0.0" "node": ">=10"
} }
}, },
"node_modules/minimatch": { "node_modules/minimatch": {
@ -467,9 +461,12 @@
} }
}, },
"node_modules/semver": { "node_modules/semver": {
"version": "7.3.2", "version": "7.3.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dependencies": {
"lru-cache": "^6.0.0"
},
"bin": { "bin": {
"semver": "bin/semver.js" "semver": "bin/semver.js"
}, },
@ -496,9 +493,9 @@
} }
}, },
"node_modules/tar": { "node_modules/tar": {
"version": "6.0.5", "version": "6.1.11",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.0.5.tgz", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz",
"integrity": "sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg==", "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==",
"dependencies": { "dependencies": {
"chownr": "^2.0.0", "chownr": "^2.0.0",
"fs-minipass": "^2.0.0", "fs-minipass": "^2.0.0",
@ -574,9 +571,9 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "4.0.5", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
"integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==", "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
"dev": true, "dev": true,
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
@ -587,9 +584,9 @@
} }
}, },
"node_modules/universalify": { "node_modules/universalify": {
"version": "1.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"engines": { "engines": {
"node": ">= 10.0.0" "node": ">= 10.0.0"
} }
@ -640,9 +637,9 @@
"dev": true "dev": true
}, },
"@types/fs-extra": { "@types/fs-extra": {
"version": "9.0.4", "version": "9.0.12",
"resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.4.tgz", "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.12.tgz",
"integrity": "sha512-50GO5ez44lxK5MDH90DYHFFfqxH7+fTqEEnvguQRzJ/tY9qFrMSHLiYHite+F3SNmf7+LHC1eMXojuD+E3Qcyg==", "integrity": "sha512-I+bsBr67CurCGnSenZZ7v94gd3tc3+Aj2taxMT4yu4ABLuOgOjeFxX3dokG24ztSRg5tnT00sL8BszO7gSMoIw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/node": "*" "@types/node": "*"
@ -658,21 +655,21 @@
} }
}, },
"@types/node": { "@types/node": {
"version": "14.14.9", "version": "16.7.10",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz",
"integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==", "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==",
"dev": true "dev": true
}, },
"@types/semver": { "@types/semver": {
"version": "7.3.4", "version": "7.3.8",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.4.tgz", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.8.tgz",
"integrity": "sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ==", "integrity": "sha512-D/2EJvAlCEtYFEYmmlGwbGXuK886HzyCc3nZX/tkFTQdEU8jZDAgiv08P162yB17y4ZXZoq7yFAnW4GDBb9Now==",
"dev": true "dev": true
}, },
"@types/tar": { "@types/tar": {
"version": "4.0.4", "version": "4.0.5",
"resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.4.tgz", "resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.5.tgz",
"integrity": "sha512-0Xv+xcmkTsOZdIF4yCnd7RkOOyfyqPaqJ7RZFKnwdxfDbkN3eAAE9sHl8zJFqBz4VhxolW9EErbjR1oyH7jK2A==", "integrity": "sha512-cgwPhNEabHaZcYIy5xeMtux2EmYBitfqEceBUi2t5+ETy4dW6kswt6WX4+HqLeiiKOo42EXbGiDmVJ2x+vi37Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/minipass": "*", "@types/minipass": "*",
@ -697,11 +694,6 @@
"sprintf-js": "~1.0.2" "sprintf-js": "~1.0.2"
} }
}, },
"at-least-node": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg=="
},
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
@ -768,9 +760,9 @@
"dev": true "dev": true
}, },
"dateformat": { "dateformat": {
"version": "4.0.0", "version": "4.5.1",
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.0.0.tgz", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.5.1.tgz",
"integrity": "sha512-zpKyDYpeePyYGJp2HhRxLHlA+jZQNjt+MwmcVmLxCIECeC4Ks3TI3yk/CSMKylbnCJ5htonfOugYtRRTpyoHow==" "integrity": "sha512-OD0TZ+B7yP7ZgpJf5K2DIbj3FZvFvxgFUuaqA/V5zTjAtAAXZ1E8bktHxmAGs4x5b7PflqA9LeQ84Og7wYtF7Q=="
}, },
"diff": { "diff": {
"version": "4.0.2", "version": "4.0.2",
@ -791,14 +783,13 @@
"dev": true "dev": true
}, },
"fs-extra": { "fs-extra": {
"version": "9.0.1", "version": "10.0.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz",
"integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==",
"requires": { "requires": {
"at-least-node": "^1.0.0",
"graceful-fs": "^4.2.0", "graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1", "jsonfile": "^6.0.1",
"universalify": "^1.0.0" "universalify": "^2.0.0"
} }
}, },
"fs-minipass": { "fs-minipass": {
@ -903,13 +894,14 @@
"requires": { "requires": {
"graceful-fs": "^4.1.6", "graceful-fs": "^4.1.6",
"universalify": "^2.0.0" "universalify": "^2.0.0"
},
"dependencies": {
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
} }
},
"lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"requires": {
"yallist": "^4.0.0"
} }
}, },
"minimatch": { "minimatch": {
@ -985,9 +977,12 @@
} }
}, },
"semver": { "semver": {
"version": "7.3.2", "version": "7.3.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"requires": {
"lru-cache": "^6.0.0"
}
}, },
"sprintf-js": { "sprintf-js": {
"version": "1.0.3", "version": "1.0.3",
@ -1005,9 +1000,9 @@
} }
}, },
"tar": { "tar": {
"version": "6.0.5", "version": "6.1.11",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.0.5.tgz", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz",
"integrity": "sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg==", "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==",
"requires": { "requires": {
"chownr": "^2.0.0", "chownr": "^2.0.0",
"fs-minipass": "^2.0.0", "fs-minipass": "^2.0.0",
@ -1069,15 +1064,15 @@
} }
}, },
"typescript": { "typescript": {
"version": "4.0.5", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
"integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==", "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
"dev": true "dev": true
}, },
"universalify": { "universalify": {
"version": "1.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==" "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "@squeebot/core", "name": "@squeebot/core",
"version": "3.3.1", "version": "3.3.2",
"description": "Squeebot v3 core for the execution environment", "description": "Squeebot v3 core for the execution environment",
"main": "lib/index.js", "main": "lib/index.js",
"module": "lib/", "module": "lib/",
@ -18,17 +18,17 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/dateformat": "^3.0.1", "@types/dateformat": "^3.0.1",
"@types/fs-extra": "^9.0.4", "@types/fs-extra": "^9.0.12",
"@types/node": "^14.14.9", "@types/node": "^16.7.10",
"@types/semver": "^7.3.4", "@types/semver": "^7.3.8",
"@types/tar": "^4.0.4", "@types/tar": "^4.0.5",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"typescript": "^4.0.5" "typescript": "^4.4.2"
}, },
"dependencies": { "dependencies": {
"dateformat": "^4.0.0", "dateformat": "^4.5.1",
"fs-extra": "^9.0.1", "fs-extra": "^10.0.0",
"semver": "^7.3.2", "semver": "^7.3.5",
"tar": "^6.0.5" "tar": "^6.1.11"
} }
} }

View File

@ -163,7 +163,7 @@ export class PluginManager {
try { try {
await this.load(manifest); await this.load(manifest);
available.push(manifest); available.push(manifest);
} catch (e) { } catch (e: any) {
logger.error(e.stack); logger.error(e.stack);
throw new Error(`Plugin dependency "${manifest.name}" loading failed for "${plugin.name}"`); throw new Error(`Plugin dependency "${manifest.name}" loading failed for "${plugin.name}"`);
} }
@ -174,7 +174,7 @@ export class PluginManager {
for (const depm of plugin.npmDependencies) { for (const depm of plugin.npmDependencies) {
try { try {
await this.npm.installPackage(depm); await this.npm.installPackage(depm);
} catch (e) { } catch (e: any) {
logger.error(e.stack); logger.error(e.stack);
throw new Error(`Plugin dependency "${depm}" installation failed for "${plugin.name}"`); throw new Error(`Plugin dependency "${depm}" installation failed for "${plugin.name}"`);
} }
@ -229,7 +229,7 @@ export class PluginManager {
loaded[name].call(loaded); loaded[name].call(loaded);
} }
} }
} catch (e) { } catch (e: any) {
logger.error(e.stack); logger.error(e.stack);
throw new Error(`Plugin "${plugin.name}" initialization failed.`); throw new Error(`Plugin "${plugin.name}" initialization failed.`);
} }

View File

@ -37,7 +37,7 @@ export class ScopedEventEmitter {
if (listener.event === event && listener.func) { if (listener.event === event && listener.func) {
try { try {
listener.func(...args); listener.func(...args);
} catch (e) { } catch (e: any) {
logger.error('An error occured in one of the listeners for "%s":', logger.error('An error occured in one of the listeners for "%s":',
event, e.stack); event, e.stack);
} }
@ -65,7 +65,7 @@ export class ScopedEventEmitter {
if (listener.event === event && listener.func) { if (listener.event === event && listener.func) {
try { try {
listener.func(...args); listener.func(...args);
} catch (e) { } catch (e: any) {
logger.error('An error occured in one of the listeners for "%s", stream "%s":', logger.error('An error occured in one of the listeners for "%s", stream "%s":',
event, name, e.stack); event, name, e.stack);
} }