diff --git a/__tests__/extensions.test.ts b/__tests__/extensions.test.ts index 4f9b5422..eacb91f9 100644 --- a/__tests__/extensions.test.ts +++ b/__tests__/extensions.test.ts @@ -56,6 +56,7 @@ describe('Extension tests', () => { ${'pdo_cubrid'} | ${'7.4'} | ${'add_pdo_extension cubrid'} ${'pdo_mysql'} | ${'7.4'} | ${'add_pdo_extension mysql'} ${'pdo_oci'} | ${'7.3'} | ${'add_oci pdo_oci'} + ${'pdo_sqlsrv'} | ${'7.4'} | ${'add_sqlsrv pdo_sqlsrv'} ${'pecl_http'} | ${'7.3'} | ${'add_http'} ${'phalcon3'} | ${'7.3'} | ${'add_phalcon phalcon3'} ${'sqlite'} | ${'7.4'} | ${'add_extension sqlite3'} @@ -92,6 +93,7 @@ describe('Extension tests', () => { ${'pdo_oci'} | ${'7.3'} | ${'add_oci pdo_oci'} ${'pecl_http'} | ${'7.3'} | ${'add_http'} ${'sqlite'} | ${'7.2'} | ${'add_extension sqlite3'} + ${'sqlsrv'} | ${'7.3'} | ${'add_sqlsrv sqlsrv'} `( 'checking addExtensionOnDarwin for extension $extension on version $version', async ({extension, version, output}) => { diff --git a/dist/index.js b/dist/index.js index 1fca2f32..080037e4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -234,6 +234,7 @@ async function addExtensionDarwin(extension_csv, version) { case /^couchbase$|^geos$|^pdo_oci$|^oci8$|^(pecl_)?http|^pdo_firebird$/.test(extension): case /^(5\.[3-6]|7\.[0-4])ioncube$/.test(version_extension): case /(5\.6|7\.[0-3])phalcon3|7\.[2-4]phalcon4/.test(version_extension): + case /(?