@percy/cli-snapshot
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -87,5 +87,8 @@ import fs from 'fs'; | ||
// load snapshots file | ||
let snapshots = yield loadSnapshotFile(file); // accept a config object instead of an array of snapshots | ||
let snapshots = yield loadSnapshotFile(file); // remove any references and accept an array of snapshots instead of an config object | ||
let config = Array.isArray(snapshots) ? { | ||
let { | ||
references, | ||
...config | ||
} = Array.isArray(snapshots) ? { | ||
snapshots | ||
@@ -92,0 +95,0 @@ } : snapshots; |
{ | ||
"name": "@percy/cli-snapshot", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"license": "MIT", | ||
@@ -35,6 +35,6 @@ "repository": { | ||
"dependencies": { | ||
"@percy/cli-command": "1.7.0", | ||
"@percy/cli-command": "1.7.1", | ||
"yaml": "^2.0.0" | ||
}, | ||
"gitHead": "f1418fb1effdaad2d32c65d1a358282ab1f9ec32" | ||
"gitHead": "012892cdaf7a07aa1b5aa355017639cee0e8a19e" | ||
} |
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
17923
229
+ Added@percy/cli-command@1.7.1(transitive)
+ Added@percy/client@1.7.1(transitive)
+ Added@percy/config@1.7.1(transitive)
+ Added@percy/core@1.7.1(transitive)
+ Added@percy/dom@1.7.1(transitive)
+ Added@percy/env@1.7.1(transitive)
+ Added@percy/logger@1.7.1(transitive)
- Removed@percy/cli-command@1.7.0(transitive)
- Removed@percy/client@1.7.0(transitive)
- Removed@percy/config@1.7.0(transitive)
- Removed@percy/core@1.7.0(transitive)
- Removed@percy/dom@1.7.0(transitive)
- Removed@percy/env@1.7.0(transitive)
- Removed@percy/logger@1.7.0(transitive)
Updated@percy/cli-command@1.7.1