mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-05-12 11:12:40 -04:00
Merge pull request #73 from jimjenkins5/jimjenkins5/package-vulnerabilities
chore: update dependencies to remove vulnerabilities
This commit is contained in:
commit
3f3c4fd2b2
11 changed files with 5689 additions and 4970 deletions
1
.editorconfig
Symbolic link
1
.editorconfig
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
node_modules/@silvermine/standardization/.editorconfig
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
coverage
|
coverage
|
||||||
|
.nyc_output
|
||||||
dist
|
dist
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
Gruntfile.js
|
Gruntfile.js
|
||||||
tests/**
|
tests/**
|
||||||
docs
|
docs
|
||||||
|
.nyc_output
|
||||||
|
coverage
|
||||||
|
|
2
.nvmrc
2
.nvmrc
|
@ -1 +1 @@
|
||||||
12.14.0
|
12.22.1
|
||||||
|
|
16
.nycrc.json
Normal file
16
.nycrc.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"include": [
|
||||||
|
"src/**/*.js"
|
||||||
|
],
|
||||||
|
"extension": [
|
||||||
|
".js"
|
||||||
|
],
|
||||||
|
"reporter": [
|
||||||
|
"text-summary",
|
||||||
|
"html",
|
||||||
|
"lcov"
|
||||||
|
],
|
||||||
|
"instrument": true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"all": true
|
||||||
|
}
|
|
@ -2,11 +2,10 @@ language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "node" # Latest node version
|
- "node" # Latest node version
|
||||||
- "lts/*" # Latest LTS version
|
- "lts/*" # Latest LTS version
|
||||||
|
- "14"
|
||||||
- "12"
|
- "12"
|
||||||
- "10"
|
|
||||||
- "8"
|
|
||||||
|
|
||||||
before_install: npm i -g npm@6.13.4
|
before_install: npm i -g npm@6.14.12
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm run commitlint
|
- npm run commitlint
|
||||||
|
|
10
Gruntfile.js
10
Gruntfile.js
|
@ -113,11 +113,11 @@ module.exports = function(grunt) {
|
||||||
target: config.js.all,
|
target: config.js.all,
|
||||||
},
|
},
|
||||||
|
|
||||||
sasslint: {
|
stylelint: {
|
||||||
options: {
|
options: {
|
||||||
configFile: path.join(__dirname, 'node_modules', '@silvermine/sass-lint-config', 'sass-lint.yml'),
|
configFile: path.join(__dirname, 'node_modules', '@silvermine', 'standardization', '.stylelintrc.yml'),
|
||||||
},
|
},
|
||||||
target: config.sass.all,
|
src: config.sass.all,
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -146,9 +146,9 @@ module.exports = function(grunt) {
|
||||||
grunt.loadNpmTasks('grunt-postcss');
|
grunt.loadNpmTasks('grunt-postcss');
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||||
grunt.loadNpmTasks('grunt-sass');
|
grunt.loadNpmTasks('grunt-sass');
|
||||||
grunt.loadNpmTasks('grunt-sass-lint');
|
grunt.loadNpmTasks('grunt-stylelint');
|
||||||
|
|
||||||
grunt.registerTask('standards', [ 'eslint', 'sasslint' ]);
|
grunt.registerTask('standards', [ 'eslint', 'stylelint' ]);
|
||||||
grunt.registerTask('build-js', [ 'browserify', 'uglify' ]);
|
grunt.registerTask('build-js', [ 'browserify', 'uglify' ]);
|
||||||
grunt.registerTask('build-css', [ 'sass', 'postcss' ]);
|
grunt.registerTask('build-css', [ 'sass', 'postcss' ]);
|
||||||
grunt.registerTask('build', [ 'build-js', 'build-css' ]);
|
grunt.registerTask('build', [ 'build-js', 'build-css' ]);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: [ '@silvermine/eslint-config/commitlint.js' ],
|
extends: [ '@silvermine/standardization/commitlint.js' ],
|
||||||
};
|
};
|
||||||
|
|
10595
package-lock.json
generated
10595
package-lock.json
generated
File diff suppressed because it is too large
Load diff
22
package.json
22
package.json
|
@ -5,7 +5,7 @@
|
||||||
"main": "src/js/index.js",
|
"main": "src/js/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "grunt build",
|
"prepare": "grunt build",
|
||||||
"test": "check-node-version --npm 6.13.4 && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- -R spec 'tests/**/*.test.js'",
|
"test": "check-node-version --npm 6.14.12 && nyc mocha -- 'tests/**/*.test.js'",
|
||||||
"commitlint": "commitlint --from ad805e8"
|
"commitlint": "commitlint --from ad805e8"
|
||||||
},
|
},
|
||||||
"author": "Jeremy Thomerson",
|
"author": "Jeremy Thomerson",
|
||||||
|
@ -26,15 +26,14 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/silvermine/videojs-quality-selector#readme",
|
"homepage": "https://github.com/silvermine/videojs-quality-selector#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "8.3.5",
|
"@silvermine/eslint-config": "3.0.1",
|
||||||
"@commitlint/travis-cli": "8.3.5",
|
"@silvermine/standardization": "1.1.0",
|
||||||
"@silvermine/eslint-config": "3.0.0-rc.0",
|
"autoprefixer": "8.6.5",
|
||||||
"@silvermine/sass-lint-config": "1.1.0",
|
|
||||||
"autoprefixer": "9.5.1",
|
|
||||||
"check-node-version": "4.0.3",
|
"check-node-version": "4.0.3",
|
||||||
"coveralls": "3.0.3",
|
"coveralls": "3.0.3",
|
||||||
|
"eslint": "6.8.0",
|
||||||
"expect.js": "0.3.1",
|
"expect.js": "0.3.1",
|
||||||
"grunt": "1.0.4",
|
"grunt": "1.4.0",
|
||||||
"grunt-browserify": "5.3.0",
|
"grunt-browserify": "5.3.0",
|
||||||
"grunt-contrib-clean": "2.0.0",
|
"grunt-contrib-clean": "2.0.0",
|
||||||
"grunt-contrib-uglify": "4.0.1",
|
"grunt-contrib-uglify": "4.0.1",
|
||||||
|
@ -42,11 +41,10 @@
|
||||||
"grunt-eslint": "22.0.0",
|
"grunt-eslint": "22.0.0",
|
||||||
"grunt-postcss": "0.9.0",
|
"grunt-postcss": "0.9.0",
|
||||||
"grunt-sass": "3.0.2",
|
"grunt-sass": "3.0.2",
|
||||||
"grunt-sass-lint": "0.2.4",
|
"mocha": "8.4.0",
|
||||||
"istanbul": "0.4.5",
|
|
||||||
"mocha": "6.1.4",
|
|
||||||
"mocha-lcov-reporter": "1.3.0",
|
"mocha-lcov-reporter": "1.3.0",
|
||||||
"node-sass": "4.12.0",
|
"node-sass": "6.0.0",
|
||||||
|
"nyc": "15.1.0",
|
||||||
"rewire": "4.0.1",
|
"rewire": "4.0.1",
|
||||||
"silvermine-serverless-utils": "git+https://github.com/silvermine/serverless-utils.git#910f1149af824fc8d0fa840878079c7d3df0f414",
|
"silvermine-serverless-utils": "git+https://github.com/silvermine/serverless-utils.git#910f1149af824fc8d0fa840878079c7d3df0f414",
|
||||||
"sinon": "7.3.2"
|
"sinon": "7.3.2"
|
||||||
|
@ -56,6 +54,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"class.extend": "0.9.1",
|
"class.extend": "0.9.1",
|
||||||
"underscore": "1.9.1"
|
"underscore": "1.13.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,10 +7,11 @@
|
||||||
}
|
}
|
||||||
.vjs-icon-placeholder {
|
.vjs-icon-placeholder {
|
||||||
// From video.js font: https://github.com/videojs/font
|
// From video.js font: https://github.com/videojs/font
|
||||||
|
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
|
||||||
font-family: 'VideoJS';
|
font-family: 'VideoJS';
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
&:before {
|
&::before {
|
||||||
content: '\f110';
|
content: '\f110';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue