mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-10 07:32:15 +01:00
Update dependency happy-dom to v16 (forgejo) (#6454)
Some checks are pending
Integration tests for the release process / release-simulation (push) Waiting to run
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Some checks are pending
Integration tests for the release process / release-simulation (push) Waiting to run
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
This commit is contained in:
parent
7f9e313ec1
commit
6169090c13
3 changed files with 6 additions and 10 deletions
9
package-lock.json
generated
9
package-lock.json
generated
|
@ -86,7 +86,7 @@
|
|||
"eslint-plugin-vue-scoped-css": "2.9.0",
|
||||
"eslint-plugin-wc": "2.2.0",
|
||||
"globals": "15.14.0",
|
||||
"happy-dom": "15.11.7",
|
||||
"happy-dom": "16.3.0",
|
||||
"license-checker-rseidelsohn": "4.4.2",
|
||||
"markdownlint-cli": "0.43.0",
|
||||
"postcss-html": "1.7.0",
|
||||
|
@ -9127,13 +9127,12 @@
|
|||
}
|
||||
},
|
||||
"node_modules/happy-dom": {
|
||||
"version": "15.11.7",
|
||||
"resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-15.11.7.tgz",
|
||||
"integrity": "sha512-KyrFvnl+J9US63TEzwoiJOQzZBJY7KgBushJA8X61DMbNsH+2ONkDuLDnCnwUiPTF42tLoEmrPyoqbenVA5zrg==",
|
||||
"version": "16.3.0",
|
||||
"resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-16.3.0.tgz",
|
||||
"integrity": "sha512-Q71RaIhyS21vhW17Tpa5W36yqQXIlE1TZ0A0Gguts8PShUSQE/7fBgxYGxgm3+5y0gF6afdlAVHLQqgrIcfRzg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"entities": "^4.5.0",
|
||||
"webidl-conversions": "^7.0.0",
|
||||
"whatwg-mimetype": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
"eslint-plugin-vue-scoped-css": "2.9.0",
|
||||
"eslint-plugin-wc": "2.2.0",
|
||||
"globals": "15.14.0",
|
||||
"happy-dom": "15.11.7",
|
||||
"happy-dom": "16.3.0",
|
||||
"license-checker-rseidelsohn": "4.4.2",
|
||||
"markdownlint-cli": "0.43.0",
|
||||
"postcss-html": "1.7.0",
|
||||
|
|
|
@ -6,9 +6,6 @@ import {
|
|||
} from './utils.js';
|
||||
|
||||
afterEach(() => {
|
||||
// Reset head and body sections of the document
|
||||
document.documentElement.innerHTML = '<head></head><body></body>';
|
||||
|
||||
// Remove 'lang' and 'style' attributes of html tag
|
||||
document.documentElement.removeAttribute('lang');
|
||||
document.documentElement.removeAttribute('style');
|
||||
|
@ -173,7 +170,7 @@ test('serializeXml', () => {
|
|||
const tagName = 'item';
|
||||
const node = document.createElement(tagName);
|
||||
node.textContent = textStr;
|
||||
expect(serializeXml(node)).toEqual(`<${tagName}>${textStr}</${tagName}>`);
|
||||
expect(serializeXml(node)).toEqual(`<${tagName} xmlns="http://www.w3.org/1999/xhtml">${textStr}</${tagName}>`);
|
||||
});
|
||||
|
||||
test('sleep', async () => {
|
||||
|
|
Loading…
Reference in a new issue