@prisma/get-platform
Advanced tools
Comparing version 0.1.26 to 0.1.27
@@ -32,5 +32,5 @@ "use strict"; | ||
const idMatch = input.match(idRegex); | ||
const id = (idMatch && idMatch[1] && idMatch[1].toLowerCase()) || ""; | ||
const id = (idMatch && idMatch[1] && idMatch[1].toLowerCase()) || ''; | ||
const idLikeMatch = input.match(idLikeRegex); | ||
const idLike = (idLikeMatch && idLikeMatch[1] && idLikeMatch[1].toLowerCase()) || ""; | ||
const idLike = (idLikeMatch && idLikeMatch[1] && idLikeMatch[1].toLowerCase()) || ''; | ||
if (idLike.includes('centos') || | ||
@@ -125,3 +125,3 @@ idLike.includes('fedora') || | ||
if (distro) { | ||
return (distro + 'debian-openssl-1.1.x'); | ||
return (distro + '-openssl-1.1.x'); | ||
} | ||
@@ -128,0 +128,0 @@ // use the debian build with OpenSSL 1.1 as a last resort |
{ | ||
"name": "@prisma/get-platform", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15481