mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-06 22:33:53 -05:00
Update 2025 (#2741)
* update node version in github testing action * inc timeout * bump node versions again * bump year * bump minor devDeps * Add copilot recommendation * inc timeout again * bump pupeteer * use newer mocha-headless * undo timeout inc * bump gulp * bump mocha * remove serve-static only used in legacy grunt --------- Co-authored-by: veeck <gitkraken@veeck.de>
This commit is contained in:
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/testing.yml
vendored
4
.github/workflows/testing.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
node-version: [16.x, 18.x, 20.x]
|
||||
node-version: [20.x, 22.x, 24.x]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -22,4 +22,4 @@ jobs:
|
||||
- name: Installing gulp command line interface
|
||||
run: npm install gulp-cli
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
run: npm test -- --no-sandbox --disable-setuid-sandbox
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 The Modernizr Team | Modernizr 4.0.0-alpha
|
||||
Copyright (c) 2025 The Modernizr Team | Modernizr 4.0.0-alpha
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -72,7 +72,7 @@ gulp.task('eslint', () => {
|
||||
'!src/html5shiv.js',
|
||||
'!src/html5printshiv.js',
|
||||
'!test/coverage/**/*.js'
|
||||
])
|
||||
], { allowEmpty: true })
|
||||
.pipe(eslint({
|
||||
fix: true,
|
||||
configFile: '.eslintrc'
|
||||
@@ -93,7 +93,7 @@ gulp.task('mocha:browser', (done) => {
|
||||
const options = {
|
||||
reporter: 'dot',
|
||||
timeout: 5000,
|
||||
args: ['disable-web-security']
|
||||
args: ['disable-web-security', 'no-sandbox', 'disable-setuid-sandbox']
|
||||
};
|
||||
Mochaheadless.runner({
|
||||
...options,
|
||||
|
||||
11495
package-lock.json
generated
11495
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@@ -56,9 +56,9 @@
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.25.8",
|
||||
"@babel/preset-env": "^7.25.8",
|
||||
"@babel/register": "^7.25.7",
|
||||
"@babel/core": "^7.28.0",
|
||||
"@babel/preset-env": "^7.28.0",
|
||||
"@babel/register": "^7.27.1",
|
||||
"auto-changelog": "^2.5.0",
|
||||
"chai": "^4.3.7",
|
||||
"codecov": "^3.8.3",
|
||||
@@ -66,20 +66,19 @@
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-plugin-jsdoc": "^46.4.4",
|
||||
"find-parent-dir": "^0.3.1",
|
||||
"fs-extra": "^11.2.0",
|
||||
"fs-extra": "^11.3.0",
|
||||
"globby": "^11.1.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp": "^5.0.1",
|
||||
"gulp-connect": "^5.7.0",
|
||||
"gulp-eslint": "^6.0.0",
|
||||
"gulp-pug": "^5.0.0",
|
||||
"joi": "^17.13.3",
|
||||
"jquery": "^3.7.1",
|
||||
"json3": "^3.3.3",
|
||||
"mocha": "^10.7.3",
|
||||
"mocha-headless-chrome": "^4.0.0",
|
||||
"mocha": "^11.7.1",
|
||||
"mocha-headless-chrome": "github:direct-adv-interfaces/mocha-headless-chrome#pull/68/head",
|
||||
"nyc": "^17.1.0",
|
||||
"proxyquire": "^2.1.3",
|
||||
"serve-static": "^1.16.2",
|
||||
"sinon": "^15.2.0",
|
||||
"ua-parser-js": "^1.0.39"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user