Skip to content

Commit

Permalink
chore!: minimum supported Node.js version is 18.12.0 (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Jan 10, 2024
1 parent 74a3666 commit a5b7d06
Show file tree
Hide file tree
Showing 21 changed files with 7,781 additions and 16,833 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit a5b7d06

Please sign in to comment.