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

testcafe-browser-tools

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe-browser-tools - npm Package Compare versions

Comparing version 1.4.1-git.201708181521 to 1.4.1-git.201708211545

23

lib/utils/ensure-directory.js

@@ -0,1 +1,2 @@

/*eslint-disable*/
'use strict';

@@ -19,4 +20,8 @@

var _mkdirp = require('mkdirp');
var _mkdirp2 = _interopRequireDefault(_mkdirp);
var stat = _promisify2.default(_fs2.default.stat);
var mkdir = _promisify2.default(_fs2.default.mkdir);
var mkdir = _promisify2.default(_mkdirp2.default);

@@ -28,18 +33,22 @@ function createDirectory(directoryPath) {

context$1$0.prev = 0;
context$1$0.next = 3;
console.log('directory created', directoryPath);
context$1$0.next = 4;
return _regeneratorRuntime.awrap(mkdir(directoryPath));
case 3:
case 4:
return context$1$0.abrupt('return', true);
case 6:
context$1$0.prev = 6;
case 7:
context$1$0.prev = 7;
context$1$0.t0 = context$1$0['catch'](0);
console.log('failed to create directory', directoryPath);
return context$1$0.abrupt('return', false);
case 9:
case 11:
case 'end':
return context$1$0.stop();
}
}, null, this, [[0, 6]]);
}, null, this, [[0, 7]]);
}

@@ -46,0 +55,0 @@

{
"name": "testcafe-browser-tools",
"version": "1.4.1-git.201708181521",
"version": "1.4.1-git.201708211545",
"description": "An utility library for performing platform-dependent actions on browsers.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/DevExpress/testcafe-browser-tools",

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