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

viewerjs

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewerjs - npm Package Versions

1
7

1.6.2

Diff

Changelog

Source

1.6.2 (Aug 30, 2020)

  • Improve the hide method for some edge cases (#407).
  • Improve the wheel zoom behavior (#396).
  • Fix wrong usage about this in ES6+ (#395).
chenfengyuan
published 1.6.1 •

Changelog

Source

1.6.1 (Jun 14, 2020)

  • Improve image filtering.
chenfengyuan
published 1.6.0 •

Changelog

Source

1.6.0 (Jun 6, 2020)

  • Add a new options: inheritedAttributes.
  • Remove unnecessary padding-right: 0px from the body element when close the viewer modal (#394).
  • Reset the padding-right of the body element when resizing (#379).
  • Improve the hide method for unexpected calling (#367).
  • Ignore images without the src attribute (#326).
chenfengyuan
published 1.5.0 •

Changelog

Source

1.5.0 (Nov 23, 2019)

  • Force reflow element in a new way to avoid side-effect (#343).
  • Add a new option: slideOnTouch (#340).
  • Detect if the queried image is existing when updating the image list (#333).
chenfengyuan
published 1.4.0 •

Changelog

Source

1.4.0 (Oct 26, 2019)

  • Add two new options: zoomOnTouch and zoomOnWheel (#329).
chenfengyuan
published 1.3.7 •

Changelog

Source

1.3.7 (Oct 2, 2019)

  • Improve event type determining for iOS 13+ (#321).
  • Ignore invalid element parameter on the class utility functions (#317).
  • Do nothing if the index value is invalid when calling the view method (#312).
chenfengyuan
published 1.3.6 •

Changelog

Source

1.3.6 (Jul 4, 2019)

  • Avoid escaping URLs (#298, #301).
  • Avoid using the innerHTML property for security (#269).
chenfengyuan
published 1.3.5 •

Changelog

Source

1.3.5 (Jun 29, 2019)

  • Improve the escaping function to avoid escaping HTML entities repeatedly.
chenfengyuan
published 1.3.4 •

Changelog

Source

1.3.4 (Jun 1, 2019)

  • Decode image name when it comes from URL (#282).
  • Fix the missing fade-out transition when hiding the viewer (#275).
  • Escape all strings that use in HTML for better security (#269).
chenfengyuan
published 1.3.3 •

Changelog

Source

1.3.3 (Apr 6, 2019)

  • Fix unexpected modal exiting behavior when the mouse is pressed (#255).
  • Abort image downloading when cancel viewing for better performance.
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