Skip to content

Commit

Permalink
Replace _.escapeRegExp with escape-string-regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Aug 25, 2019
1 parent 6125abd commit 1278da1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const postcss = require('postcss');
const debug = require('debug')('image-inliner');
const escapeRegExp = require('lodash/escapeRegExp');
const escapeRegExp = require('escape-string-regexp');
const {getDataUriMapping} = require('./lib/image');

const DEFAULTS = {
Expand Down
25 changes: 22 additions & 3 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 @@ -23,8 +23,8 @@
"dependencies": {
"asset-resolver": "^2.0.2",
"debug": "^4.1.1",
"escape-string-regexp": "^2.0.0",
"filesize": "^4.1.2",
"lodash": "^4.17.15",
"postcss": "^7.0.17",
"svgo": "^1.3.0"
},
Expand Down

0 comments on commit 1278da1

Please sign in to comment.