testcafe-browser-tools
Advanced tools
Comparing version 1.5.1 to 1.6.0
'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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1660481
79
1706