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

react-prismazoom

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-prismazoom - npm Package Compare versions

Comparing version 3.3.1 to 3.3.2

3

CHANGELOG.md
# Changelog
## [3.3.2] - 2023-03-25
- Add access to the move method from the ref object
## [3.3.1] - 2023-03-02

@@ -4,0 +7,0 @@ - Build fix

17

dist/cjs/index.js

@@ -82,10 +82,2 @@ "use strict";

};
// Imperative Ref methods
(0, react_1.useImperativeHandle)(forwardedRef, function () { return ({
getZoom: getZoom,
zoomIn: zoomIn,
reset: reset,
zoomOut: zoomOut,
zoomToZone: zoomToZone,
}); });
/**

@@ -505,2 +497,11 @@ * Returns the current zoom value.

};
// Imperative Ref methods
(0, react_1.useImperativeHandle)(forwardedRef, function () { return ({
getZoom: getZoom,
zoomIn: zoomIn,
reset: reset,
move: move,
zoomOut: zoomOut,
zoomToZone: zoomToZone,
}); });
(0, react_1.useEffect)(function () {

@@ -507,0 +508,0 @@ var refCurrentValue = ref.current;

@@ -80,10 +80,2 @@ var __assign = (this && this.__assign) || function () {

};
// Imperative Ref methods
useImperativeHandle(forwardedRef, function () { return ({
getZoom: getZoom,
zoomIn: zoomIn,
reset: reset,
zoomOut: zoomOut,
zoomToZone: zoomToZone,
}); });
/**

@@ -503,2 +495,11 @@ * Returns the current zoom value.

};
// Imperative Ref methods
useImperativeHandle(forwardedRef, function () { return ({
getZoom: getZoom,
zoomIn: zoomIn,
reset: reset,
move: move,
zoomOut: zoomOut,
zoomToZone: zoomToZone,
}); });
useEffect(function () {

@@ -505,0 +506,0 @@ var refCurrentValue = ref.current;

{
"name": "react-prismazoom",
"version": "3.3.1",
"version": "3.3.2",
"description": "A pan and zoom component for React, using CSS transformations.",

@@ -5,0 +5,0 @@ "author": "Sylvain Dubus <svn.dbs@gmail.com>",

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