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

bugger-v8-client

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bugger-v8-client - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

18

lib/commands/global-require.js

@@ -82,2 +82,15 @@ 'use strict';

var NODE_READY = 'typeof process === "object" && typeof process.exit === "function"';
function waitForNodeReady(debugClient) {
function tryNodeReady() {
return debugClient.evalSimple(NODE_READY)
.then(function(ready) {
if (ready) { return; }
return Bluebird.delay(50).then(tryNodeReady);
});
}
return tryNodeReady();
}
module.exports = function(DebugClient) {

@@ -87,3 +100,6 @@ DebugClient.prototype.prepareGlobalRequire =

var debugClient = this;
return debugClient.evalSimple(storeOnMagicalBuggerContext)
return waitForNodeReady(debugClient)
.then(function() {
return debugClient.evalSimple(storeOnMagicalBuggerContext);
})
.then(function(result) {

@@ -90,0 +106,0 @@ if (result !== true) {

2

package.json
{
"name": "bugger-v8-client",
"version": "3.0.0",
"version": "3.0.1",
"description": "Client for v8 debug protocol",

@@ -5,0 +5,0 @@ "main": "lib/bugger-v8-client.js",

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