Socket
Socket
Sign inDemoInstall

metro-info

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-info - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

11

CHANGELOG.md

@@ -8,2 +8,8 @@ # Changelog

## [1.0.9] - 2021-04-09
### Changed
- Bumped packages. Now building with TypeScript 4.3.2.
## [1.0.8] - 2021-04-09

@@ -95,4 +101,5 @@

[unreleased]: https://github.com/Codex-/metro-info/compare/v1.0.8...HEAD
[1.0.7]: https://github.com/Codex-/metro-info/compare/v1.0.7...v1.0.8
[unreleased]: https://github.com/Codex-/metro-info/compare/v1.0.9...HEAD
[1.0.9]: https://github.com/Codex-/metro-info/compare/v1.0.8...v1.0.9
[1.0.8]: https://github.com/Codex-/metro-info/compare/v1.0.7...v1.0.8
[1.0.7]: https://github.com/Codex-/metro-info/compare/v1.0.6...v1.0.7

@@ -99,0 +106,0 @@ [1.0.6]: https://github.com/Codex-/metro-info/compare/v1.0.5...v1.0.6

export * from './alert.model';

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
import { Alert } from './alert.model';
export declare function mapToAlert(alertJson: ElementCompact): Alert;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
export declare function fetchXmlAsJson(uri: string): Promise<ElementCompact>;

@@ -0,0 +0,0 @@ "use strict";

export declare const API_URL: string;
export declare const API_TIMES = "JPRoutePositionET2";
export declare const API_LOCATIONS = "JPPlatform";

@@ -0,0 +0,0 @@ "use strict";

export * from './content.model';

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
import { Content } from './content.model';
export declare function mapToContent(contentJson: ElementCompact): Content;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './alert/alert';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
export declare function fetchPlatformLocationsAsJson(): Promise<ElementCompact>;

@@ -0,0 +0,0 @@ import { PlatformLocations } from './platform.locations.model';

import { ElementCompact } from 'xml-js';
import { PlatformLocations } from './platform.locations.model';
export declare function mapToPlatformLocations(locationJson: ElementCompact): PlatformLocations;

@@ -0,0 +0,0 @@ import { Content } from '../../content/content.model';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=platform.locations.model.js.map

@@ -0,0 +0,0 @@ export * from './locations/platform.locations.getter';

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
export declare function fetchPlatformTimesAsJson(platformNumber: number): Promise<ElementCompact>;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PlatformTimes } from './platform.times.model';

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
import { PlatformTimes } from './platform.times.model';
export declare function mapToPlatformTimes(positionJson: ElementCompact): PlatformTimes;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Alert } from '../../alert/alert.model';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=platform.times.model.js.map
export * from './point.model';

@@ -0,0 +0,0 @@ "use strict";

import { ElementCompact } from 'xml-js';
import { Point } from './point.model';
export declare function mapToPoint(pointJson: ElementCompact): Point;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

14

package.json
{
"name": "metro-info",
"version": "1.0.8",
"version": "1.0.9",
"description": "Christchurch (Unofficial) MetroInfo API NodeJS library",

@@ -50,14 +50,14 @@ "main": "dist/index.js",

"devDependencies": {
"@types/jest": "^26.0.22",
"@types/jest": "^26.0.23",
"@types/node-fetch": "^2.5.10",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.4",
"ts-jest": "^27.0.3",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^4.2.4"
"typescript": "^4.3.2"
},

@@ -64,0 +64,0 @@ "husky": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc