From 8c157673a2969ab6d7135dbc9caf0227169bd9ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Schl=C3=BCter?= Date: Thu, 22 Dec 2022 08:09:45 +0100 Subject: [PATCH 1/2] Bump version to 1.9.1 --- Dockerfile | 2 +- package-lock.json | 24 +++++++++++++++--------- package.json | 4 ++-- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb5a674..b6c2d24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:18 -LABEL version="1.9.0" +LABEL version="1.9.1" LABEL description="Script written in JavaScript (Node) that uploads CGM readings from LibreLink Up to Nightscout" # Create app directory diff --git a/package-lock.json b/package-lock.json index 227d4b1..faf461c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nightscout-librelink-up", - "version": "1.9.0", + "version": "1.9.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -30,12 +30,13 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.1.tgz", + "integrity": "sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A==", "requires": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" } }, "color": { @@ -107,9 +108,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==" + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" }, "form-data": { "version": "4.0.0", @@ -187,6 +188,11 @@ "fn.name": "1.x.x" } }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", diff --git a/package.json b/package.json index b33149a..6141412 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nightscout-librelink-up", - "version": "1.9.0", + "version": "1.9.1", "description": "Script written in JavaScript (Node) that uploads CGM readings from LibreLink Up to Nightscout", "main": "index.js", "scripts": { @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/timoschlueter/nightscout-librelink-up#readme", "dependencies": { - "axios": "^0.27.2", + "axios": "^1.2.1", "node-cron": "3.0.2", "winston": "^3.8.2" } From d42bc1bc2e4bd95aa90ddb0ef46e1db4b02147cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Schl=C3=BCter?= Date: Thu, 22 Dec 2022 08:11:39 +0100 Subject: [PATCH 2/2] Change Heroku size to "eco" (fixes #74, fixes #79) --- app.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.json b/app.json index 5eac0ef..5913ff3 100644 --- a/app.json +++ b/app.json @@ -4,11 +4,11 @@ "formation": { "web": { "quantity": 0, - "size": "free" + "size": "eco" }, "worker": { "quantity": 1, - "size": "free" + "size": "eco" } }, "env": {