New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@happy-dom/jest-environment

Package Overview
Dependencies
Maintainers
1
Versions
558
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@happy-dom/jest-environment - npm Package Compare versions

Comparing version 2.21.0 to 2.22.0

3

lib/index.js

@@ -92,5 +92,2 @@ "use strict";

JestUtil.installCommonGlobals(this.global, config.globals);
// Removes window.fetch() as it should not be used in a test environment.
delete this.global.fetch;
delete this.global.window['fetch'];
if (options && options.console) {

@@ -97,0 +94,0 @@ this.global.console = options.console;

6

package.json
{
"name": "@happy-dom/jest-environment",
"version": "2.21.0",
"version": "2.22.0",
"license": "MIT",

@@ -56,3 +56,3 @@ "homepage": "https://github.com/capricorn86/happy-dom/tree/master/packages/jest-environment",

"@jest/types": "^27.0.2",
"happy-dom": "^2.21.0",
"happy-dom": "^2.22.0",
"jest-mock": "^27.0.3",

@@ -90,3 +90,3 @@ "jest-util": "^27.0.2"

},
"gitHead": "cf68a99486818304511ab14facadc8a0fad2139a"
"gitHead": "a4e365ed586f2ed3b162840dda883625a0440f63"
}

@@ -44,6 +44,2 @@ /* eslint-disable filenames/match-exported */

// Removes window.fetch() as it should not be used in a test environment.
delete this.global.fetch;
delete this.global.window['fetch'];
if (options && options.console) {

@@ -50,0 +46,0 @@ this.global.console = options.console;

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