@jsenv/https-local 3.2.35 → 3.2.36
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/https-local",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.36",
|
|
4
4
|
"description": "A programmatic way to generate locally trusted certificates",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test:start-node-server": "node ./scripts/certificate/start_node_server.mjs"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@jsenv/filesystem": "4.15.
|
|
37
|
+
"@jsenv/filesystem": "4.15.7",
|
|
38
38
|
"@jsenv/humanize": "1.6.0",
|
|
39
39
|
"@jsenv/urls": "2.9.1",
|
|
40
40
|
"command-exists": "1.2.9",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@jsenv/assert": "../assert",
|
|
47
47
|
"@jsenv/https-local": "./",
|
|
48
48
|
"@jsenv/performance-impact": "../performance-impact",
|
|
49
|
-
"playwright": "1.
|
|
49
|
+
"playwright": "1.56.1"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=20.0.0"
|
|
@@ -85,7 +85,6 @@ npx @jsenv/https-local install --trust`,
|
|
|
85
85
|
logger.debug(`Generating server certificate...`);
|
|
86
86
|
const { certificateForgeObject, certificatePrivateKeyForgeObject } =
|
|
87
87
|
requestCertificateFromAuthority({
|
|
88
|
-
logger,
|
|
89
88
|
authorityCertificateForgeObject: rootCertificateForgeObject,
|
|
90
89
|
auhtorityCertificatePrivateKeyForgeObject:
|
|
91
90
|
rootCertificatePrivateKeyForgeObject,
|
package/src/https_local_cli.mjs
CHANGED
|
@@ -55,7 +55,7 @@ const commandHandlers = {
|
|
|
55
55
|
ipMappings: {
|
|
56
56
|
"127.0.0.1": ["localhost"],
|
|
57
57
|
},
|
|
58
|
-
|
|
58
|
+
tryToUpdateHostsFile: true,
|
|
59
59
|
});
|
|
60
60
|
},
|
|
61
61
|
install: async ({ trust }) => {
|
|
@@ -74,7 +74,7 @@ const commandHandlers = {
|
|
|
74
74
|
ipMappings: {
|
|
75
75
|
"127.0.0.1": ["localhost"],
|
|
76
76
|
},
|
|
77
|
-
|
|
77
|
+
tryToUpdateHostsFile: true,
|
|
78
78
|
});
|
|
79
79
|
},
|
|
80
80
|
};
|
package/src/internal/mac/mac.js
CHANGED
|
@@ -14,7 +14,6 @@ export const executeTrustQuery = async ({
|
|
|
14
14
|
certificateCommonName,
|
|
15
15
|
certificateFileUrl,
|
|
16
16
|
certificateIsNew,
|
|
17
|
-
certificate,
|
|
18
17
|
verb,
|
|
19
18
|
}) => {
|
|
20
19
|
const windowsTrustInfo = await executeTrustQueryOnWindows({
|
|
@@ -22,7 +21,6 @@ export const executeTrustQuery = async ({
|
|
|
22
21
|
certificateCommonName,
|
|
23
22
|
certificateFileUrl,
|
|
24
23
|
certificateIsNew,
|
|
25
|
-
certificate,
|
|
26
24
|
verb,
|
|
27
25
|
});
|
|
28
26
|
|