Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
* ignore-by-default   ^1.0.1  →   ^2.0.0
* mocha               ^7.2.0  →   ^8.0.1
* xo                 ^0.30.0  →  ^0.32.0
  • Loading branch information
XhmikosR committed Jun 19, 2020
1 parent 5418f2e commit 3e38b29
Show file tree
Hide file tree
Showing 3 changed files with 558 additions and 732 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ const staticify = (root, options) => {
const replacePaths = fileContents => {
return Object.keys(versions).sort((a, b) => {
return b.length - a.length;
// eslint-disable-next-line unicorn/no-reduce
}).reduce((f, url) => {
return f.replace(new RegExp(url, 'g'), getVersionedPath(url));
}, fileContents);
Expand Down
Loading

0 comments on commit 3e38b29

Please sign in to comment.