New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ag-timemachine

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-timemachine - npm Package Compare versions

Comparing version 1.0.42 to 1.0.43

2

package.json
{
"name": "ag-timemachine",
"version": "1.0.42",
"version": "1.0.43",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -168,6 +168,6 @@ "use strict";

case 1:
minutes = (_a.sent()).map(function (v) { return ({ minute: v._id.hour * 60 + v._id.minute, count: v.count }); });
minutes = (_a.sent());
console.log(start, end, minutes);
result = { time: start, counts: new Array(24 * 60).fill(0) };
minutes.forEach(function (m) { return result.counts[m.minute] = m.count; });
minutes.forEach(function (m) { return result.counts[m._id.hour * 60 + m._id.minute] = m.count; });
return [2 /*return*/, result];

@@ -174,0 +174,0 @@ }

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