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

react-svg-pan-zoom

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-svg-pan-zoom - npm Package Compare versions

Comparing version 3.8.1 to 3.9.0

build-storybook/main.e621ecb92ae41eabc9d7.bundle.js

54

build-commonjs/index.js

@@ -11,2 +11,8 @@ "use strict";

Toolbar: true,
ToolbarButton: true,
IconCursor: true,
IconPan: true,
IconFit: true,
IconZoomIn: true,
IconZoomOut: true,
Miniature: true,

@@ -41,2 +47,38 @@ setPointOnViewerCenter: true,

});
Object.defineProperty(exports, "ToolbarButton", {
enumerable: true,
get: function get() {
return _toolbarButton.default;
}
});
Object.defineProperty(exports, "IconCursor", {
enumerable: true,
get: function get() {
return _iconCursor.default;
}
});
Object.defineProperty(exports, "IconPan", {
enumerable: true,
get: function get() {
return _iconPan.default;
}
});
Object.defineProperty(exports, "IconFit", {
enumerable: true,
get: function get() {
return _iconFit.default;
}
});
Object.defineProperty(exports, "IconZoomIn", {
enumerable: true,
get: function get() {
return _iconZoomIn.default;
}
});
Object.defineProperty(exports, "IconZoomOut", {
enumerable: true,
get: function get() {
return _iconZoomOut.default;
}
});
Object.defineProperty(exports, "Miniature", {

@@ -112,2 +154,14 @@ enumerable: true,

var _toolbarButton = _interopRequireDefault(require("./ui-toolbar/toolbar-button"));
var _iconCursor = _interopRequireDefault(require("./ui-toolbar/icon-cursor"));
var _iconPan = _interopRequireDefault(require("./ui-toolbar/icon-pan"));
var _iconFit = _interopRequireDefault(require("./ui-toolbar/icon-fit"));
var _iconZoomIn = _interopRequireDefault(require("./ui-toolbar/icon-zoom-in"));
var _iconZoomOut = _interopRequireDefault(require("./ui-toolbar/icon-zoom-out"));
var _miniature = _interopRequireDefault(require("./ui-miniature/miniature"));

@@ -114,0 +168,0 @@

@@ -5,2 +5,8 @@ import { tipNoViewer } from "./migration-tips";

export { default as Toolbar } from './ui-toolbar/toolbar';
export { default as ToolbarButton } from './ui-toolbar/toolbar-button';
export { default as IconCursor } from './ui-toolbar/icon-cursor';
export { default as IconPan } from './ui-toolbar/icon-pan';
export { default as IconFit } from './ui-toolbar/icon-fit';
export { default as IconZoomIn } from './ui-toolbar/icon-zoom-in';
export { default as IconZoomOut } from './ui-toolbar/icon-zoom-out';
export { default as Miniature } from './ui-miniature/miniature';

@@ -7,0 +13,0 @@ export { setPointOnViewerCenter, reset } from './features/common';

20

build-storybook/asset-manifest.json
{
"files": {
"main.js": "/react-svg-pan-zoom/main.b15cd76d6bc83396130b.bundle.js",
"main.js.map": "/react-svg-pan-zoom/main.b15cd76d6bc83396130b.bundle.js.map",
"runtime~main.js": "/react-svg-pan-zoom/runtime~main.b15cd76d6bc83396130b.bundle.js",
"runtime~main.js.map": "/react-svg-pan-zoom/runtime~main.b15cd76d6bc83396130b.bundle.js.map",
"vendors~main.js": "/react-svg-pan-zoom/vendors~main.b15cd76d6bc83396130b.bundle.js",
"vendors~main.js.map": "/react-svg-pan-zoom/vendors~main.b15cd76d6bc83396130b.bundle.js.map",
"main.js": "/react-svg-pan-zoom/main.e621ecb92ae41eabc9d7.bundle.js",
"main.js.map": "/react-svg-pan-zoom/main.e621ecb92ae41eabc9d7.bundle.js.map",
"runtime~main.js": "/react-svg-pan-zoom/runtime~main.e621ecb92ae41eabc9d7.bundle.js",
"runtime~main.js.map": "/react-svg-pan-zoom/runtime~main.e621ecb92ae41eabc9d7.bundle.js.map",
"vendors~main.js": "/react-svg-pan-zoom/vendors~main.e621ecb92ae41eabc9d7.bundle.js",
"vendors~main.js.map": "/react-svg-pan-zoom/vendors~main.e621ecb92ae41eabc9d7.bundle.js.map",
"iframe.html": "/react-svg-pan-zoom/iframe.html",
"precache-manifest.3412f71ae107b8ba45962b488137beb1.js": "/react-svg-pan-zoom/precache-manifest.3412f71ae107b8ba45962b488137beb1.js",
"precache-manifest.f9dd8fa7d88890b0a0801bac04239c40.js": "/react-svg-pan-zoom/precache-manifest.f9dd8fa7d88890b0a0801bac04239c40.js",
"service-worker.js": "/react-svg-pan-zoom/service-worker.js"
},
"entrypoints": [
"runtime~main.b15cd76d6bc83396130b.bundle.js",
"vendors~main.b15cd76d6bc83396130b.bundle.js",
"main.b15cd76d6bc83396130b.bundle.js"
"runtime~main.e621ecb92ae41eabc9d7.bundle.js",
"vendors~main.e621ecb92ae41eabc9d7.bundle.js",
"main.e621ecb92ae41eabc9d7.bundle.js"
]
}

@@ -17,3 +17,3 @@ /**

importScripts(
"precache-manifest.3412f71ae107b8ba45962b488137beb1.js"
"precache-manifest.f9dd8fa7d88890b0a0801bac04239c40.js"
);

@@ -20,0 +20,0 @@

{
"author": "chrvadala",
"name": "react-svg-pan-zoom",
"version": "3.8.1",
"version": "3.9.0",
"description": "A React component that adds pan and zoom features to SVG",

@@ -6,0 +6,0 @@ "main": "./build-commonjs/index.js",

@@ -86,2 +86,3 @@ # react-svg-pan-zoom

- **v3.8** - Adds cover option on `fitToViewer` method [#167](https://github.com/chrvadala/react-svg-pan-zoom/pull/167), adds `activeToolColor` property [#168](https://github.com/chrvadala/react-svg-pan-zoom/pull/168), upgrades deps
- **v3.9** - Exports toolbar icons and buttons [#192](https://github.com/chrvadala/react-svg-pan-zoom/pull/192)

@@ -116,1 +117,2 @@ ## Some projects using react-svg-pan-zoom

- [sroze](https://github.com/sroze)
- [justin-hackin](https://github.com/justin-hackin)

@@ -6,2 +6,8 @@ import {tipNoViewer} from "./migration-tips";

export {default as Toolbar} from './ui-toolbar/toolbar';
export {default as ToolbarButton} from './ui-toolbar/toolbar-button';
export {default as IconCursor} from './ui-toolbar/icon-cursor';
export {default as IconPan} from './ui-toolbar/icon-pan';
export {default as IconFit} from './ui-toolbar/icon-fit';
export {default as IconZoomIn} from './ui-toolbar/icon-zoom-in';
export {default as IconZoomOut} from './ui-toolbar/icon-zoom-out';
export {default as Miniature} from './ui-miniature/miniature';

@@ -8,0 +14,0 @@ export {setPointOnViewerCenter, reset} from './features/common';

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

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