Comparing version 0.1.0 to 0.1.1
@@ -6,3 +6,3 @@ // Generated by CoffeeScript 1.12.2 | ||
*/ | ||
var all, asn1, crypto, der, e, forge, pki, seen, sha1; | ||
var all, asn1, crypto, der, each, forge, pki, seen, sha1; | ||
@@ -17,3 +17,3 @@ crypto = require('crypto'); | ||
e = require('./enum'); | ||
each = require('./each'); | ||
@@ -32,3 +32,3 @@ module.exports = all = []; | ||
e(function(crt) { | ||
each(function(crt) { | ||
var z; | ||
@@ -35,0 +35,0 @@ if (seen[z = sha1(der(crt))]) { |
// Generated by CoffeeScript 1.12.2 | ||
require('./format.oids'); | ||
this.all = require('./all'); | ||
this.all = function() { | ||
return require('./all'); | ||
}; | ||
require('./inject'); | ||
require('./save'); | ||
this.path = require('./save').path; | ||
this.each = require('./each'); |
@@ -22,3 +22,3 @@ // Generated by CoffeeScript 1.12.2 | ||
dst = path.join(__dirname, '../pem'); | ||
exports.path = dst = path.join(__dirname, '../pem'); | ||
@@ -36,3 +36,3 @@ hex = function(hash) { | ||
var drop, hashes, list, name, names, save; | ||
process.env.SSL_CERT_DIR = exports.path = dst; | ||
process.env.SSL_CERT_DIR = dst; | ||
list = all.slice(); | ||
@@ -39,0 +39,0 @@ hashes = {}; |
{ | ||
"name": "win-ca-ffi", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Get Windows System Root certificates", | ||
@@ -15,2 +15,3 @@ "os": [ | ||
"prepublish": "coffee build", | ||
"postinstall": "node -e \"try{require('.')}catch(e){}\"", | ||
"test": "coffee test" | ||
@@ -17,0 +18,0 @@ }, |
# win-ca | ||
[![Build status](https://ci.appveyor.com/api/projects/status/e6xhpp9d7aml95j2?svg=true)](https://ci.appveyor.com/project/ukoloff/win-ca) | ||
[![NPM version](https://badge.fury.io/js/win-ca.svg)](http://badge.fury.io/js/win-ca) | ||
Get Windows System Root certificates | ||
## Usage | ||
Just say `npm install --save win-ca` and then call `require 'win-ca'`. | ||
It is safe to use it under other OSes (not M$ Windows). | ||
## Building | ||
- npm install | ||
- npm test | ||
- npm publish | ||
- cd top | ||
- npm publish | ||
Uses [node-forge][] | ||
@@ -8,0 +23,0 @@ and [node-ffi][]. |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
11408
348
30
1