signalk-ships-barometer 0.1.0

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 (1117) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +201 -0
  3. package/NOTICE +14 -0
  4. package/README.md +69 -0
  5. package/assessment.js +99 -0
  6. package/assets/ships-barometer.png +0 -0
  7. package/barometer.js +221 -0
  8. package/docs/installation.md +29 -0
  9. package/docs/publishing.md +28 -0
  10. package/docs/validation.md +15 -0
  11. package/index.js +162 -0
  12. package/map.js +97 -0
  13. package/meta.json +109 -0
  14. package/node_modules/barometer-trend/.github/workflows/node.js.yml +31 -0
  15. package/node_modules/barometer-trend/.github/workflows/npm-publish.yml +33 -0
  16. package/node_modules/barometer-trend/.vs/VSWorkspaceState.json +6 -0
  17. package/node_modules/barometer-trend/.vs/barometer-trend/FileContentIndex/93ca100f-008c-4bf8-99e2-4fe1b791179f.vsidx +0 -0
  18. package/node_modules/barometer-trend/.vs/barometer-trend/v17/.wsuo +0 -0
  19. package/node_modules/barometer-trend/.vs/barometer-trend/v17/DocumentLayout.json +23 -0
  20. package/node_modules/barometer-trend/.vs/slnx.sqlite +0 -0
  21. package/node_modules/barometer-trend/LICENSE +201 -0
  22. package/node_modules/barometer-trend/NOTICE +17 -0
  23. package/node_modules/barometer-trend/README.md +63 -0
  24. package/node_modules/barometer-trend/index.js +133 -0
  25. package/node_modules/barometer-trend/package.json +42 -0
  26. package/node_modules/barometer-trend/predictions/beaufort.js +31 -0
  27. package/node_modules/barometer-trend/predictions/byPressureTendencyAndWind.js +69 -0
  28. package/node_modules/barometer-trend/predictions/byPressureTrend.js +24 -0
  29. package/node_modules/barometer-trend/predictions/byPressureTrendAndSeason.js +17 -0
  30. package/node_modules/barometer-trend/predictions/front.js +66 -0
  31. package/node_modules/barometer-trend/predictions/fronts.json +12 -0
  32. package/node_modules/barometer-trend/predictions/history.js +40 -0
  33. package/node_modules/barometer-trend/predictions/prediction_nh.json +71 -0
  34. package/node_modules/barometer-trend/predictions/prediction_season.json +32 -0
  35. package/node_modules/barometer-trend/predictions/system.js +26 -0
  36. package/node_modules/barometer-trend/test/beaufort.test.js +62 -0
  37. package/node_modules/barometer-trend/test/byPressureTendencyAndWind.test.js +64 -0
  38. package/node_modules/barometer-trend/test/byPressureTrendAndSeason.test.js +81 -0
  39. package/node_modules/barometer-trend/test/front.test.js +243 -0
  40. package/node_modules/barometer-trend/test/history.test.js +77 -0
  41. package/node_modules/barometer-trend/test/index.test.js +140 -0
  42. package/node_modules/barometer-trend/test/system.test.js +52 -0
  43. package/node_modules/barometer-trend/test/trend.test.js +209 -0
  44. package/node_modules/barometer-trend/test/utils.test.js +125 -0
  45. package/node_modules/barometer-trend/trend.js +85 -0
  46. package/node_modules/barometer-trend/utils.js +119 -0
  47. package/node_modules/lodash/LICENSE +47 -0
  48. package/node_modules/lodash/README.md +39 -0
  49. package/node_modules/lodash/_DataView.js +7 -0
  50. package/node_modules/lodash/_Hash.js +32 -0
  51. package/node_modules/lodash/_LazyWrapper.js +28 -0
  52. package/node_modules/lodash/_ListCache.js +32 -0
  53. package/node_modules/lodash/_LodashWrapper.js +22 -0
  54. package/node_modules/lodash/_Map.js +7 -0
  55. package/node_modules/lodash/_MapCache.js +32 -0
  56. package/node_modules/lodash/_Promise.js +7 -0
  57. package/node_modules/lodash/_Set.js +7 -0
  58. package/node_modules/lodash/_SetCache.js +27 -0
  59. package/node_modules/lodash/_Stack.js +27 -0
  60. package/node_modules/lodash/_Symbol.js +6 -0
  61. package/node_modules/lodash/_Uint8Array.js +6 -0
  62. package/node_modules/lodash/_WeakMap.js +7 -0
  63. package/node_modules/lodash/_apply.js +21 -0
  64. package/node_modules/lodash/_arrayAggregator.js +22 -0
  65. package/node_modules/lodash/_arrayEach.js +22 -0
  66. package/node_modules/lodash/_arrayEachRight.js +21 -0
  67. package/node_modules/lodash/_arrayEvery.js +23 -0
  68. package/node_modules/lodash/_arrayFilter.js +25 -0
  69. package/node_modules/lodash/_arrayIncludes.js +17 -0
  70. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  71. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  72. package/node_modules/lodash/_arrayMap.js +21 -0
  73. package/node_modules/lodash/_arrayPush.js +20 -0
  74. package/node_modules/lodash/_arrayReduce.js +26 -0
  75. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  76. package/node_modules/lodash/_arraySample.js +15 -0
  77. package/node_modules/lodash/_arraySampleSize.js +17 -0
  78. package/node_modules/lodash/_arrayShuffle.js +15 -0
  79. package/node_modules/lodash/_arraySome.js +23 -0
  80. package/node_modules/lodash/_asciiSize.js +12 -0
  81. package/node_modules/lodash/_asciiToArray.js +12 -0
  82. package/node_modules/lodash/_asciiWords.js +15 -0
  83. package/node_modules/lodash/_assignMergeValue.js +20 -0
  84. package/node_modules/lodash/_assignValue.js +28 -0
  85. package/node_modules/lodash/_assocIndexOf.js +21 -0
  86. package/node_modules/lodash/_baseAggregator.js +21 -0
  87. package/node_modules/lodash/_baseAssign.js +17 -0
  88. package/node_modules/lodash/_baseAssignIn.js +17 -0
  89. package/node_modules/lodash/_baseAssignValue.js +25 -0
  90. package/node_modules/lodash/_baseAt.js +23 -0
  91. package/node_modules/lodash/_baseClamp.js +22 -0
  92. package/node_modules/lodash/_baseClone.js +166 -0
  93. package/node_modules/lodash/_baseConforms.js +18 -0
  94. package/node_modules/lodash/_baseConformsTo.js +27 -0
  95. package/node_modules/lodash/_baseCreate.js +30 -0
  96. package/node_modules/lodash/_baseDelay.js +21 -0
  97. package/node_modules/lodash/_baseDifference.js +67 -0
  98. package/node_modules/lodash/_baseEach.js +14 -0
  99. package/node_modules/lodash/_baseEachRight.js +14 -0
  100. package/node_modules/lodash/_baseEvery.js +21 -0
  101. package/node_modules/lodash/_baseExtremum.js +32 -0
  102. package/node_modules/lodash/_baseFill.js +32 -0
  103. package/node_modules/lodash/_baseFilter.js +21 -0
  104. package/node_modules/lodash/_baseFindIndex.js +24 -0
  105. package/node_modules/lodash/_baseFindKey.js +23 -0
  106. package/node_modules/lodash/_baseFlatten.js +38 -0
  107. package/node_modules/lodash/_baseFor.js +16 -0
  108. package/node_modules/lodash/_baseForOwn.js +16 -0
  109. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  110. package/node_modules/lodash/_baseForRight.js +15 -0
  111. package/node_modules/lodash/_baseFunctions.js +19 -0
  112. package/node_modules/lodash/_baseGet.js +24 -0
  113. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  114. package/node_modules/lodash/_baseGetTag.js +28 -0
  115. package/node_modules/lodash/_baseGt.js +14 -0
  116. package/node_modules/lodash/_baseHas.js +19 -0
  117. package/node_modules/lodash/_baseHasIn.js +13 -0
  118. package/node_modules/lodash/_baseInRange.js +18 -0
  119. package/node_modules/lodash/_baseIndexOf.js +20 -0
  120. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  121. package/node_modules/lodash/_baseIntersection.js +74 -0
  122. package/node_modules/lodash/_baseInverter.js +21 -0
  123. package/node_modules/lodash/_baseInvoke.js +24 -0
  124. package/node_modules/lodash/_baseIsArguments.js +18 -0
  125. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  126. package/node_modules/lodash/_baseIsDate.js +18 -0
  127. package/node_modules/lodash/_baseIsEqual.js +28 -0
  128. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  129. package/node_modules/lodash/_baseIsMap.js +18 -0
  130. package/node_modules/lodash/_baseIsMatch.js +62 -0
  131. package/node_modules/lodash/_baseIsNaN.js +12 -0
  132. package/node_modules/lodash/_baseIsNative.js +47 -0
  133. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  134. package/node_modules/lodash/_baseIsSet.js +18 -0
  135. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  136. package/node_modules/lodash/_baseIteratee.js +31 -0
  137. package/node_modules/lodash/_baseKeys.js +30 -0
  138. package/node_modules/lodash/_baseKeysIn.js +33 -0
  139. package/node_modules/lodash/_baseLodash.js +10 -0
  140. package/node_modules/lodash/_baseLt.js +14 -0
  141. package/node_modules/lodash/_baseMap.js +22 -0
  142. package/node_modules/lodash/_baseMatches.js +22 -0
  143. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  144. package/node_modules/lodash/_baseMean.js +20 -0
  145. package/node_modules/lodash/_baseMerge.js +42 -0
  146. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  147. package/node_modules/lodash/_baseNth.js +20 -0
  148. package/node_modules/lodash/_baseOrderBy.js +49 -0
  149. package/node_modules/lodash/_basePick.js +19 -0
  150. package/node_modules/lodash/_basePickBy.js +30 -0
  151. package/node_modules/lodash/_baseProperty.js +14 -0
  152. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  153. package/node_modules/lodash/_basePropertyOf.js +14 -0
  154. package/node_modules/lodash/_basePullAll.js +51 -0
  155. package/node_modules/lodash/_basePullAt.js +37 -0
  156. package/node_modules/lodash/_baseRandom.js +18 -0
  157. package/node_modules/lodash/_baseRange.js +28 -0
  158. package/node_modules/lodash/_baseReduce.js +23 -0
  159. package/node_modules/lodash/_baseRepeat.js +35 -0
  160. package/node_modules/lodash/_baseRest.js +17 -0
  161. package/node_modules/lodash/_baseSample.js +15 -0
  162. package/node_modules/lodash/_baseSampleSize.js +18 -0
  163. package/node_modules/lodash/_baseSet.js +51 -0
  164. package/node_modules/lodash/_baseSetData.js +17 -0
  165. package/node_modules/lodash/_baseSetToString.js +22 -0
  166. package/node_modules/lodash/_baseShuffle.js +15 -0
  167. package/node_modules/lodash/_baseSlice.js +31 -0
  168. package/node_modules/lodash/_baseSome.js +22 -0
  169. package/node_modules/lodash/_baseSortBy.js +21 -0
  170. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  171. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  172. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  173. package/node_modules/lodash/_baseSum.js +24 -0
  174. package/node_modules/lodash/_baseTimes.js +20 -0
  175. package/node_modules/lodash/_baseToNumber.js +24 -0
  176. package/node_modules/lodash/_baseToPairs.js +18 -0
  177. package/node_modules/lodash/_baseToString.js +37 -0
  178. package/node_modules/lodash/_baseTrim.js +19 -0
  179. package/node_modules/lodash/_baseUnary.js +14 -0
  180. package/node_modules/lodash/_baseUniq.js +72 -0
  181. package/node_modules/lodash/_baseUnset.js +20 -0
  182. package/node_modules/lodash/_baseUpdate.js +18 -0
  183. package/node_modules/lodash/_baseValues.js +19 -0
  184. package/node_modules/lodash/_baseWhile.js +26 -0
  185. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  186. package/node_modules/lodash/_baseXor.js +36 -0
  187. package/node_modules/lodash/_baseZipObject.js +23 -0
  188. package/node_modules/lodash/_cacheHas.js +13 -0
  189. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  190. package/node_modules/lodash/_castFunction.js +14 -0
  191. package/node_modules/lodash/_castPath.js +21 -0
  192. package/node_modules/lodash/_castRest.js +14 -0
  193. package/node_modules/lodash/_castSlice.js +18 -0
  194. package/node_modules/lodash/_charsEndIndex.js +19 -0
  195. package/node_modules/lodash/_charsStartIndex.js +20 -0
  196. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  197. package/node_modules/lodash/_cloneBuffer.js +35 -0
  198. package/node_modules/lodash/_cloneDataView.js +16 -0
  199. package/node_modules/lodash/_cloneRegExp.js +17 -0
  200. package/node_modules/lodash/_cloneSymbol.js +18 -0
  201. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  202. package/node_modules/lodash/_compareAscending.js +41 -0
  203. package/node_modules/lodash/_compareMultiple.js +44 -0
  204. package/node_modules/lodash/_composeArgs.js +39 -0
  205. package/node_modules/lodash/_composeArgsRight.js +41 -0
  206. package/node_modules/lodash/_copyArray.js +20 -0
  207. package/node_modules/lodash/_copyObject.js +40 -0
  208. package/node_modules/lodash/_copySymbols.js +16 -0
  209. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  210. package/node_modules/lodash/_coreJsData.js +6 -0
  211. package/node_modules/lodash/_countHolders.js +21 -0
  212. package/node_modules/lodash/_createAggregator.js +23 -0
  213. package/node_modules/lodash/_createAssigner.js +37 -0
  214. package/node_modules/lodash/_createBaseEach.js +32 -0
  215. package/node_modules/lodash/_createBaseFor.js +25 -0
  216. package/node_modules/lodash/_createBind.js +28 -0
  217. package/node_modules/lodash/_createCaseFirst.js +33 -0
  218. package/node_modules/lodash/_createCompounder.js +24 -0
  219. package/node_modules/lodash/_createCtor.js +37 -0
  220. package/node_modules/lodash/_createCurry.js +46 -0
  221. package/node_modules/lodash/_createFind.js +25 -0
  222. package/node_modules/lodash/_createFlow.js +78 -0
  223. package/node_modules/lodash/_createHybrid.js +92 -0
  224. package/node_modules/lodash/_createInverter.js +17 -0
  225. package/node_modules/lodash/_createMathOperation.js +38 -0
  226. package/node_modules/lodash/_createOver.js +27 -0
  227. package/node_modules/lodash/_createPadding.js +33 -0
  228. package/node_modules/lodash/_createPartial.js +43 -0
  229. package/node_modules/lodash/_createRange.js +30 -0
  230. package/node_modules/lodash/_createRecurry.js +56 -0
  231. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  232. package/node_modules/lodash/_createRound.js +35 -0
  233. package/node_modules/lodash/_createSet.js +19 -0
  234. package/node_modules/lodash/_createToPairs.js +30 -0
  235. package/node_modules/lodash/_createWrap.js +106 -0
  236. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  237. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  238. package/node_modules/lodash/_customOmitClone.js +16 -0
  239. package/node_modules/lodash/_deburrLetter.js +71 -0
  240. package/node_modules/lodash/_defineProperty.js +11 -0
  241. package/node_modules/lodash/_equalArrays.js +84 -0
  242. package/node_modules/lodash/_equalByTag.js +112 -0
  243. package/node_modules/lodash/_equalObjects.js +90 -0
  244. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  245. package/node_modules/lodash/_escapeStringChar.js +22 -0
  246. package/node_modules/lodash/_flatRest.js +16 -0
  247. package/node_modules/lodash/_freeGlobal.js +4 -0
  248. package/node_modules/lodash/_getAllKeys.js +16 -0
  249. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  250. package/node_modules/lodash/_getData.js +15 -0
  251. package/node_modules/lodash/_getFuncName.js +31 -0
  252. package/node_modules/lodash/_getHolder.js +13 -0
  253. package/node_modules/lodash/_getMapData.js +18 -0
  254. package/node_modules/lodash/_getMatchData.js +24 -0
  255. package/node_modules/lodash/_getNative.js +17 -0
  256. package/node_modules/lodash/_getPrototype.js +6 -0
  257. package/node_modules/lodash/_getRawTag.js +46 -0
  258. package/node_modules/lodash/_getSymbols.js +30 -0
  259. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  260. package/node_modules/lodash/_getTag.js +58 -0
  261. package/node_modules/lodash/_getValue.js +13 -0
  262. package/node_modules/lodash/_getView.js +33 -0
  263. package/node_modules/lodash/_getWrapDetails.js +17 -0
  264. package/node_modules/lodash/_hasPath.js +39 -0
  265. package/node_modules/lodash/_hasUnicode.js +26 -0
  266. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  267. package/node_modules/lodash/_hashClear.js +15 -0
  268. package/node_modules/lodash/_hashDelete.js +17 -0
  269. package/node_modules/lodash/_hashGet.js +30 -0
  270. package/node_modules/lodash/_hashHas.js +23 -0
  271. package/node_modules/lodash/_hashSet.js +23 -0
  272. package/node_modules/lodash/_initCloneArray.js +26 -0
  273. package/node_modules/lodash/_initCloneByTag.js +77 -0
  274. package/node_modules/lodash/_initCloneObject.js +18 -0
  275. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  276. package/node_modules/lodash/_isFlattenable.js +20 -0
  277. package/node_modules/lodash/_isIndex.js +25 -0
  278. package/node_modules/lodash/_isIterateeCall.js +30 -0
  279. package/node_modules/lodash/_isKey.js +29 -0
  280. package/node_modules/lodash/_isKeyable.js +15 -0
  281. package/node_modules/lodash/_isLaziable.js +28 -0
  282. package/node_modules/lodash/_isMaskable.js +14 -0
  283. package/node_modules/lodash/_isMasked.js +20 -0
  284. package/node_modules/lodash/_isPrototype.js +18 -0
  285. package/node_modules/lodash/_isStrictComparable.js +15 -0
  286. package/node_modules/lodash/_iteratorToArray.js +18 -0
  287. package/node_modules/lodash/_lazyClone.js +23 -0
  288. package/node_modules/lodash/_lazyReverse.js +23 -0
  289. package/node_modules/lodash/_lazyValue.js +69 -0
  290. package/node_modules/lodash/_listCacheClear.js +13 -0
  291. package/node_modules/lodash/_listCacheDelete.js +35 -0
  292. package/node_modules/lodash/_listCacheGet.js +19 -0
  293. package/node_modules/lodash/_listCacheHas.js +16 -0
  294. package/node_modules/lodash/_listCacheSet.js +26 -0
  295. package/node_modules/lodash/_mapCacheClear.js +21 -0
  296. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  297. package/node_modules/lodash/_mapCacheGet.js +16 -0
  298. package/node_modules/lodash/_mapCacheHas.js +16 -0
  299. package/node_modules/lodash/_mapCacheSet.js +22 -0
  300. package/node_modules/lodash/_mapToArray.js +18 -0
  301. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  302. package/node_modules/lodash/_memoizeCapped.js +26 -0
  303. package/node_modules/lodash/_mergeData.js +90 -0
  304. package/node_modules/lodash/_metaMap.js +6 -0
  305. package/node_modules/lodash/_nativeCreate.js +6 -0
  306. package/node_modules/lodash/_nativeKeys.js +6 -0
  307. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  308. package/node_modules/lodash/_nodeUtil.js +30 -0
  309. package/node_modules/lodash/_objectToString.js +22 -0
  310. package/node_modules/lodash/_overArg.js +15 -0
  311. package/node_modules/lodash/_overRest.js +36 -0
  312. package/node_modules/lodash/_parent.js +16 -0
  313. package/node_modules/lodash/_reEscape.js +4 -0
  314. package/node_modules/lodash/_reEvaluate.js +4 -0
  315. package/node_modules/lodash/_reInterpolate.js +4 -0
  316. package/node_modules/lodash/_realNames.js +4 -0
  317. package/node_modules/lodash/_reorder.js +29 -0
  318. package/node_modules/lodash/_replaceHolders.js +29 -0
  319. package/node_modules/lodash/_root.js +9 -0
  320. package/node_modules/lodash/_safeGet.js +21 -0
  321. package/node_modules/lodash/_setCacheAdd.js +19 -0
  322. package/node_modules/lodash/_setCacheHas.js +14 -0
  323. package/node_modules/lodash/_setData.js +20 -0
  324. package/node_modules/lodash/_setToArray.js +18 -0
  325. package/node_modules/lodash/_setToPairs.js +18 -0
  326. package/node_modules/lodash/_setToString.js +14 -0
  327. package/node_modules/lodash/_setWrapToString.js +21 -0
  328. package/node_modules/lodash/_shortOut.js +37 -0
  329. package/node_modules/lodash/_shuffleSelf.js +28 -0
  330. package/node_modules/lodash/_stackClear.js +15 -0
  331. package/node_modules/lodash/_stackDelete.js +18 -0
  332. package/node_modules/lodash/_stackGet.js +14 -0
  333. package/node_modules/lodash/_stackHas.js +14 -0
  334. package/node_modules/lodash/_stackSet.js +34 -0
  335. package/node_modules/lodash/_strictIndexOf.js +23 -0
  336. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  337. package/node_modules/lodash/_stringSize.js +18 -0
  338. package/node_modules/lodash/_stringToArray.js +18 -0
  339. package/node_modules/lodash/_stringToPath.js +27 -0
  340. package/node_modules/lodash/_toKey.js +21 -0
  341. package/node_modules/lodash/_toSource.js +26 -0
  342. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  343. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  344. package/node_modules/lodash/_unicodeSize.js +44 -0
  345. package/node_modules/lodash/_unicodeToArray.js +40 -0
  346. package/node_modules/lodash/_unicodeWords.js +69 -0
  347. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  348. package/node_modules/lodash/_wrapperClone.js +23 -0
  349. package/node_modules/lodash/add.js +22 -0
  350. package/node_modules/lodash/after.js +42 -0
  351. package/node_modules/lodash/array.js +67 -0
  352. package/node_modules/lodash/ary.js +29 -0
  353. package/node_modules/lodash/assign.js +58 -0
  354. package/node_modules/lodash/assignIn.js +40 -0
  355. package/node_modules/lodash/assignInWith.js +38 -0
  356. package/node_modules/lodash/assignWith.js +37 -0
  357. package/node_modules/lodash/at.js +23 -0
  358. package/node_modules/lodash/attempt.js +35 -0
  359. package/node_modules/lodash/before.js +40 -0
  360. package/node_modules/lodash/bind.js +57 -0
  361. package/node_modules/lodash/bindAll.js +41 -0
  362. package/node_modules/lodash/bindKey.js +68 -0
  363. package/node_modules/lodash/camelCase.js +29 -0
  364. package/node_modules/lodash/capitalize.js +23 -0
  365. package/node_modules/lodash/castArray.js +44 -0
  366. package/node_modules/lodash/ceil.js +26 -0
  367. package/node_modules/lodash/chain.js +38 -0
  368. package/node_modules/lodash/chunk.js +50 -0
  369. package/node_modules/lodash/clamp.js +39 -0
  370. package/node_modules/lodash/clone.js +36 -0
  371. package/node_modules/lodash/cloneDeep.js +29 -0
  372. package/node_modules/lodash/cloneDeepWith.js +40 -0
  373. package/node_modules/lodash/cloneWith.js +42 -0
  374. package/node_modules/lodash/collection.js +30 -0
  375. package/node_modules/lodash/commit.js +33 -0
  376. package/node_modules/lodash/compact.js +31 -0
  377. package/node_modules/lodash/concat.js +43 -0
  378. package/node_modules/lodash/cond.js +60 -0
  379. package/node_modules/lodash/conforms.js +35 -0
  380. package/node_modules/lodash/conformsTo.js +32 -0
  381. package/node_modules/lodash/constant.js +26 -0
  382. package/node_modules/lodash/core.js +3877 -0
  383. package/node_modules/lodash/core.min.js +29 -0
  384. package/node_modules/lodash/countBy.js +40 -0
  385. package/node_modules/lodash/create.js +43 -0
  386. package/node_modules/lodash/curry.js +57 -0
  387. package/node_modules/lodash/curryRight.js +54 -0
  388. package/node_modules/lodash/date.js +3 -0
  389. package/node_modules/lodash/debounce.js +191 -0
  390. package/node_modules/lodash/deburr.js +45 -0
  391. package/node_modules/lodash/defaultTo.js +25 -0
  392. package/node_modules/lodash/defaults.js +64 -0
  393. package/node_modules/lodash/defaultsDeep.js +30 -0
  394. package/node_modules/lodash/defer.js +26 -0
  395. package/node_modules/lodash/delay.js +28 -0
  396. package/node_modules/lodash/difference.js +33 -0
  397. package/node_modules/lodash/differenceBy.js +44 -0
  398. package/node_modules/lodash/differenceWith.js +40 -0
  399. package/node_modules/lodash/divide.js +22 -0
  400. package/node_modules/lodash/drop.js +38 -0
  401. package/node_modules/lodash/dropRight.js +39 -0
  402. package/node_modules/lodash/dropRightWhile.js +45 -0
  403. package/node_modules/lodash/dropWhile.js +45 -0
  404. package/node_modules/lodash/each.js +1 -0
  405. package/node_modules/lodash/eachRight.js +1 -0
  406. package/node_modules/lodash/endsWith.js +43 -0
  407. package/node_modules/lodash/entries.js +1 -0
  408. package/node_modules/lodash/entriesIn.js +1 -0
  409. package/node_modules/lodash/eq.js +37 -0
  410. package/node_modules/lodash/escape.js +43 -0
  411. package/node_modules/lodash/escapeRegExp.js +32 -0
  412. package/node_modules/lodash/every.js +56 -0
  413. package/node_modules/lodash/extend.js +1 -0
  414. package/node_modules/lodash/extendWith.js +1 -0
  415. package/node_modules/lodash/fill.js +45 -0
  416. package/node_modules/lodash/filter.js +52 -0
  417. package/node_modules/lodash/find.js +42 -0
  418. package/node_modules/lodash/findIndex.js +55 -0
  419. package/node_modules/lodash/findKey.js +44 -0
  420. package/node_modules/lodash/findLast.js +25 -0
  421. package/node_modules/lodash/findLastIndex.js +59 -0
  422. package/node_modules/lodash/findLastKey.js +44 -0
  423. package/node_modules/lodash/first.js +1 -0
  424. package/node_modules/lodash/flake.lock +40 -0
  425. package/node_modules/lodash/flake.nix +20 -0
  426. package/node_modules/lodash/flatMap.js +29 -0
  427. package/node_modules/lodash/flatMapDeep.js +31 -0
  428. package/node_modules/lodash/flatMapDepth.js +31 -0
  429. package/node_modules/lodash/flatten.js +22 -0
  430. package/node_modules/lodash/flattenDeep.js +25 -0
  431. package/node_modules/lodash/flattenDepth.js +33 -0
  432. package/node_modules/lodash/flip.js +28 -0
  433. package/node_modules/lodash/floor.js +26 -0
  434. package/node_modules/lodash/flow.js +27 -0
  435. package/node_modules/lodash/flowRight.js +26 -0
  436. package/node_modules/lodash/forEach.js +41 -0
  437. package/node_modules/lodash/forEachRight.js +31 -0
  438. package/node_modules/lodash/forIn.js +39 -0
  439. package/node_modules/lodash/forInRight.js +37 -0
  440. package/node_modules/lodash/forOwn.js +36 -0
  441. package/node_modules/lodash/forOwnRight.js +34 -0
  442. package/node_modules/lodash/fp/F.js +1 -0
  443. package/node_modules/lodash/fp/T.js +1 -0
  444. package/node_modules/lodash/fp/__.js +1 -0
  445. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  446. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  447. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  448. package/node_modules/lodash/fp/_mapping.js +358 -0
  449. package/node_modules/lodash/fp/_util.js +16 -0
  450. package/node_modules/lodash/fp/add.js +5 -0
  451. package/node_modules/lodash/fp/after.js +5 -0
  452. package/node_modules/lodash/fp/all.js +1 -0
  453. package/node_modules/lodash/fp/allPass.js +1 -0
  454. package/node_modules/lodash/fp/always.js +1 -0
  455. package/node_modules/lodash/fp/any.js +1 -0
  456. package/node_modules/lodash/fp/anyPass.js +1 -0
  457. package/node_modules/lodash/fp/apply.js +1 -0
  458. package/node_modules/lodash/fp/array.js +2 -0
  459. package/node_modules/lodash/fp/ary.js +5 -0
  460. package/node_modules/lodash/fp/assign.js +5 -0
  461. package/node_modules/lodash/fp/assignAll.js +5 -0
  462. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  463. package/node_modules/lodash/fp/assignIn.js +5 -0
  464. package/node_modules/lodash/fp/assignInAll.js +5 -0
  465. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  466. package/node_modules/lodash/fp/assignInWith.js +5 -0
  467. package/node_modules/lodash/fp/assignWith.js +5 -0
  468. package/node_modules/lodash/fp/assoc.js +1 -0
  469. package/node_modules/lodash/fp/assocPath.js +1 -0
  470. package/node_modules/lodash/fp/at.js +5 -0
  471. package/node_modules/lodash/fp/attempt.js +5 -0
  472. package/node_modules/lodash/fp/before.js +5 -0
  473. package/node_modules/lodash/fp/bind.js +5 -0
  474. package/node_modules/lodash/fp/bindAll.js +5 -0
  475. package/node_modules/lodash/fp/bindKey.js +5 -0
  476. package/node_modules/lodash/fp/camelCase.js +5 -0
  477. package/node_modules/lodash/fp/capitalize.js +5 -0
  478. package/node_modules/lodash/fp/castArray.js +5 -0
  479. package/node_modules/lodash/fp/ceil.js +5 -0
  480. package/node_modules/lodash/fp/chain.js +5 -0
  481. package/node_modules/lodash/fp/chunk.js +5 -0
  482. package/node_modules/lodash/fp/clamp.js +5 -0
  483. package/node_modules/lodash/fp/clone.js +5 -0
  484. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  485. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  486. package/node_modules/lodash/fp/cloneWith.js +5 -0
  487. package/node_modules/lodash/fp/collection.js +2 -0
  488. package/node_modules/lodash/fp/commit.js +5 -0
  489. package/node_modules/lodash/fp/compact.js +5 -0
  490. package/node_modules/lodash/fp/complement.js +1 -0
  491. package/node_modules/lodash/fp/compose.js +1 -0
  492. package/node_modules/lodash/fp/concat.js +5 -0
  493. package/node_modules/lodash/fp/cond.js +5 -0
  494. package/node_modules/lodash/fp/conforms.js +1 -0
  495. package/node_modules/lodash/fp/conformsTo.js +5 -0
  496. package/node_modules/lodash/fp/constant.js +5 -0
  497. package/node_modules/lodash/fp/contains.js +1 -0
  498. package/node_modules/lodash/fp/convert.js +18 -0
  499. package/node_modules/lodash/fp/countBy.js +5 -0
  500. package/node_modules/lodash/fp/create.js +5 -0
  501. package/node_modules/lodash/fp/curry.js +5 -0
  502. package/node_modules/lodash/fp/curryN.js +5 -0
  503. package/node_modules/lodash/fp/curryRight.js +5 -0
  504. package/node_modules/lodash/fp/curryRightN.js +5 -0
  505. package/node_modules/lodash/fp/date.js +2 -0
  506. package/node_modules/lodash/fp/debounce.js +5 -0
  507. package/node_modules/lodash/fp/deburr.js +5 -0
  508. package/node_modules/lodash/fp/defaultTo.js +5 -0
  509. package/node_modules/lodash/fp/defaults.js +5 -0
  510. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  511. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  512. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  513. package/node_modules/lodash/fp/defer.js +5 -0
  514. package/node_modules/lodash/fp/delay.js +5 -0
  515. package/node_modules/lodash/fp/difference.js +5 -0
  516. package/node_modules/lodash/fp/differenceBy.js +5 -0
  517. package/node_modules/lodash/fp/differenceWith.js +5 -0
  518. package/node_modules/lodash/fp/dissoc.js +1 -0
  519. package/node_modules/lodash/fp/dissocPath.js +1 -0
  520. package/node_modules/lodash/fp/divide.js +5 -0
  521. package/node_modules/lodash/fp/drop.js +5 -0
  522. package/node_modules/lodash/fp/dropLast.js +1 -0
  523. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  524. package/node_modules/lodash/fp/dropRight.js +5 -0
  525. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  526. package/node_modules/lodash/fp/dropWhile.js +5 -0
  527. package/node_modules/lodash/fp/each.js +1 -0
  528. package/node_modules/lodash/fp/eachRight.js +1 -0
  529. package/node_modules/lodash/fp/endsWith.js +5 -0
  530. package/node_modules/lodash/fp/entries.js +1 -0
  531. package/node_modules/lodash/fp/entriesIn.js +1 -0
  532. package/node_modules/lodash/fp/eq.js +5 -0
  533. package/node_modules/lodash/fp/equals.js +1 -0
  534. package/node_modules/lodash/fp/escape.js +5 -0
  535. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  536. package/node_modules/lodash/fp/every.js +5 -0
  537. package/node_modules/lodash/fp/extend.js +1 -0
  538. package/node_modules/lodash/fp/extendAll.js +1 -0
  539. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  540. package/node_modules/lodash/fp/extendWith.js +1 -0
  541. package/node_modules/lodash/fp/fill.js +5 -0
  542. package/node_modules/lodash/fp/filter.js +5 -0
  543. package/node_modules/lodash/fp/find.js +5 -0
  544. package/node_modules/lodash/fp/findFrom.js +5 -0
  545. package/node_modules/lodash/fp/findIndex.js +5 -0
  546. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  547. package/node_modules/lodash/fp/findKey.js +5 -0
  548. package/node_modules/lodash/fp/findLast.js +5 -0
  549. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  550. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  551. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  552. package/node_modules/lodash/fp/findLastKey.js +5 -0
  553. package/node_modules/lodash/fp/first.js +1 -0
  554. package/node_modules/lodash/fp/flatMap.js +5 -0
  555. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  556. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  557. package/node_modules/lodash/fp/flatten.js +5 -0
  558. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  559. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  560. package/node_modules/lodash/fp/flip.js +5 -0
  561. package/node_modules/lodash/fp/floor.js +5 -0
  562. package/node_modules/lodash/fp/flow.js +5 -0
  563. package/node_modules/lodash/fp/flowRight.js +5 -0
  564. package/node_modules/lodash/fp/forEach.js +5 -0
  565. package/node_modules/lodash/fp/forEachRight.js +5 -0
  566. package/node_modules/lodash/fp/forIn.js +5 -0
  567. package/node_modules/lodash/fp/forInRight.js +5 -0
  568. package/node_modules/lodash/fp/forOwn.js +5 -0
  569. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  570. package/node_modules/lodash/fp/fromPairs.js +5 -0
  571. package/node_modules/lodash/fp/function.js +2 -0
  572. package/node_modules/lodash/fp/functions.js +5 -0
  573. package/node_modules/lodash/fp/functionsIn.js +5 -0
  574. package/node_modules/lodash/fp/get.js +5 -0
  575. package/node_modules/lodash/fp/getOr.js +5 -0
  576. package/node_modules/lodash/fp/groupBy.js +5 -0
  577. package/node_modules/lodash/fp/gt.js +5 -0
  578. package/node_modules/lodash/fp/gte.js +5 -0
  579. package/node_modules/lodash/fp/has.js +5 -0
  580. package/node_modules/lodash/fp/hasIn.js +5 -0
  581. package/node_modules/lodash/fp/head.js +5 -0
  582. package/node_modules/lodash/fp/identical.js +1 -0
  583. package/node_modules/lodash/fp/identity.js +5 -0
  584. package/node_modules/lodash/fp/inRange.js +5 -0
  585. package/node_modules/lodash/fp/includes.js +5 -0
  586. package/node_modules/lodash/fp/includesFrom.js +5 -0
  587. package/node_modules/lodash/fp/indexBy.js +1 -0
  588. package/node_modules/lodash/fp/indexOf.js +5 -0
  589. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  590. package/node_modules/lodash/fp/init.js +1 -0
  591. package/node_modules/lodash/fp/initial.js +5 -0
  592. package/node_modules/lodash/fp/intersection.js +5 -0
  593. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  594. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  595. package/node_modules/lodash/fp/invert.js +5 -0
  596. package/node_modules/lodash/fp/invertBy.js +5 -0
  597. package/node_modules/lodash/fp/invertObj.js +1 -0
  598. package/node_modules/lodash/fp/invoke.js +5 -0
  599. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  600. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  601. package/node_modules/lodash/fp/invokeMap.js +5 -0
  602. package/node_modules/lodash/fp/isArguments.js +5 -0
  603. package/node_modules/lodash/fp/isArray.js +5 -0
  604. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  605. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  606. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  607. package/node_modules/lodash/fp/isBoolean.js +5 -0
  608. package/node_modules/lodash/fp/isBuffer.js +5 -0
  609. package/node_modules/lodash/fp/isDate.js +5 -0
  610. package/node_modules/lodash/fp/isElement.js +5 -0
  611. package/node_modules/lodash/fp/isEmpty.js +5 -0
  612. package/node_modules/lodash/fp/isEqual.js +5 -0
  613. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  614. package/node_modules/lodash/fp/isError.js +5 -0
  615. package/node_modules/lodash/fp/isFinite.js +5 -0
  616. package/node_modules/lodash/fp/isFunction.js +5 -0
  617. package/node_modules/lodash/fp/isInteger.js +5 -0
  618. package/node_modules/lodash/fp/isLength.js +5 -0
  619. package/node_modules/lodash/fp/isMap.js +5 -0
  620. package/node_modules/lodash/fp/isMatch.js +5 -0
  621. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  622. package/node_modules/lodash/fp/isNaN.js +5 -0
  623. package/node_modules/lodash/fp/isNative.js +5 -0
  624. package/node_modules/lodash/fp/isNil.js +5 -0
  625. package/node_modules/lodash/fp/isNull.js +5 -0
  626. package/node_modules/lodash/fp/isNumber.js +5 -0
  627. package/node_modules/lodash/fp/isObject.js +5 -0
  628. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  629. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  630. package/node_modules/lodash/fp/isRegExp.js +5 -0
  631. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  632. package/node_modules/lodash/fp/isSet.js +5 -0
  633. package/node_modules/lodash/fp/isString.js +5 -0
  634. package/node_modules/lodash/fp/isSymbol.js +5 -0
  635. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  636. package/node_modules/lodash/fp/isUndefined.js +5 -0
  637. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  638. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  639. package/node_modules/lodash/fp/iteratee.js +5 -0
  640. package/node_modules/lodash/fp/join.js +5 -0
  641. package/node_modules/lodash/fp/juxt.js +1 -0
  642. package/node_modules/lodash/fp/kebabCase.js +5 -0
  643. package/node_modules/lodash/fp/keyBy.js +5 -0
  644. package/node_modules/lodash/fp/keys.js +5 -0
  645. package/node_modules/lodash/fp/keysIn.js +5 -0
  646. package/node_modules/lodash/fp/lang.js +2 -0
  647. package/node_modules/lodash/fp/last.js +5 -0
  648. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  649. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  650. package/node_modules/lodash/fp/lowerCase.js +5 -0
  651. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  652. package/node_modules/lodash/fp/lt.js +5 -0
  653. package/node_modules/lodash/fp/lte.js +5 -0
  654. package/node_modules/lodash/fp/map.js +5 -0
  655. package/node_modules/lodash/fp/mapKeys.js +5 -0
  656. package/node_modules/lodash/fp/mapValues.js +5 -0
  657. package/node_modules/lodash/fp/matches.js +1 -0
  658. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  659. package/node_modules/lodash/fp/math.js +2 -0
  660. package/node_modules/lodash/fp/max.js +5 -0
  661. package/node_modules/lodash/fp/maxBy.js +5 -0
  662. package/node_modules/lodash/fp/mean.js +5 -0
  663. package/node_modules/lodash/fp/meanBy.js +5 -0
  664. package/node_modules/lodash/fp/memoize.js +5 -0
  665. package/node_modules/lodash/fp/merge.js +5 -0
  666. package/node_modules/lodash/fp/mergeAll.js +5 -0
  667. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  668. package/node_modules/lodash/fp/mergeWith.js +5 -0
  669. package/node_modules/lodash/fp/method.js +5 -0
  670. package/node_modules/lodash/fp/methodOf.js +5 -0
  671. package/node_modules/lodash/fp/min.js +5 -0
  672. package/node_modules/lodash/fp/minBy.js +5 -0
  673. package/node_modules/lodash/fp/mixin.js +5 -0
  674. package/node_modules/lodash/fp/multiply.js +5 -0
  675. package/node_modules/lodash/fp/nAry.js +1 -0
  676. package/node_modules/lodash/fp/negate.js +5 -0
  677. package/node_modules/lodash/fp/next.js +5 -0
  678. package/node_modules/lodash/fp/noop.js +5 -0
  679. package/node_modules/lodash/fp/now.js +5 -0
  680. package/node_modules/lodash/fp/nth.js +5 -0
  681. package/node_modules/lodash/fp/nthArg.js +5 -0
  682. package/node_modules/lodash/fp/number.js +2 -0
  683. package/node_modules/lodash/fp/object.js +2 -0
  684. package/node_modules/lodash/fp/omit.js +5 -0
  685. package/node_modules/lodash/fp/omitAll.js +1 -0
  686. package/node_modules/lodash/fp/omitBy.js +5 -0
  687. package/node_modules/lodash/fp/once.js +5 -0
  688. package/node_modules/lodash/fp/orderBy.js +5 -0
  689. package/node_modules/lodash/fp/over.js +5 -0
  690. package/node_modules/lodash/fp/overArgs.js +5 -0
  691. package/node_modules/lodash/fp/overEvery.js +5 -0
  692. package/node_modules/lodash/fp/overSome.js +5 -0
  693. package/node_modules/lodash/fp/pad.js +5 -0
  694. package/node_modules/lodash/fp/padChars.js +5 -0
  695. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  696. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  697. package/node_modules/lodash/fp/padEnd.js +5 -0
  698. package/node_modules/lodash/fp/padStart.js +5 -0
  699. package/node_modules/lodash/fp/parseInt.js +5 -0
  700. package/node_modules/lodash/fp/partial.js +5 -0
  701. package/node_modules/lodash/fp/partialRight.js +5 -0
  702. package/node_modules/lodash/fp/partition.js +5 -0
  703. package/node_modules/lodash/fp/path.js +1 -0
  704. package/node_modules/lodash/fp/pathEq.js +1 -0
  705. package/node_modules/lodash/fp/pathOr.js +1 -0
  706. package/node_modules/lodash/fp/paths.js +1 -0
  707. package/node_modules/lodash/fp/pick.js +5 -0
  708. package/node_modules/lodash/fp/pickAll.js +1 -0
  709. package/node_modules/lodash/fp/pickBy.js +5 -0
  710. package/node_modules/lodash/fp/pipe.js +1 -0
  711. package/node_modules/lodash/fp/placeholder.js +6 -0
  712. package/node_modules/lodash/fp/plant.js +5 -0
  713. package/node_modules/lodash/fp/pluck.js +1 -0
  714. package/node_modules/lodash/fp/prop.js +1 -0
  715. package/node_modules/lodash/fp/propEq.js +1 -0
  716. package/node_modules/lodash/fp/propOr.js +1 -0
  717. package/node_modules/lodash/fp/property.js +1 -0
  718. package/node_modules/lodash/fp/propertyOf.js +5 -0
  719. package/node_modules/lodash/fp/props.js +1 -0
  720. package/node_modules/lodash/fp/pull.js +5 -0
  721. package/node_modules/lodash/fp/pullAll.js +5 -0
  722. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  723. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  724. package/node_modules/lodash/fp/pullAt.js +5 -0
  725. package/node_modules/lodash/fp/random.js +5 -0
  726. package/node_modules/lodash/fp/range.js +5 -0
  727. package/node_modules/lodash/fp/rangeRight.js +5 -0
  728. package/node_modules/lodash/fp/rangeStep.js +5 -0
  729. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  730. package/node_modules/lodash/fp/rearg.js +5 -0
  731. package/node_modules/lodash/fp/reduce.js +5 -0
  732. package/node_modules/lodash/fp/reduceRight.js +5 -0
  733. package/node_modules/lodash/fp/reject.js +5 -0
  734. package/node_modules/lodash/fp/remove.js +5 -0
  735. package/node_modules/lodash/fp/repeat.js +5 -0
  736. package/node_modules/lodash/fp/replace.js +5 -0
  737. package/node_modules/lodash/fp/rest.js +5 -0
  738. package/node_modules/lodash/fp/restFrom.js +5 -0
  739. package/node_modules/lodash/fp/result.js +5 -0
  740. package/node_modules/lodash/fp/reverse.js +5 -0
  741. package/node_modules/lodash/fp/round.js +5 -0
  742. package/node_modules/lodash/fp/sample.js +5 -0
  743. package/node_modules/lodash/fp/sampleSize.js +5 -0
  744. package/node_modules/lodash/fp/seq.js +2 -0
  745. package/node_modules/lodash/fp/set.js +5 -0
  746. package/node_modules/lodash/fp/setWith.js +5 -0
  747. package/node_modules/lodash/fp/shuffle.js +5 -0
  748. package/node_modules/lodash/fp/size.js +5 -0
  749. package/node_modules/lodash/fp/slice.js +5 -0
  750. package/node_modules/lodash/fp/snakeCase.js +5 -0
  751. package/node_modules/lodash/fp/some.js +5 -0
  752. package/node_modules/lodash/fp/sortBy.js +5 -0
  753. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  754. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  755. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  756. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  757. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  758. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  759. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  760. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  761. package/node_modules/lodash/fp/split.js +5 -0
  762. package/node_modules/lodash/fp/spread.js +5 -0
  763. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  764. package/node_modules/lodash/fp/startCase.js +5 -0
  765. package/node_modules/lodash/fp/startsWith.js +5 -0
  766. package/node_modules/lodash/fp/string.js +2 -0
  767. package/node_modules/lodash/fp/stubArray.js +5 -0
  768. package/node_modules/lodash/fp/stubFalse.js +5 -0
  769. package/node_modules/lodash/fp/stubObject.js +5 -0
  770. package/node_modules/lodash/fp/stubString.js +5 -0
  771. package/node_modules/lodash/fp/stubTrue.js +5 -0
  772. package/node_modules/lodash/fp/subtract.js +5 -0
  773. package/node_modules/lodash/fp/sum.js +5 -0
  774. package/node_modules/lodash/fp/sumBy.js +5 -0
  775. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  776. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  777. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  778. package/node_modules/lodash/fp/tail.js +5 -0
  779. package/node_modules/lodash/fp/take.js +5 -0
  780. package/node_modules/lodash/fp/takeLast.js +1 -0
  781. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  782. package/node_modules/lodash/fp/takeRight.js +5 -0
  783. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  784. package/node_modules/lodash/fp/takeWhile.js +5 -0
  785. package/node_modules/lodash/fp/tap.js +5 -0
  786. package/node_modules/lodash/fp/template.js +5 -0
  787. package/node_modules/lodash/fp/templateSettings.js +5 -0
  788. package/node_modules/lodash/fp/throttle.js +5 -0
  789. package/node_modules/lodash/fp/thru.js +5 -0
  790. package/node_modules/lodash/fp/times.js +5 -0
  791. package/node_modules/lodash/fp/toArray.js +5 -0
  792. package/node_modules/lodash/fp/toFinite.js +5 -0
  793. package/node_modules/lodash/fp/toInteger.js +5 -0
  794. package/node_modules/lodash/fp/toIterator.js +5 -0
  795. package/node_modules/lodash/fp/toJSON.js +5 -0
  796. package/node_modules/lodash/fp/toLength.js +5 -0
  797. package/node_modules/lodash/fp/toLower.js +5 -0
  798. package/node_modules/lodash/fp/toNumber.js +5 -0
  799. package/node_modules/lodash/fp/toPairs.js +5 -0
  800. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  801. package/node_modules/lodash/fp/toPath.js +5 -0
  802. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  803. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  804. package/node_modules/lodash/fp/toString.js +5 -0
  805. package/node_modules/lodash/fp/toUpper.js +5 -0
  806. package/node_modules/lodash/fp/transform.js +5 -0
  807. package/node_modules/lodash/fp/trim.js +5 -0
  808. package/node_modules/lodash/fp/trimChars.js +5 -0
  809. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  810. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  811. package/node_modules/lodash/fp/trimEnd.js +5 -0
  812. package/node_modules/lodash/fp/trimStart.js +5 -0
  813. package/node_modules/lodash/fp/truncate.js +5 -0
  814. package/node_modules/lodash/fp/unapply.js +1 -0
  815. package/node_modules/lodash/fp/unary.js +5 -0
  816. package/node_modules/lodash/fp/unescape.js +5 -0
  817. package/node_modules/lodash/fp/union.js +5 -0
  818. package/node_modules/lodash/fp/unionBy.js +5 -0
  819. package/node_modules/lodash/fp/unionWith.js +5 -0
  820. package/node_modules/lodash/fp/uniq.js +5 -0
  821. package/node_modules/lodash/fp/uniqBy.js +5 -0
  822. package/node_modules/lodash/fp/uniqWith.js +5 -0
  823. package/node_modules/lodash/fp/uniqueId.js +5 -0
  824. package/node_modules/lodash/fp/unnest.js +1 -0
  825. package/node_modules/lodash/fp/unset.js +5 -0
  826. package/node_modules/lodash/fp/unzip.js +5 -0
  827. package/node_modules/lodash/fp/unzipWith.js +5 -0
  828. package/node_modules/lodash/fp/update.js +5 -0
  829. package/node_modules/lodash/fp/updateWith.js +5 -0
  830. package/node_modules/lodash/fp/upperCase.js +5 -0
  831. package/node_modules/lodash/fp/upperFirst.js +5 -0
  832. package/node_modules/lodash/fp/useWith.js +1 -0
  833. package/node_modules/lodash/fp/util.js +2 -0
  834. package/node_modules/lodash/fp/value.js +5 -0
  835. package/node_modules/lodash/fp/valueOf.js +5 -0
  836. package/node_modules/lodash/fp/values.js +5 -0
  837. package/node_modules/lodash/fp/valuesIn.js +5 -0
  838. package/node_modules/lodash/fp/where.js +1 -0
  839. package/node_modules/lodash/fp/whereEq.js +1 -0
  840. package/node_modules/lodash/fp/without.js +5 -0
  841. package/node_modules/lodash/fp/words.js +5 -0
  842. package/node_modules/lodash/fp/wrap.js +5 -0
  843. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  844. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  845. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  846. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  847. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  848. package/node_modules/lodash/fp/xor.js +5 -0
  849. package/node_modules/lodash/fp/xorBy.js +5 -0
  850. package/node_modules/lodash/fp/xorWith.js +5 -0
  851. package/node_modules/lodash/fp/zip.js +5 -0
  852. package/node_modules/lodash/fp/zipAll.js +5 -0
  853. package/node_modules/lodash/fp/zipObj.js +1 -0
  854. package/node_modules/lodash/fp/zipObject.js +5 -0
  855. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  856. package/node_modules/lodash/fp/zipWith.js +5 -0
  857. package/node_modules/lodash/fp.js +2 -0
  858. package/node_modules/lodash/fromPairs.js +28 -0
  859. package/node_modules/lodash/function.js +25 -0
  860. package/node_modules/lodash/functions.js +31 -0
  861. package/node_modules/lodash/functionsIn.js +31 -0
  862. package/node_modules/lodash/get.js +33 -0
  863. package/node_modules/lodash/groupBy.js +41 -0
  864. package/node_modules/lodash/gt.js +29 -0
  865. package/node_modules/lodash/gte.js +30 -0
  866. package/node_modules/lodash/has.js +35 -0
  867. package/node_modules/lodash/hasIn.js +34 -0
  868. package/node_modules/lodash/head.js +23 -0
  869. package/node_modules/lodash/identity.js +21 -0
  870. package/node_modules/lodash/inRange.js +55 -0
  871. package/node_modules/lodash/includes.js +53 -0
  872. package/node_modules/lodash/index.js +1 -0
  873. package/node_modules/lodash/indexOf.js +42 -0
  874. package/node_modules/lodash/initial.js +22 -0
  875. package/node_modules/lodash/intersection.js +30 -0
  876. package/node_modules/lodash/intersectionBy.js +45 -0
  877. package/node_modules/lodash/intersectionWith.js +41 -0
  878. package/node_modules/lodash/invert.js +42 -0
  879. package/node_modules/lodash/invertBy.js +56 -0
  880. package/node_modules/lodash/invoke.js +24 -0
  881. package/node_modules/lodash/invokeMap.js +41 -0
  882. package/node_modules/lodash/isArguments.js +36 -0
  883. package/node_modules/lodash/isArray.js +26 -0
  884. package/node_modules/lodash/isArrayBuffer.js +27 -0
  885. package/node_modules/lodash/isArrayLike.js +33 -0
  886. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  887. package/node_modules/lodash/isBoolean.js +29 -0
  888. package/node_modules/lodash/isBuffer.js +38 -0
  889. package/node_modules/lodash/isDate.js +27 -0
  890. package/node_modules/lodash/isElement.js +25 -0
  891. package/node_modules/lodash/isEmpty.js +77 -0
  892. package/node_modules/lodash/isEqual.js +35 -0
  893. package/node_modules/lodash/isEqualWith.js +41 -0
  894. package/node_modules/lodash/isError.js +36 -0
  895. package/node_modules/lodash/isFinite.js +36 -0
  896. package/node_modules/lodash/isFunction.js +37 -0
  897. package/node_modules/lodash/isInteger.js +33 -0
  898. package/node_modules/lodash/isLength.js +35 -0
  899. package/node_modules/lodash/isMap.js +27 -0
  900. package/node_modules/lodash/isMatch.js +36 -0
  901. package/node_modules/lodash/isMatchWith.js +41 -0
  902. package/node_modules/lodash/isNaN.js +38 -0
  903. package/node_modules/lodash/isNative.js +40 -0
  904. package/node_modules/lodash/isNil.js +25 -0
  905. package/node_modules/lodash/isNull.js +22 -0
  906. package/node_modules/lodash/isNumber.js +38 -0
  907. package/node_modules/lodash/isObject.js +31 -0
  908. package/node_modules/lodash/isObjectLike.js +29 -0
  909. package/node_modules/lodash/isPlainObject.js +62 -0
  910. package/node_modules/lodash/isRegExp.js +27 -0
  911. package/node_modules/lodash/isSafeInteger.js +37 -0
  912. package/node_modules/lodash/isSet.js +27 -0
  913. package/node_modules/lodash/isString.js +30 -0
  914. package/node_modules/lodash/isSymbol.js +29 -0
  915. package/node_modules/lodash/isTypedArray.js +27 -0
  916. package/node_modules/lodash/isUndefined.js +22 -0
  917. package/node_modules/lodash/isWeakMap.js +28 -0
  918. package/node_modules/lodash/isWeakSet.js +28 -0
  919. package/node_modules/lodash/iteratee.js +53 -0
  920. package/node_modules/lodash/join.js +26 -0
  921. package/node_modules/lodash/kebabCase.js +28 -0
  922. package/node_modules/lodash/keyBy.js +36 -0
  923. package/node_modules/lodash/keys.js +37 -0
  924. package/node_modules/lodash/keysIn.js +32 -0
  925. package/node_modules/lodash/lang.js +58 -0
  926. package/node_modules/lodash/last.js +20 -0
  927. package/node_modules/lodash/lastIndexOf.js +46 -0
  928. package/node_modules/lodash/lodash.js +17209 -0
  929. package/node_modules/lodash/lodash.min.js +140 -0
  930. package/node_modules/lodash/lowerCase.js +27 -0
  931. package/node_modules/lodash/lowerFirst.js +22 -0
  932. package/node_modules/lodash/lt.js +29 -0
  933. package/node_modules/lodash/lte.js +30 -0
  934. package/node_modules/lodash/map.js +53 -0
  935. package/node_modules/lodash/mapKeys.js +36 -0
  936. package/node_modules/lodash/mapValues.js +43 -0
  937. package/node_modules/lodash/matches.js +46 -0
  938. package/node_modules/lodash/matchesProperty.js +44 -0
  939. package/node_modules/lodash/math.js +17 -0
  940. package/node_modules/lodash/max.js +29 -0
  941. package/node_modules/lodash/maxBy.js +34 -0
  942. package/node_modules/lodash/mean.js +22 -0
  943. package/node_modules/lodash/meanBy.js +31 -0
  944. package/node_modules/lodash/memoize.js +73 -0
  945. package/node_modules/lodash/merge.js +39 -0
  946. package/node_modules/lodash/mergeWith.js +39 -0
  947. package/node_modules/lodash/method.js +34 -0
  948. package/node_modules/lodash/methodOf.js +33 -0
  949. package/node_modules/lodash/min.js +29 -0
  950. package/node_modules/lodash/minBy.js +34 -0
  951. package/node_modules/lodash/mixin.js +74 -0
  952. package/node_modules/lodash/multiply.js +22 -0
  953. package/node_modules/lodash/negate.js +40 -0
  954. package/node_modules/lodash/next.js +35 -0
  955. package/node_modules/lodash/noop.js +17 -0
  956. package/node_modules/lodash/now.js +23 -0
  957. package/node_modules/lodash/nth.js +29 -0
  958. package/node_modules/lodash/nthArg.js +32 -0
  959. package/node_modules/lodash/number.js +5 -0
  960. package/node_modules/lodash/object.js +49 -0
  961. package/node_modules/lodash/omit.js +57 -0
  962. package/node_modules/lodash/omitBy.js +29 -0
  963. package/node_modules/lodash/once.js +25 -0
  964. package/node_modules/lodash/orderBy.js +47 -0
  965. package/node_modules/lodash/over.js +24 -0
  966. package/node_modules/lodash/overArgs.js +61 -0
  967. package/node_modules/lodash/overEvery.js +34 -0
  968. package/node_modules/lodash/overSome.js +37 -0
  969. package/node_modules/lodash/package.json +17 -0
  970. package/node_modules/lodash/pad.js +49 -0
  971. package/node_modules/lodash/padEnd.js +39 -0
  972. package/node_modules/lodash/padStart.js +39 -0
  973. package/node_modules/lodash/parseInt.js +43 -0
  974. package/node_modules/lodash/partial.js +50 -0
  975. package/node_modules/lodash/partialRight.js +49 -0
  976. package/node_modules/lodash/partition.js +43 -0
  977. package/node_modules/lodash/pick.js +25 -0
  978. package/node_modules/lodash/pickBy.js +37 -0
  979. package/node_modules/lodash/plant.js +48 -0
  980. package/node_modules/lodash/property.js +32 -0
  981. package/node_modules/lodash/propertyOf.js +30 -0
  982. package/node_modules/lodash/pull.js +29 -0
  983. package/node_modules/lodash/pullAll.js +29 -0
  984. package/node_modules/lodash/pullAllBy.js +33 -0
  985. package/node_modules/lodash/pullAllWith.js +32 -0
  986. package/node_modules/lodash/pullAt.js +43 -0
  987. package/node_modules/lodash/random.js +82 -0
  988. package/node_modules/lodash/range.js +46 -0
  989. package/node_modules/lodash/rangeRight.js +41 -0
  990. package/node_modules/lodash/rearg.js +33 -0
  991. package/node_modules/lodash/reduce.js +51 -0
  992. package/node_modules/lodash/reduceRight.js +36 -0
  993. package/node_modules/lodash/reject.js +46 -0
  994. package/node_modules/lodash/release.md +48 -0
  995. package/node_modules/lodash/remove.js +53 -0
  996. package/node_modules/lodash/repeat.js +37 -0
  997. package/node_modules/lodash/replace.js +29 -0
  998. package/node_modules/lodash/rest.js +40 -0
  999. package/node_modules/lodash/result.js +56 -0
  1000. package/node_modules/lodash/reverse.js +34 -0
  1001. package/node_modules/lodash/round.js +26 -0
  1002. package/node_modules/lodash/sample.js +24 -0
  1003. package/node_modules/lodash/sampleSize.js +37 -0
  1004. package/node_modules/lodash/seq.js +16 -0
  1005. package/node_modules/lodash/set.js +35 -0
  1006. package/node_modules/lodash/setWith.js +32 -0
  1007. package/node_modules/lodash/shuffle.js +25 -0
  1008. package/node_modules/lodash/size.js +46 -0
  1009. package/node_modules/lodash/slice.js +37 -0
  1010. package/node_modules/lodash/snakeCase.js +28 -0
  1011. package/node_modules/lodash/some.js +51 -0
  1012. package/node_modules/lodash/sortBy.js +48 -0
  1013. package/node_modules/lodash/sortedIndex.js +24 -0
  1014. package/node_modules/lodash/sortedIndexBy.js +33 -0
  1015. package/node_modules/lodash/sortedIndexOf.js +31 -0
  1016. package/node_modules/lodash/sortedLastIndex.js +25 -0
  1017. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1018. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1019. package/node_modules/lodash/sortedUniq.js +24 -0
  1020. package/node_modules/lodash/sortedUniqBy.js +26 -0
  1021. package/node_modules/lodash/split.js +52 -0
  1022. package/node_modules/lodash/spread.js +63 -0
  1023. package/node_modules/lodash/startCase.js +29 -0
  1024. package/node_modules/lodash/startsWith.js +39 -0
  1025. package/node_modules/lodash/string.js +33 -0
  1026. package/node_modules/lodash/stubArray.js +23 -0
  1027. package/node_modules/lodash/stubFalse.js +18 -0
  1028. package/node_modules/lodash/stubObject.js +23 -0
  1029. package/node_modules/lodash/stubString.js +18 -0
  1030. package/node_modules/lodash/stubTrue.js +18 -0
  1031. package/node_modules/lodash/subtract.js +22 -0
  1032. package/node_modules/lodash/sum.js +24 -0
  1033. package/node_modules/lodash/sumBy.js +33 -0
  1034. package/node_modules/lodash/tail.js +22 -0
  1035. package/node_modules/lodash/take.js +37 -0
  1036. package/node_modules/lodash/takeRight.js +39 -0
  1037. package/node_modules/lodash/takeRightWhile.js +45 -0
  1038. package/node_modules/lodash/takeWhile.js +45 -0
  1039. package/node_modules/lodash/tap.js +29 -0
  1040. package/node_modules/lodash/template.js +272 -0
  1041. package/node_modules/lodash/templateSettings.js +67 -0
  1042. package/node_modules/lodash/throttle.js +69 -0
  1043. package/node_modules/lodash/thru.js +28 -0
  1044. package/node_modules/lodash/times.js +51 -0
  1045. package/node_modules/lodash/toArray.js +58 -0
  1046. package/node_modules/lodash/toFinite.js +42 -0
  1047. package/node_modules/lodash/toInteger.js +36 -0
  1048. package/node_modules/lodash/toIterator.js +23 -0
  1049. package/node_modules/lodash/toJSON.js +1 -0
  1050. package/node_modules/lodash/toLength.js +38 -0
  1051. package/node_modules/lodash/toLower.js +28 -0
  1052. package/node_modules/lodash/toNumber.js +64 -0
  1053. package/node_modules/lodash/toPairs.js +30 -0
  1054. package/node_modules/lodash/toPairsIn.js +30 -0
  1055. package/node_modules/lodash/toPath.js +33 -0
  1056. package/node_modules/lodash/toPlainObject.js +32 -0
  1057. package/node_modules/lodash/toSafeInteger.js +37 -0
  1058. package/node_modules/lodash/toString.js +28 -0
  1059. package/node_modules/lodash/toUpper.js +28 -0
  1060. package/node_modules/lodash/transform.js +65 -0
  1061. package/node_modules/lodash/trim.js +47 -0
  1062. package/node_modules/lodash/trimEnd.js +41 -0
  1063. package/node_modules/lodash/trimStart.js +43 -0
  1064. package/node_modules/lodash/truncate.js +111 -0
  1065. package/node_modules/lodash/unary.js +22 -0
  1066. package/node_modules/lodash/unescape.js +34 -0
  1067. package/node_modules/lodash/union.js +26 -0
  1068. package/node_modules/lodash/unionBy.js +39 -0
  1069. package/node_modules/lodash/unionWith.js +34 -0
  1070. package/node_modules/lodash/uniq.js +25 -0
  1071. package/node_modules/lodash/uniqBy.js +31 -0
  1072. package/node_modules/lodash/uniqWith.js +28 -0
  1073. package/node_modules/lodash/uniqueId.js +28 -0
  1074. package/node_modules/lodash/unset.js +34 -0
  1075. package/node_modules/lodash/unzip.js +45 -0
  1076. package/node_modules/lodash/unzipWith.js +39 -0
  1077. package/node_modules/lodash/update.js +35 -0
  1078. package/node_modules/lodash/updateWith.js +33 -0
  1079. package/node_modules/lodash/upperCase.js +27 -0
  1080. package/node_modules/lodash/upperFirst.js +22 -0
  1081. package/node_modules/lodash/util.js +34 -0
  1082. package/node_modules/lodash/value.js +1 -0
  1083. package/node_modules/lodash/valueOf.js +1 -0
  1084. package/node_modules/lodash/values.js +34 -0
  1085. package/node_modules/lodash/valuesIn.js +32 -0
  1086. package/node_modules/lodash/without.js +31 -0
  1087. package/node_modules/lodash/words.js +35 -0
  1088. package/node_modules/lodash/wrap.js +30 -0
  1089. package/node_modules/lodash/wrapperAt.js +48 -0
  1090. package/node_modules/lodash/wrapperChain.js +34 -0
  1091. package/node_modules/lodash/wrapperLodash.js +147 -0
  1092. package/node_modules/lodash/wrapperReverse.js +44 -0
  1093. package/node_modules/lodash/wrapperValue.js +21 -0
  1094. package/node_modules/lodash/xor.js +28 -0
  1095. package/node_modules/lodash/xorBy.js +39 -0
  1096. package/node_modules/lodash/xorWith.js +34 -0
  1097. package/node_modules/lodash/zip.js +22 -0
  1098. package/node_modules/lodash/zipObject.js +24 -0
  1099. package/node_modules/lodash/zipObjectDeep.js +23 -0
  1100. package/node_modules/lodash/zipWith.js +32 -0
  1101. package/node_modules/regression/.babelrc +4 -0
  1102. package/node_modules/regression/.editorconfig +10 -0
  1103. package/node_modules/regression/.eslintrc +7 -0
  1104. package/node_modules/regression/.npmignore +3 -0
  1105. package/node_modules/regression/.travis.yml +13 -0
  1106. package/node_modules/regression/CHANGELOG.md +13 -0
  1107. package/node_modules/regression/LICENSE +21 -0
  1108. package/node_modules/regression/README.md +85 -0
  1109. package/node_modules/regression/bower.json +16 -0
  1110. package/node_modules/regression/dist/regression.js +384 -0
  1111. package/node_modules/regression/dist/regression.min.js +1 -0
  1112. package/node_modules/regression/package.json +42 -0
  1113. package/node_modules/regression/src/regression.js +326 -0
  1114. package/node_modules/regression/test/data.js +212 -0
  1115. package/node_modules/regression/test/regression.test.js +47 -0
  1116. package/package.json +76 -0
  1117. package/schema.json +68 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # Changes
