@small-tech/https 3.1.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -12
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -4,9 +4,9 @@ A drop-in standard Node.js HTTPS module replacement with both automatic developm
4
4
 
5
5
  Simply replace Node’s `https` module with `@small-tech/https` and get:
6
6
 
7
- - Automatically-provisioned TLS certificates at localhost with no browser warnings via [mkcert](https://github.com/FiloSottile/mkcert).
8
- - Automatically-provisioned TLS certificates at hostname via [Let’s Encrypt](https://letsencrypt.org/).
9
- - Automatic HTTP to HTTPS forwarding at hostname.
7
+ - Automatically-provisioned TLS certificates at localhost with no browser warnings via [mkcert](https://github.com/FiloSottile/mkcert).
8
+ - Automatically-provisioned TLS certificates at hostname via [Let’s Encrypt](https://letsencrypt.org/).
9
+ - Automatic HTTP to HTTPS forwarding at hostname.
10
10
 
11
11
  That’s it.
12
12
 
@@ -14,6 +14,14 @@ This is basically a batteries-included version of the standard Node.js `https` m
14
14
 
15
15
  ___Note:__ This is a standard ECMAScript Modules (ESM; es6 modules) project. If you need to use legacy CommonJS, [please see the 2.x branch](https://github.com/small-tech/https/tree/2.x) which is currently still being maintained._
16
16
 
17
+ ## Compatibility
18
+
19
+ - Version 4.x: Node 18.2 LTS+
20
+
21
+ - Version 3.x: Node 16 LTS
22
+
23
+ - Version 2.x: CJS, Node 16 LTS
24
+
17
25
  ## Like this? Fund us!
18
26
 
19
27
  [Small Technology Foundation](https://small-tech.org) is a tiny, independent not-for-profit.
@@ -30,9 +38,9 @@ If you’re evaluating this for a “startup” or an enterprise, let us save yo
30
38
 
31
39
  Tested and supported on:
32
40
 
33
- - Linux (tested with elementary OS 5.x/Hera)
34
- - macOS (tested on Big Sur)
35
- - Windows 10 (tested in Windows Terminal with PowerShell)
41
+ - Linux (tested with elementary OS 5.x/Hera)
42
+ - macOS (tested on Big Sur)
43
+ - Windows 10 (tested in Windows Terminal with PowerShell)
36
44
 
37
45
  (WSL is not supported for certificates at localhost unless you’re running your browser under WSL also).
38
46
 
@@ -126,15 +134,15 @@ Lower-level:
126
134
 
127
135
  ### Auto Encrypt
128
136
 
129
- - Source: https://source.small-tech.org/site.js/lib/auto-encrypt
130
- - Package: [@small-tech/auto-encrypt](https://www.npmjs.com/package/@small-tech/auto-encrypt)
137
+ - Source: https://source.small-tech.org/site.js/lib/auto-encrypt
138
+ - Package: [@small-tech/auto-encrypt](https://www.npmjs.com/package/@small-tech/auto-encrypt)
131
139
 
132
140
  Adds automatic provisioning and renewal of [Let’s Encrypt](https://letsencrypt.org) TLS certificates with [OCSP Stapling](https://letsencrypt.org/docs/integration-guide/#implement-ocsp-stapling) to [Node.js](https://nodejs.org) [https](https://nodejs.org/dist/latest-v12.x/docs/api/https.html) servers (including [Express.js](https://expressjs.com/), etc.)
133
141
 
134
142
  ### Auto Encrypt Localhost
135
143
 
136
- - Source: https://source.small-tech.org/site.js/lib/auto-encrypt-localhost
137
- - Package: [@small-tech/auto-encrypt-localhost](https://www.npmjs.com/package/@small-tech/auto-encrypt-localhost)
144
+ - Source: https://source.small-tech.org/site.js/lib/auto-encrypt-localhost
145
+ - Package: [@small-tech/auto-encrypt-localhost](https://www.npmjs.com/package/@small-tech/auto-encrypt-localhost)
138
146
 
139
147
  Automatically provisions and installs locally-trusted TLS certificates for Node.js https servers (including Express.js, etc.) using [mkcert](https://github.com/FiloSottile/mkcert/).
140
148
 
@@ -142,8 +150,8 @@ Higher level:
142
150
 
143
151
  ### Site.js
144
152
 
145
- - Web site: https://sitejs.org
146
- - Source: https://source.small-tech.org/site.js/app
153
+ - Web site: https://sitejs.org
154
+ - Source: https://source.small-tech.org/site.js/app
147
155
 
148
156
  A complete [small technology](https://small-tech.org/about/#small-technology) tool for developing, testing, and deploying a secure static or dynamic personal web site or app with zero configuration.
149
157
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@small-tech/https",
3
- "version": "3.1.0",
3
+ "version": "4.0.0",
4
4
  "description": "A drop-in standard Node.js HTTPS module replacement with both automatic development-time (localhost) certificates via Auto Encrypt Localhost and automatic production certificates via Auto Encrypt.",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "license": "AGPL-3.0-or-later",
48
48
  "dependencies": {
49
- "@small-tech/auto-encrypt": "^3.1.0",
50
- "@small-tech/auto-encrypt-localhost": "^7.0.7",
49
+ "@small-tech/auto-encrypt": "^4.0.0",
50
+ "@small-tech/auto-encrypt-localhost": "^7.2.0",
51
51
  "fs-extra": "^9.0.1"
52
52
  },
53
53
  "devDependencies": {