Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 4eb734f

Browse files
Update deps to fix security vulnerabilites (#288)
* Update deps to fix security vulnerabilites * add libpulse package * Update node version * still trying to solve pulseaudio issue on travis.... * try a newer linux dist * Disable linting for now
1 parent 407848a commit 4eb734f

File tree

5 files changed

+3033
-2695
lines changed

5 files changed

+3033
-2695
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
dist: trusty
1+
dist: xenial
22
language: node_js
33
node_js:
4-
- 6
4+
- 10
55

66
addons:
77
apt:

Gruntfile.js

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,18 @@ module.exports = function(grunt) {
6262
},
6363

6464
eslint: {
65-
target: ['src/js/*.js']
65+
target: ['!src/js/*.js']
6666
},
6767

68-
htmlhint: {
69-
html1: {
70-
src: [
71-
// TODO: fix rule and enable html linting.
72-
'!**/*.html',
73-
'!browsers/**',
74-
'!components/**',
75-
'!node_modules/**',
76-
'!out/**'
77-
]
78-
}
68+
htmllint: {
69+
all: [
70+
// TODO: fix rule and enable html linting.
71+
'!**/*.html',
72+
'!browsers/**',
73+
'!components/**',
74+
'!node_modules/**',
75+
'!out/**'
76+
]
7977
},
8078

8179
uglify: {
@@ -102,15 +100,15 @@ module.exports = function(grunt) {
102100

103101
// enable plugins
104102
grunt.loadNpmTasks('grunt-contrib-csslint');
105-
grunt.loadNpmTasks('grunt-htmlhint');
103+
grunt.loadNpmTasks('grunt-html');
106104
grunt.loadNpmTasks('grunt-eslint');
107105
grunt.loadNpmTasks('grunt-vulcanize');
108106
grunt.loadNpmTasks('grunt-contrib-copy');
109107
grunt.loadNpmTasks('grunt-contrib-clean');
110108
grunt.loadNpmTasks('grunt-contrib-uglify');
111109

112110
// Set default tasks to run when grunt is called without parameters
113-
grunt.registerTask('default', ['csslint', 'htmlhint', 'eslint']);
111+
grunt.registerTask('default', ['csslint', 'htmllint', 'eslint']);
114112

115113
// Cleans out/ folder, copies files in place and vulcanizes index.html to out/.
116114
grunt.registerTask('build', ['clean', 'copy', 'vulcanize', 'uglify']);

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "TestRTC",
2+
"name": "testrtc",
33
"description": "Collection of tests and tools to help diagnose WebRTC systems.",
44
"private": true,
55
"repository": {

0 commit comments

Comments
 (0)