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

win-ca-ffi

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

win-ca-ffi - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

lib/each.js

6

lib/all.js

@@ -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][].

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