@percy/cli-snapshot
Advanced tools
Comparing version 1.6.4 to 1.7.0
@@ -150,3 +150,3 @@ import fs from 'fs'; | ||
if (ext === '.js') { | ||
if (/\.(c|m)?js$/.test(ext)) { | ||
let { | ||
@@ -158,3 +158,3 @@ default: module | ||
return JSON.parse(fs.readFileSync(file, 'utf-8')); | ||
} else if (ext.match(/\.ya?ml$/)) { | ||
} else if (/\.ya?ml$/.test(ext)) { | ||
let { | ||
@@ -161,0 +161,0 @@ default: YAML |
{ | ||
"name": "@percy/cli-snapshot", | ||
"version": "1.6.4", | ||
"version": "1.7.0", | ||
"license": "MIT", | ||
@@ -35,6 +35,6 @@ "repository": { | ||
"dependencies": { | ||
"@percy/cli-command": "1.6.4", | ||
"@percy/cli-command": "1.7.0", | ||
"yaml": "^2.0.0" | ||
}, | ||
"gitHead": "651c0fad62f128053723f9b8d565c69496dc51e4" | ||
"gitHead": "f1418fb1effdaad2d32c65d1a358282ab1f9ec32" | ||
} |
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
17855
+ Added@percy/cli-command@1.7.0(transitive)
+ Added@percy/client@1.7.0(transitive)
+ Added@percy/config@1.7.0(transitive)
+ Added@percy/core@1.7.0(transitive)
+ Added@percy/dom@1.7.0(transitive)
+ Added@percy/env@1.7.0(transitive)
+ Added@percy/logger@1.7.0(transitive)
- Removed@percy/cli-command@1.6.4(transitive)
- Removed@percy/client@1.6.4(transitive)
- Removed@percy/config@1.6.4(transitive)
- Removed@percy/core@1.6.4(transitive)
- Removed@percy/dom@1.6.4(transitive)
- Removed@percy/env@1.6.4(transitive)
- Removed@percy/logger@1.6.4(transitive)
Updated@percy/cli-command@1.7.0