Skip to content

Commit 0d12cff

Browse files
committed
fix!: Remove deprecated plugins.
1 parent 4c8d50b commit 0d12cff

3 files changed

Lines changed: 0 additions & 39 deletions

File tree

src/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import playwright from "playwright";
88
import Ghost from "./ghost.js";
9-
import deprecatedPlugins from "./plugins/index.js";
109

1110
/**
1211
* @typedef {import("playwright").Page} Page
@@ -73,12 +72,6 @@ import deprecatedPlugins from "./plugins/index.js";
7372
* @typedef {import("playwright").ChromiumCoverage} ChromiumCoverage
7473
*/
7574

76-
/**
77-
* @deprecated As of release 0.14.0, replaced by
78-
* `import plugins from "playwright-ghost/plugins";`
79-
*/
80-
export const plugins = deprecatedPlugins;
81-
8275
export const chromium = new Ghost(playwright.chromium);
8376
export const firefox = new Ghost(playwright.firefox);
8477
export const webkit = new Ghost(playwright.webkit);
@@ -95,10 +88,4 @@ export default {
9588
chromium,
9689
firefox,
9790
webkit,
98-
99-
/**
100-
* @deprecated As of release 0.14.0, replaced by
101-
* `import plugins from "playwright-ghost/plugins";`
102-
*/
103-
plugins,
10491
};

src/patchright.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import playwright from "patchright";
99
import Ghost from "./ghost.js";
10-
import deprecatedPlugins from "./plugins/index.js";
1110

1211
/**
1312
* @typedef {import("patchright").Page} Page
@@ -74,12 +73,6 @@ import deprecatedPlugins from "./plugins/index.js";
7473
* @typedef {import("patchright").ChromiumCoverage} ChromiumCoverage
7574
*/
7675

77-
/**
78-
* @deprecated As of release 0.14.0, replaced by
79-
* `import plugins from "playwright-ghost/plugins";`
80-
*/
81-
export const plugins = deprecatedPlugins;
82-
8376
export const chromium = new Ghost(playwright.chromium);
8477
export const firefox = new Ghost(playwright.firefox);
8578
export const webkit = new Ghost(playwright.webkit);
@@ -96,10 +89,4 @@ export default {
9689
chromium,
9790
firefox,
9891
webkit,
99-
100-
/**
101-
* @deprecated As of release 0.14.0, replaced by
102-
* `import plugins from "playwright-ghost/plugins";`
103-
*/
104-
plugins,
10592
};

src/rebrowser.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import playwright from "rebrowser-playwright";
99
import Ghost from "./ghost.js";
10-
import deprecatedPlugins from "./plugins/index.js";
1110

1211
/**
1312
* @typedef {import("rebrowser-playwright").Page} Page
@@ -74,12 +73,6 @@ import deprecatedPlugins from "./plugins/index.js";
7473
* @typedef {import("rebrowser-playwright").ChromiumCoverage} ChromiumCoverage
7574
*/
7675

77-
/**
78-
* @deprecated As of release 0.14.0, replaced by
79-
* `import plugins from "playwright-ghost/plugins";`
80-
*/
81-
export const plugins = deprecatedPlugins;
82-
8376
export const chromium = new Ghost(playwright.chromium);
8477
export const firefox = new Ghost(playwright.firefox);
8578
export const webkit = new Ghost(playwright.webkit);
@@ -96,10 +89,4 @@ export default {
9689
chromium,
9790
firefox,
9891
webkit,
99-
100-
/**
101-
* @deprecated As of release 0.14.0, replaced by
102-
* `import plugins from "playwright-ghost/plugins";`
103-
*/
104-
plugins,
10592
};

0 commit comments

Comments
 (0)