chore: update deps and drop Node 8.x support

- Upgrade dependencies
- Drop Node 8.x support as it has reached EOL

BREAKING CHANGE: Node 8.x is no longer supported.
This commit is contained in:
Raymond Feng 2020-05-20 14:30:46 -07:00
parent b0b138a74d
commit 36d2b18a17
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
sudo: false sudo: false
language: node_js language: node_js
node_js: node_js:
- "8"
- "10" - "10"
- "12" - "12"
- "14"

View File

@ -4,7 +4,7 @@
"license": "MIT", "license": "MIT",
"version": "3.4.0", "version": "3.4.0",
"engines": { "engines": {
"node": ">=8" "node": ">=10"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -20,18 +20,18 @@
"@types/express": "^4.16.0", "@types/express": "^4.16.0",
"accepts": "^1.3.3", "accepts": "^1.3.3",
"debug": "^4.1.1", "debug": "^4.1.1",
"ejs": "^2.6.1", "ejs": "^3.1.3",
"fast-safe-stringify": "^2.0.6", "fast-safe-stringify": "^2.0.6",
"http-status": "^1.1.2", "http-status": "^1.1.2",
"js2xmlparser": "^4.0.0", "js2xmlparser": "^4.0.0",
"strong-globalize": "^5.0.2" "strong-globalize": "^6.0.1"
}, },
"devDependencies": { "devDependencies": {
"chai": "^4.1.2", "chai": "^4.1.2",
"eslint": "^6.5.1", "eslint": "^7.0.0",
"eslint-config-loopback": "^13.1.0", "eslint-config-loopback": "^13.1.0",
"express": "^4.16.3", "express": "^4.16.3",
"mocha": "^6.2.1", "mocha": "^7.1.2",
"supertest": "^4.0.2" "supertest": "^4.0.2"
}, },
"browser": { "browser": {

View File

@ -2,7 +2,7 @@
<head> <head>
<meta charset='utf-8'> <meta charset='utf-8'>
<title><%= data.name || data.message %></title> <title><%= data.name || data.message %></title>
<style><%- include style.css %></style> <style><%- include('style.css') %></style>
</head> </head>
<body> <body>
<div id="wrapper"> <div id="wrapper">