@tangledwires/uk-station-data 1.0.3 → 1.0.4

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/dist/index.js CHANGED
@@ -1,18 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./line"), exports);
18
- __exportStar(require("./station"), exports);
1
+ export * from "./line";
2
+ export * from "./station";
package/dist/line.js CHANGED
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.lineIds = exports.Lines = void 0;
4
1
  /**
5
2
  * A list of all {@link Line}s
6
3
  */
7
- exports.Lines = {
4
+ export const Lines = {
8
5
  bakerloo: {
9
6
  displayName: "Bakerloo",
10
7
  colour: "#a45a2a",
@@ -92,4 +89,4 @@ exports.Lines = {
92
89
  colour: "#ed1b00"
93
90
  },
94
91
  };
95
- exports.lineIds = Object.keys(exports.Lines);
92
+ export const lineIds = Object.keys(Lines);
package/dist/station.js CHANGED
@@ -1,10 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.stationIds = exports.Stations = void 0;
4
1
  /**
5
2
  * A list of all {@link Station}s
6
3
  */
7
- exports.Stations = {
4
+ export const Stations = {
8
5
  abbeyRoad: { displayName: "Abbey Road", lines: ["dlr"] },
9
6
  abbeyWood: { displayName: "Abbey Wood", lines: ["elizabeth"] },
10
7
  actonMainLine: { displayName: "Acton Main Line", lines: ["elizabeth"] },
@@ -464,4 +461,4 @@ exports.Stations = {
464
461
  woolwich: { displayName: "Woolwich", lines: ["elizabeth"] },
465
462
  woolwichArsenal: { displayName: "Woolwich Arsenal", lines: ["dlr"] },
466
463
  };
467
- exports.stationIds = Object.keys(exports.Stations);
464
+ export const stationIds = Object.keys(Stations);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangledwires/uk-station-data",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "TangledWires",