Huge News!Announcing our $40M Series B led by Abstract Ventures.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.67 to 1.0.68

20

index.js

@@ -45,4 +45,2 @@ "use strict";

var AgHelper_1 = require("ag-utilities/AgHelper");
var AgLodashWrap_1 = require("ag-utilities/AgLodashWrap");
var AgDiff_1 = require("ag-utilities/AgDiff");
var objects = {};

@@ -73,18 +71,3 @@ var AgTimeMachine = /** @class */ (function () {

rtRecentDatas: function (id) {
var ret = AgHelper_1.AgHelper.toMap(_this.getObject(id).recentDatas.value, function (v) { return v.time.getTime() + ''; });
for (var _i = 0, _a = Object.keys(ret); _i < _a.length; _i++) {
var key = _a[_i];
if (temp === null || temp === void 0 ? void 0 : temp[key]) {
console.log();
console.log();
console.log();
console.log(key);
console.log(JSON.stringify(temp[key], null, 2));
console.log(JSON.stringify(ret[key], null, 2));
console.log(JSON.stringify(AgDiff_1.AgDiff.diff(temp[key], ret[key]), null, 2));
break;
}
}
temp = (0, AgLodashWrap_1.cloneDeep)(ret);
return ret;
return AgHelper_1.AgHelper.toMap(_this.getObject(id).recentDatas.value, function (v) { return v.time.getTime() + ''; });
},

@@ -172,2 +155,1 @@ rtRecentFrequence: function (id) {

exports.AgTimeMachine = AgTimeMachine;
var temp;

4

package.json
{
"name": "ag-timemachine",
"version": "1.0.67",
"version": "1.0.68",
"description": "",

@@ -9,3 +9,3 @@ "main": "index.js",

"dependencies": {
"ag-utilities": "^1.1.42"
"ag-utilities": "^1.1.43"
},

@@ -12,0 +12,0 @@ "devDependencies": {

@@ -131,3 +131,3 @@ "use strict";

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

@@ -134,0 +134,0 @@ _this.updateLifeTime(time);

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