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.3.0 to 0.3.1

8

lib/Window.js

@@ -86,8 +86,4 @@ "use strict";

if (global !== undefined) {
for (var _a = 0, _b = Object.keys(global); _a < _b.length; _a++) {
var key = _b[_a];
if (typeof _this[key] === 'undefined') {
_this[key] = global[key];
}
}
var descriptors = Object.getOwnPropertyDescriptors(global);
Object.defineProperties(_this, descriptors);
}

@@ -94,0 +90,0 @@ return _this;

{
"name": "happy-dom",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",

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

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

| ------- | ---------- | ---------------- |
| 0.3.1 | 2019-10-07 | Fixes bug where global.Error is undefined. (#6)
| 0.3.0 | 2019-10-06 | Adds support for scrollTop, scrollLeft, scrollTo(), offsetLeft, offsetTop offsetHeight, offsetWidth. |

@@ -199,0 +200,0 @@ | 0.2.16 | 2019-10-06 | Major bug fixes with server side rendering. |

@@ -76,7 +76,4 @@ import CustomElementRegistry from './html-element/CustomElementRegistry';

if (global !== undefined) {
for (const key of Object.keys(global)) {
if (typeof this[key] === 'undefined') {
this[key] = global[key];
}
}
const descriptors = Object.getOwnPropertyDescriptors(global);
Object.defineProperties(this, descriptors);
}

@@ -83,0 +80,0 @@ }

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