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

@restart/hooks

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@restart/hooks - npm Package Compare versions

Comparing version 0.3.24 to 0.3.25

2

cjs/useImage.js

@@ -47,4 +47,4 @@ "use strict";

image = new Image();
if (crossOrigin) image.crossOrigin = crossOrigin;
image.src = imageOrUrl;
if (crossOrigin) image.crossOrigin = crossOrigin;
} else {

@@ -51,0 +51,0 @@ image = imageOrUrl;

@@ -42,4 +42,4 @@ import { useState, useEffect } from 'react';

image = new Image();
if (crossOrigin) image.crossOrigin = crossOrigin;
image.src = imageOrUrl;
if (crossOrigin) image.crossOrigin = crossOrigin;
} else {

@@ -46,0 +46,0 @@ image = imageOrUrl;

{
"name": "@restart/hooks",
"version": "0.3.24",
"version": "0.3.25",
"main": "cjs/index.js",

@@ -5,0 +5,0 @@ "types": "cjs/index.d.ts",

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