Update standard requirement from ^12.0.1 to ^13.0.2 (#906)

This commit is contained in:
dependabot-preview[bot]
2019-07-15 14:20:21 +02:00
committed by Tomas Della Vedova
parent 33bc37b34c
commit ce16f28e8f
4 changed files with 8 additions and 6 deletions

View File

@ -54,7 +54,7 @@
"simple-git": "^1.110.0",
"simple-statistics": "^7.0.2",
"split2": "^3.1.1",
"standard": "^12.0.1",
"standard": "^13.0.2",
"stoppable": "^1.1.0",
"tap": "^13.0.1",
"tap-mocha-reporter": "^4.0.1",

View File

@ -19,6 +19,8 @@
'use strict'
/* eslint no-prototype-builtins: 0 */
const { test } = require('tap')
const { errors } = require('../../index')

View File

@ -88,7 +88,7 @@ test('Should emit a response event in case of a successful response', t => {
statusCode: 200,
headers: {
'content-type': 'application/json;utf=8',
'connection': 'keep-alive'
connection: 'keep-alive'
},
warnings: null,
meta: {

View File

@ -30,8 +30,8 @@ class MockConnection extends Connection {
stream.statusCode = setStatusCode(params.path)
stream.headers = {
'content-type': 'application/json;utf=8',
'date': new Date().toISOString(),
'connection': 'keep-alive',
date: new Date().toISOString(),
connection: 'keep-alive',
'content-length': '17'
}
process.nextTick(() => {
@ -96,8 +96,8 @@ class MockConnectionSniff extends Connection {
stream.statusCode = setStatusCode(params.path)
stream.headers = {
'content-type': 'application/json;utf=8',
'date': new Date().toISOString(),
'connection': 'keep-alive',
date: new Date().toISOString(),
connection: 'keep-alive',
'content-length': '205'
}
process.nextTick(() => {