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

a-print

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-print - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

index.js

@@ -109,3 +109,3 @@ /* eslint-disable */

// Set Sheet
sheet += '<style>' + (this.options.noPrint ? this.options.noPrint : '.no-print') + '{display:none;}</style>';
sheet += '<style>' + (this.options.noPrint ? this.options.noPrint : '.no-print') + '{display:none;}' + (this.options.css || '') + '</style>';

@@ -237,3 +237,3 @@ // Exports

// Add Style Modifier
doc.write(`${content}<style>.print{transform: scale(2) !important;margin-top:250px;}@page {margin-top: 1mm;margin-bottom: 1mm;}</style>`);
doc.write(`${content}<style>.print{transform: scale(2) !important;margin-top:250px;}@page {margin-top: 1mm; margin-bottom: 1mm;}</style>`);

@@ -240,0 +240,0 @@ // Close ?

{
"name": "a-print",
"version": "0.0.3",
"version": "0.0.4",
"main": "index.js",

@@ -5,0 +5,0 @@ "author": "joenix <joenix.com@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