@pixeleye/cli-devices
Advanced tools
Comparing version 0.0.2 to 0.1.0
@@ -1,2 +0,2 @@ | ||
import { devices as playwrightDevices } from "playwright"; | ||
import { devices as playwrightDevices } from "playwright-core"; | ||
type PlaywrightDeviceDescriptor = (typeof playwrightDevices)["Desktop Chrome"]; | ||
@@ -3,0 +3,0 @@ export type DeviceName = keyof typeof playwrightDevices; |
@@ -29,3 +29,3 @@ "use strict"; | ||
// src/devices.ts | ||
var import_playwright = require("playwright"); | ||
var import_playwright_core = require("playwright-core"); | ||
var icons = { | ||
@@ -44,7 +44,7 @@ chromium: "chrome", | ||
var devices = Object.keys( | ||
import_playwright.devices | ||
import_playwright_core.devices | ||
).reduce( | ||
(acc, name) => { | ||
acc[name] = { | ||
...import_playwright.devices[name], | ||
...import_playwright_core.devices[name], | ||
name | ||
@@ -51,0 +51,0 @@ }; |
{ | ||
"name": "@pixeleye/cli-devices", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"private": false, | ||
@@ -20,3 +20,3 @@ "license": "AGPL-3.0", | ||
"dependencies": { | ||
"playwright": "^1.41.2" | ||
"playwright-core": "^1.41.2" | ||
}, | ||
@@ -23,0 +23,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
38139
+ Addedplaywright-core@^1.41.2
- Removedplaywright@^1.41.2
- Removedfsevents@2.3.2(transitive)
- Removedplaywright@1.49.0(transitive)