Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: minimum supported Node.js version is 18.12.0 #759

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -66,7 +66,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
webpack-version: [latest]

runs-on: ${{ matrix.os }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,6 +2,7 @@ logs
*.log
npm-debug.log*
.eslintcache
.cspellcache

/coverage
/dist
Expand Down
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -147,7 +147,7 @@ module.exports = {
// If absolute path is a `glob` we replace backslashes with forward slashes, because only forward slashes can be used in the `glob`
path.posix.join(
path.resolve(__dirname, "src").replace(/\\/g, "/"),
"*.txt"
"*.txt",
),
],
}),
Expand Down Expand Up @@ -185,7 +185,7 @@ module.exports = {
// If absolute path is a `glob` we replace backslashes with forward slashes, because only forward slashes can be used in the `glob`
from: path.posix.join(
path.resolve(__dirname, "fixtures").replace(/\\/g, "/"),
"*.txt"
"*.txt",
),
},
],
Expand Down Expand Up @@ -686,7 +686,7 @@ type cache =
defaultCacheKeys: {
[key: string]: any;
},
absoluteFilename: string
absoluteFilename: string,
) => Promise<{
[key: string]: any;
}>;
Expand Down Expand Up @@ -841,7 +841,7 @@ type transformAll = (
data: Buffer;
sourceFilename: string;
absoluteFilename: string;
}[]
}[],
) => any;
```

Expand Down Expand Up @@ -1123,7 +1123,7 @@ module.exports = {
__dirname,
"src",
"directory-nested",
"nested-file.txt"
"nested-file.txt",
),
},
],
Expand Down Expand Up @@ -1175,7 +1175,7 @@ module.exports = {
{
from: path.posix.join(
path.resolve(__dirname, "src").replace(/\\/g, "/"),
"**/*"
"**/*",
),
globOptions: {
ignore: [
Expand Down Expand Up @@ -1294,7 +1294,7 @@ module.exports = {
patterns: [
{
from: `${path.dirname(
require.resolve(`${moduleName}/package.json`)
require.resolve(`${moduleName}/package.json`),
)}/target`,
to: "target",
},
Expand Down