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

@root/greenlock

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@root/greenlock - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

20

bin/greenlock.js

@@ -8,10 +8,16 @@ #!/usr/bin/env node

var found = ['certonly', 'add', 'update', 'config', 'defaults', 'remove', 'init'].some(
function(k) {
if (k === arg0) {
require('./' + k);
return true;
}
var found = [
'certonly',
'add',
'update',
'config',
'defaults',
'remove',
'init'
].some(function(k) {
if (k === arg0) {
require('./' + k);
return true;
}
);
});

@@ -18,0 +24,0 @@ if (!found) {

@@ -39,2 +39,5 @@ 'use strict';

try {
if ('.' === String(manager)[0]) {
manager = require('path').resolve(pkgRoot, manager);
}
P._loadSync(manager);

@@ -41,0 +44,0 @@ } catch (e) {

@@ -15,3 +15,3 @@ 'use strict';

var mega = mergeManager(gconf);
var mega = mergeManager(greenlock, gconf);

@@ -23,2 +23,14 @@ greenlock.manager = {};

greenlock.manager._modulename = gconf.manager.module;
if ('/' === String(gconf.manager.module)[0]) {
greenlock.manager._modulename = require('path').relative(
gconf.packageRoot,
greenlock.manager._modulename
);
if ('.' !== String(greenlock.manager._modulename)[0]) {
greenlock.manager._modulename =
'./' + greenlock.manager._modulename;
}
}
var allowed = [

@@ -414,2 +426,3 @@ 'accountKeyType', //: ["P-256", "RSA-2048"],

*/
try {

@@ -437,3 +450,3 @@ // wrap this to be safe for @greenlock/manager

function mergeManager(gconf) {
function mergeManager(greenlock, gconf) {
var mng;

@@ -561,2 +574,17 @@ function m() {

if (!mega.find) {
mega._nofind = false;
mega.find = async function(opts) {
if (!mega._nofind) {
console.warn(
'Warning: manager `' +
greenlock.manager._modulename +
'` does not implement `find({})`\n'
);
mega._nofind = true;
}
return [];
};
}
if (!mega.get) {

@@ -563,0 +591,0 @@ mega.get = function(opts) {

{
"name": "@root/greenlock",
"version": "4.0.3",
"version": "4.0.4",
"description": "The easiest Let's Encrypt client for Node.js and Browsers",

@@ -5,0 +5,0 @@ "homepage": "https://rootprojects.org/greenlock/",

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