@atmosx/event-product-parser 2.0.13 → 2.0.15
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.
- package/.vscode/settings.json +1 -1
- package/dist/cjs/index.cjs +10 -9
- package/dist/esm/index.mjs +10 -9
- package/package.json +1 -1
- package/src/@parsers/@events/api.ts +1 -1
- package/src/bootstrap.ts +8 -7
package/.vscode/settings.json
CHANGED
package/dist/cjs/index.cjs
CHANGED
|
@@ -4881,14 +4881,15 @@ var definitions = {
|
|
|
4881
4881
|
} }
|
|
4882
4882
|
],
|
|
4883
4883
|
shapefiles_directory: [
|
|
4884
|
-
{ name: "us_counties", id: "C", link: "https://www.weather.gov/source/gis/Shapefiles/County/
|
|
4885
|
-
{ name: "us_states_territories", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/County/
|
|
4886
|
-
{ name: "fire_weather_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4887
|
-
{ name: "costal_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4888
|
-
{ name: "offshore_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4889
|
-
{ name: "public_forecast_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4890
|
-
{ name: "county_warning_areas", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4891
|
-
{ name: "river_forecast_boundaries", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/Misc/rf05mr24.zip" }
|
|
4884
|
+
{ name: "us_counties", id: "C", link: "https://www.weather.gov/source/gis/Shapefiles/County/c_16ap26.zip" },
|
|
4885
|
+
{ name: "us_states_territories", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/County/s_16ap26.zip" },
|
|
4886
|
+
{ name: "fire_weather_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/fz16ap26.zip" },
|
|
4887
|
+
{ name: "costal_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/mz16ap26.zip" },
|
|
4888
|
+
{ name: "offshore_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/oz16ap26.zip" },
|
|
4889
|
+
{ name: "public_forecast_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/z_16ap26.zip" },
|
|
4890
|
+
{ name: "county_warning_areas", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/w_16ap26.zip" },
|
|
4891
|
+
{ name: "river_forecast_boundaries", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/Misc/rf05mr24.zip" },
|
|
4892
|
+
{ name: "high_seas_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/hz17fe26.zip" }
|
|
4892
4893
|
],
|
|
4893
4894
|
regular_expressions: {
|
|
4894
4895
|
pvtec: new RegExp(`[OTEX].(NEW|CON|EXT|EXA|EXB|UPG|CAN|EXP|COR|ROU).[A-Z]{4}.[A-Z]{2}.[WAYSFON].[0-9]{4}.[0-9]{6}T[0-9]{4}Z-[0-9]{6}T[0-9]{4}Z`, "g"),
|
|
@@ -5873,7 +5874,7 @@ var APIAlerts = class {
|
|
|
5873
5874
|
history: [{
|
|
5874
5875
|
description: (_pa = (_oa = feature == null ? void 0 : feature.properties) == null ? void 0 : _oa.description) != null ? _pa : null,
|
|
5875
5876
|
action: (_ra = (_qa = feature == null ? void 0 : feature.properties) == null ? void 0 : _qa.messageType) != null ? _ra : null,
|
|
5876
|
-
|
|
5877
|
+
issued: ((_sa = feature == null ? void 0 : feature.properties) == null ? void 0 : _sa.sent) ? new Date((_ta = feature == null ? void 0 : feature.properties) == null ? void 0 : _ta.sent).toISOString() : null
|
|
5877
5878
|
}]
|
|
5878
5879
|
}
|
|
5879
5880
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -4869,14 +4869,15 @@ var definitions = {
|
|
|
4869
4869
|
} }
|
|
4870
4870
|
],
|
|
4871
4871
|
shapefiles_directory: [
|
|
4872
|
-
{ name: "us_counties", id: "C", link: "https://www.weather.gov/source/gis/Shapefiles/County/
|
|
4873
|
-
{ name: "us_states_territories", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/County/
|
|
4874
|
-
{ name: "fire_weather_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4875
|
-
{ name: "costal_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4876
|
-
{ name: "offshore_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4877
|
-
{ name: "public_forecast_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4878
|
-
{ name: "county_warning_areas", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
4879
|
-
{ name: "river_forecast_boundaries", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/Misc/rf05mr24.zip" }
|
|
4872
|
+
{ name: "us_counties", id: "C", link: "https://www.weather.gov/source/gis/Shapefiles/County/c_16ap26.zip" },
|
|
4873
|
+
{ name: "us_states_territories", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/County/s_16ap26.zip" },
|
|
4874
|
+
{ name: "fire_weather_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/fz16ap26.zip" },
|
|
4875
|
+
{ name: "costal_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/mz16ap26.zip" },
|
|
4876
|
+
{ name: "offshore_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/oz16ap26.zip" },
|
|
4877
|
+
{ name: "public_forecast_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/z_16ap26.zip" },
|
|
4878
|
+
{ name: "county_warning_areas", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/w_16ap26.zip" },
|
|
4879
|
+
{ name: "river_forecast_boundaries", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/Misc/rf05mr24.zip" },
|
|
4880
|
+
{ name: "high_seas_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/hz17fe26.zip" }
|
|
4880
4881
|
],
|
|
4881
4882
|
regular_expressions: {
|
|
4882
4883
|
pvtec: new RegExp(`[OTEX].(NEW|CON|EXT|EXA|EXB|UPG|CAN|EXP|COR|ROU).[A-Z]{4}.[A-Z]{2}.[WAYSFON].[0-9]{4}.[0-9]{6}T[0-9]{4}Z-[0-9]{6}T[0-9]{4}Z`, "g"),
|
|
@@ -5861,7 +5862,7 @@ var APIAlerts = class {
|
|
|
5861
5862
|
history: [{
|
|
5862
5863
|
description: (_pa = (_oa = feature == null ? void 0 : feature.properties) == null ? void 0 : _oa.description) != null ? _pa : null,
|
|
5863
5864
|
action: (_ra = (_qa = feature == null ? void 0 : feature.properties) == null ? void 0 : _qa.messageType) != null ? _ra : null,
|
|
5864
|
-
|
|
5865
|
+
issued: ((_sa = feature == null ? void 0 : feature.properties) == null ? void 0 : _sa.sent) ? new Date((_ta = feature == null ? void 0 : feature.properties) == null ? void 0 : _ta.sent).toISOString() : null
|
|
5865
5866
|
}]
|
|
5866
5867
|
}
|
|
5867
5868
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atmosx/event-product-parser",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.015",
|
|
4
4
|
"description": "NOAA Weather Wire & NWS API Parser - Built for standalone and Project AtmosphericX Integration.",
|
|
5
5
|
"main": "dist/cjs/index.cjs",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -133,7 +133,7 @@ export class APIAlerts {
|
|
|
133
133
|
history: [{
|
|
134
134
|
description: feature?.properties?.description ?? null,
|
|
135
135
|
action: feature?.properties?.messageType ?? null,
|
|
136
|
-
|
|
136
|
+
issued: feature?.properties?.sent ? new Date(feature?.properties?.sent).toISOString() : null
|
|
137
137
|
}],
|
|
138
138
|
},
|
|
139
139
|
},
|
package/src/bootstrap.ts
CHANGED
|
@@ -151,14 +151,15 @@ export const definitions = {
|
|
|
151
151
|
}},
|
|
152
152
|
],
|
|
153
153
|
shapefiles_directory: [
|
|
154
|
-
{name: "us_counties", id: "C", link: "https://www.weather.gov/source/gis/Shapefiles/County/
|
|
155
|
-
{name: "us_states_territories", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/County/
|
|
156
|
-
{name: "fire_weather_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
157
|
-
{name: "costal_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
158
|
-
{name: "offshore_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
159
|
-
{name: "public_forecast_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
160
|
-
{name: "county_warning_areas", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/
|
|
154
|
+
{name: "us_counties", id: "C", link: "https://www.weather.gov/source/gis/Shapefiles/County/c_16ap26.zip"},
|
|
155
|
+
{name: "us_states_territories", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/County/s_16ap26.zip"},
|
|
156
|
+
{name: "fire_weather_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/fz16ap26.zip"},
|
|
157
|
+
{name: "costal_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/mz16ap26.zip"},
|
|
158
|
+
{name: "offshore_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/oz16ap26.zip"},
|
|
159
|
+
{name: "public_forecast_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/z_16ap26.zip"},
|
|
160
|
+
{name: "county_warning_areas", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/w_16ap26.zip"},
|
|
161
161
|
{name: "river_forecast_boundaries", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/Misc/rf05mr24.zip"},
|
|
162
|
+
{name: "high_seas_marine_zones", id: "Z", link: "https://www.weather.gov/source/gis/Shapefiles/WSOM/hz17fe26.zip"}
|
|
162
163
|
],
|
|
163
164
|
regular_expressions: {
|
|
164
165
|
pvtec: new RegExp(`[OTEX].(NEW|CON|EXT|EXA|EXB|UPG|CAN|EXP|COR|ROU).[A-Z]{4}.[A-Z]{2}.[WAYSFON].[0-9]{4}.[0-9]{6}T[0-9]{4}Z-[0-9]{6}T[0-9]{4}Z`, "g"),
|