Socket
Socket
Sign inDemoInstall

@percy/cli-exec

Package Overview
Dependencies
Maintainers
6
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/cli-exec - npm Package Compare versions

Comparing version 1.0.0-beta.48 to 1.0.0-beta.49

4

dist/commands/exec/ping.js

@@ -10,3 +10,3 @@ "use strict";

var _utils = require("@percy/client/dist/utils");
var _request = _interopRequireDefault(require("@percy/client/dist/request"));

@@ -37,3 +37,3 @@ var _logger = _interopRequireDefault(require("@percy/logger"));

} = this.flags;
await (0, _utils.request)(`http://localhost:${port}/percy/healthcheck`, {
await (0, _request.default)(`http://localhost:${port}/percy/healthcheck`, {
method: 'GET'

@@ -40,0 +40,0 @@ });

@@ -10,3 +10,3 @@ "use strict";

var _utils = require("@percy/client/dist/utils");
var _request = _interopRequireDefault(require("@percy/client/dist/request"));

@@ -43,3 +43,3 @@ var _logger = _interopRequireDefault(require("@percy/logger"));

try {
await (0, _utils.request)(`http://localhost:${port}/percy/stop`, {
await (0, _request.default)(`http://localhost:${port}/percy/stop`, {
method: 'POST'

@@ -55,3 +55,3 @@ });

await new Promise(function check(resolve) {
return (0, _utils.request)(`http://localhost:${port}/percy/healthcheck`, {
return (0, _request.default)(`http://localhost:${port}/percy/healthcheck`, {
method: 'GET'

@@ -58,0 +58,0 @@ }).then(() => setTimeout(check, 100, resolve)).catch(resolve);

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

{"version":"1.0.0-beta.48","commands":{"exec":{"id":"exec","description":"Start and stop Percy around a supplied command","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec -- echo \"percy is running around this echo command\"","$ percy exec -- yarn test"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338},"parallel":{"name":"parallel","type":"boolean","description":"marks the build as one of many parallel builds","allowNo":false},"partial":{"name":"partial","type":"boolean","description":"marks the build as a partial build","allowNo":false}},"args":[]},"exec:ping":{"id":"exec:ping","description":"Pings a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:start":{"id":"exec:start","description":"Starts a local Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec:start","$ percy exec:start &> percy.log"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:stop":{"id":"exec:stop","description":"Stops a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]}}}
{"version":"1.0.0-beta.49","commands":{"exec":{"id":"exec","description":"Start and stop Percy around a supplied command","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec -- echo \"percy is running around this echo command\"","$ percy exec -- yarn test"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338},"parallel":{"name":"parallel","type":"boolean","description":"marks the build as one of many parallel builds","allowNo":false},"partial":{"name":"partial","type":"boolean","description":"marks the build as a partial build","allowNo":false}},"args":[]},"exec:ping":{"id":"exec:ping","description":"Pings a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:start":{"id":"exec:start","description":"Starts a local Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"examples":["$ percy exec:start","$ percy exec:start &> percy.log"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"allowed-hostname":{"name":"allowed-hostname","type":"option","char":"h","description":"allowed hostnames"},"network-idle-timeout":{"name":"network-idle-timeout","type":"option","char":"t","description":"asset discovery idle timeout"},"disable-cache":{"name":"disable-cache","type":"boolean","description":"disable asset discovery caches","allowNo":false},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]},"exec:stop":{"id":"exec:stop","description":"Stops a local running Percy snapshot server","pluginName":"@percy/cli-exec","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"log everything","allowNo":false},"quiet":{"name":"quiet","type":"boolean","char":"q","description":"log errors only","allowNo":false},"silent":{"name":"silent","type":"boolean","description":"log nothing","allowNo":false},"port":{"name":"port","type":"option","char":"P","description":"server port","default":5338}},"args":[]}}}
{
"name": "@percy/cli-exec",
"description": "capture and upload snapshots",
"version": "1.0.0-beta.48",
"version": "1.0.0-beta.49",
"license": "MIT",

@@ -38,9 +38,9 @@ "main": "dist/index.js",

"dependencies": {
"@percy/cli-command": "^1.0.0-beta.48",
"@percy/core": "^1.0.0-beta.48",
"@percy/logger": "^1.0.0-beta.48",
"@percy/cli-command": "^1.0.0-beta.49",
"@percy/core": "^1.0.0-beta.49",
"@percy/logger": "^1.0.0-beta.49",
"cross-spawn": "^7.0.3",
"which": "^2.0.2"
},
"gitHead": "67f5911de2701d1ca4077806052e0ec28ac5d125"
"gitHead": "7fec5dc3d381622dc47c236ec7e81aeb6ec1c035"
}
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