@angelrove/forecast-utils 1.1.15 → 1.1.18

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.
@@ -1,14 +1,14 @@
1
- export { default as MoonCalc } from "./astronomy/moon/MoonCalc.js";
2
- export { default as SunCalc } from "./astronomy/sun/SunCalc.js";
3
- export { timeFromLocation } from "./geolocation/timeFromLocation.js";
4
- export { default as TimeDateStr } from "./utils/timehelpers.js";
5
- export { getGeolocation } from "./geolocation/getGeolocation.js";
6
- export { useForecastCurrent } from "./OpenMeteo/current/useForecastCurrent.js";
7
- export { useForecastDaily } from "./OpenMeteo/daily/useForecastDaily.js";
8
- export { useForecastHourly } from "./OpenMeteo/hourly/useForecastHourly.js";
9
- export { weatherSymbol } from "./OpenMeteo/weatherSymbol/weatherSymbol.js";
10
- export { degreesToCompass } from "./utils/degreesToCompass.js";
11
- export { WindArrow } from "./utils/wind/WindArrow.jsx";
12
- export { windArrowTx } from "./utils/wind/windArrowTx.js";
13
- export { getWindLevel } from "./utils/wind/windLevel.js";
14
- export { getWarning, getWarningByDays } from "./utils/warning.js";
1
+ export { default as MoonCalc } from "./astronomy/moon/MoonCalc";
2
+ export { default as SunCalc } from "./astronomy/sun/SunCalc";
3
+ export { timeFromLocation } from "./geolocation/timeFromLocation";
4
+ export { default as TimeDateStr } from "./utils/timehelpers";
5
+ export { getGeolocation } from "./geolocation/getGeolocation";
6
+ export { useForecastCurrent } from "./OpenMeteo/current/useForecastCurrent";
7
+ export { useForecastDaily } from "./OpenMeteo/daily/useForecastDaily";
8
+ export { useForecastHourly } from "./OpenMeteo/hourly/useForecastHourly";
9
+ export { weatherSymbol } from "./OpenMeteo/weatherSymbol/weatherSymbol";
10
+ export { degreesToCompass } from "./utils/degreesToCompass";
11
+ export { WindArrow } from "./utils/wind/WindArrow";
12
+ export { windArrowTx } from "./utils/wind/windArrowTx";
13
+ export { getWindLevel } from "./utils/wind/windLevel";
14
+ export { getWarning, getWarningByDays } from "./utils/warning";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Jose Angel Romero Vegas",
3
3
  "name": "@angelrove/forecast-utils",
4
- "version": "1.1.15",
4
+ "version": "1.1.18",
5
5
  "description": "Utilities for obtaining weather and astronomy forecast data.",
6
6
  "license": "MIT",
7
7
  "publishConfig": {
@@ -38,11 +38,11 @@
38
38
  "@capacitor/geolocation": "^7.1.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@biomejs/biome": "1.9.4",
42
- "@types/react": "^19.1.5",
43
- "@types/react-dom": "^19.1.5",
44
- "jsdoc-to-markdown": "^9.1.1",
45
- "typescript": "^5.8.3"
41
+ "@biomejs/biome": "2.2.4",
42
+ "@types/react": "^19.1.12",
43
+ "@types/react-dom": "^19.1.9",
44
+ "jsdoc-to-markdown": "^9.1.2",
45
+ "typescript": "^5.9.2"
46
46
  },
47
47
  "dependencies": {}
48
48
  }
package/src/index.js CHANGED
@@ -1,21 +1,22 @@
1
1
  // Astronomy
2
- export { default as MoonCalc } from "./astronomy/moon/MoonCalc.js";
3
- export { default as SunCalc } from "./astronomy/sun/SunCalc.js";
4
- export { timeFromLocation } from "./geolocation/timeFromLocation.js";
5
- export { default as TimeDateStr } from "./utils/timehelpers.js";
2
+ export { default as MoonCalc } from "./astronomy/moon/MoonCalc";
3
+ export { default as SunCalc } from "./astronomy/sun/SunCalc";
4
+ export { timeFromLocation } from "./geolocation/timeFromLocation";
5
+ export { default as TimeDateStr } from "./utils/timehelpers";
6
6
 
7
7
  // Geolocation
8
- export { getGeolocation } from "./geolocation/getGeolocation.js";
8
+ export { getGeolocation } from "./geolocation/getGeolocation";
9
9
 
10
10
  // OpenMeteo
11
- export { useForecastCurrent } from "./OpenMeteo/current/useForecastCurrent.js";
12
- export { useForecastDaily } from "./OpenMeteo/daily/useForecastDaily.js";
13
- export { useForecastHourly } from "./OpenMeteo/hourly/useForecastHourly.js";
14
- export { weatherSymbol } from "./OpenMeteo/weatherSymbol/weatherSymbol.js";
11
+ export { useForecastCurrent } from "./OpenMeteo/current/useForecastCurrent";
12
+ export { useForecastDaily } from "./OpenMeteo/daily/useForecastDaily";
13
+ export { useForecastHourly } from "./OpenMeteo/hourly/useForecastHourly";
14
+ export { weatherSymbol } from "./OpenMeteo/weatherSymbol/weatherSymbol";
15
15
 
16
16
  // utils
17
- export { degreesToCompass } from "./utils/degreesToCompass.js";
18
- export { getWarning, getWarningByDays } from "./utils/warning.js";
19
- export { WindArrow } from "./utils/wind/WindArrow.jsx";
20
- export { windArrowTx } from "./utils/wind/windArrowTx.js";
21
- export { getWindLevel } from "./utils/wind/windLevel.js";
17
+ export { degreesToCompass } from "./utils/degreesToCompass";
18
+ export { getWarning, getWarningByDays } from "./utils/warning";
19
+ export { WindArrow } from "./utils/wind/WindArrow";
20
+ export { windArrowTx } from "./utils/wind/windArrowTx";
21
+ export { getWindLevel } from "./utils/wind/windLevel";
22
+