2
+
3
+ ## 0.1.0
4
+
5
+ Independent Ship's Barometer release, derived from oyve/signalk-barometer-trend v2.3.4.
6
+
7
+ - Convert Signal K true-wind angles from radians to normalized degrees; migrate legacy saved angles once without changing pressure history.
8
+ - Add opt-in, offline pressure/wind/moisture assessment with source IDs, original timestamps, history continuity and missing-data flags.
9
+ - Add transducer-depth water temperature context and conservative moisture-consistency checks.
10
+ - Keep all 21 legacy forecast paths; add one structured assessment path.
11
+ - Retain Derived Data as an optional dew-point provider and use synchronized local temperature/humidity as fallback.
12
+ - Add maritime barometer artwork, an independent package/plugin ID, explicit source/depth settings and install guidance.
13
+ - Guard malformed/irrelevant deltas and invalid pressure inputs.
14
+
15
+ Modified inherited files: index.js, barometer.js, package.json, schema.json, meta.json, README.md; new assessment.js and assessment/wind/water/lifecycle tests. The upstream mapping file and original LICENSE are retained. No forecast probability or new automatic alarm is introduced.
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2020-2021 github.com/oyve
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,14 @@
1
+ Ship's Barometer
2
+
3
+ This project derives from signalk-barometer-trend v2.3.4 by oyve.
4
+ Original project: https://github.com/oyve/signalk-barometer-trend
5
+ The barometer-trend forecasting library is also by oyve:
6
+ https://github.com/oyve/barometer-trend
7
+ Original Apache License 2.0 terms and notices are retained in LICENSE.
8
+
9
+ Modifications maintained by SCarns (2026): corrected wind-angle units and saved-history migration; optional offline local assessment; source/timestamp/quality checks; water-temperature context; independent packaging, documentation and tests.
10
+ This independent project is not endorsed by the original author.
11
+
12
+ The nautical barometer artwork was generated with OpenAI image generation at SCarns' direction and is included under this project's Apache-2.0 distribution terms.
13
+ Bundled dependencies retain their own license notices in their packages.
14
+ Modified JSON configuration/metadata/package files and modified tests are identified in CHANGELOG.md.
package/README.md ADDED
@@ -0,0 +1,69 @@
1
+ <!-- Independent modifications by SCarns, 2026. Derived from oyve/signalk-barometer-trend v2.3.4; see NOTICE. -->
2
+ # Ship's Barometer
3
+
4
+ <img src="assets/ships-barometer.png" width="180" alt="A traditional brass ship's barometer against a misty sea">
5
+
6
+ **Offline weather interpretation from the boat's own sensors.** Ship's Barometer combines traditional barometric forecasts with an optional assessment of measured pressure changes, wind strengthening/easing, moisture conditions and water-temperature context.
7
+
8
+ This is an independent continuation of [signalk-barometer-trend v2.3.4](https://github.com/oyve/signalk-barometer-trend/tree/v2.3.4), created by **[oyve](https://github.com/oyve)**. The underlying [barometer-trend](https://github.com/oyve/barometer-trend) library is also by oyve. Their work supplies the original pressure analysis and forecast models; this project adds integration corrections, local observations, quality checks and independent packaging. It is maintained by [SCarns](https://github.com/SCarns) and is not endorsed by the original author.
9
+
10
+ ## What it does
11
+
12
+ - Converts Signal K true-wind direction from radians to the degrees required by the forecasting library, including a one-time conversion of legacy saved history.
13
+ - Retains all 21 pressure/forecast paths used by the original 2.3.4 plugin and existing dashboards.
14
+ - Optionally publishes `environment.outside.weather.assessment`: measured changes, short reasons, SI units, source IDs, original timestamps, missing inputs and quality flags.
15
+ - Uses local humidity/temperature or a supplied Derived Data dew point, with checks for disagreement and observation-time mismatch.
16
+ - Compares air and dew point with local water temperature while explicitly distinguishing transducer-depth water from a measured surface temperature.
17
+ - Preserves separate pressure and assessment history across restarts. Runs without any weather API or internet connection after installation.
18
+
19
+ The assessment is **descriptive and experimental**. It does not provide a calibrated rain probability, future wind speed, confirmed fog, gust forecast or new automatic alarm. Heat index and wind chill remain with Derived Data. The optional assessment is off by default.
20
+
21
+ ## Install
22
+
23
+ Download `signalk-ships-barometer-0.1.0.tgz` from [GitHub Releases](https://github.com/SCarns/signalk-ships-barometer/releases/latest) and copy it into your Signal K user directory, normally `~/.signalk`:
24
+
25
+ ```sh
26
+ cd ~/.signalk
27
+ npm install --save ./signalk-ships-barometer-0.1.0.tgz
28
+ ```
29
+
30
+ **Disable Barometer Trend before enabling Ship's Barometer.** The plugins share the original forecast output paths; running both would create competing publishers. You can keep the old package installed for rollback.
31
+
32
+ Restart Signal K and enable **Ship's Barometer** in plugin settings. To use the extra assessment, enable **Local weather assessment**. Check [installation and migration](docs/installation.md) for source/depth settings and history handling.
33
+
34
+ This release is distributed on GitHub. See [publishing to the Signal K store](docs/publishing.md). npm/store availability is a separate publishing step; do not assume `npm install signalk-ships-barometer` or store search will work until it has been published there.
35
+
36
+ ## Local inputs and output
37
+
38
+ | Input | Signal K path | Units |
39
+ |---|---|---|
40
+ | Pressure | `environment.outside.pressure` | Pa |
41
+ | Air temperature | `environment.outside.temperature` | K |
42
+ | True wind direction | `environment.wind.directionTrue` | rad |
43
+ | True wind speed | `environment.wind.speedTrue` | m/s |
44
+ | Humidity | `environment.outside.humidity` or `environment.outside.relativeHumidity` | ratio |
45
+ | Optional supplied dew point | `environment.outside.dewPointTemperature` | K |
46
+ | Optional water temperature | `environment.water.temperature` | K |
47
+
48
+ Set the assessment source IDs explicitly when multiple local sources share a path. Blank source fields retain the first valid local source. Sources identified as Open-Meteo, NOAA or WeatherAPI are excluded from the assessment. Only this vessel's timestamped observations are accepted. The source IDs and timestamps used remain visible in the assessment.
49
+
50
+ The new assessment contains `pressureState`, `windState`, `moistureState`, `waterContext`, `fogContext`, `qualityFlags`, `measurements`, `units`, `inputs`, `missing` and `reasons`. `windOutlook` is explicitly `uncalibrated`.
51
+
52
+ ## Evidence and development
53
+
54
+ The first release comes from a local archive study and installation testing. The wind-angle fix corrects a unit-contract error; it does **not** establish improved rain accuracy. The pressure-to-future-wind association was inconsistent across periods and decision-window timings, so the new assessment reports observed changes rather than an automatic wind warning. Water context has software tests, but no boat-fog accuracy score.
55
+
56
+ The release is based on the working **2.3.4** lineage. Upstream's newer main branch uses a different library interface and path layout; this project intentionally retains the installed 2.3.4 output contract. See [validation and limits](docs/validation.md).
57
+
58
+ Requires Node.js 18 or newer. For development:
59
+
60
+ ```sh
61
+ npm ci
62
+ npm test
63
+ ```
64
+
65
+ Runtime dependencies are bundled in the release tarball; development dependencies are not. Contributions should include meaningful tests and retain the distinction between measured conditions, hypotheses and verified forecast outcomes.
66
+
67
+ ## License and credits
68
+
69
+ [Apache License 2.0](LICENSE). Original license text is retained; modified-file attribution and additions are recorded in [NOTICE](NOTICE) and [CHANGELOG.md](CHANGELOG.md). Runtime dependencies retain their own license notices. The nautical artwork was generated with OpenAI image generation at SCarns' direction.
package/assessment.js ADDED
@@ -0,0 +1,99 @@
1
+ // Ship's Barometer modifications by SCarns, 2026. Derived from oyve/signalk-barometer-trend v2.3.4; see NOTICE and CHANGELOG.md.
2
+ 'use strict';
3
+ const PATHS={pressure:'environment.outside.pressure',wind:'environment.wind.speedTrue',temperature:'environment.outside.temperature',humidity:'environment.outside.humidity',dewpoint:'environment.outside.dewPointTemperature',water:'environment.water.temperature'};
4
+ const MAX_AGE={pressure:25*60000,wind:5*60000,temperature:10*60000,humidity:10*60000,dewpoint:10*60000,water:30*60000};
5
+ const median=a=>{a=a.slice().sort((x,y)=>x-y);return a.length%2?a[(a.length-1)/2]:(a[a.length/2-1]+a[a.length/2])/2;};
6
+ class Assessment {
7
+ constructor(preferred={}, waterDepthM=null){this.history={};this.sources={};this.latest={};this.preferred=preferred;this.waterDepthM=waterDepthM;}
8
+ ingest(delta,now=Date.now()){
9
+ if(delta.context && delta.context!=='vessels.self' && delta.context!==this.context)return;
10
+ for(const u of delta.updates||[]){
11
+ // Original timestamps are mandatory; receipt time must not refresh stale data.
12
+ const time=Date.parse(u.timestamp),source=u.$source || (u.source && (u.source.label || u.source.src));
13
+ if(!Number.isFinite(time)||time>now||now-time>25*60000||typeof source!=='string'||!source)continue;
14
+ for(const item of u.values||[]){
15
+ const key=Object.keys(PATHS).find(k=>PATHS[k]===item.path || (k==='humidity'&&item.path==='environment.outside.relativeHumidity'));if(!key)continue;
16
+ if(this.preferred[key] && source!==this.preferred[key])continue;
17
+ if(/open-meteo|noaa|weatherapi/i.test(source))continue;
18
+ if(this.sources[key] && this.sources[key]!==source)continue;
19
+ const v=item.value;
20
+ if(this.latest[key] && time<=this.latest[key].time)continue;
21
+ if(!Number.isFinite(v)|| (key==='pressure'&&(v<80000||v>110000)) || (key==='wind'&&(v<0||v>100)) || ((key==='temperature'||key==='dewpoint')&&(v<193.15||v>333.15)) || (key==='humidity'&&(v<=0||v>1)) || (key==='water'&&(v<270.15||v>323.15))){delete this.latest[key];continue;}
22
+ this.sources[key]=source;this.latest[key]={time,value:v,source};
23
+ if(key==='pressure'||key==='wind'){
24
+ const h=this.history[key]||(this.history[key]=[]),record={time,value:v,source};
25
+ if(h.length && Math.floor(h[h.length-1].time/60000)===Math.floor(time/60000))h[h.length-1]=record;else h.push(record);
26
+ this.history[key]=h.filter(x=>x.time>=now-4*3600000);
27
+ }
28
+ }
29
+ }
30
+ }
31
+ fresh(key,now){const v=this.latest[key];return v&&now>=v.time&&now-v.time<=MAX_AGE[key]?v:null;}
32
+ window(key,end){
33
+ const h=(this.history[key]||[]).filter(x=>x.time<=end&&x.time>=end-30*60000);
34
+ if(h.length<3 || h[0].time>end-20*60000 || h[h.length-1].time<end-5*60000)return null;
35
+ for(let i=1;i<h.length;i++)if(h[i].time-h[i-1].time>10*60000)return null;
36
+ return median(h.map(x=>x.value));
37
+ }
38
+ evaluate(now=Date.now()){
39
+ const inputs={},missing=[];
40
+ for(const k of Object.keys(PATHS)){const v=this.fresh(k,now);if(v)inputs[k]=v;else missing.push(k);}
41
+ const pressureNow=inputs.pressure?this.window('pressure',now):null;
42
+ const pressurePast=inputs.pressure?this.window('pressure',now-3*3600000):null;
43
+ const windNow=inputs.wind?this.window('wind',now):null;
44
+ const windPast=inputs.wind?this.window('wind',now-3600000):null;
45
+ // Full pressure/wind baseline intervals must be continuous, not just their endpoints.
46
+ const continuous=(key,hours)=>{const h=(this.history[key]||[]).filter(x=>x.time>=now-(hours+.5)*3600000&&x.time<=now);return h.every((x,i)=>i===0||x.time-h[i-1].time<=10*60000);};
47
+ const dp=pressureNow!==null&&pressurePast!==null&&continuous('pressure',3)?pressureNow-pressurePast:null;
48
+ const dw=windNow!==null&&windPast!==null&&continuous('wind',1)?windNow-windPast:null;
49
+ let dewpoint=null,dewpointMethod=null;
50
+ const qualityFlags=[];
51
+ const coherent=keys=>{
52
+ const times=keys.filter(k=>inputs[k]).map(k=>inputs[k].time);
53
+ return times.length>0 && Math.max(...times)-Math.min(...times)<=2*60000;
54
+ };
55
+ let calculated=null;
56
+ if(inputs.temperature&&inputs.humidity){
57
+ if(coherent(['temperature','humidity'])){
58
+ const t=inputs.temperature.value-273.15,g=Math.log(inputs.humidity.value)+17.625*t/(243.04+t);
59
+ calculated=243.04*g/(17.625-g)+273.15;
60
+ } else qualityFlags.push('temperature_humidity_time_mismatch');
61
+ }
62
+ if(inputs.temperature&&inputs.dewpoint){
63
+ if(!coherent(['temperature','dewpoint']))qualityFlags.push('temperature_dewpoint_time_mismatch');
64
+ else if(inputs.dewpoint.value>inputs.temperature.value+.5)qualityFlags.push('dewpoint_above_air_temperature');
65
+ else if(calculated!==null && coherent(['temperature','humidity','dewpoint']) && Math.abs(calculated-inputs.dewpoint.value)>2)qualityFlags.push('dewpoint_humidity_disagreement');
66
+ else {dewpoint=inputs.dewpoint.value;dewpointMethod='supplied';}
67
+ } else if(calculated!==null){dewpoint=calculated;dewpointMethod='local_temperature_humidity';}
68
+ // Contradictory supplied moisture evidence is not silently replaced by a calculation.
69
+ if(qualityFlags.length){dewpoint=null;dewpointMethod=null;}
70
+ const spread=dewpoint!==null?inputs.temperature.value-dewpoint:null;
71
+ const airWater=inputs.water&&inputs.temperature?inputs.temperature.value-inputs.water.value:null;
72
+ const dewWater=inputs.water&&dewpoint!==null?dewpoint-inputs.water.value:null;
73
+ const waterContext=airWater===null?'unknown':airWater>0.5?'air_warmer_than_water':airWater<-.5?'water_warmer_than_air':'similar_temperatures';
74
+ const fogContext=dewWater===null||airWater===null?'unknown':airWater>0 && dewWater>=0?'cooling_to_saturation_possible':'cooling_to_saturation_not_indicated';
75
+ const reasons=[];
76
+ if(dp!==null)reasons.push(`Pressure ${dp>=0?'rose':'fell'} ${(Math.abs(dp)/100).toFixed(2)} hPa over three hours.`);
77
+ if(dw!==null)reasons.push(`Measured wind ${dw>=0?'increased':'decreased'} ${(Math.abs(dw)*1.943844).toFixed(1)} knots over one hour.`);
78
+ if(spread!==null)reasons.push(`Air temperature is ${spread.toFixed(1)} °C above dew point.`);
79
+ if(dp===null)missing.push('pressureHistory3h');if(dw===null)missing.push('windHistory1h');
80
+ if(airWater!==null)reasons.push(`Air is ${Math.abs(airWater).toFixed(1)} °C ${airWater>=0?'warmer':'cooler'} than the water measured at transducer depth.`);
81
+ if(fogContext==='cooling_to_saturation_possible')reasons.push('Water at transducer depth is at or below the air dew point; cooling toward saturation is possible if the surface is similar. Fog is not confirmed.');
82
+ if(qualityFlags.length)reasons.push('Moisture inputs disagree or differ in observation time; moisture and fog context are unknown.');
83
+ return {issuedAt:new Date(now).toISOString(),model:'local-assessment-2',mode:'local_observations',pressureState:dp===null?'unknown':dp<=-100?'falling':dp>=100?'rising':'small_change',windState:dw===null?'unknown':dw>=2/1.943844?'strengthening_observed':dw<=-2/1.943844?'easing_observed':'small_change',moistureState:spread===null?'unknown':spread<=2?'near_saturation':'larger_dewpoint_gap',windOutlook:'uncalibrated',waterContext,fogContext,qualityFlags,waterMeasurement:{depthM:this.waterDepthM,location:'water temperature sensor',surfaceTemperatureMeasured:false},measurements:{pressureChange3h:dp,windMedian30m:windNow,windChange1h:dw,dewpoint,dewpointSpread:spread,airWaterTemperatureDifference:airWater,dewpointWaterTemperatureDifference:dewWater},units:{pressureChange3h:'Pa',windMedian30m:'m/s',windChange1h:'m/s',dewpoint:'K',dewpointSpread:'K',airWaterTemperatureDifference:'K',dewpointWaterTemperatureDifference:'K'},dewpointMethod,inputs,missing,reasons};
84
+ }
85
+ save(){return {version:1,history:this.history,sources:this.sources,latest:this.latest};}
86
+ restore(data,now=Date.now()){
87
+ if(!data||data.version!==1)return;
88
+ // Replay persisted data through the same validation without inventing timestamps.
89
+ for(const key of Object.keys(PATHS)){
90
+ const h=(data.history&&data.history[key])||[];
91
+ const recent=data.latest&&data.latest[key];
92
+ for(const x of [...h,...(recent?[recent]:[])].sort((a,b)=>a.time-b.time)){
93
+ if(!Number.isFinite(x.time)||x.time>now||now-x.time>4*3600000)continue;
94
+ this.ingest({updates:[{timestamp:new Date(x.time).toISOString(),$source:x.source,values:[{path:PATHS[key],value:x.value}]}]},x.time);
95
+ }
96
+ }
97
+ }
98
+ }
99
+ module.exports={Assessment,PATHS};
Binary file
package/barometer.js ADDED
@@ -0,0 +1,221 @@
1
+ // Ship's Barometer modifications by SCarns, 2026. Derived from oyve/signalk-barometer-trend v2.3.4; see NOTICE and CHANGELOG.md.
2
+ 'use strict'
3
+ const barometerTrend = require('barometer-trend');
4
+ const map = require('./map');
5
+ const lodash = require('lodash');
6
+
7
+ const secondsToMilliseconds = (seconds) => seconds * 1000;
8
+ const DEFAULT_SAMPLE_RATE = secondsToMilliseconds(60);
9
+ const DEFAULT_ALTITUDE_CORRECTION = 0;
10
+
11
+ let sampleRate = DEFAULT_SAMPLE_RATE; //default
12
+ let altitudeCorrection = DEFAULT_ALTITUDE_CORRECTION;
13
+
14
+ /**
15
+ *
16
+ * @param {number} rate Pressure sample rate in milliseconds
17
+ */
18
+ function setSampleRate(rate) {
19
+ if (!rate) return;
20
+ if (rate > 1200) rate = 1200;
21
+ if (rate < 60) rate = 60;
22
+
23
+ sampleRate = rate * 1000;
24
+ return sampleRate;
25
+ }
26
+
27
+ /**
28
+ *
29
+ * @param {number} altitude Set Altitude correction in meters
30
+ * @returns
31
+ */
32
+ function setAltitudeCorrection(altitude = DEFAULT_ALTITUDE_CORRECTION) {
33
+ if (altitude === null && altitude === undefined) return;
34
+ altitudeCorrection = altitude
35
+ }
36
+
37
+ const SUBSCRIPTIONS = [
38
+ { path: 'environment.wind.directionTrue', period: secondsToMilliseconds(30), policy: "instant", minPeriod: secondsToMilliseconds(60), handle: (value) => onTrueWindUpdated(value) },
39
+ { path: 'navigation.position', period: secondsToMilliseconds(30), policy: "instant", minPeriod: secondsToMilliseconds(60), handle: (value) => onPositionUpdated(value) },
40
+ { path: 'navigation.gnss.antennaAltitude', period: secondsToMilliseconds(30), policy: "instant", minPeriod: secondsToMilliseconds(60), handle: (value) => onAltitudeUpdated(value) },
41
+ { path: 'environment.outside.temperature', period: secondsToMilliseconds(30), policy: "instant", minPeriod: secondsToMilliseconds(60), handle: (value) => onTemperatureUpdated(value) },
42
+ { path: 'environment.outside.pressure', period: sampleRate, handle: (value) => onPressureUpdated(value) }
43
+ ];
44
+
45
+ const TEMPLATE_LATEST = {
46
+ twd: {
47
+ time: null,
48
+ value: null
49
+ },
50
+ position: {
51
+ time: null,
52
+ value: null
53
+ },
54
+ altitude: {
55
+ value: null
56
+ },
57
+ temperature: {
58
+ value: null
59
+ }
60
+ }
61
+
62
+ let latest = null;
63
+ latest = lodash.cloneDeep(TEMPLATE_LATEST);
64
+
65
+ /**
66
+ *
67
+ * @param {Array<Object>} deltas Delta array of updates from SignalK
68
+ * @returns {Array<Object>} Delta array of message updates
69
+ */
70
+ function onDeltasUpdate(deltas) {
71
+ if (!deltas || !Array.isArray(deltas.updates)) {
72
+ throw new Error("Deltas must contain an updates array");
73
+ }
74
+
75
+ let deltaValues = [];
76
+
77
+ deltas.updates.forEach(u => {
78
+ if (!u.values) {
79
+ return;
80
+ }
81
+ u.values.forEach((value) => {
82
+ let onDeltaUpdated = SUBSCRIPTIONS.find((d) => d.path === value.path);
83
+
84
+ if (onDeltaUpdated) {
85
+ let updates = onDeltaUpdated.handle(value.value);
86
+ //console.debug("Handle: " + JSON.stringify(value));
87
+
88
+ if (updates && updates.length > 0) {
89
+ //console.debug(JSON.stringify(updates));
90
+ updates.forEach((update) => deltaValues.push(update));
91
+ }
92
+ }
93
+ });
94
+ });
95
+
96
+ return deltaValues;
97
+ }
98
+
99
+ function onPositionUpdated(value) {
100
+ latest.position.time = Date.now();
101
+ latest.position.value = value;
102
+ }
103
+
104
+ function onTemperatureUpdated(value) {
105
+ latest.temperature.value = value;
106
+ }
107
+
108
+ function onAltitudeUpdated(value) {
109
+ latest.altitude.value = value + altitudeCorrection;
110
+ }
111
+
112
+ function radiansToDegrees(value) {
113
+ if (!Number.isFinite(value)) return null;
114
+ return ((value * 180 / Math.PI) % 360 + 360) % 360;
115
+ }
116
+
117
+ function onTrueWindUpdated(value) {
118
+ const direction = radiansToDegrees(value);
119
+ latest.twd.time = direction !== null ? Date.now() : null;
120
+ latest.twd.value = direction;
121
+ }
122
+
123
+ /**
124
+ *
125
+ * @param {number} value Pressure value in (Pa) Pascal.
126
+ * @returns {Array<[{path:path, value:value}]>} Delta JSON-array of updates
127
+ */
128
+ function onPressureUpdated(value) {
129
+ if (!Number.isFinite(value) || value <= 0) return;
130
+
131
+ addPressure(
132
+ new Date(),
133
+ value,
134
+ latest.altitude.value,
135
+ latest.temperature.value,
136
+ hasTWDWithinOneMinute() ? latest.twd.value : null);
137
+
138
+ let json = barometerTrend.getPredictions(isNorthernHemisphere());
139
+
140
+ return map.mapProperties(json);
141
+ }
142
+
143
+ function addPressure(datetime, value, altitude, temperature, twd) {
144
+ barometerTrend.addPressure(datetime, value, altitude, temperature, twd);
145
+
146
+ // Keep the existing history array, marking angles to avoid conversion on restart.
147
+ const readings = barometerTrend.getAll();
148
+ const reading = readings[readings.length - 1];
149
+ if (reading) reading.meta.twdUnits = 'deg';
150
+ }
151
+
152
+ function clear() {
153
+ barometerTrend.clear();
154
+ latest = lodash.cloneDeep(TEMPLATE_LATEST);
155
+ setAltitudeCorrection(DEFAULT_ALTITUDE_CORRECTION);
156
+ setSampleRate(DEFAULT_SAMPLE_RATE);
157
+ }
158
+
159
+ function hasTWDWithinOneMinute() {
160
+ return latest.twd.time !== null ? (Date.now() - latest.twd.time) <= secondsToMilliseconds(60) : false;
161
+ }
162
+
163
+ function hasPositionWithinOneMinute() {
164
+ return latest.position.time !== null ? (Date.now() - latest.position.time) <= secondsToMilliseconds(60) : false;
165
+ }
166
+
167
+ function isNorthernHemisphere() {
168
+ let position = hasPositionWithinOneMinute() ? latest.position.value : null;
169
+ if (position === null) return true; //default to northern hemisphere
170
+
171
+ return position.latitude < 0 ? false : true;
172
+ }
173
+
174
+ function getAll() {
175
+ return barometerTrend.getAll();
176
+ }
177
+
178
+ function persist(persistCallback) {
179
+ let json = getAll();
180
+ persistCallback(json);
181
+ }
182
+
183
+ function populate(populateCallback) {
184
+ let barometerData = populateCallback();
185
+
186
+ if (barometerData) {
187
+ barometerData.forEach((bd) => {
188
+ // Stock 2.3.4 history stored Signal K radians; this build stores degrees.
189
+ const direction = bd.meta.twdUnits === 'deg'
190
+ ? bd.meta.twd
191
+ : radiansToDegrees(bd.meta.twd);
192
+ addPressure(bd.datetime, bd.meta.value, bd.meta.altitude, bd.meta.temperature, direction);
193
+ });
194
+ }
195
+ }
196
+
197
+ function JSONParser(content) {
198
+ return JSON.parse(content, (key, value) => {
199
+ if (key == "datetime") {
200
+ return new Date(value);
201
+ } else {
202
+ return value;
203
+ }
204
+ })
205
+ };
206
+
207
+ module.exports = {
208
+ SUBSCRIPTIONS,
209
+ hasTWDWithinOneMinute,
210
+ isNortherHemisphere: isNorthernHemisphere,
211
+ hasPositionWithinOneMinute,
212
+ onDeltasUpdate,
213
+ clear,
214
+ getLatest: () => latest,
215
+ setSampleRate,
216
+ setAltitudeCorrection,
217
+ persist,
218
+ populate,
219
+ getAll,
220
+ JSONParser
221
+ }
@@ -0,0 +1,29 @@
1
+ # Installation and migration
2
+
3
+ Ship's Barometer is a separate plugin (`signalk-ships-barometer`) with a separate settings/data directory. The release tarball contains its runtime dependencies. It preserves the old forecast paths for existing displays, not the old plugin ID.
4
+
5
+ 1. Keep your normal Signal K settings/data backup.
6
+ 2. Install the release tarball from the Signal K user directory.
7
+ 3. Disable the original **Barometer Trend** plugin; both must not publish concurrently.
8
+ 4. Restart Signal K and enable **Ship's Barometer**. Re-enter the desired pressure sample rate and altitude correction because settings belong to the new plugin ID.
9
+ 5. Enable **Local weather assessment** if wanted. Inspect `environment.outside.weather.assessment` in Data Browser; new fields do not automatically create dashboard widgets.
10
+
11
+ The old plugin's history/configuration are not deleted or silently copied. With a new data directory, forecast history and the optional assessment start filling from new observations. If retaining history is important, stop both plugins and copy the old plugin data directory's `offline.json` into the new plugin's data directory; optional assessment history is `local-assessment.json`. Locate the actual directories from your Signal K installation instead of assuming a path. Only copy your own local history, not a package's empty `offline.json`. The saved file formats remain compatible with the tested local `2.3.4-tbd.3` build; legacy radians are converted once on loading.
12
+
13
+ ## Assessment sources
14
+
15
+ Use exact IDs from Data Browser. In the development boat's archive, useful IDs were pressure/temperature **Outside**, true wind **AdvancedWind**, and humidity **signalk-node-red**. These are installation-specific suggestions, not defaults or proof of current IDs.
16
+
17
+ The water input is `environment.water.temperature`. Select the speed transducer's source if several local water sources exist. For a sensor two feet below the surface, enter **0.6096** in the water-depth field. Leave depth unset when unknown; the assessment does not claim to measure surface temperature.
18
+
19
+ Freshness limits: wind five minutes; air temperature, humidity and supplied dew point ten minutes; pressure twenty-five minutes; water thirty minutes. Original timestamps/source IDs are required. Pressure/wind comparisons use trailing thirty-minute medians and require continuity with no gaps over ten minutes. Expect roughly ninety minutes for wind-change history and three and a half hours for pressure-change history.
20
+
21
+ Temperature/humidity and supplied dew point must agree in time within two minutes. A supplied dew point above air temperature by over 0.5 °C, or disagreeing with the synchronized local temperature/humidity estimate by over 2 °C, is flagged. Moisture/fog context then becomes unknown. These are experimental quality thresholds, not calibrated sensor specifications.
22
+
23
+ `fogContext: cooling_to_saturation_possible` means air is warmer than measured water and measured water is at/below the usable air dew point. It depends on surface water being similar to the transducer measurement. Fog is not confirmed. `cooling_to_saturation_not_indicated` concerns only this mechanism, not all possible fog types.
24
+
25
+ ## Rollback
26
+
27
+ Disable Ship's Barometer and re-enable the old plugin. Its original settings/data remain in its separate directory. Do not enable both simultaneously. Returning to stock 2.3.4 after using corrected degree history requires restoring the old pre-correction history or waiting for that mixed history to expire; a corrected `2.3.4-tbd.*` version is the cleaner rollback baseline.
28
+
29
+ If npm reports a missing tarball for another installed plugin, restore that plugin's referenced tarball or repair its dependency reference first. npm resolves the shared dependency list during installation even when installing a different plugin.