acme-client
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -1,7 +0,11 @@ | ||
**Notice:** [On November 1st, 2020 Let's Encrypt will remove support for unauthenticated GETs from the v2 API](https://community.letsencrypt.org/t/acme-v2-scheduled-deprecation-of-unauthenticated-resource-gets/74380). Please update to `acme-client >= v3.2.0` or `>= v2.3.1` before this date to avoid being affected by this API change. | ||
# Changelog | ||
## v4.0.2 (2020-10-09) | ||
* `fixed` Explicitly set default `axios` HTTP adapter - [axios/axios#1180](https://github.com/axios/axios/issues/1180) | ||
## v4.0.1 (2020-09-15) | ||
* `fixed` Upgrade dependencies to latest | ||
* `fixed` Upgrade `node-forge@0.10.0` - [CVE-2020-7720](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7720) | ||
@@ -8,0 +12,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "nmorsman", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"main": "src/index.js", | ||
@@ -19,3 +19,3 @@ "types": "types", | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"axios": "0.19.2", | ||
"backo2": "^1.0.0", | ||
@@ -22,0 +22,0 @@ "bluebird": "^3.5.0", |
@@ -94,3 +94,3 @@ /** | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#account-creation | ||
* https://tools.ietf.org/html/rfc8555#section-7.3 | ||
* | ||
@@ -116,3 +116,3 @@ * @param {object} data Request payload | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#account-update | ||
* https://tools.ietf.org/html/rfc8555#section-7.3.2 | ||
* | ||
@@ -131,3 +131,3 @@ * @param {object} data Request payload | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#account-key-roll-over | ||
* https://tools.ietf.org/html/rfc8555#section-7.3.5 | ||
* | ||
@@ -146,3 +146,3 @@ * @param {object} data Request payload | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#applying-for-certificate-issuance | ||
* https://tools.ietf.org/html/rfc8555#section-7.4 | ||
* | ||
@@ -161,3 +161,3 @@ * @param {object} data Request payload | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#applying-for-certificate-issuance | ||
* https://tools.ietf.org/html/rfc8555#section-7.4 | ||
* | ||
@@ -177,3 +177,3 @@ * @param {string} url Finalization URL | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#identifier-authorization | ||
* https://tools.ietf.org/html/rfc8555#section-7.5 | ||
* | ||
@@ -192,3 +192,3 @@ * @param {string} url Authorization URL | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#deactivating-an-authorization | ||
* https://tools.ietf.org/html/rfc8555#section-7.5.2 | ||
* | ||
@@ -208,3 +208,3 @@ * @param {string} url Authorization URL | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#responding-to-challenges | ||
* https://tools.ietf.org/html/rfc8555#section-7.5.1 | ||
* | ||
@@ -224,3 +224,3 @@ * @param {string} url Challenge URL | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#certificate-revocation | ||
* https://tools.ietf.org/html/rfc8555#section-7.6 | ||
* | ||
@@ -227,0 +227,0 @@ * @param {object} data Request payload |
@@ -6,2 +6,3 @@ /** | ||
const axios = require('axios'); | ||
const adapter = require('axios/lib/adapters/http'); | ||
const pkg = require('./../package.json'); | ||
@@ -27,2 +28,12 @@ | ||
/** | ||
* Explicitly set Node as default HTTP adapter | ||
* | ||
* https://github.com/axios/axios/issues/1180 | ||
* https://stackoverflow.com/questions/42677387 | ||
*/ | ||
instance.defaults.adapter = adapter; | ||
/** | ||
* Export instance | ||
@@ -29,0 +40,0 @@ */ |
@@ -88,3 +88,3 @@ /** | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#account-creation | ||
* https://tools.ietf.org/html/rfc8555#section-7.3 | ||
* | ||
@@ -120,3 +120,3 @@ * @param {object} [data] Request data | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#account-update | ||
* https://tools.ietf.org/html/rfc8555#section-7.3.2 | ||
* | ||
@@ -154,3 +154,3 @@ * @param {object} [data] Request data | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#account-key-roll-over | ||
* https://tools.ietf.org/html/rfc8555#section-7.3.5 | ||
* | ||
@@ -198,3 +198,3 @@ * @param {buffer|string} newAccountKey New PEM encoded private key | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#applying-for-certificate-issuance | ||
* https://tools.ietf.org/html/rfc8555#section-7.4 | ||
* | ||
@@ -221,3 +221,3 @@ * @param {object} data Request data | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#applying-for-certificate-issuance | ||
* https://tools.ietf.org/html/rfc8555#section-7.4 | ||
* | ||
@@ -249,3 +249,3 @@ * @param {object} order Order object | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#identifier-authorization | ||
* https://tools.ietf.org/html/rfc8555#section-7.5 | ||
* | ||
@@ -270,3 +270,3 @@ * @param {object} order Order | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#deactivating-an-authorization | ||
* https://tools.ietf.org/html/rfc8555#section-7.5.2 | ||
* | ||
@@ -294,3 +294,3 @@ * @param {object} authz Identifier authorization | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#key-authorizations | ||
* https://tools.ietf.org/html/rfc8555#section-8.1 | ||
* | ||
@@ -308,3 +308,3 @@ * @param {object} challenge Challenge object returned by API | ||
/** | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#http-challenge | ||
* https://tools.ietf.org/html/rfc8555#section-8.3 | ||
*/ | ||
@@ -317,3 +317,3 @@ | ||
/** | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#dns-challenge | ||
* https://tools.ietf.org/html/rfc8555#section-8.4 | ||
* https://tools.ietf.org/html/draft-ietf-acme-tls-alpn-01 | ||
@@ -362,3 +362,3 @@ */ | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#responding-to-challenges | ||
* https://tools.ietf.org/html/rfc8555#section-7.5.1 | ||
* | ||
@@ -378,3 +378,3 @@ * @param {object} challenge Challenge object returned by API | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#responding-to-challenges | ||
* https://tools.ietf.org/html/rfc8555#section-7.5.1 | ||
* | ||
@@ -418,3 +418,3 @@ * @param {object} item An order, authorization or challenge object | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#downloading-the-certificate | ||
* https://tools.ietf.org/html/rfc8555#section-7.4.2 | ||
* | ||
@@ -442,3 +442,3 @@ * @param {object} order Order object | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#certificate-revocation | ||
* https://tools.ietf.org/html/rfc8555#section-7.6 | ||
* | ||
@@ -445,0 +445,0 @@ * @param {buffer|string} cert PEM encoded certificate |
@@ -64,3 +64,3 @@ /** | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#directory | ||
* https://tools.ietf.org/html/rfc8555#section-7.1.1 | ||
* | ||
@@ -105,3 +105,3 @@ * @returns {Promise} | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#getting-a-nonce | ||
* https://tools.ietf.org/html/rfc8555#section-7.2 | ||
* | ||
@@ -206,3 +206,3 @@ * @returns {Promise<string>} nonce | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#request-authentication | ||
* https://tools.ietf.org/html/rfc8555#section-6.2 | ||
* | ||
@@ -209,0 +209,0 @@ * @param {string} url Request URL |
@@ -14,3 +14,3 @@ /** | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#http-challenge | ||
* https://tools.ietf.org/html/rfc8555#section-8.3 | ||
* | ||
@@ -46,3 +46,3 @@ * @param {object} authz Identifier authorization | ||
* | ||
* https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md#dns-challenge | ||
* https://tools.ietf.org/html/rfc8555#section-8.4 | ||
* | ||
@@ -49,0 +49,0 @@ * @param {object} authz Identifier authorization |
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
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
1608
66052
Updatedaxios@0.19.2