100 Commits
Author SHA1 Message Date
Andy Low 69b620dd2f Harden MongoDB driver compatibility 2026-04-19 23:24:22 +01:00
Andy Low c77097abd8 Merge remote-tracking branch 'origin/dev' into pr-8421
# Conflicts:
#	package-lock.json
2026-03-06 21:51:52 +00:00
Ben West 13d314119d new dev area for 15.0.7
This initializes development after releasing 15.0.6.
2026-03-03 15:07:43 -08:00
Ben West 797df9bdda Update bridge deps to 0.2.12/1.5.8
These changes remove shrinkwrap from including dev dependencies for production
use.  This is intended to solve errors in production environments like heroku
incorrectly pulling in darwin based chokidar and related mocha dependencies.
2026-03-03 12:20:47 -08:00
Ben West 6852e550a8 cut new dev for 15.0.6
Post release 15.0.5, we will develop branch for 15.0.6.
2026-03-03 11:32:05 -08:00
Ben West 4130f325c5 Update bridge deps to 0.2.11/1.5.7 (fsevents fix)
Both bridge packages now have clean shrinkwraps without devDependencies,
eliminating the fsevents (darwin-only) entries that caused Heroku build failures.
2026-03-01 12:28:29 -08:00
Ben West a5ada47d32 first commit to cut new 15.0.5 dev branch 2026-03-01 12:02:54 -08:00
Ben WestandCopilot e0cc9ff5df Relax Node version constraints to >=16.x
- Change engines.node from '^22.x || ^20.x' to '>=16.x'
- Change engines.npm from '>=10.x' to '>=8.x'
- Update runtime checkNodeVersion to allow Node 16+
- Creates overlap with previous release (^16.x || ^14.x)

