From a20dba9440b5e93b6f0364c220212f0ce4264b27 Mon Sep 17 00:00:00 2001 From: David Ortner Date: Tue, 5 Nov 2024 23:58:43 +0100 Subject: [PATCH] chore: [#1542] Adds SECURITY.md file (#1584) --- SECURITY.md | 12 +++++++++ .../SVGAnimateMotionElement.test.ts | 27 ------------------- 2 files changed, 12 insertions(+), 27 deletions(-) create mode 100644 SECURITY.md delete mode 100644 packages/happy-dom/src/nodes/svg-animate-motion-element copy/SVGAnimateMotionElement.test.ts diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..4aff7c96 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,12 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| --------- | ------------------ | +| > 15.10.0 | :white_check_mark: | +| < 15.10.0 | :x: | + +## Reporting a Vulnerability + +Use the [Github Vulnaribilty Reporter](https://github.com/capricorn86/happy-dom/security) tool to report your findings. diff --git a/packages/happy-dom/src/nodes/svg-animate-motion-element copy/SVGAnimateMotionElement.test.ts b/packages/happy-dom/src/nodes/svg-animate-motion-element copy/SVGAnimateMotionElement.test.ts deleted file mode 100644 index 87f84135..00000000 --- a/packages/happy-dom/src/nodes/svg-animate-motion-element copy/SVGAnimateMotionElement.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -import SVGAnimateMotionElement from '../../../src/nodes/svg-animate-motion-element/SVGAnimateMotionElement.js'; -import Window from '../../../src/window/Window.js'; -import Document from '../../../src/nodes/document/Document.js'; -import { beforeEach, describe, it, expect } from 'vitest'; -import SVGAnimationElement from '../../../src/nodes/svg-animation-element/SVGAnimationElement.js'; - -describe('SVGAnimateMotionElement', () => { - let window: Window; - let document: Document; - let element: SVGAnimateMotionElement; - - beforeEach(() => { - window = new Window(); - document = window.document; - element = document.createElementNS('http://www.w3.org/2000/svg', 'animateMotion'); - }); - - describe('constructor()', () => { - it('Should be an instanceof SVGAnimateMotionElement', () => { - expect(element instanceof SVGAnimateMotionElement).toBe(true); - }); - - it('Should be an instanceof SVGAnimationElement', () => { - expect(element instanceof SVGAnimationElement).toBe(true); - }); - }); -});