From aa0ecfbc6fbdb83a089ca4bfcf2c36a184665b3e Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 9 Apr 2022 19:53:51 +0530 Subject: [PATCH] Add support for mcrypt using shivammathur/extensions tap on macOS --- dist/index.js | 2 +- src/extensions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 94b2337c..a1689d2c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -244,7 +244,7 @@ async function addExtensionDarwin(extension_csv, version) { ' ' + ext_prefix; return; - case /(5\.6|7\.[0-4]|8.0)(amqp|expect|grpc|igbinary|imagick|imap|mongodb|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|ssh2|swoole|xdebug|xdebug2|yaml|zmq)/.test(version_extension): + case /(5\.6|7\.[0-4]|8.0)(amqp|expect|grpc|igbinary|imagick|imap|mcrypt|mongodb|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|ssh2|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): case /(7\.[0-4]|8\.0])vips/.test(version_extension): diff --git a/src/extensions.ts b/src/extensions.ts index d5dcce61..390273b4 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -33,7 +33,7 @@ export async function addExtensionDarwin( // match 5.6 to 8.0 amqp, expect, grpc, igbinary, imagick, imap, mongodb, msgpack, pecl_http, propro, protobuf, raphf, rdkafka, redis, ssh2, swoole, xdebug, xdebug2, yaml, zmq // match 7.1pcov to 8.0pcov // match 7.0vips to 8.0vips - case /(5\.6|7\.[0-4]|8.0)(amqp|expect|grpc|igbinary|imagick|imap|mongodb|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|ssh2|swoole|xdebug|xdebug2|yaml|zmq)/.test( + case /(5\.6|7\.[0-4]|8.0)(amqp|expect|grpc|igbinary|imagick|imap|mcrypt|mongodb|msgpack|^(pecl_)?http$|propro|protobuf|psr|raphf|rdkafka|redis|ssh2|swoole|xdebug|xdebug2|yaml|zmq)/.test( version_extension ): case /(7\.[1-4]|8\.0])pcov/.test(version_extension):