This allows users on Node 16/18 to upgrade smoothly while
recommending Node 20 or 22 LTS for best support.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 14:52:56 -08:00
bewest cface54888 Optimize test suite by converting beforeEach to before and adding parallel testing scripts
Updated test execution scripts in package.json to include parallel and fast test options. Converted several `beforeEach` hooks to `before` in test files for more efficient application setup. Added documentation for test optimizations.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 271f3cac-bab1-4e81-9982-f31b3b030aab
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: ac6eb857-be5a-454b-96cf-b9c4c57f058b
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ea4278b-5c6c-4065-9cb8-f1013771318d/271f3cac-bab1-4e81-9982-f31b3b030aab/69H2O1r
Replit-Helium-Checkpoint-Created: true
2026-01-19 22:47:02 +00:00
bewestandBen West 0b411aed8b Update Nightscout to version 15.0.4 and configure for Replit
Update project documentation and startup script for Nightscout v15.0.4, including Replit specific configurations like INSECURE_USE_HTTP=true and webpack bundling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 748e831e-92ae-4927-9569-47665f47f29c
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 6e1d3764-af75-4a2b-a75f-f7252955326d
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ea4278b-5c6c-4065-9cb8-f1013771318d/748e831e-92ae-4927-9569-47665f47f29c/FO8cDm7
Replit-Helium-Checkpoint-Created: true
2026-01-19 13:11:12 -08:00
Ingo Reitz b0d00fea0a package-lock: upgrade lockfile version
Signed-off-by: Ingo Reitz <9l@9lo.re>
2025-06-09 01:51:30 +02:00
Ben West 03c01d03bc new dev branch for 15.0.4
This is first commit after the 15.0.3 release.
2025-05-08 15:17:54 -07:00
Ben West 5b440b7a98 create room for dev post release 2023-10-25 12:55:05 -07:00
Ben West cfe89c867c bump for dev post release of 15.0.1 2023-10-20 09:05:41 -07:00
Ben West 89354e5398 bump nightscout-connect version 2023-10-19 20:30:52 -07:00
Ben West 2e65b1dd9b Revert "Merge pull request #8026 from nightscout/less_frequent_db_updates"
This reverts commit 2757fe585d, reversing
changes made to 4a461e5890.
2023-10-19 13:03:38 -07:00
Ben West b2a59ee9dc create next dev area post release 2023-10-18 10:38:10 -07:00
Ben West 97a603fb00 upgrade nightscout-connect@^0.0.12, npm install
Record changes from upgrading nightscout-connect to at least the latest
release, 0.0.12.
2023-10-12 09:06:27 -07:00
Ben West 6964916963 n 14 && npm install
Record output of npm instlal using oldest supported version.
2023-10-12 08:58:54 -07:00
Ben West c6c0a0ae2f Merge remote-tracking branch 'official/dev' into less_frequent_db_updates 2023-10-12 08:56:13 -07:00
Ben West ebece1bcb5 n 14 && npm install
Use npm install under node 14 generates different lock file.
2023-10-12 08:37:13 -07:00
Ben West 79df562519 npm install nightscout-connect@^0.0.11 2023-08-24 17:12:27 -07:00
Ben West d602de1c47 bump nightscout-connect 0.0.10 2023-08-06 10:30:45 -07:00
Ben West 6296a75934 update nightscout-connect dependency 2023-08-05 19:28:43 -07:00
Ben West a5acd9b670 update nightscout-connect 0.0.8
This provides better support for several vendors, notably Medtronic and Glooko.
2023-08-05 09:09:50 -07:00
Bill Gestrich 20675ccfd8 add @parse/node-apn library 2023-07-01 06:26:23 -04:00
Bill Gestrich 34bd1ffe18 Remove base64url library 2023-07-01 06:25:20 -04:00
Bill Gestrich f63566b46d Remove pem library 2023-07-01 06:24:38 -04:00
Bill Gestrich c2f110880e Remove node-apn 2023-07-01 06:21:59 -04:00
Ben West 29f84c1f0a bump nightscout-connect patch version 2023-06-19 11:47:16 -07:00
Ben West e7e04fc681 use latest version of nightscout-connect 2023-06-13 12:34:53 -07:00
Ben West 506498483d bump minimed-connect-to-nightscout package 2023-06-09 11:41:25 -07:00
Ben West 52315435e3 better internal support for nightscout-connect 2023-06-07 16:58:34 -07:00
Ben West c2199c1517 Merge remote-tracking branch 'official/easystate-api' into wip/bewest/nightscout-connect 2023-06-07 16:30:32 -07:00
Ben West 6beb8a4667 nightscout-connnect upgrade
With this patch, the new version of nightscout-connect will support
all the features of share2nightscout-bridge,
minimed-connect-to-nightscout, and more.
2023-06-07 16:24:51 -07:00
Sulka Haro d2c9838e7a * Rename API to Summary
* Preprocess temp basals and profile to create a temp basal dataset
* Cleaner profile output
* Support hours GET parameter (up to 48 hours)
2023-06-06 09:18:48 +03:00
Ben West f96435b191 bump minimed-connect-to-nighscout version 2023-06-02 11:09:18 -07:00
Sulka Haro 93ffb25147 Upgrade Mongo driver to latest legacy-API compatible version 2023-06-01 12:20:36 +03:00
Ben West 8faf5dcb07 use released version of nightscout-connect 2023-05-31 13:25:03 -07:00
Ben West 25672ea120 experimental support for nightscout-connect 2023-04-07 10:13:53 -07:00
Sulka HaroandGitHub d185cf63e8 Update Mongo URL parser to 1.0.2 to fix issues Scott H found (#7606)
* Update Mongo URL parser to 1.0.2 to fix issues Scott H found

* Reset the lockfile

* Update lock to include new component
2023-01-27 08:34:46 +02:00
26a8cf1775 Downgrade jsdom to version 11.11.0 (#7851)
* rollback compatibility issues for tests

Revert "Bump jsonwebtoken from 8.5.1 to 9.0.0 (#7787)"

This rolls back changes to node_modules via package-lock.json as a
result of new dependencies.  More work is needed before involving these
changes.  Without this rollback, the tests do consistently complete within
the allowed time in a reproducible way.

* Test Github Actions with jsdom 11.11.0

* Upgrade github actions as requested by the actions runner

* Lock generated using 6.14.18

* Upgrade actions/checkout@v2 to v3

* restore jsonwebtoken upgrade

Co-authored-by: Ben West <bewest@gmail.com>
2023-01-24 19:43:45 +02:00
Sulka Haro bdcb7065bc Generate package-lock with npm 6 to fix deployment issues on various cloud providers 2023-01-06 12:09:34 +02:00
Sulka HaroandGitHub 6ad4ef1814 Update socket.io and uuid packages (#7793)
* This commit updates the uuid and socket.io packages to latest versions and enables compression over websocket

* Drop the compression threshold down to 512 bytes

* Enable http compression down to 512 bytes and request long poll transport only, as per current release

* Add the socket.io-client back in

* Use polling with the NS client

* Update express to latest in 4.x line, fix tests
2023-01-01 12:57:57 +02:00
Sulka Haro 68348227a4 Update package-lock so it matches the package.json 2023-01-01 12:47:13 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
08d07c044c Bump jsonwebtoken from 8.5.1 to 9.0.0 (#7787)
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0.
- [Release notes](https://github.com/auth0/node-jsonwebtoken/releases)
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/node-jsonwebtoken/compare/v8.5.1...v9.0.0)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 22:41:47 +02:00
Ben West c9f3a12c8f n 10; rm package-lock.json && npm install
Remove npm list from engine as it is intended to be advisory.
2022-08-07 18:28:10 -07:00
Ben West 5d0d320c21 npm install --no-optional
The build still fails for node 12.x.
Skip optional dependencies.

https://stackoverflow.com/a/48953213
2022-07-17 19:13:02 -07:00
Ben West 27a882f85a rm package-lock.json && npm install
npm ls fsevent didn't list any output.  I'm running on linux,
and regenerating this file after removing it seems to remove
the fsevent package from the file.
It's likely that fsevent may be used in development mode as part
of one of the build utilities, but it shouldn't block anyone from
deploying.

https://github.com/nightscout/cgm-remote-monitor/issues/7475
2022-07-17 18:57:42 -07:00
Ben West 0d1aed7b93 Revert "npm audit fix" due to test failure
This reverts commit ead83e0a92.
Minor differences are causing the tests to fail consistently.
2022-06-29 18:17:27 -07:00