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.55 to 1.0.56

2

package.json
{
"name": "ag-timemachine",
"version": "1.0.55",
"version": "1.0.56",
"description": "",

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

@@ -54,2 +54,3 @@ "use strict";

var AgPoll_1 = require("ag-utilities/AgPoll");
var AgLodashWrap_1 = require("ag-utilities/AgLodashWrap");
var minBufferSpan = 60;

@@ -131,3 +132,3 @@ var snapshotSpan = 60;

var _a;
var record = { time: new Date(), delta: delta };
var record = { time: new Date(), delta: (0, AgLodashWrap_1.cloneDeep)(delta) };
var time = _this.updateDeltas(record);

@@ -137,3 +138,3 @@ _this.updateLifeTime(time);

if (!_this.lastSnapshotTime || (new Date().getTime() - _this.lastSnapshotTime.getTime()) > snapshotSpan * 1000) {
record.snapshot = { value: (_a = _this.diff) === null || _a === void 0 ? void 0 : _a.value };
record.snapshot = { value: (0, AgLodashWrap_1.cloneDeep)((_a = _this.diff) === null || _a === void 0 ? void 0 : _a.value) };
_this.lastSnapshotTime = new Date();

@@ -140,0 +141,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