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

use-react-screenshot-fix

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-react-screenshot-fix - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

3

dist/index.es.js

@@ -83,4 +83,3 @@ import { useState } from 'react';

*/
var takeScreenShot = function takeScreenShot(node) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var takeScreenShot = function takeScreenShot(node, options) {
if (!node) {

@@ -87,0 +86,0 @@ throw new Error('You should provide correct html node.');

@@ -89,4 +89,3 @@ 'use strict';

*/
var takeScreenShot = function takeScreenShot(node) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var takeScreenShot = function takeScreenShot(node, options) {
if (!node) {

@@ -93,0 +92,0 @@ throw new Error('You should provide correct html node.');

{
"name": "use-react-screenshot-fix",
"version": "4.0.0",
"version": "4.0.1",
"description": "hook which allows to create screenshots",

@@ -5,0 +5,0 @@ "author": "vre2h",

@@ -25,3 +25,3 @@ import { useState } from 'react'

*/
const takeScreenShot = (node, options = {}) => {
const takeScreenShot = (node, options) => {
if (!node) {

@@ -28,0 +28,0 @@ throw new Error('You should provide correct html node.')

Sorry, the diff of this file is not supported yet

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