🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

greenlock

Package Overview
Dependencies
Maintainers
3
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greenlock - npm Package Compare versions

Comparing version
3.1.5
to
4.0.1
+5
-6
package.json
{
"name": "greenlock",
"version": "3.1.5",
"version": "4.0.1",
"description": "The easiest Let's Encrypt client for Node.js and Browsers",

@@ -39,13 +39,12 @@ "homepage": "https://rootprojects.org/greenlock/",

"dependencies": {
"@greenlock/manager": "^3.0.0",
"@greenlock/manager": "^3.1.0",
"@root/acme": "^3.0.8",
"@root/csr": "^0.8.1",
"@root/greenlock": "^3.1.5",
"@root/greenlock": "^4.0.1",
"@root/keypairs": "^0.9.0",
"@root/mkdirp": "^1.0.0",
"@root/request": "^1.3.10",
"@root/request": "^1.4.2",
"acme-http-01-standalone": "^3.0.5",
"cert-info": "^1.5.1",
"greenlock-manager-fs": "^3.0.5",
"greenlock-store-fs": "^3.2.0",
"greenlock-store-fs": "^3.2.2",
"safe-replace": "^1.1.0"

@@ -52,0 +51,0 @@ },

@@ -1,5 +0,3 @@

# New Documentation & [v2/v3 Migration Guide](https://git.rootprojects.orggreenlock.js/src/branch/v3/MIGRATION_GUIDE_V2_V3.md)
# New Documentation & [v4 Migration Guide](https://git.rootprojects.orggreenlock.js/src/branch/master/MIGRATION_GUIDE.md)
Greenlock v3 was just released from private beta **today** (Nov 1st, 2019).
We're still working on the full documentation for this new version,

@@ -9,3 +7,3 @@ so please be patient.

To start, check out the
[Migration Guide](https://git.rootprojects.orggreenlock.js/src/branch/v3/MIGRATION_GUIDE_V2_V3.md).
[Migration Guide](https://git.rootprojects.orggreenlock.js/src/branch/master/MIGRATION_GUIDE.md).

@@ -89,8 +87,6 @@ !["Greenlock Logo"](https://git.rootprojects.orggreenlock.js/raw/branch/master/logo/greenlock-1063x250.png 'Greenlock lock logo and work mark')

var greenlock = Greenlock.create({
configDir: './greenlock.d/config.json',
packageAgent: pkg.name + '/' + pkg.version,
maintainerEmail: pkg.author,
staging: true,
manager: require('greenlock-manager-fs').create({
configFile: '~/.config/greenlock/manager.json'
}),
notify: function(event, details) {

@@ -176,3 +172,3 @@ if ('error' === event) {

<details>
<summary>Greenlock.create({ packageAgent, maintainerEmail, staging })</summary>
<summary>Greenlock.create({ configDir, packageAgent, maintainerEmail, staging })</summary>

@@ -187,2 +183,4 @@ ## Greenlock.create()

var gl = Greenlock.create({
configDir: './greenlock.d/config.json',
// Staging for testing environments

@@ -194,2 +192,3 @@ staging: true,

maintainerEmail: 'jon@example.com',
// for an RFC 8555 / RFC 7231 ACME client user agent

@@ -202,2 +201,3 @@ packageAgent: pkg.name + '/' pkg.version

| --------------- | ------------------------------------------------------------------------------------ |
| configDir | the directory to use for file-based plugins |
| maintainerEmail | the developer contact for critical bug and security notifications |

@@ -204,0 +204,0 @@ | packageAgent | if you publish your package for others to use, `require('./package.json').name` here |