Skip to content

Commit 25b45b9

Browse files
authored
fix(dep): Upgrade @webext-core/isolated-element to v1.1.2 (#625)
1 parent efd5c40 commit 25b45b9

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"@aklinker1/rollup-plugin-visualizer": "5.12.0",
105105
"@types/webextension-polyfill": "^0.10.5",
106106
"@webext-core/fake-browser": "^1.3.1",
107-
"@webext-core/isolated-element": "^1.1.1",
107+
"@webext-core/isolated-element": "^1.1.2",
108108
"@webext-core/match-patterns": "^1.0.3",
109109
"async-mutex": "^0.4.0",
110110
"c12": "^1.5.1",

Diff for: pnpm-lock.yaml

+10-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/client/content-scripts/ui/__tests__/index.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ describe('Content Script UIs', () => {
7272
it('should load a shadow root to the page', async () => {
7373
const ui = await createShadowRootUi(ctx, {
7474
position: 'inline',
75-
name: 'test',
75+
name: 'test-component',
7676
onMount(uiContainer) {
7777
appendTestApp(uiContainer);
7878
},
7979
});
8080
ui.mount();
8181

8282
expect(
83-
document.querySelector('test[data-wxt-shadow-root]'),
83+
document.querySelector('test-component[data-wxt-shadow-root]'),
8484
).not.toBeNull();
8585
expect(ui.shadow.querySelector('app')).not.toBeNull();
8686
});
@@ -94,7 +94,7 @@ describe('Content Script UIs', () => {
9494
async (input, expected) => {
9595
const ui = await createShadowRootUi(ctx, {
9696
position: 'inline',
97-
name: 'test',
97+
name: 'test-component',
9898
mode: input,
9999
onMount: appendTestApp,
100100
});
@@ -448,7 +448,7 @@ describe('Content Script UIs', () => {
448448
const expected = Symbol();
449449

450450
const ui = await createShadowRootUi(new ContentScriptContext('test'), {
451-
name: 'test',
451+
name: 'test-component',
452452
position: 'inline',
453453
onMount: () => expected,
454454
});

0 commit comments

Comments
 (0)