Skip to content

Commit

Permalink
Update deps (#203)
Browse files Browse the repository at this point in the history
* Update testee deps to elminiate critical vulns
* use linux focal and xvfb addon in travis
  • Loading branch information
bmomberger-bitovi authored Jun 6, 2022
1 parent 6079a04 commit c5cc334
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ sudo: false
language: node_js
node_js:
- node
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3

dist: focal
services:
- xvfb

deploy:
provider: npm
email: core@donejs.com
Expand Down
4 changes: 2 additions & 2 deletions examples/qunit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="../../node_modules/qunitjs/qunit/qunit.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../node_modules/qunit/qunit/qunit.css" type="text/css" media="screen" />
</head>
<body>
<h1 id="qunit-header">QUnit example</h1>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script type="text/javascript" src="../../node_modules/qunitjs/qunit/qunit.js"></script>
<script type="text/javascript" src="../../node_modules/qunit/qunit/qunit.js"></script>
<script type="text/javascript" src="./blogpost.js"></script>
<script type="text/javascript" src="test.js"></script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions examples/qunit/rest.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" href="../../node_modules/qunitjs/qunit/qunit.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../node_modules/qunit/qunit/qunit.css" type="text/css" media="screen" />
</head>
<body>
<h1 id="qunit-header">QUnit example</h1>
Expand All @@ -15,7 +15,7 @@ <h1 id="qunit-header">QUnit example</h1>
}
};
</script>
<script type="text/javascript" src="../../node_modules/qunitjs/qunit/qunit.js"></script>
<script type="text/javascript" src="../../node_modules/qunit/qunit/qunit.js"></script>
<script type="text/javascript" src="./blogpost.js"></script>
<script type="text/javascript" src="test.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion lib/host/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var url = require('url');
var injector = require('connect-injector');
var path = require('path');
var mime = require('mime-types');
var babel = require('babel-core');
var babel = require('@babel/core');

function isRecognizedPath (ignores, url) {
var isIgnored = _.some(ignores, function (pattern) {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"url": "https://github.com/bitovi/testee/issues"
},
"dependencies": {
"babel-core": "^6.24.0",
"babel-plugin-istanbul": "^4.1.1",
"@babel/core": "^7.18.2",
"babel-plugin-istanbul": "^6.1.1",
"body-parser": "^1.15.2",
"commander": "^2.3.0",
"connect-injector": "^0.4.0",
Expand All @@ -25,12 +25,13 @@
"feathers-rest": "^1.5.0",
"feathers-socketio": "^2.0.1",
"http-proxy": "^1.1.4",
"istanbul": "^0.4.0",
"launchpad": "^0.7.1",
"istanbul": "^0.4.5",
"launchpad": "^0.8.0",
"lodash": "^4.17.10",
"mime-types": "^2.1.6",
"miner": "^1.0.1",
"path": "^0.12.7",
"qunit": "^2.19.1",
"testee-client": "^0.5.0",
"useragent": "^2.0.9"
},
Expand All @@ -39,8 +40,7 @@
"chai": "^4.0.2",
"del": "^3.0.0",
"jshint": "^2.9.3",
"mocha": "^9.2.2",
"qunitjs": "^2.4.0"
"mocha": "^9.2.2"
},
"engines": {
"node": ">= 4"
Expand Down

0 comments on commit c5cc334

Please sign in to comment.