@mark1russell7/guidebook-preparedness 0.7.48 → 0.7.50

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 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/units.ts","../src/data/tab-units.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCsFlB,qBAAqB;;;;;qBAkiBrB,oBAAoB;;qBAgSpB,gBAAgB;;qBCx5BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;qBCrCjB;;qBAyDA,iBAAiB;;qBCshFjB,sBAAsB;;qBCg+DtB,oBAAoB;;qBC7iJpB;;;;;;qBAOA;;qBAKA,kBAAkB;;;;;;qBAyBlB,gBAAgB;;qBCvChB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCrDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/units.ts","../src/data/tab-units.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCwFlB,qBAAqB;;;;;qBAoiBrB,oBAAoB;;qBAgSpB,gBAAgB;;qBC55BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;qBCrCjB;;qBAyDA,iBAAiB;;qBCshFjB,sBAAsB;;qBCg+DtB,oBAAoB;;qBC7iJpB;;;;;;qBAOA;;qBAKA,kBAAkB;;;;;;qBAyBlB,gBAAgB;;qBCvChB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCrDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}
package/build/index.js CHANGED
@@ -534,8 +534,25 @@ function hazardsOf(steps) {
534
534
  };
535
535
  });
536
536
  }
537
+ // src/data/persons.ts
538
+ /** The groups of persons that each step protects, by the `id` of the step. A test holds that each key is the id of a step. */
539
+ const STEP_PERSONS = {
540
+ "met.tropical.hurricane.warned.neighbors": ["older-adult"],
541
+ "met.tropical.hurricane.P3.mold": ["child"],
542
+ "met.heat.extreme.P1.check": ["older-adult"],
543
+ "fire.structure.ready.children": ["child"],
544
+ "fire.wildfire.P1.n95": ["infant", "child"],
545
+ "infra.supply-chain.food.ready.household": ["infant"],
546
+ "infra.supply-chain.food.P2.formula": ["infant"],
547
+ "cbrne.nuclear-detonation.P2.pregnant-care": ["pregnant"],
548
+ "security.armed-conflict.P3.children": ["child"],
549
+ "water.main.P1.unsafe": ["infant"],
550
+ "network.access.P5.teach-children": ["child"],
551
+ "food.retail.P3.share-by-need": ["child"]
552
+ };
537
553
  // src/data/uses.ts
538
554
  const WEATHER_RADIO = "communication.noaa-radio";
555
+ const AM_FM_RADIO = "communication.am-fm-radio";
539
556
  const TWO_WAY_RADIOS = "communication.frs-radio-pair";
540
557
  const FLASHLIGHT = "light.flashlight";
541
558
  const CELLS = "power.aa-alkaline";
@@ -549,6 +566,8 @@ const STEP_USES = {
549
566
  CELLS
550
567
  ],
551
568
  "met.winter.storm.ready.car-kit": [FLASHLIGHT],
569
+ "met.flood.ready.alerts": [WEATHER_RADIO],
570
+ "met.tornado.ready.alerts": [WEATHER_RADIO],
552
571
  "met.tornado.P1.listen": [WEATHER_RADIO],
553
572
  "cbrne.hazardous-materials.warned.listen": [WEATHER_RADIO],
554
573
  "cbrne.radiological.ready.radio": [WEATHER_RADIO, CELLS],
