@signalk/freeboard-sk 2.19.1 → 2.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/package.json +27 -30
  2. package/plugin/alarms/alarms.js +2 -1
  3. package/plugin/index.js +2 -1
  4. package/plugin/lib/fetch.js +6 -5
  5. package/public/3rdpartylicenses.txt +914 -526
  6. package/public/assets/help/index.html +50 -5
  7. package/public/chunk-2LV2AYBP.js +1 -0
  8. package/public/chunk-BHPQZ4GL.js +1 -0
  9. package/public/chunk-DZKDVIIP.js +1 -0
  10. package/public/chunk-ENHEBBEX.js +1 -0
  11. package/public/chunk-FDERIQAA.js +1 -0
  12. package/public/chunk-FGDSLMXF.js +1 -0
  13. package/public/chunk-HN6ZZ2AO.js +1 -0
  14. package/public/chunk-LKMAWW2N.js +1 -0
  15. package/public/chunk-LOAXDGMI.js +1 -0
  16. package/public/chunk-SFOSXYXG.js +1 -0
  17. package/public/chunk-X2I2P6MS.js +1 -0
  18. package/public/index.html +3 -3
  19. package/public/main-5OW6546H.js +460 -0
  20. package/public/polyfills-5CFQRCPP.js +2 -0
  21. package/public/prerendered-routes.json +3 -0
  22. package/public/styles-MRIGWCPI.css +1 -0
  23. package/public/worker-5EQZHLKN.js +6 -0
  24. package/public/755.4207d8d82b9aa7ac.js +0 -1
  25. package/public/main.baeb5cbd226626c9.js +0 -1
  26. package/public/polyfills.0823dc027f0a1d2e.js +0 -1
  27. package/public/runtime.e598c35c8d15b7e2.js +0 -1
  28. package/public/styles.73e91a24a0abdc6a.css +0 -1
  29. /package/public/{KFOlCnqEu92Fr1MmEU9fABc4EsA.4ed2722dc50bc9dc.woff2 → media/KFOlCnqEu92Fr1MmEU9fABc4EsA-J3JHELOF.woff2} +0 -0
  30. /package/public/{KFOlCnqEu92Fr1MmEU9fBBc4.f7f4d344a6938a9a.woff2 → media/KFOlCnqEu92Fr1MmEU9fBBc4-672NGRFG.woff2} +0 -0
  31. /package/public/{KFOlCnqEu92Fr1MmEU9fBxc4EsA.a6e016f93f36e92c.woff2 → media/KFOlCnqEu92Fr1MmEU9fBxc4EsA-U3QBN6J7.woff2} +0 -0
  32. /package/public/{KFOlCnqEu92Fr1MmEU9fCBc4EsA.afc199cd9de666f6.woff2 → media/KFOlCnqEu92Fr1MmEU9fCBc4EsA-V7AZTTM5.woff2} +0 -0
  33. /package/public/{KFOlCnqEu92Fr1MmEU9fCRc4EsA.e38c774218b8295c.woff2 → media/KFOlCnqEu92Fr1MmEU9fCRc4EsA-4OGHOQQY.woff2} +0 -0
  34. /package/public/{KFOlCnqEu92Fr1MmEU9fChc4EsA.ed52d196083dff5e.woff2 → media/KFOlCnqEu92Fr1MmEU9fChc4EsA-5VJNDFQI.woff2} +0 -0
  35. /package/public/{KFOlCnqEu92Fr1MmEU9fCxc4EsA.b251befed1593089.woff2 → media/KFOlCnqEu92Fr1MmEU9fCxc4EsA-WJI357WR.woff2} +0 -0
  36. /package/public/{KFOlCnqEu92Fr1MmSU5fABc4EsA.6e7b80cb3c54a5a9.woff2 → media/KFOlCnqEu92Fr1MmSU5fABc4EsA-NZ5YBSZ4.woff2} +0 -0
  37. /package/public/{KFOlCnqEu92Fr1MmSU5fBBc4.ecceb14f9471d216.woff2 → media/KFOlCnqEu92Fr1MmSU5fBBc4-5THLCT4U.woff2} +0 -0
  38. /package/public/{KFOlCnqEu92Fr1MmSU5fBxc4EsA.ba465382be530d33.woff2 → media/KFOlCnqEu92Fr1MmSU5fBxc4EsA-XJDFHAV6.woff2} +0 -0
  39. /package/public/{KFOlCnqEu92Fr1MmSU5fCBc4EsA.8c37da00c6fb46c4.woff2 → media/KFOlCnqEu92Fr1MmSU5fCBc4EsA-RQ35UAGG.woff2} +0 -0
  40. /package/public/{KFOlCnqEu92Fr1MmSU5fCRc4EsA.f2f54b8b7a823284.woff2 → media/KFOlCnqEu92Fr1MmSU5fCRc4EsA-6L2UXC32.woff2} +0 -0
  41. /package/public/{KFOlCnqEu92Fr1MmSU5fChc4EsA.a730413f77f72eae.woff2 → media/KFOlCnqEu92Fr1MmSU5fChc4EsA-U4YECP3X.woff2} +0 -0
  42. /package/public/{KFOlCnqEu92Fr1MmSU5fCxc4EsA.ac169d216bae896e.woff2 → media/KFOlCnqEu92Fr1MmSU5fCxc4EsA-VQLJ2ILL.woff2} +0 -0
  43. /package/public/{KFOmCnqEu92Fr1Mu4WxKOzY.529e09285a7fcc0d.woff2 → media/KFOmCnqEu92Fr1Mu4WxKOzY-KKPASKC2.woff2} +0 -0
  44. /package/public/{KFOmCnqEu92Fr1Mu4mxK.0419828387b351b1.woff2 → media/KFOmCnqEu92Fr1Mu4mxK-AQMYFA4H.woff2} +0 -0
  45. /package/public/{KFOmCnqEu92Fr1Mu5mxKOzY.abf434b8c66f4df0.woff2 → media/KFOmCnqEu92Fr1Mu5mxKOzY-VP2DJOGG.woff2} +0 -0
  46. /package/public/{KFOmCnqEu92Fr1Mu72xKOzY.0c6f5e92c6531760.woff2 → media/KFOmCnqEu92Fr1Mu72xKOzY-BRXV5EWG.woff2} +0 -0
  47. /package/public/{KFOmCnqEu92Fr1Mu7GxKOzY.5f64cc8e9b6f8715.woff2 → media/KFOmCnqEu92Fr1Mu7GxKOzY-L5SMZDU3.woff2} +0 -0
  48. /package/public/{KFOmCnqEu92Fr1Mu7WxKOzY.ab43a3496393558b.woff2 → media/KFOmCnqEu92Fr1Mu7WxKOzY-VNB2GSLD.woff2} +0 -0
  49. /package/public/{KFOmCnqEu92Fr1Mu7mxKOzY.cf1f88a4aaec4666.woff2 → media/KFOmCnqEu92Fr1Mu7mxKOzY-Z4PYRJFK.woff2} +0 -0
  50. /package/public/{MaterialIcons-Regular.50eee05cfd948355.ttf → media/MaterialIcons-Regular-KDXOAXH5.ttf} +0 -0
  51. /package/public/{MaterialIconsOutlined-Regular.7915aa5237ad5792.otf → media/MaterialIconsOutlined-Regular-PEK2UURX.otf} +0 -0
  52. /package/public/{MaterialIconsRound-Regular.2cb4468fa98774ea.otf → media/MaterialIconsRound-Regular-FS2END5J.otf} +0 -0
  53. /package/public/{MaterialIconsSharp-Regular.adae8f35ad117caf.otf → media/MaterialIconsSharp-Regular-VWXI6NNN.otf} +0 -0
  54. /package/public/{MaterialIconsTwoTone-Regular.a0e3f62a6937d37d.otf → media/MaterialIconsTwoTone-Regular-UDR7MKTJ.otf} +0 -0
  55. /package/public/{autopilot.309cb84fb71128ee.png → media/autopilot-GCOLQT5X.png} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalk/freeboard-sk",
