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

printeer

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

printeer - npm Package Compare versions

Comparing version 1.1.0 to 1.1.2

src/printeer.js

8

bin/index.js

@@ -13,3 +13,3 @@ import {argv as $eSn2T$argv, exit as $eSn2T$exit} from "process";

* @returns The promise of the report file.
*/ $0e022d1b047ab8cc$export$2e2bcd8739ae039 = (url, outputFile, outputType = "pdf")=>{
*/ $173d6c6c8da44cf1$export$2e2bcd8739ae039 = (url, outputFile, outputType = "pdf")=>{
return new Promise(async (resolve, reject)=>{

@@ -22,3 +22,3 @@ outputFile = (0, $eSn2T$normalize)(outputFile);

const res = await page.goto(url, {
waitUntil: "networkidle2"
waitUntil: "networkidle0"
});

@@ -42,3 +42,3 @@ if (!res) return reject(new Error("Could not load the page."));

*/ $ca8fa687ca32fe66$export$2e2bcd8739ae039 = ()=>{
console.log("Usage: npx print-web <url> <outputFile>");
console.log("Usage: printeer <url> <outputFile>");
};

@@ -60,3 +60,3 @@

}
await (0, $0e022d1b047ab8cc$export$2e2bcd8739ae039)(url, outputFile);
await (0, $173d6c6c8da44cf1$export$2e2bcd8739ae039)(url, outputFile);
})();

@@ -63,0 +63,0 @@

@@ -12,3 +12,3 @@ import $l7i9T$puppeteer from "puppeteer";

* @returns The promise of the report file.
*/ $0e022d1b047ab8cc$export$2e2bcd8739ae039 = (url, outputFile, outputType = "pdf")=>{
*/ $173d6c6c8da44cf1$export$2e2bcd8739ae039 = (url, outputFile, outputType = "pdf")=>{
return new Promise(async (resolve, reject)=>{

@@ -21,3 +21,3 @@ outputFile = (0, $l7i9T$normalize)(outputFile);

const res = await page.goto(url, {
waitUntil: "networkidle2"
waitUntil: "networkidle0"
});

@@ -38,6 +38,6 @@ if (!res) return reject(new Error("Could not load the page."));

const $cf838c15c8b009ba$export$472aaf7a87fdeecf = (0, $0e022d1b047ab8cc$export$2e2bcd8739ae039);
const $cf838c15c8b009ba$export$4f653a8d4fdb37ed = (0, $173d6c6c8da44cf1$export$2e2bcd8739ae039);
export {$cf838c15c8b009ba$export$472aaf7a87fdeecf as printWeb};
export {$cf838c15c8b009ba$export$4f653a8d4fdb37ed as printeer};
//# sourceMappingURL=index.js.map
{
"name": "printeer",
"version": "1.1.0",
"version": "1.1.2",
"description": "Prints the specified web url to PDF or Image!",

@@ -14,3 +14,3 @@ "main": "index.js",

"scripts": {
"cli": "./src/index.js",
"cli": "node ./src/index.js",
"build": "parcel build ./src/cli.js & mv index.* ./bin & parcel build ./src/index.js",

@@ -17,0 +17,0 @@ "build-cli" : ""

@@ -1,2 +0,2 @@

import printWeb from "./print.js";
import printeer from "./printeer.js";
import printUsage from "./usage.js";

@@ -20,4 +20,4 @@

await printWeb(url, outputFile);
await printeer(url, outputFile);
})();

@@ -1,4 +0,4 @@

import _printWeb from './printweb';
import _printeer from './printeer';
export const printWeb = _printWeb;
export const printeer = _printeer;

Sorry, the diff of this file is not supported yet

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