From d27df6102427ef0348c5c5aec9033cdede7eadac Mon Sep 17 00:00:00 2001 From: klu909 Date: Mon, 28 Nov 2022 09:42:10 -0800 Subject: [PATCH] feat(2683): nodejs upgrade BREAKING CHANGE: Node 18 upgrade && eslint upgrade --- package.json | 18 +++++++++--------- screwdriver.yaml | 2 +- test/index.test.js | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 20f7d51..4bbbd6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "screwdriver-request", - "version": "1.0.0", + "version": "2.0.0", "description": "Wrapper around got pkg to define a simple interface for http requests", "main": "index.js", "scripts": { @@ -30,19 +30,19 @@ "Tiffany Kyi " ], "devDependencies": { - "chai": "^4.3.4", - "eslint": "^7.5.0", - "eslint-config-screwdriver": "^5.0.1", - "mocha": "^8.4.0", + "chai": "^4.3.7", + "eslint": "^8.28.0", + "eslint-config-screwdriver": "^7.0.0", + "mocha": "^10.1.0", "mocha-multi-reporters": "^1.5.1", "mocha-sonarqube-reporter": "^1.0.2", "mockery": "^2.1.0", - "nock": "^13.1.1", - "nyc": "^15.0.0", - "sinon": "^11.1.1" + "nock": "^13.2.9", + "nyc": "^15.1.0", + "sinon": "^15.0.0" }, "dependencies": { - "@hapi/hoek": "^9.2.0", + "@hapi/hoek": "^10.0.1", "got": "^11.8.2" }, "release": { diff --git a/screwdriver.yaml b/screwdriver.yaml index 7930f4e..bb6e7a4 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -1,5 +1,5 @@ shared: - image: node:12 + image: node:18 jobs: main: diff --git a/test/index.test.js b/test/index.test.js index 41e37f7..7d24499 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -7,7 +7,7 @@ const sinon = require('sinon'); sinon.assert.expose(assert, { prefix: '' }); -describe('index', function() { +describe('index', function () { // Time not important. Only life important. this.timeout(5000);