[Security Solution] Disable v2 transform names (#180383)

This commit is contained in:
Dan Panzarella 2024-04-09 12:05:02 -04:00 committed by GitHub
parent 15dea75d52
commit c3c9df690c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,10 +5,10 @@
* 2.0.
*/
import semverLte from 'semver/functions/lte';
// import semverLte from 'semver/functions/lte';
// switch to "v2" logic
const MIN_ENDPOINT_PACKAGE_V2_VERSION = '8.14.0-prerelease.1';
// const MIN_ENDPOINT_PACKAGE_V2_VERSION = '8.14.0-prerelease.1';
export function isEndpointPackageV2(version: string) {
return semverLte(MIN_ENDPOINT_PACKAGE_V2_VERSION, version);
return false;
}