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

react-to-print

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-to-print - npm Package Versions

1
10

2.12.5

Diff

Changelog

Source

2.12.5 (May 29th, 2021)

  • CHORE: Upgraded devDependencies
herbstmb
published 2.12.4 •

Changelog

Source

2.12.4 (April 10th, 2021)

  • CHORE: Upgraded all devDependencies
  • DOCS: Added a section to the README about workarounds for functional components as the ComponentToPrint
herbstmb
published 2.12.3 •

Changelog

Source

2.12.3 (February 5th, 2021)

  • FIX 344: Remove the single use of ParentNode.append in favor of Node.appendChild. append is not supported by IE11, and polyfilling it within the context of an iframe can be difficult
  • FIX 344: While testing the above I realized that trying to print out a bare string didn't work. This has been fixed
  • CHORE: Upgraded all devDependencies
herbstmb
published 2.12.2 •

Changelog

Source

2.12.2 (January 1st, 2021)

Happy new years!

  • FIX 196: For a long time various inputs/select did not properly copy their value over into the print window. This has been corrected!
  • FIX 292: Removed usage of document.write
  • FIX: Edge case where passing a function to the pageStyle prop that did not return a string could cause problems
  • CHORE: Upgraded all devDependencies
  • CHORE: Minor README updates
herbstmb
published 2.12.1 •

Changelog

Source

2.12.1 (December 14th, 2020)

  • FIX 329: v2.12.0 upgraded Webpack from 4 -> 5 which broke the package for environments that didn't support ES6 as Webpack now requires finer grained controls to output pure ES5 code. These changes have been made.
  • CHORE: upgraded all devDependencies
herbstmb
published 2.12.0 •

Changelog

Source

2.12.0 (November 27th, 2020)

  • CHORE: added React/ReactDOM ^17 to allowed peerDependencies. Library still supports React >= 15, though expect a major release in the near-future that drops React 15 support, which will clear the way to removing the restriction that the top-level component being printed must be a class component
  • CHORE: upgraded all devDependencies. Big changes here include updating Typescript from 3 -> 4 and Webpack from 4 -> 5. While upgrading Webpack the minifier was changed from UglifyJS to Terser, resulting in a 5.7% reduced file size (14.1kb -> 13.3kb)
  • CHORE: Use Node ^14 for CLI tests
  • DOCUMENTATION: small improvements to the examples, including renaming them from example -> examples
  • DOCUMENTATION: added a note about finding the examples folder
  • DOCUMENTATION 311: small type fix, thanks nealeu
  • DOCUMENTATION: added a "Common Pitfalls" section to the README, starting with a note on using the library with a component wrapped in connect from react-redux
herbstmb
published 2.11.0 •

Changelog

Source

2.11.0 (October 30th, 2020)

  • FIX/FEATURE 285: Adds a new fonts prop which allows the passing of custom fonts. Previously custom fonts were not loaded into the print window
  • CHORE: update patch and minor devDependencies, dedupe, and audit fix
herbstmb
published 2.10.3 •

Changelog

Source

2.10.3 (October 16th, 2020)

  • FIX 301: Ensures the library works with modules that have a null prototype such as ES modules and SystemJS modules. Thanks joeldenning
herbstmb
published 2.10.2 •

Changelog

Source

2.10.2 (October 16th, 2020)

  • FIX 298: Fixes a long-standing issue of checkbox state not always copying properly into the print window. Thanks aviklai
  • CHORE: update patch and minor devDependencies, dedupe, and audit fix
herbstmb
published 2.10.1 •

Changelog

Source

2.10.1 (October 15th, 2020)

  • FIX 296: Ensure bodyClass can handle multiple class names instead of just a single class name. Thanks seanblonien
  • CHORE: update patch and minor devDependencies, dedupe, and audit fix
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