3
- "version": "2.19.1",
3
+ "version": "2.19.3",
4
4
  "description": "Openlayers chart plotter implementation for Signal K",
5
5
  "keywords": [
6
6
  "signalk-webapp",
@@ -24,6 +24,7 @@
24
24
  "format:all": "npm run format && npm run format:helper",
25
25
  "build:helper": "tsc -p tsconfig-helper.json",
26
26
  "build:web": "ng build -c production --output-hashing all",
27
+ "build:sit": "ng build -c development --aot",
27
28
  "build:all": "npm run build:helper && npm run build:web",
28
29
  "build:prod": "npm run build:all",
29
30
  "prepack": "npm run build:all"
@@ -45,53 +46,49 @@
45
46
  },
46
47
  "devDependencies": {
47
48
  "@angular-builders/custom-webpack": "^20.0.0",
48
- "@angular-devkit/build-angular": "^20.1.1",
49
- "@angular/animations": "^20.1.2",
50
- "@angular/cdk": "^20.1.2",
51
- "@angular/cli": "^20.1.1",
52
- "@angular/common": "^20.1.2",
53
- "@angular/compiler": "^20.1.2",
54
- "@angular/compiler-cli": "^20.1.2",
55
- "@angular/core": "^20.1.2",
56
- "@angular/forms": "^20.1.2",
57
- "@angular/language-service": "^20.1.2",
58
- "@angular/material": "^20.1.2",
59
- "@angular/platform-browser": "^20.1.2",
60
- "@angular/platform-browser-dynamic": "^20.1.2",
49
+ "@angular-devkit/build-angular": "^20.3.9",
50
+ "@angular/animations": "^20.3.10",
51
+ "@angular/cdk": "^20.2.12",
52
+ "@angular/cli": "^20.3.9",
53
+ "@angular/common": "^20.3.10",
54
+ "@angular/compiler": "^20.3.10",
55
+ "@angular/compiler-cli": "^20.3.10",
56
+ "@angular/core": "^20.3.10",
57
+ "@angular/forms": "^20.3.10",
58
+ "@angular/language-service": "^20.3.10",
59
+ "@angular/material": "^20.2.12",
60
+ "@angular/platform-browser": "^20.3.10",
61
+ "@angular/platform-browser-dynamic": "^20.3.10",
61
62
  "@kolkov/angular-editor": "^2.1.0",
62
63
  "@types/arcgis-rest-api": "^10.4.5",
63
64
  "@types/express": "^4.17.17",
64
65
  "@types/geojson": "^7946.0.10",
65
- "@types/jasmine": "~3.6.0",
66
- "@types/jasminewd2": "~2.0.3",
67
- "@types/node": "^20.4.5",
66
+ "@types/jasmine": "~5.1.0",
67
+ "@types/node": "^24.10.1",
68
68
  "@types/topojson-specification": "^1.0.2",
69
69
  "@types/xml2js": "^0.4.14",
70
- "@typescript-eslint/eslint-plugin": "^8.27.0",
71
- "@typescript-eslint/parser": "^8.27.0",
72
- "codelyzer": "^6.0.0",
70
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
71
+ "@typescript-eslint/parser": "^8.46.3",
72
+ "buffer": "^6.0.3",
73
73
  "eslint": "^9.17.0",
74
74
  "geolib": "^3.3.3",
75
- "jasmine-core": "~3.8.0",
76
- "jasmine-spec-reporter": "~5.0.0",
77
- "karma": "^6.4.4",
75
+ "jasmine-core": "~5.5.0",
76
+ "karma": "~6.4.0",
78
77
  "karma-chrome-launcher": "~3.1.0",
79
- "karma-coverage-istanbul-reporter": "~3.0.2",
80
- "karma-jasmine": "~4.0.0",
81
- "karma-jasmine-html-reporter": "^1.5.0",
78
+ "karma-coverage": "~2.2.0",
79
+ "karma-jasmine": "~5.1.0",
80
+ "karma-jasmine-html-reporter": "~2.1.0",
82
81
  "ng-packagr": "^20.1.0",
83
82
  "ngeohash": "^0.6.3",
84
83
  "ol": "^10.2.1",
85
84
  "ol-mapbox-style": "^12.3.5",
86
85
  "pmtiles": "^2.7.0",
87
- "prettier": "^2.5.1",
88
- "prettier-plugin-organize-attributes": "^0.0.5",
86
+ "prettier": "^3.6.2",
87
+ "prettier-plugin-organize-attributes": "^1.0.0",
89
88
  "proj4": "2.6.2",
90
- "protractor": "~7.0.0",
91
89
  "rxjs": "~6.6.3",
92
90
  "semver": "^7.6.0",
93
91
  "signalk-client-angular": "^2.0.3",
94
- "signalk-worker-angular": "^1.1.4",
95
92
  "simplify-ts": "^1.0.2",
96
93
  "stream": "^0.0.2",
97
94
  "timers": "^0.1.1",
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.shutdownAlarms = exports.initAlarms = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  const server_api_1 = require("@signalk/server-api");
5
- const uuid = require("uuid");
6
+ const uuid = tslib_1.__importStar(require("uuid"));
6
7
  const geolib_1 = require("geolib");
7
8
  const AREA_TRIGGERS = ['entry', 'exit'];
8
9
  const AREA_GEOMETRIES = ['polygon', 'circle', 'region'];
package/plugin/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
3
4
  const server_api_1 = require("@signalk/server-api");
4
5
  const alarms_1 = require("./alarms/alarms");
5
- const openapi = require("./openApi.json");
6
+ const openapi = tslib_1.__importStar(require("./openApi.json"));
6
7
  const defaultPollInterval = 60;
7
8
  const CONFIG_SCHEMA = {
8
9
  properties: {}
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.post = exports.fetch = void 0;
4
- const https = require("https");
5
- const url = require("url");
6
- const http = require("http");
4
+ const tslib_1 = require("tslib");
5
+ const https = tslib_1.__importStar(require("https"));
6
+ const url = tslib_1.__importStar(require("url"));
7
+ const http = tslib_1.__importStar(require("http"));
7
8
  // HTTP GET
8
9
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
10
  const fetch = (href) => {
@@ -39,10 +40,10 @@ exports.fetch = fetch;
39
40
  const post = (href, data) => {
40
41
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
41
42
  const opt = url.parse(href);
42
- (opt.method = 'POST'),
43
+ ((opt.method = 'POST'),
43
44
  (opt.headers = {
44
45
  'Content-Type': 'application/json'
45
- });
46
+ }));
46
47
  const req = href.indexOf('https') !== -1 ? https : http;
47
48
  return new Promise((resolve, reject) => {
48
49
  const postReq = req