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

ahooks

Package Overview
Dependencies
Maintainers
4
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ahooks - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

LICENSE

2

es/utils/getDocumentOrShadow.js

@@ -20,3 +20,3 @@ import { getTargetElement } from '../utils/domTarget';

var getDocumentOrShadow = function getDocumentOrShadow(target) {
if (!target) {
if (!target || !document.getRootNode) {
return document;

@@ -23,0 +23,0 @@ }

@@ -26,3 +26,3 @@ "use strict";

var getDocumentOrShadow = function getDocumentOrShadow(target) {
if (!target) {
if (!target || !document.getRootNode) {
return document;

@@ -29,0 +29,0 @@ }

{
"name": "ahooks",
"version": "3.5.1",
"version": "3.5.2",
"description": "react hooks library",

@@ -24,5 +24,2 @@ "keywords": [

"homepage": "https://github.com/alibaba/hooks",
"scripts": {
"build": "gulp && webpack-cli"
},
"files": [

@@ -64,3 +61,6 @@ "dist",

"license": "MIT",
"gitHead": "11f6ad571bd365c95ecb9409ca3050cbbfc9b34a"
}
"gitHead": "11f6ad571bd365c95ecb9409ca3050cbbfc9b34a",
"scripts": {
"build": "gulp && webpack-cli"
}
}

Sorry, the diff of this file is too big to display

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