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

exo_browser

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exo_browser - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

43

lib/api.js

@@ -91,3 +91,3 @@ /*

my.off_the_record =
(typeof spec.off_the_record === 'undefined') ? spec.off_the_record : true;
(typeof spec.off_the_record === 'boolean') ? spec.off_the_record : true;
my.path = spec.path || exports.data_path('exo_browser_api');

@@ -279,24 +279,33 @@

mkdirp(my.path, function(err) {
if(err) {
/* We can't do much more than throwing the error as there is no */
/* handler to pass it to. It would be a bad idea to start the browser */
/* without a proper data directory setup. */
throw err;
var create = function() {
if(my.internal) {
return finish();
}
else {
if(my.internal) {
_exo_browser._createExoSession({
path: my.path,
off_the_record: my.off_the_record
}, function(s) {
my.internal = s;
return finish();
});
}
};
if(!my.off_the_record) {
mkdirp(my.path, function(err) {
if(err) {
/* We can't do much more than throwing the error as there is no */
/* handler to pass it to. It would be a bad idea to start the browser */
/* without a proper data directory setup. */
throw err;
}
else {
_exo_browser._createExoSession({
path: my.path,
off_the_record: my.off_the_record
}, function(s) {
my.internal = s;
return finish();
});
create();
}
}
});
});
}
else {
create();
}
};

@@ -303,0 +312,0 @@

@@ -9,3 +9,3 @@ {

},
"version": "0.3.2",
"version": "0.3.3",
"dependencies": {

@@ -12,0 +12,0 @@ "async": "0.2.x",

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