diff --git a/package-lock.json b/package-lock.json index 4be3e2f..5bd2d2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,6 +34,7 @@ "karma-jasmine": "^5.1.0", "karma-junit-reporter": "^2.0.1", "karma-webpack": "^5.0.0", + "linkify-string": "^4.1.1", "linkifyjs": "^4.1.1", "protractor": "^7.0.0", "webpack": "^5.88.1", @@ -5719,6 +5720,15 @@ "immediate": "~3.0.5" } }, + "node_modules/linkify-string": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/linkify-string/-/linkify-string-4.1.1.tgz", + "integrity": "sha512-9+kj8xr7GLiyNyO9ri7lIxq2ixVYjjqvtomPQpeYNNT56/PxQq6utzXFLm8HxOaGTiMpimj1UAQWwYYPV88L1g==", + "dev": true, + "peerDependencies": { + "linkifyjs": "^4.0.0" + } + }, "node_modules/linkifyjs": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.1.1.tgz", diff --git a/package.json b/package.json index 9fa156d..8852b11 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "karma-junit-reporter": "^2.0.1", "karma-webpack": "^5.0.0", "linkifyjs": "^4.1.1", + "linkify-string": "^4.1.1", "protractor": "^7.0.0", "webpack": "^5.88.1", "webpack-cli": "^5.1.4", diff --git a/test/karma.conf.js b/test/karma.conf.js index 4594f05..8bf6825 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -7,7 +7,7 @@ module.exports = function (config) { files: [ 'node_modules/linkifyjs/dist/linkify.js', - 'node_modules/linkifyjs/dist/linkify-string.js', + 'node_modules/linkify-string/dist/linkify-string.js', 'test/unit/main.test.js' ], diff --git a/webpack.config.js b/webpack.config.js index f871e54..300dfc7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -51,7 +51,7 @@ module.exports = { }, { from: "../node_modules/emojione/lib/js/emojione.min.js" }, { from: "../node_modules/linkifyjs/dist/linkify.min.js" }, - { from: "../node_modules/linkifyjs/dist/linkify-string.min.js" }, + { from: "../node_modules/linkify-string/dist/linkify-string.min.js" }, ] }), ],