New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rax-image

Package Overview
Dependencies
Maintainers
8
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax-image - npm Package Compare versions

Comparing version 1.0.4-beta.1 to 1.0.4-beta.3

8

lib/index.js

@@ -35,2 +35,3 @@ "use strict";

var imgRef = (0, _rax.useRef)(null);
var isInitialMount = (0, _rax.useRef)(false);

@@ -69,2 +70,9 @@ var onError = function onError(e) {

(0, _rax.useEffect)(function () {
if (!isInitialMount.current) {
isInitialMount.current = true;
} else {
setSource(props.source);
}
}, [props.source.uri]);
(0, _rax.useImperativeHandle)(ref, function () {

@@ -71,0 +79,0 @@ return imgRef.current;

2

package.json
{
"name": "rax-image",
"version": "1.0.4-beta.1",
"version": "1.0.4-beta.3",
"description": "Image component for Rax.",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

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