Skip to content

Commit

Permalink
Replace lodash.template package with lodash itself due to advisory
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed May 6, 2024
1 parent 0444561 commit e19757a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 51 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { EOL } from 'os';
import fs from 'fs';
import which from 'which';
import { Plugin } from 'release-it';
import template from 'lodash.template';
import template from 'lodash/template';
import tmp from 'tmp';
import execa from 'execa';
import { fromMarkdown } from 'mdast-util-from-markdown';
Expand Down
52 changes: 3 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"execa": "^5.1.1",
"lerna-changelog": "^2.2.0",
"lodash.template": "^4.5.0",
"lodash": "^4.17.21",
"mdast-util-from-markdown": "^1.2.0",
"tmp": "^0.2.1",
"validate-peer-dependencies": "^2.0.0",
Expand Down

0 comments on commit e19757a

Please sign in to comment.