mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Moved to braces module, which is maintained and doesn't have vulnerable dependencies. Added a mention of EU minimed servers to README.
This commit is contained in:
@@ -448,6 +448,7 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs.htm
|
||||
* `MMCONNECT_SGV_LIMIT` (`24`) - Maximum number of recent sensor glucose values to send to Nightscout on each request.
|
||||
* `MMCONNECT_VERBOSE` - Set this to "true" to log CareLink request information to the console.
|
||||
* `MMCONNECT_STORE_RAW_DATA` - Set this to "true" to store raw data returned from CareLink as `type: "carelink_raw"` database entries (useful for development).
|
||||
* `MMCONNECT_SERVER` - Set this to `EU` if you're using the European Medtronic services
|
||||
|
||||
##### `pump` (Pump Monitoring)
|
||||
Generic Pump Monitoring for OpenAPS, MiniMed Connect, RileyLink, t:slim, with more on the way
|
||||
|
||||
@@ -7,7 +7,8 @@ var _includes = require('lodash/includes');
|
||||
|
||||
var consts = require('../../constants');
|
||||
var es = require('event-stream');
|
||||
var expand = require('expand-braces');
|
||||
var braces = require('braces');
|
||||
var expand = braces.expand;
|
||||
|
||||
var ID_PATTERN = /^[a-f\d]{24}$/;
|
||||
|
||||
@@ -551,7 +552,9 @@ curl -s -g 'http://localhost:1337/api/v1/times/20{14..15}/T{13..18}:{00..15}'.js
|
||||
// create a single pattern with all inputs considered
|
||||
// expand the pattern using bash/glob style brace expansion to generate
|
||||
// an array of patterns.
|
||||
|
||||
pattern = expand(pattern.join(''));
|
||||
if (pattern.length == 0) pattern = [''];
|
||||
|
||||
/**
|
||||
* Factory function to customize creation of RegExp patterns.
|
||||
|
||||
Generated
+1308
-499
File diff suppressed because it is too large
Load Diff
+7
-4
@@ -25,13 +25,14 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"test": "make test",
|
||||
"test": "env-cmd ./test.env mocha --exit tests/*.test.js",
|
||||
"env": "env",
|
||||
"postinstall": "webpack --mode production --config webpack.config.js && npm run-script update-buster",
|
||||
"bundle": "webpack --mode production --config webpack.config.js && npm run-script update-buster",
|
||||
"bundle-dev": "webpack --mode development --config webpack.config.js && npm run-script update-buster",
|
||||
"bundle-analyzer": "webpack --mode development --config webpack.config.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
|
||||
"update-buster": "node bin/generateCacheBuster.js >tmp/cacheBusterToken"
|
||||
"update-buster": "node bin/generateCacheBuster.js >tmp/cacheBusterToken",
|
||||
"coverage": "env-cmd ./test.env nyc mocha --exit tests/*.test.js"
|
||||
},
|
||||
"config": {
|
||||
"blanket": {
|
||||
@@ -55,6 +56,7 @@
|
||||
"async": "^0.9.2",
|
||||
"body-parser": "^1.18.3",
|
||||
"bootevent": "0.0.1",
|
||||
"braces": "^3.0.2",
|
||||
"compression": "^1.7.4",
|
||||
"css-loader": "^1.0.1",
|
||||
"cssmin": "^0.4.3",
|
||||
@@ -62,7 +64,6 @@
|
||||
"ejs": "^2.6.1",
|
||||
"errorhandler": "^1.5.0",
|
||||
"event-stream": "3.3.4",
|
||||
"expand-braces": "^0.1.2",
|
||||
"express": "^4.16.4",
|
||||
"express-minify": "^1.0.0",
|
||||
"flot": "^0.8.3",
|
||||
@@ -98,17 +99,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"benv": "^3.3.0",
|
||||
"env-cmd": "^8.0.2",
|
||||
"expose-loader": "^0.7.5",
|
||||
"file-loader": "^3.0.1",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^5.2.0",
|
||||
"moment-locales-webpack-plugin": "^1.0.7",
|
||||
"nyc": "^14.0.0",
|
||||
"should": "^13.2.3",
|
||||
"style-loader": "^0.23.1",
|
||||
"supertest": "^3.4.2",
|
||||
"terser-webpack-plugin": "^1.2.3",
|
||||
"webpack": "^4.29.6",
|
||||
"webpack-bundle-analyzer": "^3.1.0",
|
||||
"webpack-bundle-analyzer": "^3.3.2",
|
||||
"webpack-cli": "^3.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user