diff --git a/babel.config.js b/babel.config.js index cfdeb9f05..40f6e3f80 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,6 @@ const babelConfig = require('@nextcloud/babel-config') babelConfig.plugins.push('@babel/plugin-proposal-class-properties') +babelConfig.plugins.push('@babel/plugin-transform-private-methods') module.exports = babelConfig diff --git a/package-lock.json b/package-lock.json index 05e382bea..54849cf19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,6 +36,7 @@ }, "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-private-methods": "^7.25.4", "@nextcloud/babel-config": "^1.2.0", "@nextcloud/browserslist-config": "^3.0.1", "@nextcloud/cypress": "^1.0.0-beta.7", @@ -1589,7 +1590,6 @@ "integrity": "sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/helper-create-class-features-plugin": "^7.25.4", "@babel/helper-plugin-utils": "^7.24.8" diff --git a/package.json b/package.json index c72e85cf9..0eda264ed 100644 --- a/package.json +++ b/package.json @@ -75,6 +75,7 @@ }, "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-private-methods": "^7.25.4", "@nextcloud/babel-config": "^1.2.0", "@nextcloud/browserslist-config": "^3.0.1", "@nextcloud/cypress": "^1.0.0-beta.7",