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

jest-fixed-jsdom

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-fixed-jsdom - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

11

index.js

@@ -7,2 +7,13 @@ const JSDOMEnvironment = require('jest-environment-jsdom').default

/**
* @note Opt-out from JSDOM using browser-style resolution
* for dependencies. This is simply incorrect, as JSDOM is
* not a browser, and loading browser-oriented bundles in
* Node.js will break things.
*
* Consider migrating to a more modern test runner if you
* don't want to deal with this.
*/
this.customExportConditions = args.customExportConditions || ['']
this.global.TextDecoder = TextDecoder

@@ -9,0 +20,0 @@ this.global.TextEncoder = TextEncoder

2

package.json
{
"name": "jest-fixed-jsdom",
"version": "0.0.8",
"version": "0.0.9",
"description": "A superset of the JSDOM environment for Jest that respects Node.js globals.",

@@ -5,0 +5,0 @@ "main": "./index.js",

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