Socket
Socket
Sign inDemoInstall

@localhapp/cert-info

Package Overview
Dependencies
4
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

8

index.js

@@ -37,11 +37,11 @@ import certInfo from 'cert-info';

}
const refreshCert = () => {
const refreshCertInfo = () => {
try {
CERT = fs.readFileSync(path.join(DIR, 'cert.pem')).toString();
} catch (e) {
console.log(e);
console.log(`${kleur.red(figures.cross)} Oops: ${kleur.red("No")} certificate`);
}
}
refreshCert();
refreshCertInfo();

@@ -51,3 +51,3 @@ export {

getCertJson,
refreshCert
refreshCertInfo
}
{
"name": "@localhapp/cert-info",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc