Skip to content
Permalink
Browse files

Upgrade: Bump nyc from 13.1.0 to 13.2.0

Bumps [nyc](https://github.com/istanbuljs/nyc) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](istanbuljs/nyc@v13.1.0...v13.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
  • Loading branch information...
dependabot-bot authored and molant committed Feb 5, 2019
1 parent 2f88e3b commit a8cd8778350145a506396adedca78fda591ee4be
Showing with 138 additions and 176 deletions.
  1. +1 βˆ’1 packages/connector-chrome/package.json
  2. +1 βˆ’1 packages/connector-jsdom/package.json
  3. +1 βˆ’1 packages/connector-local/package.json
  4. +1 βˆ’1 packages/create-hint/package.json
  5. +1 βˆ’1 packages/create-hintrc/package.json
  6. +1 βˆ’1 packages/create-parser/package.json
  7. +1 βˆ’1 packages/extension-browser/package.json
  8. +1 βˆ’1 packages/extension-vscode/package.json
  9. +1 βˆ’1 packages/formatter-codeframe/package.json
  10. +5 βˆ’2 packages/formatter-codeframe/src/formatter.ts
  11. +1 βˆ’1 packages/formatter-excel/package.json
  12. +1 βˆ’1 packages/formatter-excel/src/formatter.ts
  13. +1 βˆ’1 packages/formatter-html/package.json
  14. +1 βˆ’1 packages/formatter-html/src/formatter.ts
  15. +1 βˆ’1 packages/formatter-json/package.json
  16. +1 βˆ’1 packages/formatter-stylish/package.json
  17. +2 βˆ’2 packages/formatter-stylish/src/formatter.ts
  18. +1 βˆ’1 packages/formatter-summary/package.json
  19. +1 βˆ’1 packages/hint-amp-validator/package.json
  20. +2 βˆ’2 packages/hint-amp-validator/src/hint.ts
  21. +1 βˆ’1 packages/hint-apple-touch-icons/package.json
  22. +1 βˆ’1 packages/hint-axe/package.json
  23. +1 βˆ’1 packages/hint-babel-config/package.json
  24. +1 βˆ’1 packages/hint-button-type/package.json
  25. +1 βˆ’1 packages/hint-compat-api/package.json
  26. +1 βˆ’1 packages/hint-content-type/package.json
  27. +1 βˆ’1 packages/hint-disown-opener/package.json
  28. +1 βˆ’1 packages/hint-doctype/package.json
  29. +1 βˆ’1 packages/hint-highest-available-document-mode/package.json
  30. +1 βˆ’1 packages/hint-html-checker/package.json
  31. +1 βˆ’1 packages/hint-http-cache/package.json
  32. +1 βˆ’1 packages/hint-http-compression/package.json
  33. +1 βˆ’1 packages/hint-https-only/package.json
  34. +1 βˆ’1 packages/hint-image-optimization-cloudinary/package.json
  35. +1 βˆ’1 packages/hint-manifest-app-name/package.json
  36. +1 βˆ’1 packages/hint-manifest-exists/package.json
  37. +1 βˆ’1 packages/hint-manifest-file-extension/package.json
  38. +1 βˆ’1 packages/hint-manifest-file-extension/src/hint.ts
  39. +1 βˆ’1 packages/hint-manifest-is-valid/package.json
  40. +1 βˆ’1 packages/hint-meta-charset-utf-8/package.json
  41. +1 βˆ’1 packages/hint-meta-theme-color/package.json
  42. +1 βˆ’1 packages/hint-meta-viewport/package.json
  43. +1 βˆ’1 packages/hint-minified-js/package.json
  44. +1 βˆ’1 packages/hint-no-bom/package.json
  45. +1 βˆ’1 packages/hint-no-broken-links/package.json
  46. +1 βˆ’1 packages/hint-no-disallowed-headers/package.json
  47. +1 βˆ’1 packages/hint-no-friendly-error-pages/package.json
  48. +1 βˆ’1 packages/hint-no-html-only-headers/package.json
  49. +1 βˆ’1 packages/hint-no-http-redirects/package.json
  50. +1 βˆ’1 packages/hint-no-p3p/package.json
  51. +1 βˆ’1 packages/hint-no-protocol-relative-urls/package.json
  52. +1 βˆ’1 packages/hint-no-vulnerable-javascript-libraries/package.json
  53. +1 βˆ’1 packages/hint-performance-budget/package.json
  54. +1 βˆ’1 packages/hint-performance-budget/src/connections.ts
  55. +1 βˆ’1 packages/hint-sri/package.json
  56. +1 βˆ’1 packages/hint-ssllabs/package.json
  57. +1 βˆ’1 packages/hint-strict-transport-security/package.json
  58. +1 βˆ’1 packages/hint-stylesheet-limits/package.json
  59. +1 βˆ’1 packages/hint-typescript-config/package.json
  60. +1 βˆ’1 packages/hint-validate-set-cookie-header/package.json
  61. +1 βˆ’1 packages/hint-webpack-config/package.json
  62. +1 βˆ’1 packages/hint-x-content-type-options/package.json
  63. +1 βˆ’1 packages/hint/package.json
  64. +1 βˆ’1 packages/parser-babel-config/package.json
  65. +1 βˆ’1 packages/parser-css/package.json
  66. +2 βˆ’2 packages/parser-css/src/parser.ts
  67. +1 βˆ’1 packages/parser-html/package.json
  68. +1 βˆ’1 packages/parser-javascript/package.json
  69. +1 βˆ’1 packages/parser-manifest/package.json
  70. +1 βˆ’1 packages/parser-package-json/package.json
  71. +1 βˆ’1 packages/parser-typescript-config/package.json
  72. +1 βˆ’1 packages/parser-webpack-config/package.json
  73. +1 βˆ’1 packages/utils-connector-tools/package.json
  74. +58 βˆ’99 yarn.lock
@@ -28,7 +28,7 @@
"hint": "^4.4.0",
"lodash": "^4.17.11",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
"typescript": "^3.3.1",
@@ -28,7 +28,7 @@
"hint": "^4.4.0",
"lodash": "^4.17.11",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
"typescript": "^3.3.1",
@@ -25,7 +25,7 @@
"hint": "^4.4.0",
"lodash": "^4.17.11",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -27,7 +27,7 @@
"mkdirp": "^0.5.1",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
"ts-loader": "^5.3.3",
@@ -32,7 +32,7 @@
"mkdirp": "^0.5.1",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
"ts-loader": "^5.3.3",
@@ -28,7 +28,7 @@
"mkdirp": "^0.5.1",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
"ts-loader": "^5.3.3",
@@ -52,7 +52,7 @@
"is-ci": "^2.0.0",
"lodash": "^4.17.11",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"puppeteer": "^1.12.2",
"raw-loader": "^1.0.0",
"rimraf": "^2.6.3",
@@ -32,7 +32,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -24,7 +24,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -47,10 +47,12 @@ const safeTrim = (txt: string, charsToRemove: number): boolean => {
};

const codeFrame = (code: string, location: ProblemLocation) => {
const codeInLines: string[] = `\n${code}`.split('\n');
const whiteSpacesToRemove: number = countLeftWhiteSpaces(codeInLines[codeInLines.length - 1]);
/* istanbul ignore next */
const line: number = typeof location.elementLine === 'number' ? location.elementLine : -1;
/* istanbul ignore next */
const column: number = typeof location.elementColumn === 'number' ? location.elementColumn : -1;
const codeInLines: string[] = `\n${code}`.split('\n');
const whiteSpacesToRemove: number = countLeftWhiteSpaces(codeInLines[codeInLines.length - 1]);
const offsetColumn: number = location.column;
const extraLinesToShow: number = 2;
const firstLine: number = line - extraLinesToShow > 0 ? line - extraLinesToShow : 0;
@@ -83,6 +85,7 @@ const codeFrame = (code: string, location: ProblemLocation) => {
markPosition += offsetColumn;
}


if (markPosition < 0) {
markPosition = 0;
}
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -34,7 +34,7 @@ const startRow = 5;
*/

export default class ExcelFormatter implements IFormatter {
public async format(messages: Problem[], target = '') {
public async format(messages: Problem[], /* istanbul ignore next */ target = '') {
if (messages.length === 0) {
return;
}
@@ -28,7 +28,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -90,7 +90,7 @@ export default class HTMLFormatter implements IFormatter {
}

/** Format the problems grouped by `resource` name and sorted by line and column number */
public async format(problems: Problem[], target = '', options: FormatterOptions = {}) {
public async format(problems: Problem[], /* istanbul ignore next */ target = '', /* istanbul ignore next */ options: FormatterOptions = {}) {

debug('Formatting results');

@@ -21,7 +21,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -26,7 +26,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -108,8 +108,8 @@ export default class StylishFormatter implements IFormatter {
logger.log('');
});

const color: typeof chalk = totalErrors > 0 ? chalk.red : chalk.yellow;
const color: typeof chalk = totalErrors > 0 ? chalk.red : /* istanbul ignore next */ chalk.yellow;

logger.log(color.bold(`${logSymbols.error} Found a total of ${totalErrors} ${totalErrors === 1 ? 'error' : 'errors'} and ${totalWarnings} ${totalWarnings === 1 ? 'warning' : 'warnings'}`));
logger.log(color.bold(`${logSymbols.error} Found a total of ${totalErrors} ${totalErrors === 1 ? 'error' : 'errors'} and ${totalWarnings} ${totalWarnings === 1 ? /* istanbul ignore next */ 'warning' : 'warnings'}`));
}
}
@@ -24,7 +24,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"proxyquire": "2.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.2.3",
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -25,7 +25,7 @@ export default class AmpValidatorHint implements IHint {

public constructor(context: HintContext) {
let validPromise: Promise<amphtmlValidator.Validator>;
const errorsOnly = context.hintOptions && context.hintOptions['errors-only'] || false;
const errorsOnly = context.hintOptions && /* istanbul ignore next */ context.hintOptions['errors-only'] || false;
let events: FetchEnd[] = [];

const onFetchEndHTML = (fetchEnd: FetchEnd) => {
@@ -68,7 +68,7 @@ export default class AmpValidatorHint implements IHint {
* if user has configured the hint like that.
*/
/* istanbul ignore if */
if (errorsOnly && error.severity !== 'ERROR') {
if (errorsOnly && /* istanbul ignore next */ error.severity !== 'ERROR') {
debug(`AMP error doesn't meet threshold for reporting`);
} else {
const location = {
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -21,7 +21,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -19,7 +19,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -19,7 +19,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -24,7 +24,7 @@
"markdownlint-cli": "^0.13.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"postcss": "^7.0.14",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -18,7 +18,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -18,7 +18,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -18,7 +18,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -23,7 +23,7 @@
"mock-require": "^3.0.3",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -18,7 +18,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -25,7 +25,7 @@
"mock-require": "^3.0.3",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -18,7 +18,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -25,7 +25,7 @@
"mock-require": "^3.0.3",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -19,7 +19,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -19,7 +19,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -32,7 +32,7 @@ export default class ManifestFileExtensionHint implements IHint {

const validate = async ({ element, resource }: ElementFound) => {
if (normalizeString(element.getAttribute('rel')) === 'manifest') {
const fileExtension: string = getFileExtension(normalizeString(element.getAttribute('href')) || '');
const fileExtension: string = getFileExtension(normalizeString(element.getAttribute('href')) || /* istanbul ignore next */ '');

if (fileExtension !== standardManifestFileExtension) {
const message = `Web app manifest should have the filename extension '${standardManifestFileExtension}'${fileExtension ? `, not '${fileExtension}'` : ''}.`;
@@ -24,7 +24,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
@@ -22,7 +22,7 @@
"hint": "^4.4.0",
"npm-link-check": "^3.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"nyc": "^13.2.0",
"rimraf": "^2.6.3",
"typescript": "^3.3.1",
"@typescript-eslint/parser": "1.3.0"
Oops, something went wrong.

0 comments on commit a8cd877

Please sign in to comment.
You can’t perform that action at this time.