paparazzi-cli
Advanced tools
Comparing version 0.4.0 to 0.6.0
{ | ||
"name": "paparazzi-cli", | ||
"version": "0.4.0", | ||
"version": "0.6.0", | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"description": "CLI tool to snap all the angles of your website", | ||
"main": "index.js", | ||
"main": "./dist/lib/index.js", | ||
"author": "Edward Dobson", | ||
@@ -14,16 +17,45 @@ "license": "MIT", | ||
], | ||
"bin": "bin/run", | ||
"files": [ | ||
"/bin", | ||
"/dist", | ||
"/npm-shrinkwrap.json", | ||
"/oclif.manifest.json" | ||
], | ||
"oclif": { | ||
"bin": "paparazzi-cli", | ||
"default": ".", | ||
"commands": "./dist/commands", | ||
"plugins": [ | ||
"@oclif/plugin-help", | ||
"@oclif/plugin-plugins" | ||
] | ||
}, | ||
"scripts": { | ||
"test": "nyc -x **/*.spec.js mocha **/*.spec.js" | ||
"build": "tsc", | ||
"test": "jest --collectCoverage", | ||
"lint": "eslint **/*.ts" | ||
}, | ||
"dependencies": { | ||
"puppeteer": "^1.14.0", | ||
"yargs": "^13.2.2" | ||
"@oclif/core": "^1.9.3", | ||
"@oclif/parser": "^3.8.7", | ||
"@oclif/plugin-help": "^5", | ||
"@oclif/plugin-plugins": "^2.0.1", | ||
"puppeteer": "^14.4.1", | ||
"ts-node": "^10.8.2" | ||
}, | ||
"bin": { | ||
"paparazzi": "./index.js" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.2.0", | ||
"sinon": "^7.3.1" | ||
"@types/jest": "^28.1.2", | ||
"@typescript-eslint/eslint-plugin": "^5.29.0", | ||
"@typescript-eslint/parser": "^5.29.0", | ||
"eslint": "^8.18.0", | ||
"eslint-config-eslint": "^7.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"jest": "^28.1.1", | ||
"jest-mock-extended": "^2.0.6", | ||
"playwright": "^1.23.2", | ||
"ts-jest": "^28.0.5", | ||
"typescript": "^4.7.4" | ||
} | ||
} |
@@ -5,3 +5,3 @@ <p align="center"> | ||
<a href="https://badge.fury.io/js/paparazzi-cli"><img src="https://badge.fury.io/js/paparazzi-cli.svg" alt="npm version" height="18"></a> | ||
<a href="https://travis-ci.com/GodlikePenguin/Paparazzi"><img src="https://travis-ci.com/GodlikePenguin/Paparazzi.svg?branch=master"></a> | ||
<a href="https://github.com/GodlikePenguin/Paparazzi/actions"><img src="https://github.com/GodlikePenguin/Paparazzi/actions/workflows/test.yml/badge.svg"></a> | ||
</p> | ||
@@ -20,4 +20,22 @@ | ||
``` | ||
paparazzi [options] <URL1> [<URL2> ...] | ||
A tool to take snaps of all angles of your website | ||
USAGE | ||
$ paparazzi-cli [flags] <URL1> [<URL2> ...] | ||
FLAGS | ||
-d, --delay=<value> Number of ms to wait before taking the screenshot on each page | ||
-h, --height=<value> [default: 1080] Height of the output images | ||
-o, --output=<value> [default: ./images] Output location | ||
-s, --scale=<value> [default: 1] Scale factor for the rendered website | ||
-w, --width=<value> [default: 1920] Width of the output images | ||
--allow-all-hosts Take screenshots of any HTTP host, not just those specified | ||
--device=<value> Emulate this device when making HTTP requests | ||
--full-page Ensure all content on page is included in screenshot (will override width and height settings) | ||
--list-devices List all devices which can be emulated and exit (Note this is a long list) | ||
--user-agent=<value> User Agent to spoof whilst making HTTP requests | ||
DESCRIPTION | ||
A tool to take snaps of all angles of your website | ||
``` | ||
The full set of options can be found using `paparazzi --help` | ||
The full set of options can be found using `paparazzi-cli --help` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
40
1
4821
6
12
5
0
2
+ Added@oclif/core@^1.9.3
+ Added@oclif/parser@^3.8.7
+ Added@oclif/plugin-help@^5
+ Added@oclif/plugin-plugins@^2.0.1
+ Addedts-node@^10.8.2
+ Added@cspotcode/source-map-support@0.8.1(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.9(transitive)
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@nodelib/fs.stat@2.0.5(transitive)
+ Added@nodelib/fs.walk@1.2.8(transitive)
+ Added@oclif/color@1.0.13(transitive)
+ Added@oclif/core@1.26.22.16.0(transitive)
+ Added@oclif/errors@1.3.6(transitive)
+ Added@oclif/linewrap@1.0.0(transitive)
+ Added@oclif/parser@3.8.17(transitive)
+ Added@oclif/plugin-help@5.2.20(transitive)
+ Added@oclif/plugin-plugins@2.4.7(transitive)
+ Added@oclif/screen@3.0.8(transitive)
+ Added@tsconfig/node10@1.0.11(transitive)
+ Added@tsconfig/node12@1.0.11(transitive)
+ Added@tsconfig/node14@1.0.3(transitive)
+ Added@tsconfig/node16@1.0.4(transitive)
+ Added@types/cli-progress@3.11.6(transitive)
+ Added@types/node@22.7.4(transitive)
+ Added@types/yauzl@2.10.3(transitive)
+ Addedacorn@8.12.1(transitive)
+ Addedacorn-walk@8.3.4(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedansi-escapes@4.3.2(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedansicolors@0.3.2(transitive)
+ Addedarg@4.1.3(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedarray-union@2.1.0(transitive)
+ Addedastral-regex@2.0.0(transitive)
+ Addedasync@3.2.6(transitive)
+ Addedat-least-node@1.0.0(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@4.1.0(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedcardinal@2.1.1(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchownr@1.1.4(transitive)
+ Addedclean-stack@3.0.1(transitive)
+ Addedcli-progress@3.12.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcreate-require@1.1.1(transitive)
+ Addedcross-fetch@3.1.5(transitive)
+ Addedcross-spawn@7.0.3(transitive)
+ Addeddebug@4.3.4(transitive)
+ Addeddevtools-protocol@0.0.1001819(transitive)
+ Addeddiff@4.0.2(transitive)
+ Addeddir-glob@3.0.1(transitive)
+ Addedejs@3.1.10(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedextract-zip@2.0.1(transitive)
+ Addedfast-glob@3.3.2(transitive)
+ Addedfastq@1.17.1(transitive)
+ Addedfilelist@1.0.4(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedfs-extra@8.1.09.1.0(transitive)
+ Addedget-package-type@0.1.0(transitive)
+ Addedget-stream@5.2.0(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedglobby@11.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhttp-call@5.3.0(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedhyperlinker@1.0.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedignore@5.3.2(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-docker@2.2.1(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedis-wsl@2.2.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjake@10.9.2(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedjson-parse-better-errors@1.0.2(transitive)
+ Addedjsonfile@4.0.06.1.0(transitive)
+ Addedload-json-file@5.3.0(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedmake-error@1.3.6(transitive)
+ Addedmerge2@1.4.1(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedminimatch@5.1.6(transitive)
+ Addedmkdirp-classic@0.5.3(transitive)
+ Addedms@2.1.2(transitive)
+ Addednatural-orderby@2.0.3(transitive)
+ Addednode-fetch@2.6.7(transitive)
+ Addednpm-run-path@4.0.1(transitive)
+ Addedobject-treeify@1.1.33(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedparse-json@4.0.0(transitive)
+ Addedpassword-prompt@1.1.3(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-type@4.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedpify@4.0.1(transitive)
+ Addedpkg-dir@4.2.0(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedpuppeteer@14.4.1(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedredeyed@2.1.1(transitive)
+ Addedreusify@1.0.4(transitive)
+ Addedrimraf@3.0.2(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedslash@3.0.0(transitive)
+ Addedslice-ansi@4.0.0(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedstrip-bom@3.0.0(transitive)
+ Addedsupports-color@7.2.08.1.1(transitive)
+ Addedsupports-hyperlinks@2.3.0(transitive)
+ Addedtar-fs@2.1.1(transitive)
+ Addedtar-stream@2.2.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedts-node@10.9.2(transitive)
+ Addedtslib@2.7.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtype-fest@0.21.30.3.1(transitive)
+ Addedtypescript@5.6.2(transitive)
+ Addedunbzip2-stream@1.4.3(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addeduniversalify@0.1.22.0.1(transitive)
+ Addedv8-compile-cache-lib@3.0.1(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwidest-line@3.1.0(transitive)
+ Addedwordwrap@1.0.0(transitive)
+ Addedwrap-ansi@7.0.0(transitive)
+ Addedws@8.7.0(transitive)
+ Addedyarn@1.22.22(transitive)
+ Addedyn@3.1.1(transitive)
- Removedyargs@^13.2.2
- Removedagent-base@4.3.0(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedasync-limiter@1.0.1(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedcliui@5.0.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedconcat-stream@1.6.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddebug@2.6.93.2.7(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-promisify@5.0.0(transitive)
- Removedextract-zip@1.7.0(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedhttps-proxy-agent@2.2.4(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedmime@2.6.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedms@2.0.0(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpuppeteer@1.20.0(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedrequire-main-filename@2.0.0(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedtypedarray@0.0.6(transitive)
- Removedwhich-module@2.0.1(transitive)
- Removedwrap-ansi@5.1.0(transitive)
- Removedws@6.2.3(transitive)
- Removedy18n@4.0.3(transitive)
- Removedyargs@13.3.2(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedpuppeteer@^14.4.1