From d6f700217a8b31d08d02d6a445cc664babab8c4e Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 14 Dec 2020 14:14:49 +0530 Subject: [PATCH] Fix comments in extensions.ts --- dist/index.js | 20 +++++++++----------- src/extensions.ts | 20 +++++++++----------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/dist/index.js b/dist/index.js index 138d8773..90600d3f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2871,11 +2871,10 @@ async function addExtensionDarwin(extension_csv, version) { case /^:/.test(ext_name): remove_script += '\nremove_extension ' + ext_name.slice(1); return; - // match 5.3blackfire...5.6blackfire, 7.0blackfire...7.4blackfire - // match 5.3blackfire-(semver)...5.6blackfire-(semver), 7.0blackfire-(semver)...7.4blackfire-(semver) + // match 5.3blackfire...8.0blackfire + // match 5.3blackfire-(semver)...8.0blackfire-(semver) // match pdo_oci and oci8 - // match 5.3ioncube...7.4ioncube, 7.0ioncube...7.4ioncube - // match 5.3geos...7.4geos, 7.0geos...7.4geos + // match 5.3ioncube...7.4ioncube, 5.3geos...7.4geos // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 // match 5.6couchbase...7.4couchbase case /^(5\.[3-6]|7\.[0-4]|8\.0)blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension): @@ -2940,10 +2939,10 @@ async function addExtensionWindows(extension_csv, version) { case /^:/.test(ext_name): remove_script += '\nRemove-Extension ' + ext_name.slice(1); break; - // match 5.3blackfire...5.6blackfire, 7.0blackfire...7.4blackfire - // match 5.3blackfire-(semver)...5.6blackfire-(semver), 7.0blackfire-(semver)...7.4blackfire-(semver) + // match 5.3blackfire...8.0blackfire + // match 5.3blackfire-(semver)...8.0blackfire-(semver) // match pdo_oci and oci8 - // match 5.3ioncube...7.4ioncube, 7.0ioncube...7.4ioncube + // match 5.3ioncube...7.4ioncube // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 case /^(5\.[3-6]|7\.[0-4]|8\.0)blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension): case /^pdo_oci$|^oci8$/.test(extension): @@ -3016,12 +3015,11 @@ async function addExtensionLinux(extension_csv, version) { case /^:/.test(ext_name): remove_script += '\nremove_extension ' + ext_name.slice(1); return; - // match 5.3blackfire...5.6blackfire, 7.0blackfire...7.4blackfire - // match 5.3blackfire-(semver)...5.6blackfire-(semver), 7.0blackfire-(semver)...7.4blackfire-(semver) + // match 5.3blackfire...8.0blackfire + // match 5.3blackfire-(semver)...8.0blackfire-(semver) // match 5.3pdo_cubrid...7.2php_cubrid, 5.3cubrid...7.4cubrid // match pdo_oci and oci8 - // match 5.3ioncube...7.4ioncube, 7.0ioncube...7.4ioncube - // match 5.3geos...7.4geos, 7.0geos...7.4geos + // match 5.3ioncube...7.4ioncube, 5.3geos...7.4geos // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 // match 5.6gearman...7.4gearman, 5.6couchbase...7.4couchbase case /^(5\.[3-6]|7\.[0-4]|8\.0)blackfire(-\d+\.\d+\.\d+)?$/.test(version_extension): diff --git a/src/extensions.ts b/src/extensions.ts index 6e11da1f..20f60007 100644 --- a/src/extensions.ts +++ b/src/extensions.ts @@ -22,11 +22,10 @@ export async function addExtensionDarwin( case /^:/.test(ext_name): remove_script += '\nremove_extension ' + ext_name.slice(1); return; - // match 5.3blackfire...5.6blackfire, 7.0blackfire...7.4blackfire - // match 5.3blackfire-(semver)...5.6blackfire-(semver), 7.0blackfire-(semver)...7.4blackfire-(semver) + // match 5.3blackfire...8.0blackfire + // match 5.3blackfire-(semver)...8.0blackfire-(semver) // match pdo_oci and oci8 - // match 5.3ioncube...7.4ioncube, 7.0ioncube...7.4ioncube - // match 5.3geos...7.4geos, 7.0geos...7.4geos + // match 5.3ioncube...7.4ioncube, 5.3geos...7.4geos // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 // match 5.6couchbase...7.4couchbase case /^(5\.[3-6]|7\.[0-4]|8\.0)blackfire(-\d+\.\d+\.\d+)?$/.test( @@ -121,10 +120,10 @@ export async function addExtensionWindows( case /^:/.test(ext_name): remove_script += '\nRemove-Extension ' + ext_name.slice(1); break; - // match 5.3blackfire...5.6blackfire, 7.0blackfire...7.4blackfire - // match 5.3blackfire-(semver)...5.6blackfire-(semver), 7.0blackfire-(semver)...7.4blackfire-(semver) + // match 5.3blackfire...8.0blackfire + // match 5.3blackfire-(semver)...8.0blackfire-(semver) // match pdo_oci and oci8 - // match 5.3ioncube...7.4ioncube, 7.0ioncube...7.4ioncube + // match 5.3ioncube...7.4ioncube // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 case /^(5\.[3-6]|7\.[0-4]|8\.0)blackfire(-\d+\.\d+\.\d+)?$/.test( version_extension @@ -223,12 +222,11 @@ export async function addExtensionLinux( case /^:/.test(ext_name): remove_script += '\nremove_extension ' + ext_name.slice(1); return; - // match 5.3blackfire...5.6blackfire, 7.0blackfire...7.4blackfire - // match 5.3blackfire-(semver)...5.6blackfire-(semver), 7.0blackfire-(semver)...7.4blackfire-(semver) + // match 5.3blackfire...8.0blackfire + // match 5.3blackfire-(semver)...8.0blackfire-(semver) // match 5.3pdo_cubrid...7.2php_cubrid, 5.3cubrid...7.4cubrid // match pdo_oci and oci8 - // match 5.3ioncube...7.4ioncube, 7.0ioncube...7.4ioncube - // match 5.3geos...7.4geos, 7.0geos...7.4geos + // match 5.3ioncube...7.4ioncube, 5.3geos...7.4geos // match 7.0phalcon3...7.3phalcon3 and 7.2phalcon4...7.4phalcon4 // match 5.6gearman...7.4gearman, 5.6couchbase...7.4couchbase case /^(5\.[3-6]|7\.[0-4]|8\.0)blackfire(-\d+\.\d+\.\d+)?$/.test(