This commit is contained in:
Evert Prants 2021-09-03 20:23:32 +03:00
parent 293f949afc
commit bac88841b0
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
5 changed files with 349 additions and 450 deletions

View File

@ -3,7 +3,7 @@
"name": "control", "name": "control",
"description": "Squeebot Plugin Management API and sockets", "description": "Squeebot Plugin Management API and sockets",
"tags": ["api", "control", "management"], "tags": ["api", "control", "management"],
"version": "0.1.0", "version": "0.1.1",
"dependencies": [], "dependencies": [],
"npmDependencies": [] "npmDependencies": []
} }

View File

@ -519,7 +519,7 @@ class ControlPlugin extends Plugin {
} }
} }
socket.write(JSON.stringify(response) + '\r\n'); socket.write(JSON.stringify(response) + '\r\n');
} catch (e) { } catch (e: any) {
this.errorToClient(socket, e); this.errorToClient(socket, e);
} }
}, (e) => this.errorToClient(socket, e)); }, (e) => this.errorToClient(socket, e));
@ -568,7 +568,7 @@ class ControlPlugin extends Plugin {
const req = JSON.parse(chunk); const req = JSON.parse(chunk);
this.handleClientLine(socket, req); this.handleClientLine(socket, req);
} }
} catch (e) { } catch (e: any) {
this.errorToClient(socket, e); this.errorToClient(socket, e);
} }
}); });

784
package-lock.json generated
View File

