win-ca
Advanced tools
Comparing version 3.1.1 to 3.2.0
@@ -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; | ||
} |
@@ -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
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
316258
3
20
678