Socket
Socket
Sign inDemoInstall

@memlab/core

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@memlab/core - npm Package Compare versions

Comparing version 1.1.33 to 1.1.34

1

dist/lib/Config.d.ts

@@ -199,2 +199,3 @@ /**

skipBrowserCloseWait: boolean;
simplifyCodeSerialization: boolean;
constructor(options?: ConfigOption);

@@ -201,0 +202,0 @@ private initInternalConfigs;

@@ -204,2 +204,5 @@ "use strict";

this.skipBrowserCloseWait = false;
// if true, serialized leak trace will have a simplified representation
// for code object, which could be large and cause OOM during serualization
this.simplifyCodeSerialization = !Constant_1.default.isFB;
}

@@ -206,0 +209,0 @@ // initialize configurable parameters

8

dist/lib/Serializer.js

@@ -263,3 +263,5 @@ "use strict";

const key = 'variables with non-number values in closure scope chain';
info[key] = JSONifyNode(edge.toNode, args, options);
info[key] = Config_1.default.simplifyCodeSerialization
? JSONifyNodeOneLevel(edge.toNode)
: JSONifyNode(edge.toNode, args, options);
}

@@ -271,3 +273,5 @@ else if (edge.name_or_index === 'script_or_debug_info') {

const key = filterJSONPropName(edge.name_or_index);
info[key] = JSONifyNode(edge.toNode, args, options);
info[key] = Config_1.default.simplifyCodeSerialization
? JSONifyNodeOneLevel(edge.toNode)
: JSONifyNode(edge.toNode, args, options);
}

@@ -274,0 +278,0 @@ return null;

{
"name": "@memlab/core",
"version": "1.1.33",
"version": "1.1.34",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "memlab core libraries",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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