Skip to content

Commit 038a56b

Browse files
chore(deps): update (#234)
BREAKING CHANGE: minimum supported Node.js version is `10.13`
1 parent 9aec83f commit 038a56b

File tree

8 files changed

+629
-76
lines changed

8 files changed

+629
-76
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
- name: Lint
4444
run: npm run lint
4545

46-
# - name: Security audit
47-
# run: npm run security
46+
- name: Security audit
47+
run: npm run security
4848

4949
- name: Check commit message
5050
uses: wagoid/commitlint-github-action@v1
@@ -55,7 +55,7 @@ jobs:
5555
strategy:
5656
matrix:
5757
os: [ubuntu-latest, windows-latest, macos-latest]
58-
node-version: [8.x, 10.x, 12.x, 14.x]
58+
node-version: [10.x, 12.x, 14.x]
5959
webpack-version: [latest, next]
6060

6161
runs-on: ${{ matrix.os }}

.prettierrc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
module.exports = {
2-
singleQuote: true,
3-
trailingComma: 'es5',
4-
arrowParens: 'always',
5-
};
1+
module.exports = { singleQuote: true };

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,7 @@ Default cache keys:
206206
'terser-webpack-plugin': require('../package.json').version, // plugin version
207207
'terser-webpack-plugin-options': this.options, // plugin options
208208
path: compiler.outputPath ? `${compiler.outputPath}/${file}` : file, // asset path
209-
hash: crypto
210-
.createHash('md4')
211-
.update(input)
212-
.digest('hex'), // source file hash
209+
hash: crypto.createHash('md4').update(input).digest('hex'), // source file hash
213210
});
214211
```
215212

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = (api) => {
1010
'@babel/preset-env',
1111
{
1212
targets: {
13-
node: '8.9.0',
13+
node: '10.13.0',
1414
},
1515
},
1616
],

0 commit comments

Comments
 (0)