Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

howsmydriving-dummy

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

howsmydriving-dummy - npm Package Compare versions

Comparing version 0.1.99 to 0.1.100

18

dist/src/dummyregion.js

@@ -215,8 +215,14 @@ "use strict";

DummyRegion.prototype.GetRecentCollisions = function () {
logging_2.log.info("Getting recent " + this.name + " collisions...");
return Promise.all([
this.getLastCollisionsWithCondition('FATALITIES>0', 1),
this.getLastCollisionsWithCondition('SERIOUSINJURIES>0', 1),
this.getLastCollisionsWithCondition('INJURIES>0', 1)
]);
var _this = this;
return new Promise(function (resolve, reject) {
logging_2.log.info("Getting recent " + _this.name + " collisions...");
Promise.all([
_this.getLastCollisionsWithCondition('FATALITIES>0', 1),
_this.getLastCollisionsWithCondition('SERIOUSINJURIES>0', 1),
_this.getLastCollisionsWithCondition('INJURIES>0', 1)
]).then(function (collisions) {
logging_2.log.info("Returning " + collisions.length + " collisions.");
resolve(collisions);
});
});
};

@@ -223,0 +229,0 @@ DummyRegion.prototype.ProcessCollisions = function (collisions) {

{
"name": "howsmydriving-dummy",
"version": "0.1.99",
"version": "0.1.100",
"description": "Dummy region plug-in for @HowsMyDrivingWA.",

@@ -5,0 +5,0 @@ "declaration": true,

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