Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2
version: 2
updates:
- package-ecosystem: npm
directory: "/"
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
28 changes: 28 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NodeJS with Webpack

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npx webpack
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@octokit/rest": "^19.0.7",
"@types/fs-extra": "^9.0.13",
"@types/listr": "^0.14.4",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/semver": "^7.5.1",
"@types/shelljs": "^0.8.11",
"@types/yargs": "^17.0.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/connector-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@hint/utils-create-server": "^3.4.27",
"@types/jsdom": "^20.0.1",
"@types/lodash": "^4.14.194",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/connector-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@hint/parser-html": "^3.1.4",
"@types/chokidar": "^2.1.3",
"@types/jsdom": "^20.0.1",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/connector-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/is-ci": "^3.0.0",
"@types/lockfile": "^1.0.2",
"@types/lodash": "^4.14.194",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/puppeteer": "^5.4.5",
"@types/puppeteer-core": "^5.4.0",
"@types/sinon": "^10.0.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-hint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@hint/utils-create-server": "^3.4.27",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"ava": "^4.3.3",
Expand All @@ -44,7 +44,7 @@
"sinon": "^13.0.1",
"ts-loader": "^9.4.2",
"typescript": "^4.5.5",
"webpack": "^5.76.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/create-hintrc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@types/inquirer": "^8.2.0",
"@types/lodash": "^4.14.194",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand All @@ -44,7 +44,7 @@
"sinon": "^13.0.1",
"ts-loader": "^9.4.2",
"typescript": "^4.5.5",
"webpack": "^5.76.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/create-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@hint/utils": "^7.0.24",
"@types/inquirer": "^8.2.0",
"@types/mkdirp": "^1.0.2",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand All @@ -44,7 +44,7 @@
"sinon": "^13.0.1",
"ts-loader": "^9.4.2",
"typescript": "^4.5.5",
"webpack": "^5.76.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@types/har-format": "^1.2.10",
"@types/is-ci": "^3.0.0",
"@types/jsdom": "^20.0.1",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/puppeteer": "^5.4.5",
"@types/react": "^18.0.9",
Expand Down Expand Up @@ -101,7 +101,7 @@
"util": "^0.12.5",
"util.promisify": "^1.1.1",
"web-ext": "^7.4.0",
"webpack": "^5.76.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.1"
},
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/extension-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"devDependencies": {
"@hint/utils": "^7.0.24",
"@hint/utils-types": "^1.2.1",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@types/vscode": "^1.86.1",
Expand All @@ -52,7 +52,7 @@
"vscode-languageclient": "^9.0.1",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.12",
"webpack": "^5.76.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.1"
},
"displayName": "webhint",
Expand Down
2 changes: 1 addition & 1 deletion packages/formatter-codeframe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@types/proxyquire": "^1.3.28",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/formatter-excel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/sinon": "^10.0.11",
"@types/proxyquire": "^1.3.28",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/formatter-html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"@hint/utils-fs": "^1.0.16",
"@hint/utils-i18n": "^1.0.15",
"@hint/utils-types": "^1.2.1",
"ejs": "^3.1.9",
"ejs": "^3.1.10",
"fs-extra": "^11.1.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/ejs": "^3.1.2",
"@types/fs-extra": "^9.0.13",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/formatter-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/formatter-stylish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"text-table": "^0.2.0"
},
"devDependencies": {
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.11",
"@types/text-table": "^0.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/formatter-summary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"description": "",
"devDependencies": {
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/hint-apple-touch-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@hint/utils-tests-helpers": "^6.5.7",
"@hint/utils-dom": "^2.2.4",
"@types/image-size": "^0.8.0",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/hint-axe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-dom": "^2.2.4",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/hint-babel-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"devDependencies": {
"@hint/parser-babel-config": "^2.1.43",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/hint-button-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-dom": "^2.2.4",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/hint-compat-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@hint/utils-dom": "^2.2.4",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/lodash": "^4.14.194",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand All @@ -32,7 +32,7 @@
"eslint-plugin-markdown": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"postcss": "^8.4.23",
"postcss": "^8.4.33",
"rimraf": "^5.0.0",
"typescript": "^4.5.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hint-content-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/content-type": "^1.1.5",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/hint-create-element-svg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@hint/parser-javascript": "^3.1.25",
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/hint-css-prefix-order/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"@hint/utils-fs": "^1.0.16",
"@hint/utils-i18n": "^1.0.15",
"@hint/utils-types": "^1.2.1",
"postcss": "^8.4.23"
"postcss": "^8.4.33"
},
"description": "Ensure vendor-prefixed versions of a CSS property are listed before the unprefixed version.",
"devDependencies": {
"@hint/parser-css": "^3.0.39",
"@hint/parser-sass": "^1.0.31",
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-tests-helpers": "^6.5.7",
"@types/node": "^20.1.1",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"ava": "^4.3.3",
Expand All @@ -31,7 +31,7 @@
"eslint-plugin-markdown": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"postcss": "^8.4.23",
"postcss": "^8.4.33",
"rimraf": "^5.0.0",
"typescript": "^4.5.5"
},
Expand Down
Loading
Loading