Update standard requirement from ^12.0.1 to ^13.0.2 (#906)
This commit is contained in:
committed by
delvedor
parent
33ad918e2e
commit
0df026d3ff
@ -54,7 +54,7 @@
|
|||||||
"simple-git": "^1.110.0",
|
"simple-git": "^1.110.0",
|
||||||
"simple-statistics": "^7.0.2",
|
"simple-statistics": "^7.0.2",
|
||||||
"split2": "^3.1.1",
|
"split2": "^3.1.1",
|
||||||
"standard": "^12.0.1",
|
"standard": "^13.0.2",
|
||||||
"stoppable": "^1.1.0",
|
"stoppable": "^1.1.0",
|
||||||
"tap": "^13.0.1",
|
"tap": "^13.0.1",
|
||||||
"tap-mocha-reporter": "^4.0.1",
|
"tap-mocha-reporter": "^4.0.1",
|
||||||
|
|||||||
@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
|
/* eslint no-prototype-builtins: 0 */
|
||||||
|
|
||||||
const { test } = require('tap')
|
const { test } = require('tap')
|
||||||
const { errors } = require('../../index')
|
const { errors } = require('../../index')
|
||||||
|
|
||||||
|
|||||||
@ -89,7 +89,7 @@ test('Should emit a response event in case of a successful response', t => {
|
|||||||
statusCode: 200,
|
statusCode: 200,
|
||||||
headers: {
|
headers: {
|
||||||
'content-type': 'application/json;utf=8',
|
'content-type': 'application/json;utf=8',
|
||||||
'connection': 'keep-alive'
|
connection: 'keep-alive'
|
||||||
},
|
},
|
||||||
warnings: null,
|
warnings: null,
|
||||||
meta: {
|
meta: {
|
||||||
|
|||||||
@ -30,8 +30,8 @@ class MockConnection extends Connection {
|
|||||||
stream.statusCode = setStatusCode(params.path)
|
stream.statusCode = setStatusCode(params.path)
|
||||||
stream.headers = {
|
stream.headers = {
|
||||||
'content-type': 'application/json;utf=8',
|
'content-type': 'application/json;utf=8',
|
||||||
'date': new Date().toISOString(),
|
date: new Date().toISOString(),
|
||||||
'connection': 'keep-alive',
|
connection: 'keep-alive',
|
||||||
'content-length': '17'
|
'content-length': '17'
|
||||||
}
|
}
|
||||||
process.nextTick(() => {
|
process.nextTick(() => {
|
||||||
@ -96,8 +96,8 @@ class MockConnectionSniff extends Connection {
|
|||||||
stream.statusCode = setStatusCode(params.path)
|
stream.statusCode = setStatusCode(params.path)
|
||||||
stream.headers = {
|
stream.headers = {
|
||||||
'content-type': 'application/json;utf=8',
|
'content-type': 'application/json;utf=8',
|
||||||
'date': new Date().toISOString(),
|
date: new Date().toISOString(),
|
||||||
'connection': 'keep-alive',
|
connection: 'keep-alive',
|
||||||
'content-length': '205'
|
'content-length': '205'
|
||||||
}
|
}
|
||||||
process.nextTick(() => {
|
process.nextTick(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user