* update deps

* changelog

* allow 'y' as yes values
This commit is contained in:
Nicco 2022-11-28 02:12:08 +01:00 committed by GitHub
parent 04b3acc509
commit 02c27afd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 22 deletions

View File

@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.3.1] - 2022-11-28
### Added
- `y` is now a valid truthy value.
### Security
- Updated dependencies.
## [1.3.0] - 2022-10-20
### Removed

View File

@ -1,5 +1,5 @@
{
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",
"type": "module",
"main": "dist",
@ -9,14 +9,14 @@
"start": "node ."
},
"dependencies": {
"axios": "^1.1.3",
"axios": "^1.2.0",
"dotenv": "^16.0.3",
"node-cron": "^3.0.2",
"winston": "^3.8.2"
},
"devDependencies": {
"@types/node": "18",
"@types/node-cron": "^3.0.4",
"typescript": "^4.8.4"
"@types/node": "^18.11.9",
"@types/node-cron": "^3.0.6",
"typescript": "^4.9.3"
}
}

View File

@ -1,24 +1,24 @@
lockfileVersion: 5.4
specifiers:
'@types/node': '18'
'@types/node-cron': ^3.0.4
axios: ^1.1.3
'@types/node': ^18.11.9
'@types/node-cron': ^3.0.6
axios: ^1.2.0
dotenv: ^16.0.3
node-cron: ^3.0.2
typescript: ^4.8.4
typescript: ^4.9.3
winston: ^3.8.2
dependencies:
axios: 1.1.3
axios: 1.2.0
dotenv: 16.0.3
node-cron: 3.0.2
winston: 3.8.2
devDependencies:
'@types/node': 18.11.2
'@types/node-cron': 3.0.4
typescript: 4.8.4
'@types/node': 18.11.9
'@types/node-cron': 3.0.6
typescript: 4.9.3
packages:
@ -35,12 +35,12 @@ packages:
kuler: 2.0.0
dev: false
/@types/node-cron/3.0.4:
resolution: {integrity: sha512-A2H+uz5ry4hohYjRe5mQSE/8Dx/HGw4WZ728JxhKUZ7z8CMvRuG2tpbzGHRGQCuQzz5aCNB1iXzPZYHd4BPHvw==}
/@types/node-cron/3.0.6:
resolution: {integrity: sha512-Qu9dpjkgj2JmzRmDMVzpt2dFKuJ7wma0mxEvbbgomwkhAdHKT2LpSLYHawzd9OeeP4HsyhmcV9o/xLgJyPNcgw==}
dev: true
/@types/node/18.11.2:
resolution: {integrity: sha512-BWN3M23gLO2jVG8g/XHIRFWiiV4/GckeFIqbU/C4V3xpoBBWSMk4OZomouN0wCkfQFPqgZikyLr7DOYDysIkkw==}
/@types/node/18.11.9:
resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==}
dev: true
/async/3.2.4:
@ -51,8 +51,8 @@ packages:
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
dev: false
/axios/1.1.3:
resolution: {integrity: sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==}
/axios/1.2.0:
resolution: {integrity: sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==}
dependencies:
follow-redirects: 1.15.2
form-data: 4.0.0
@ -246,8 +246,8 @@ packages:
resolution: {integrity: sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw==}
dev: false
/typescript/4.8.4:
resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==}
/typescript/4.9.3:
resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==}
engines: {node: '>=4.2.0'}
hasBin: true
dev: true

View File

@ -22,7 +22,7 @@ function getEnv<T>(
function parseBoolean(value: string): boolean {
value = value.toLowerCase()
const truthy = ['true', 'yes', '1']
const truthy = ['true', 'yes', '1', 'y']
return truthy.includes(value)
}