Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

happy-dom

Package Overview
Dependencies
Maintainers
1
Versions
593
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-dom - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

lib/html-element/SVGAngle.d.ts

3

lib/nodes/basic-types/Document.js

@@ -24,2 +24,3 @@ "use strict";

var HTMLTextAreaElement_1 = __importDefault(require("../elements/HTMLTextAreaElement"));
var SVGSVGElement_1 = __importDefault(require("../elements/SVGSVGElement"));
var TextNode_1 = __importDefault(require("./TextNode"));

@@ -197,2 +198,4 @@ var CommentNode_1 = __importDefault(require("./CommentNode"));

return HTMLTextAreaElement_1.default;
case 'svg':
return SVGSVGElement_1.default;
}

@@ -199,0 +202,0 @@ return HTMLElement_1.default;

2

package.json
{
"name": "happy-dom",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/capricorn86/happy-dom#readme",

@@ -196,2 +196,3 @@ # Happy DOM

| ------- | ---------- | ---------------- |
| 0.2.0 | 2019-09-20 | Adds support for SVGSVGElement, SVGElement and SVGGraphicsElement. |
| 0.1.0 | 2019-09-19 | Adds support for HTMLInputElement, HTMLTextAreaElement, HTMLFormElement, Range and DOMRect (bounding client rect). |

@@ -198,0 +199,0 @@ | 0.0.1 | 2019-09-13 | Initial release. |

@@ -7,2 +7,3 @@ import Element from './Element';

import HTMLTextAreaElement from '../elements/HTMLTextAreaElement';
import SVGSVGElement from '../elements/SVGSVGElement';
import TextNode from './TextNode';

@@ -194,2 +195,4 @@ import CommentNode from './CommentNode';

return HTMLTextAreaElement;
case 'svg':
return SVGSVGElement;
}

@@ -196,0 +199,0 @@ return HTMLElement;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc