Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prisma/get-platform

Package Overview
Dependencies
Maintainers
4
Versions
7833
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prisma/get-platform - npm Package Compare versions

Comparing version 0.1.26 to 0.1.27

6

dist/getPlatform.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc