File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77import playwright from "playwright" ;
88import 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-
8275export const chromium = new Ghost ( playwright . chromium ) ;
8376export const firefox = new Ghost ( playwright . firefox ) ;
8477export 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} ;
Original file line number Diff line number Diff line change 77
88import playwright from "patchright" ;
99import 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-
8376export const chromium = new Ghost ( playwright . chromium ) ;
8477export const firefox = new Ghost ( playwright . firefox ) ;
8578export 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} ;
Original file line number Diff line number Diff line change 77
88import playwright from "rebrowser-playwright" ;
99import 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-
8376export const chromium = new Ghost ( playwright . chromium ) ;
8477export const firefox = new Ghost ( playwright . firefox ) ;
8578export 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} ;
You can’t perform that action at this time.
0 commit comments