diff --git a/dist/index.js b/dist/index.js index 9e3e5555..d1733a02 100644 --- a/dist/index.js +++ b/dist/index.js @@ -230,7 +230,7 @@ async function addExtensionDarwin(extension_csv, version) { ' ' + ext_prefix; return; - case /(5\.6|7\.[0-4]|8.0)(amqp|grpc|igbinary|imagick|imap|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|swoole|xdebug|xdebug2|zmq)/.test(version_extension): + case /(5\.6|7\.[0-4]|8.0)(amqp|grpc|igbinary|imagick|imap|mongodb|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|swoole|xdebug|xdebug2|yaml|zmq)/.test(version_extension): case /(7\.[1-4]|8\.0])pcov/.test(version_extension): case /^(5\.6|7\.[0-3])phalcon3$|^7\.[2-4]phalcon4$/.test(version_extension): command = 'add_brew_extension ' + extension_name.replace('pecl_', ''); diff --git a/src/extensions.ts b/src/extensions.ts index 7dd363aa..d0b08cd2 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -30,9 +30,9 @@ export async function addExtensionDarwin( ' ' + ext_prefix; return; - // match 5.6 to 8.0 amqp, grpc, igbinary, imagick, imap, msgpack, pecl_http, propro, protobuf, raphf, rdkafka, redis, swoole, xdebug, xdebug2, zmq + // match 5.6 to 8.0 amqp, grpc, igbinary, imagick, imap, mongodb, msgpack, pecl_http, propro, protobuf, raphf, rdkafka, redis, swoole, xdebug, xdebug2, yaml, zmq // match 7.1pcov to 8.0pcov - case /(5\.6|7\.[0-4]|8.0)(amqp|grpc|igbinary|imagick|imap|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|swoole|xdebug|xdebug2|zmq)/.test( + case /(5\.6|7\.[0-4]|8.0)(amqp|grpc|igbinary|imagick|imap|mongodb|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|swoole|xdebug|xdebug2|yaml|zmq)/.test( version_extension ): case /(7\.[1-4]|8\.0])pcov/.test(version_extension):