@@ -556,18 +575,26 @@ const STEP_USES = {
556
575
  "health.medical-emergency.ready.first-aid-kit": [FIRST_AID_KIT],
557
576
  "civic.ai-collapse.ready.radio": [WEATHER_RADIO, CELLS],
558
577
  "civic.ai-collapse.P0.shelter": [WEATHER_RADIO],
578
+ "civic.ai-collapse.P1.radio-info": [AM_FM_RADIO],
579
+ "infra.power.grid-collapse.ready.radio": [AM_FM_RADIO, CELLS],
580
+ "cyber.infrastructure-attack.ready.radio": [AM_FM_RADIO, CELLS],
581
+ "security.civil-unrest.P0.go-in": [AM_FM_RADIO],
582
+ "security.armed-conflict.warned.alarm-radio": [AM_FM_RADIO],
559
583
  "infra.power.grid-collapse.ready.warm": [SLEEPING_BAG],
560
584
  "cbrne.nuclear-detonation.ready.alerts-and-radio": [WEATHER_RADIO, CELLS],
561
585
  "security.nuclear-war.ready.radio": [WEATHER_RADIO, CELLS],
562
586
  "security.nuclear-war.warned.public-warning": [WEATHER_RADIO],
563
587
  "cbrne.emp.ready.spare-batteries": [CELLS],
564
- "cbrne.emp.P1.listen-radio": [WEATHER_RADIO],
588
+ "cbrne.emp.ready.battery-radio": [AM_FM_RADIO, CELLS],
589
+ "cbrne.emp.P1.listen-radio": [AM_FM_RADIO],
565
590
  "security.armed-conflict.ready.radio": [WEATHER_RADIO, CELLS],
566
591
  "power.grid.ready.flashlights": [FLASHLIGHT],
567
592
  "phone.network.ready.radio": [WEATHER_RADIO, CELLS],
568
593
  "phone.network.ready.radios": [TWO_WAY_RADIOS],
569
594
  "phone.network.P4.two-way-radio": [TWO_WAY_RADIOS],
595
+ "phone.network.P2.news": [AM_FM_RADIO],
570
596
  "network.access.ready.radio": [WEATHER_RADIO, CELLS],
597
+ "network.access.P1.news": [AM_FM_RADIO],
571
598
  "care.local.P3.medic": [FIRST_AID_KIT],
572
599
  "fuel.retail.ready.warm-layers": [SLEEPING_BAG],
573
600
  "home.dwelling.P1.radio": [WEATHER_RADIO, CELLS]
@@ -575,7 +602,7 @@ const STEP_USES = {
575
602
  // src/data/steps.ts
576
603
  /**
577
604
  * This function makes the steps of a key from its rows. The order of a step is its position among the rows of its phase.
578
- * The items that a step uses come from `STEP_USES`, by the id of the step.
605
+ * The items that a step uses come from `STEP_USES`, and its groups of persons come from `STEP_PERSONS`, by the id of the step.
579
606
  */
580
607
  function stepsOf(on, rows) {
581
608
  const count = /* @__PURE__ */ new Map();
@@ -585,6 +612,7 @@ function stepsOf(on, rows) {
585
612
  count.set(phase, order);
586
613
  const id = `${on}.${phase}.${name}`;
587
614
  const uses = STEP_USES[id];
615
+ const persons = STEP_PERSONS[id];
588
616
  return {
589
617
  id,
590
618
  on,
@@ -592,6 +620,7 @@ function stepsOf(on, rows) {
592
620
  needs,
593
621
  do: action,
594
622
  ...uses === void 0 ? {} : { uses },
623
+ ...persons === void 0 ? {} : { persons },
595
624
  order,
596
625
  sources,
597
626
  ...reasoning === void 0 ? {} : { reasoning },
@@ -1008,6 +1037,12 @@ const CASE_STEPS = [
1008
1037
  "Move valuable items to higher levels, and clear the drains and gutters.",
1009
1038
  ["ready-floods"]
1010
1039
  ],
1040
+ [
1041
+ "ready",
1042
+ "alerts",
1043
+ "Sign up for the warning system of your community. The Emergency Alert System and a NOAA Weather Radio also give flood alerts.",
1044
+ ["ready-floods"]
1045
+ ],
1011
1046
  [
1012
1047
  "warned",
1013
1048
  "shelter",
@@ -1222,6 +1257,12 @@ const CASE_STEPS = [
1222
1257
  "Learn the sounds of the sirens in your area.",
1223
1258
  ["ready-tornadoes"]
1224
1259
  ],
1260
+ [
1261
+ "ready",
1262
+ "alerts",
1263
+ "Sign up for the warning system of your community. The Emergency Alert System and a NOAA Weather Radio also give tornado alerts.",
1264
+ ["ready-tornadoes"]
1265
+ ],
1225
1266
  [
1226
1267
  "warned",
1227
1268
  "shelter",
@@ -5892,13 +5933,19 @@ const federal = (id, by, title, url) => ({
5892
5933
  const SOURCES = [
5893
5934
  federal("ready-winter", "Ready.gov", "Winter Weather", "https://www.ready.gov/winter-weather"),
5894
5935
  federal("ready-hurricanes", "Ready.gov", "Hurricanes", "https://www.ready.gov/hurricanes"),
5895
- federal("ready-floods", "Ready.gov", "Floods", "https://www.ready.gov/floods"),
5936
+ {
5937
+ ...federal("ready-floods", "Ready.gov", "Floods", "https://www.ready.gov/floods"),
5938
+ checked: "2026-11-26"
5939
+ },
5896
5940
  federal("ready-heat", "Ready.gov", "Extreme Heat", "https://www.ready.gov/heat"),
5897
5941
  {
5898
5942
  ...federal("nws-heat-ww", "National Weather Service", "Understanding Heat Alerts", "https://www.weather.gov/safety/heat-ww"),
5899
5943
  checked: "2026-11-24"
5900
5944
  },
5901
- federal("ready-tornadoes", "Ready.gov", "Tornadoes", "https://www.ready.gov/tornadoes"),
5945
+ {
5946
+ ...federal("ready-tornadoes", "Ready.gov", "Tornadoes", "https://www.ready.gov/tornadoes"),
5947
+ checked: "2026-11-26"
5948
+ },
5902
5949
  federal("ready-earthquakes", "Ready.gov", "Earthquakes", "https://www.ready.gov/earthquakes"),
5903
5950
  federal("ready-fire", "Ready.gov", "Home Fires", "https://www.ready.gov/home-fires"),
5904
5951
  {