@percy/cli-upload
Advanced tools
Comparing version 1.0.0-beta.47 to 1.0.0-beta.48
@@ -40,11 +40,13 @@ "use strict"; | ||
function migration(input, set) { | ||
function migration(config, { | ||
map, | ||
del | ||
}) { | ||
/* eslint-disable curly */ | ||
if (input.version < 2) { | ||
var _input$imageSnapshots, _input$imageSnapshots2; | ||
if (config.version < 2) { | ||
// image-snapshots and options were renamed | ||
if (((_input$imageSnapshots = input.imageSnapshots) === null || _input$imageSnapshots === void 0 ? void 0 : _input$imageSnapshots.files) != null) set('upload.files', input.imageSnapshots.files); | ||
if (((_input$imageSnapshots2 = input.imageSnapshots) === null || _input$imageSnapshots2 === void 0 ? void 0 : _input$imageSnapshots2.ignore) != null) set('upload.ignore', input.imageSnapshots.ignore); | ||
map('imageSnapshots.files', 'upload.files'); | ||
map('imageSnapshots.ignore', 'upload.ignore'); | ||
del('imageSnapshots'); | ||
} | ||
} |
@@ -1,1 +0,1 @@ | ||
{"version":"1.0.0-beta.47","commands":{"upload":{"id":"upload","description":"Upload a directory of images to Percy","pluginName":"@percy/cli-upload","pluginType":"core","aliases":[],"examples":["$ percy upload ./images"],"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},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"files":{"name":"files","type":"option","char":"f","description":"one or more globs matching image file paths to upload","default":"**/*.{png,jpg,jpeg}"},"ignore":{"name":"ignore","type":"option","char":"i","description":"one or more globs matching image file paths to ignore"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"prints a list of matching images to upload without uploading","allowNo":false}},"args":[{"name":"dirname","description":"directory of images to upload","required":true}]}}} | ||
{"version":"1.0.0-beta.48","commands":{"upload":{"id":"upload","description":"Upload a directory of images to Percy","pluginName":"@percy/cli-upload","pluginType":"core","aliases":[],"examples":["$ percy upload ./images"],"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},"config":{"name":"config","type":"option","char":"c","description":"configuration file path"},"files":{"name":"files","type":"option","char":"f","description":"one or more globs matching image file paths to upload","default":"**/*.{png,jpg,jpeg}"},"ignore":{"name":"ignore","type":"option","char":"i","description":"one or more globs matching image file paths to ignore"},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"prints a list of matching images to upload without uploading","allowNo":false}},"args":[{"name":"dirname","description":"directory of images to upload","required":true}]}}} |
{ | ||
"name": "@percy/cli-upload", | ||
"version": "1.0.0-beta.47", | ||
"version": "1.0.0-beta.48", | ||
"license": "MIT", | ||
@@ -32,10 +32,10 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@percy/cli-command": "^1.0.0-beta.47", | ||
"@percy/client": "^1.0.0-beta.47", | ||
"@percy/config": "^1.0.0-beta.47", | ||
"@percy/logger": "^1.0.0-beta.47", | ||
"@percy/cli-command": "^1.0.0-beta.48", | ||
"@percy/client": "^1.0.0-beta.48", | ||
"@percy/config": "^1.0.0-beta.48", | ||
"@percy/logger": "^1.0.0-beta.48", | ||
"globby": "^11.0.1", | ||
"image-size": "^0.9.1" | ||
"image-size": "^1.0.0" | ||
}, | ||
"gitHead": "76ec62a8760c712cae9118a4dd2a4a6eb49e5214" | ||
"gitHead": "67f5911de2701d1ca4077806052e0ec28ac5d125" | ||
} |
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
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
239
13229
+ Addedimage-size@1.1.1(transitive)
- Removedimage-size@0.9.7(transitive)
Updated@percy/client@^1.0.0-beta.48
Updated@percy/config@^1.0.0-beta.48
Updated@percy/logger@^1.0.0-beta.48
Updatedimage-size@^1.0.0