@theia/playwright 1.63.0-next.24 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tests/theia-application-shell.test.js +2 -1
- package/lib/tests/theia-application-shell.test.js.map +1 -1
- package/lib/tests/theia-explorer-view.test.js +2 -1
- package/lib/tests/theia-explorer-view.test.js.map +1 -1
- package/lib/tests/theia-notebook-editor.test.js +2 -7
- package/lib/tests/theia-notebook-editor.test.js.map +1 -1
- package/lib/tests/theia-terminal-view.test.js +2 -1
- package/lib/tests/theia-terminal-view.test.js.map +1 -1
- package/lib/tests/theia-text-editor.test.js +2 -1
- package/lib/tests/theia-text-editor.test.js.map +1 -1
- package/lib/tests/theia-workspace.test.js +7 -3
- package/lib/tests/theia-workspace.test.js.map +1 -1
- package/lib/theia-app-loader.js +1 -1
- package/lib/theia-app-loader.js.map +1 -1
- package/lib/theia-explorer-view.js +3 -3
- package/lib/theia-explorer-view.js.map +1 -1
- package/lib/theia-notebook-cell.d.ts +2 -3
- package/lib/theia-notebook-cell.d.ts.map +1 -1
- package/lib/theia-notebook-cell.js +21 -19
- package/lib/theia-notebook-cell.js.map +1 -1
- package/lib/theia-notebook-editor.d.ts.map +1 -1
- package/lib/theia-notebook-editor.js +2 -3
- package/lib/theia-notebook-editor.js.map +1 -1
- package/lib/theia-text-editor.d.ts.map +1 -1
- package/lib/theia-text-editor.js +2 -3
- package/lib/theia-text-editor.js.map +1 -1
- package/lib/theia-workspace.d.ts +10 -2
- package/lib/theia-workspace.d.ts.map +1 -1
- package/lib/theia-workspace.js +22 -10
- package/lib/theia-workspace.js.map +1 -1
- package/lib/util.d.ts +0 -2
- package/lib/util.d.ts.map +1 -1
- package/lib/util.js +1 -9
- package/lib/util.js.map +1 -1
- package/package.json +3 -3
- package/src/tests/theia-application-shell.test.ts +2 -1
- package/src/tests/theia-explorer-view.test.ts +2 -1
- package/src/tests/theia-notebook-editor.test.ts +2 -7
- package/src/tests/theia-terminal-view.test.ts +2 -1
- package/src/tests/theia-text-editor.test.ts +2 -1
- package/src/tests/theia-workspace.test.ts +6 -3
- package/src/theia-app-loader.ts +1 -1
- package/src/theia-explorer-view.ts +4 -4
- package/src/theia-notebook-cell.ts +6 -21
- package/src/theia-notebook-editor.ts +3 -4
- package/src/theia-text-editor.ts +3 -4
- package/src/theia-workspace.ts +24 -12
- package/src/util.ts +0 -8
package/src/util.ts
CHANGED
|
@@ -25,10 +25,6 @@ export function normalizeId(nodeId: string): string {
|
|
|
25
25
|
return nodeId.replace(/[.:,%/\\]/g, matchedChar => '\\' + matchedChar);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export function urlEncodePath(path: string): string {
|
|
29
|
-
return path.replace(/\\/g, '/');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
export async function toTextContentArray(items: ElementHandle<SVGElement | HTMLElement>[]): Promise<string[]> {
|
|
33
29
|
const contents = items.map(item => item.textContent());
|
|
34
30
|
const resolvedContents = await Promise.all(contents);
|
|
@@ -84,8 +80,4 @@ export namespace OSUtil {
|
|
|
84
80
|
export const fileSeparator = sep;
|
|
85
81
|
// The platform-specific location of the temporary directory.
|
|
86
82
|
export const tmpDir = tmpdir();
|
|
87
|
-
|
|
88
|
-
export function osStartsWithFileSeparator(path: string): boolean {
|
|
89
|
-
return path.startsWith(fileSeparator);
|
|
90
|
-
}
|
|
91
83
|
}
|