diff --git a/package-lock.json b/package-lock.json
index 2a14ac4541d6cc6bd841f34dff757342babfa03f..4d82d7fe0e68543d89f969ce2fb87a586c994fe7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3014,14 +3014,14 @@
       }
     },
     "babel-loader": {
-      "version": "8.1.0",
-      "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.1.0.tgz",
-      "integrity": "sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw==",
+      "version": "8.2.1",
+      "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.1.tgz",
+      "integrity": "sha512-dMF8sb2KQ8kJl21GUjkW1HWmcsL39GOV5vnzjqrCzEPNY0S0UfMLnumidiwIajDSBmKhYf5iRW+HXaM4cvCKBw==",
       "dev": true,
       "requires": {
         "find-cache-dir": "^2.1.0",
         "loader-utils": "^1.4.0",
-        "mkdirp": "^0.5.3",
+        "make-dir": "^2.1.0",
         "pify": "^4.0.1",
         "schema-utils": "^2.6.5"
       }
diff --git a/package.json b/package.json
index dedfcc02d47dd1c5425dd804e40d2bc9d2936d34..4939e7d1f6c763864f8e4ecbe8663e13e2e838b3 100644
--- a/package.json
+++ b/package.json
@@ -98,7 +98,7 @@
     "@nextcloud/eslint-config": "^2.2.0",
     "@nextcloud/eslint-plugin": "^1.5.0",
     "babel-eslint": "^10.1.0",
-    "babel-loader": "^8.1.0",
+    "babel-loader": "^8.2.1",
     "babel-loader-exclude-node-modules-except": "^1.0.3",
     "chai": "^4.2.0",
     "css-loader": "^5.0.1",