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

testcafe-browser-tools

Package Overview
Dependencies
Maintainers
6
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.5.1 to 1.6.0

lib/api/get-devices-viewport-data.js

8

lib/api/get-viewport-size.js
'use strict';
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default').default;
exports.__esModule = true;
var _readFileRelative = require('read-file-relative');
var _getDevicesViewportData = require('./get-devices-viewport-data');
var DEVICE_DATABASE = JSON.parse(_readFileRelative.readSync('../../data/devices.json'));
var _getDevicesViewportData2 = _interopRequireDefault(_getDevicesViewportData);

@@ -25,5 +27,5 @@ /** @typedef {Object} DeviceViewportSize

return DEVICE_DATABASE[deviceName];
return _getDevicesViewportData2.default()[deviceName];
};
module.exports = exports.default;

@@ -63,2 +63,6 @@ 'use strict';

var _apiGetDevicesViewportData = require('./api/get-devices-viewport-data');
var _apiGetDevicesViewportData2 = _interopRequireDefault(_apiGetDevicesViewportData);
exports.default = {

@@ -78,4 +82,5 @@ getInstallations: _apiGetInstallations2.default,

watchWindow: _apiWatchWindow2.default,
bringWindowToFront: _apiBringToFront2.default
bringWindowToFront: _apiBringToFront2.default,
getDevicesViewportData: _apiGetDevicesViewportData2.default
};
module.exports = exports.default;
{
"name": "testcafe-browser-tools",
"version": "1.5.1",
"version": "1.6.0",
"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