Socket
Socket
Sign inDemoInstall

enzyme-adapter-react-16

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enzyme-adapter-react-16 - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

8

build/ReactSixteenAdapter.js

@@ -663,3 +663,9 @@ 'use strict';

function nodeToHostNode(node) {
return _nodeToHostNode(node);
var supportsArray = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var nodes = _nodeToHostNode(node);
if (Array.isArray(nodes) && !supportsArray) {
return nodes[0];
}
return nodes;
}

@@ -666,0 +672,0 @@

2

package.json
{
"name": "enzyme-adapter-react-16",
"version": "1.9.0",
"version": "1.9.1",
"description": "JavaScript Testing utilities for React",

@@ -5,0 +5,0 @@ "homepage": "http://airbnb.io/enzyme/",

@@ -513,4 +513,8 @@ /* eslint no-use-before-define: 0 */

nodeToHostNode(node) {
return nodeToHostNode(node);
nodeToHostNode(node, supportsArray = false) {
const nodes = nodeToHostNode(node);
if (Array.isArray(nodes) && !supportsArray) {
return nodes[0];
}
return nodes;
}

@@ -517,0 +521,0 @@

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