run-headless-chromium
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "run-headless-chromium", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Run Chromium or Google Chrome in headless mode and forward the JS console output to the standard output.", | ||
@@ -5,0 +5,0 @@ "author": "Rob Wu <rob@robwu.nl> (https://robwu.nl/)", |
@@ -27,3 +27,3 @@ #!/usr/bin/env node | ||
// Log severity = $1 | ||
'(INFO|WARNING|ERROR|ERROR_REPORT|FATAL|VERBOSE|UNKNOWN)' + | ||
'(INFO|WARNING|ERROR|ERROR_REPORT|FATAL|VERBOSE\d*|UNKNOWN)' + | ||
// source = $2 and line number = $3 | ||
@@ -93,3 +93,3 @@ ':(.*?)\\((\\d+)\\)' + | ||
flag = flag.split('=', 1)[0]; | ||
return '--' + flag == flagname; | ||
return flag == '--' + flagname; | ||
}); | ||
@@ -96,0 +96,0 @@ } |
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
10378