@automattic/babel-plugin-replace-textdomain
Advanced tools
Comparing version 1.0.35 to 1.0.36
@@ -8,2 +8,6 @@ # Changelog | ||
## [1.0.36] - 2024-08-29 | ||
### Changed | ||
- Internal updates. | ||
## [1.0.35] - 2024-06-12 | ||
@@ -165,2 +169,3 @@ ### Changed | ||
[1.0.36]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.35...v1.0.36 | ||
[1.0.35]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.34...v1.0.35 | ||
@@ -167,0 +172,0 @@ [1.0.34]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.33...v1.0.34 |
{ | ||
"name": "@automattic/babel-plugin-replace-textdomain", | ||
"version": "1.0.35", | ||
"version": "1.0.36", | ||
"description": "A Babel plugin to replace the textdomain in gettext-style function calls.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/babel-plugin-replace-textdomain/#readme", |
@@ -53,3 +53,3 @@ const pluginName = require( '../package.json' ).name; | ||
const funcName = t.isMemberExpression( callee ) ? callee.property.name : callee.name; | ||
if ( ! functions.hasOwnProperty( funcName ) ) { | ||
if ( ! Object.hasOwn( functions, funcName ) ) { | ||
return; | ||
@@ -56,0 +56,0 @@ } |
34258