mirror of
https://github.com/bitwarden/clients.git
synced 2025-12-10 00:08:42 -06:00
[deps]: Lock file maintenance (#13866)
* [deps]: Lock file maintenance * add override for parse5 version to 7.2.1 (7.3.0 has breaking ts changes) * manual rebuild of package-lock * fix test event listeners persistence Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com> Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
This commit is contained in:
parent
94815085ed
commit
bc56bc8e37
@ -21,10 +21,16 @@ describe("AutofillInlineMenuList", () => {
|
||||
disconnect: jest.fn(),
|
||||
}));
|
||||
|
||||
let autofillInlineMenuList: AutofillInlineMenuList;
|
||||
let autofillInlineMenuList: AutofillInlineMenuList | null;
|
||||
const portKey: string = "inlineMenuListPortKey";
|
||||
const events: { eventName: any; callback: any }[] = [];
|
||||
|
||||
beforeEach(() => {
|
||||
const oldEv = globalThis.addEventListener;
|
||||
globalThis.addEventListener = (eventName: any, callback: any) => {
|
||||
events.push({ eventName, callback });
|
||||
oldEv.call(globalThis, eventName, callback);
|
||||
};
|
||||
document.body.innerHTML = `<autofill-inline-menu-list></autofill-inline-menu-list>`;
|
||||
autofillInlineMenuList = document.querySelector("autofill-inline-menu-list");
|
||||
jest.spyOn(globalThis.document, "createElement");
|
||||
@ -33,6 +39,9 @@ describe("AutofillInlineMenuList", () => {
|
||||
|
||||
afterEach(() => {
|
||||
jest.clearAllMocks();
|
||||
events.forEach(({ eventName, callback }) => {
|
||||
globalThis.removeEventListener(eventName, callback);
|
||||
});
|
||||
});
|
||||
|
||||
describe("initAutofillInlineMenuList", () => {
|
||||
|
||||
481
apps/desktop/desktop_native/Cargo.lock
generated
481
apps/desktop/desktop_native/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -110,9 +110,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/acorn": {
|
||||
"version": "8.14.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
|
||||
"integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==",
|
||||
"version": "8.14.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
|
||||
"integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"acorn": "bin/acorn"
|
||||
|
||||
1859
package-lock.json
generated
1859
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -211,6 +211,7 @@
|
||||
"@storybook/angular": {
|
||||
"zone.js": "$zone.js"
|
||||
},
|
||||
"parse5": "7.2.1",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"@types/react": "18.3.20",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user