Socket
Socket
Sign inDemoInstall

win-ca

Package Overview
Dependencies
6
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.1 to 3.2.0

16

lib/der2.js

@@ -51,6 +51,4 @@ // Generated by LiveScript 1.6.0

function txt(it){
var self, crt, d;
self = require('../package');
var crt;
crt = asn1(it);
d = new Date;
return "Subject\t" + crt.subject.value.map(function(it){

@@ -60,3 +58,3 @@ return it.value[0].value[1].value;

return it.value;
}).join(' - ') + "\nSaved\t" + formatDate(d) + " " + d.toTimeString().replace(/\s*\(.*?\)\s*/, '') + " by " + self.name + "@" + self.version + "\n" + pem(it);
}).join(' - ') + "\n" + pem(it);
}

@@ -82,12 +80,2 @@ function asn1(it){

it.toString('binary')));
}
function formatDate(date){
return date.getFullYear() + "-" + f02(date.getMonth() + 1) + "-" + f02(date.getDate());
}
function f02(num){
num = num + "";
while (num.length < 2) {
num = "0" + num;
}
return num;
}

2

lib/fallback.js

@@ -6,3 +6,3 @@ // Generated by LiveScript 1.6.0

split = require('split');
bin = path.join(__dirname, 'roots.exe');
bin = path.join(__dirname, 'roots');
out$.sync = sync;

@@ -9,0 +9,0 @@ function sync(args){

{
"name": "win-ca",
"version": "3.1.1",
"version": "3.2.0",
"description": "Get Windows System Root certificates",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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