diff --git a/package-lock.json b/package-lock.json index 87da66513..2b880a1ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2574,9 +2574,9 @@ "dev": true }, "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" }, "escodegen": { "version": "2.0.0", @@ -2724,6 +2724,12 @@ "ms": "2.1.2" } }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", diff --git a/package.json b/package.json index 47a8c7fa1..f1cfbaf0f 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "dependencies": { "@solidity-parser/parser": "^0.14.1", "emoji-regex": "^10.1.0", - "escape-string-regexp": "^4.0.0", + "escape-string-regexp": "^5.0.0", "semver": "^7.3.7", "solidity-comments-extractor": "^0.0.7", "string-width": "^4.2.3"