mirror of
				https://github.com/therootcompany/greenlock.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	Backwards compatibility madness.
When you Greenlock.create({ }), challenges will be set by default if
not available.  This is good... ish.
When you approveDomains() and set opts.challenges, however, those must
be able to override the defaults.
This was just recently broken and the fix seems to be to make the prior
defaults inaccessible, otherwise it becomes really confusing as to why
a set DNS challenge for local, wild, or private domains is not being
preferred to the (failing) http.
All this crap will be cleaned up in v3...
		
	
			
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "name": "greenlock",
 | |
|   "version": "2.8.0",
 | |
|   "description": "Greenlock is Let's Encrypt (ACME) client for node.js",
 | |
|   "homepage": "https://greenlock.domains/",
 | |
|   "main": "index.js",
 | |
|   "files": [
 | |
|     "lib"
 | |
|   ],
 | |
|   "scripts": {
 | |
|     "test": "echo \"Error: no test specified\" && exit 1"
 | |
|   },
 | |
|   "repository": {
 | |
|     "type": "git",
 | |
|     "url": "https://git.rootprojects.org/root/greenlock.js.git"
 | |
|   },
 | |
|   "keywords": [
 | |
|     "Let's Encrypt",
 | |
|     "letsencrypt",
 | |
|     "ACME",
 | |
|     "v2",
 | |
|     "auto-sni",
 | |
|     "Free SSL",
 | |
|     "Automated HTTPS",
 | |
|     "tls",
 | |
|     "https"
 | |
|   ],
 | |
|   "author": "AJ ONeal <solderjs@gmail.com> (https://solderjs.com/)",
 | |
|   "license": "MPL-2.0",
 | |
|   "bugs": {
 | |
|     "url": "https://git.rootprojects.org/root/greenlock.js/issues"
 | |
|   },
 | |
|   "trulyOptionalDependencies": {
 | |
|     "bluebird": "^3.5.1",
 | |
|     "le-acme-core": "^2.1.3"
 | |
|   },
 | |
|   "dependencies": {
 | |
|     "acme": "^1.3.0",
 | |
|     "acme-dns-01-cli": "^3.0.0",
 | |
|     "acme-v2": "^1.8.1",
 | |
|     "cert-info": "^1.5.1",
 | |
|     "greenlock-store-fs": "^3.0.2",
 | |
|     "keypairs": "^1.2.14",
 | |
|     "le-challenge-fs": "^2.0.2",
 | |
|     "le-sni-auto": "^2.1.9",
 | |
|     "le-store-certbot": "^2.2.3",
 | |
|     "rsa-compat": "^2.0.8"
 | |
|   },
 | |
|   "engines": {
 | |
|     "node": ">=4.5"
 | |
|   }
 | |
| }
 |