From 02c27afd2978339b2d7cc0369cfc7dd869973093 Mon Sep 17 00:00:00 2001 From: Nicco Date: Mon, 28 Nov 2022 02:12:08 +0100 Subject: [PATCH] 1.3.1 (#7) * update deps * changelog * allow 'y' as yes values --- CHANGELOG.md | 10 ++++++++++ package.json | 10 +++++----- pnpm-lock.yaml | 32 ++++++++++++++++---------------- src/config.ts | 2 +- 4 files changed, 32 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcf76c5..4561265 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index c4c8be1..b033609 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6089d42..0c83814 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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 diff --git a/src/config.ts b/src/config.ts index 73ef83b..35bcd5b 100644 --- a/src/config.ts +++ b/src/config.ts @@ -22,7 +22,7 @@ function getEnv( function parseBoolean(value: string): boolean { value = value.toLowerCase() - const truthy = ['true', 'yes', '1'] + const truthy = ['true', 'yes', '1', 'y'] return truthy.includes(value) }