Skip to content

Commit

Permalink
Change to require Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 30, 2023
1 parent f9fab12 commit 3cf2c29
Show file tree
Hide file tree
Showing 43 changed files with 44 additions and 46 deletions.
2 changes: 1 addition & 1 deletion packages/hast-util-from-string/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-from-string@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-is-body-ok-link/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-is-body-ok-link@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-is-conditional-comment/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-is-conditional-comment@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-is-css-link/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-is-css-link@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-is-css-style/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-is-css-style@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-is-event-handler/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-is-event-handler@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-is-javascript/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-is-javascript@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/hast-util-to-string/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`hast-util-to-string@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/html-enumerated-attributes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`html-enumerated-attributes@^0`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/html-url-attributes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`html-url-attributes@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/html-whitespace-sensitive-tag-names/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`html-whitespace-sensitive-tag-names@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-concat-css-style/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-concat-css-style@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-concat-javascript/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-concat-javascript@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-css-to-top/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-css-to-top@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-javascript-to-bottom/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-javascript-to-bottom@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-attribute-whitespace/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-attribute-whitespace@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-css-style/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-css-style@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-enumerated-attribute/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-enumerated-attribute@^4`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-event-handler/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-event-handler@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-javascript-script/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-javascript-script@^4`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-javascript-url/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-javascript-url@^4`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-json-script/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-json-script@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-language/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-language@^2`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-media-attribute/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-media-attribute@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-meta-color/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-meta-color@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-meta-content/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-meta-content@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-style-attribute/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-style-attribute@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-url/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-url@^4`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-minify-whitespace/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-minify-whitespace@^5`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-normalize-attribute-value-case/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-normalize-attribute-value-case@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-preset-minify/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-preset-minify@^6`,
compatible with Node.js 12.
compatible with Node.js 16.
## Security
Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-prevent-favicon-request/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-prevent-favicon-request@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-remove-comments/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-comments@^5`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-duplicate-attribute-values@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-remove-empty-attribute/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-empty-attribute@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-remove-external-script-content/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-external-script-content@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-remove-meta-http-equiv/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-meta-http-equiv@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-remove-script-type-javascript/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-script-type-javascript@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-remove-style-type-css/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-remove-style-type-css@^3`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-sort-attribute-values/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-sort-attribute-values@^4`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-sort-attributes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
`rehype-sort-attributes@^4`,
compatible with Node.js 12.
compatible with Node.js 16.

## Security

Expand Down
2 changes: 1 addition & 1 deletion script/pipeline-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ function generateReadmeTail(state) {
},
{
type: 'text',
value: ',\ncompatible with Node.js 12.'
value: ',\ncompatible with Node.js 16.'
}
]
},
Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
"lib": ["es2022"],
"module": "node16",
"strict": true,
"target": "es2020"
"target": "es2022"
},
"exclude": ["**/coverage/", "**/node_modules/"],
"include": [
"**/*.js"
]
"include": ["**/*.js"]
}

0 comments on commit 3cf2c29

Please sign in to comment.