@ -1,460 +1,356 @@
{ {
"name": "plugins-core", "name": "plugins-core",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 2,
"requires": true, "requires": true,
"dependencies": { "packages": {
"@squeebot/core": { "": {
"version": "file:../core", "name": "plugins-core",
"requires": { "version": "1.0.0",
"license": "ISC",
"dependencies": {
"@squeebot/core": "^3.3.1",
"typescript": "^4.4.2"
},
"devDependencies": {
"@types/node": "^16.7.10"
}
},
"../core": {
"name": "@squeebot/core",
"version": "3.3.1",
"extraneous": true,
"license": "MIT",
"dependencies": {
"dateformat": "^4.0.0", "dateformat": "^4.0.0",
"fs-extra": "^9.0.1", "fs-extra": "^9.0.1",
"semver": "^7.3.2", "semver": "^7.3.2",
"tar": "^6.0.5" "tar": "^6.0.5"
}, },
"devDependencies": {
"@types/dateformat": "^3.0.1",
"@types/fs-extra": "^9.0.4",
"@types/node": "^14.14.9",
"@types/semver": "^7.3.4",
"@types/tar": "^4.0.4",
"tslint": "^6.1.3",
"typescript": "^4.0.5"
}
},
"node_modules/@squeebot/core": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/@squeebot/core/-/core-3.3.1.tgz",
"integrity": "sha512-pkLMbZ0ZLC0isBlGbOCyu28NalBOjmwAkC0RmPN19DysohEF7XBdMMBss72IT3fXeAK6mEKO7pHZS4XAHVZa0Q==",
"dependencies": { "dependencies": {
"@babel/code-frame": { "dateformat": "^4.0.0",
"version": "7.10.4", "fs-extra": "^9.0.1",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", "semver": "^7.3.2",
"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", "tar": "^6.0.5"
"requires": { }
"@babel/highlight": "^7.10.4" },
} "node_modules/@types/node": {
}, "version": "16.7.10",
"@babel/helper-validator-identifier": { "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz",
"version": "7.10.4", "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", "dev": true
"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==" },
}, "node_modules/at-least-node": {
"@babel/highlight": { "version": "1.0.0",
"version": "7.10.4", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
"integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", "engines": {
"requires": { "node": ">= 4.0.0"
"@babel/helper-validator-identifier": "^7.10.4", }
"chalk": "^2.0.0", },
"js-tokens": "^4.0.0" "node_modules/chownr": {
} "version": "2.0.0",
}, "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
"@types/dateformat": { "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
"version": "3.0.1", "engines": {
"resolved": "https://registry.npmjs.org/@types/dateformat/-/dateformat-3.0.1.tgz", "node": ">=10"
"integrity": "sha512-KlPPdikagvL6ELjWsljbyDIPzNCeliYkqRpI+zea99vBBbCIA5JNshZAwQKTON139c87y9qvTFVgkFd14rtS4g==" }
}, },
"@types/fs-extra": { "node_modules/dateformat": {
"version": "9.0.4", "version": "4.5.1",
"resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.4.tgz", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.5.1.tgz",
"integrity": "sha512-50GO5ez44lxK5MDH90DYHFFfqxH7+fTqEEnvguQRzJ/tY9qFrMSHLiYHite+F3SNmf7+LHC1eMXojuD+E3Qcyg==", "integrity": "sha512-OD0TZ+B7yP7ZgpJf5K2DIbj3FZvFvxgFUuaqA/V5zTjAtAAXZ1E8bktHxmAGs4x5b7PflqA9LeQ84Og7wYtF7Q==",
"requires": { "engines": {
"@types/node": "*" "node": "*"
} }
}, },
"@types/minipass": { "node_modules/fs-extra": {
"version": "2.2.0", "version": "9.1.0",
"resolved": "https://registry.npmjs.org/@types/minipass/-/minipass-2.2.0.tgz", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
"integrity": "sha512-wuzZksN4w4kyfoOv/dlpov4NOunwutLA/q7uc00xU02ZyUY+aoM5PWIXEKBMnm0NHd4a+N71BMjq+x7+2Af1fg==", "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
"requires": { "dependencies": {
"@types/node": "*" "at-least-node": "^1.0.0",
} "graceful-fs": "^4.2.0",
}, "jsonfile": "^6.0.1",
"@types/node": { "universalify": "^2.0.0"
"version": "14.14.9", },
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", "engines": {
"integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==" "node": ">=10"
}, }
"@types/semver": { },
"version": "7.3.4", "node_modules/fs-minipass": {
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.4.tgz", "version": "2.1.0",
"integrity": "sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ==" "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
}, "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
"@types/tar": { "dependencies": {
"version": "4.0.4", "minipass": "^3.0.0"
"resolved": "https://registry.npmjs.org/@types/tar/-/tar-4.0.4.tgz", },
"integrity": "sha512-0Xv+xcmkTsOZdIF4yCnd7RkOOyfyqPaqJ7RZFKnwdxfDbkN3eAAE9sHl8zJFqBz4VhxolW9EErbjR1oyH7jK2A==", "engines": {
"requires": { "node": ">= 8"
"@types/minipass": "*", }
"@types/node": "*" },
} "node_modules/graceful-fs": {
}, "version": "4.2.8",
"ansi-styles": { "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz",
"version": "3.2.1", "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", },
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "node_modules/jsonfile": {
"requires": { "version": "6.1.0",
"color-convert": "^1.9.0" "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
} "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
}, "dependencies": {
"argparse": { "universalify": "^2.0.0"
"version": "1.0.10", },
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "optionalDependencies": {
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "graceful-fs": "^4.1.6"
"requires": { }
"sprintf-js": "~1.0.2" },
} "node_modules/lru-cache": {
}, "version": "6.0.0",
"at-least-node": { "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"version": "1.0.0", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", "dependencies": {
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==" "yallist": "^4.0.0"
}, },
"balanced-match": { "engines": {
"version": "1.0.0", "node": ">=10"
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", }
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" },
}, "node_modules/minipass": {
"brace-expansion": { "version": "3.1.3",
"version": "1.1.11", "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dependencies": {
"requires": { "yallist": "^4.0.0"
"balanced-match": "^1.0.0", },
"concat-map": "0.0.1" "engines": {
} "node": ">=8"
}, }
"builtin-modules": { },
"version": "1.1.1", "node_modules/minizlib": {
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", "version": "2.1.2",
"integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
}, "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
"chalk": { "dependencies": {
"version": "2.4.2", "minipass": "^3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "yallist": "^4.0.0"
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", },
"requires": { "engines": {
"ansi-styles": "^3.2.1", "node": ">= 8"
"escape-string-regexp": "^1.0.5", }
"supports-color": "^5.3.0" },
} "node_modules/mkdirp": {
}, "version": "1.0.4",
"chownr": { "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
"version": "2.0.0", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", "bin": {
"integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==" "mkdirp": "bin/cmd.js"
}, },
"color-convert": { "engines": {
"version": "1.9.3", "node": ">=10"
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", }
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", },
"requires": { "node_modules/semver": {
"color-name": "1.1.3" "version": "7.3.5",
} "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
}, "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"color-name": { "dependencies": {
"version": "1.1.3", "lru-cache": "^6.0.0"
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", },
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" "bin": {
}, "semver": "bin/semver.js"
"commander": { },
"version": "2.20.3", "engines": {
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "node": ">=10"
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }
}, },
"concat-map": { "node_modules/tar": {
"version": "0.0.1", "version": "6.1.11",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==",
}, "dependencies": {
"dateformat": { "chownr": "^2.0.0",
"version": "4.0.0", "fs-minipass": "^2.0.0",
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.0.0.tgz", "minipass": "^3.0.0",
"integrity": "sha512-zpKyDYpeePyYGJp2HhRxLHlA+jZQNjt+MwmcVmLxCIECeC4Ks3TI3yk/CSMKylbnCJ5htonfOugYtRRTpyoHow==" "minizlib": "^2.1.1",
}, "mkdirp": "^1.0.3",
"diff": { "yallist": "^4.0.0"
"version": "4.0.2", },
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", "engines": {
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" "node": ">= 10"
}, }
"escape-string-regexp": { },
"version": "1.0.5", "node_modules/typescript": {
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "version": "4.4.2",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
}, "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
"esprima": { "bin": {
"version": "4.0.1", "tsc": "bin/tsc",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "tsserver": "bin/tsserver"
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" },
}, "engines": {
"fs-extra": { "node": ">=4.2.0"
"version": "9.0.1", }
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", },
"integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", "node_modules/universalify": {
"requires": { "version": "2.0.0",
"at-least-node": "^1.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"graceful-fs": "^4.2.0", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"jsonfile": "^6.0.1", "engines": {
"universalify": "^1.0.0" "node": ">= 10.0.0"
} }
}, },
"fs-minipass": { "node_modules/yallist": {
"version": "2.1.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
"requires": { }
"minipass": "^3.0.0" },
} "dependencies": {
}, "@squeebot/core": {
"fs.realpath": { "version": "3.3.1",
"version": "1.0.0", "resolved": "https://registry.npmjs.org/@squeebot/core/-/core-3.3.1.tgz",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-pkLMbZ0ZLC0isBlGbOCyu28NalBOjmwAkC0RmPN19DysohEF7XBdMMBss72IT3fXeAK6mEKO7pHZS4XAHVZa0Q==",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" "requires": {
}, "dateformat": "^4.0.0",
"function-bind": { "fs-extra": "^9.0.1",
"version": "1.1.1", "semver": "^7.3.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "tar": "^6.0.5"
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }
}, },
"glob": { "@types/node": {
"version": "7.1.6", "version": "16.7.10",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz",
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==",
"requires": { "dev": true
"fs.realpath": "^1.0.0", },
"inflight": "^1.0.4", "at-least-node": {
"inherits": "2", "version": "1.0.0",
"minimatch": "^3.0.4", "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
"once": "^1.3.0", "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg=="
"path-is-absolute": "^1.0.0" },
} "chownr": {
}, "version": "2.0.0",
"graceful-fs": { "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
"version": "4.2.4", "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ=="
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", },
"integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" "dateformat": {
}, "version": "4.5.1",
"has": { "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-4.5.1.tgz",
"version": "1.0.3", "integrity": "sha512-OD0TZ+B7yP7ZgpJf5K2DIbj3FZvFvxgFUuaqA/V5zTjAtAAXZ1E8bktHxmAGs4x5b7PflqA9LeQ84Og7wYtF7Q=="
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", },
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "fs-extra": {
"requires": { "version": "9.1.0",
"function-bind": "^1.1.1" "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
} "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
}, "requires": {
"has-flag": { "at-least-node": "^1.0.0",
"version": "3.0.0", "graceful-fs": "^4.2.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "jsonfile": "^6.0.1",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" "universalify": "^2.0.0"
}, }
"inflight": { },
"version": "1.0.6", "fs-minipass": {
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "version": "2.1.0",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
"requires": { "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
"once": "^1.3.0", "requires": {
"wrappy": "1" "minipass": "^3.0.0"
} }
}, },
"inherits": { "graceful-fs": {
"version": "2.0.4", "version": "4.2.8",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="
}, },
"is-core-module": { "jsonfile": {
"version": "2.1.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"requires": { "requires": {
"has": "^1.0.3" "graceful-fs": "^4.1.6",
} "universalify": "^2.0.0"
}, }
"js-tokens": { },
"version": "4.0.0", "lru-cache": {
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "version": "6.0.0",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
}, "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"js-yaml": { "requires": {
"version": "3.14.0", "yallist": "^4.0.0"
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", }
"integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", },
"requires": { "minipass": {
"argparse": "^1.0.7", "version": "3.1.3",
"esprima": "^4.0.0" "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz",
} "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==",
}, "requires": {
"jsonfile": { "yallist": "^4.0.0"
"version": "6.1.0", }
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", },
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "minizlib": {
"requires": { "version": "2.1.2",
"graceful-fs": "^4.1.6", "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
"universalify": "^2.0.0" "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
}, "requires": {
"dependencies": { "minipass": "^3.0.0",
"universalify": { "yallist": "^4.0.0"
"version": "2.0.0", }
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", },
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" "mkdirp": {
} "version": "1.0.4",
} "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
}, "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
"minimatch": { },
"version": "3.0.4", "semver": {
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "version": "7.3.5",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"requires": { "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"brace-expansion": "^1.1.7" "requires": {
} "lru-cache": "^6.0.0"
}, }
"minimist": { },
"version": "1.2.5", "tar": {
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "version": "6.1.11",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz",
}, "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==",
"minipass": { "requires": {
"version": "3.1.3", "chownr": "^2.0.0",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", "fs-minipass": "^2.0.0",
"integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", "minipass": "^3.0.0",
"requires": { "minizlib": "^2.1.1",
"yallist": "^4.0.0" "mkdirp": "^1.0.3",
} "yallist": "^4.0.0"
},
"minizlib": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
"integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
"requires": {
"minipass": "^3.0.0",
"yallist": "^4.0.0"
}
},
"mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
"requires": {
"minimist": "^1.2.5"
}
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1"
}
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"path-parse": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
},
"resolve": {
"version": "1.19.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
"integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
"requires": {
"is-core-module": "^2.1.0",
"path-parse": "^1.0.6"
}
},
"semver": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
},
"sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
},
"supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"requires": {
"has-flag": "^3.0.0"
}
},
"tar": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.0.5.tgz",
"integrity": "sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg==",
"requires": {
"chownr": "^2.0.0",
"fs-minipass": "^2.0.0",
"minipass": "^3.0.0",
"minizlib": "^2.1.1",
"mkdirp": "^1.0.3",
"yallist": "^4.0.0"
},
"dependencies": {
"mkdirp": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
}
}
},
"tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
},
"tslint": {
"version": "6.1.3",
"resolved": "https://registry.npmjs.org/tslint/-/tslint-6.1.3.tgz",
"integrity": "sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg==",
"requires": {
"@babel/code-frame": "^7.0.0",
"builtin-modules": "^1.1.1",
"chalk": "^2.3.0",
"commander": "^2.12.1",
"diff": "^4.0.1",
"glob": "^7.1.1",
"js-yaml": "^3.13.1",
"minimatch": "^3.0.4",
"mkdirp": "^0.5.3",
"resolve": "^1.3.2",
"semver": "^5.3.0",
"tslib": "^1.13.0",
"tsutils": "^2.29.0"
},
"dependencies": {
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
}
}
},
"tsutils": {
"version": "2.29.0",
"resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",
"integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",
"requires": {
"tslib": "^1.8.1"
}
},
"typescript": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",
"integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ=="
},
"universalify": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz",
"integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug=="
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
}
} }
}, },
"typescript": { "typescript": {
"version": "4.1.2", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
"integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==" "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ=="
},
"universalify": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
},
"yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
} }
} }
} }

View File

@ -11,7 +11,10 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@squeebot/core": "file:../core", "@squeebot/core": "^3.3.1",
"typescript": "^4.1.2" "typescript": "^4.4.2"
},
"devDependencies": {
"@types/node": "^16.7.10"
} }
} }

View File

@ -3,7 +3,7 @@
"plugins": [ "plugins": [
{ {
"name": "control", "name": "control",
"version": "0.1.0" "version": "0.1.1"
}, },
{ {
"name": "permissions", "name": "permissions",