@jsenv/https-local 3.2.34 → 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.34",
3
+ "version": "3.2.36",
4
4
  "description": "A programmatic way to generate locally trusted certificates",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,9 +34,9 @@
34
34
  "test:start-node-server": "node ./scripts/certificate/start_node_server.mjs"
35
35
  },
36
36
  "dependencies": {
37
- "@jsenv/filesystem": "4.15.5",
37
+ "@jsenv/filesystem": "4.15.7",
38
38
  "@jsenv/humanize": "1.6.0",
39
- "@jsenv/urls": "2.9.0",
39
+ "@jsenv/urls": "2.9.1",
40
40
  "command-exists": "1.2.9",
41
41
  "node-forge": "1.3.1",
42
42
  "sudo-prompt": "9.2.1",
@@ -46,7 +46,7 @@
46
46
  "@jsenv/assert": "../assert",
47
47
  "@jsenv/https-local": "./",
48
48
  "@jsenv/performance-impact": "../performance-impact",
49
- "playwright": "1.52.0"
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,
@@ -55,7 +55,7 @@ const commandHandlers = {
55
55
  ipMappings: {
56
56
  "127.0.0.1": ["localhost"],
57
57
  },
58
- tryToUpdatesHostsFile: true,
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
- tryToUpdatesHostsFile: true,
77
+ tryToUpdateHostsFile: true,
78
78
  });
79
79
  },
80
80
  };
@@ -13,7 +13,6 @@ export const executeTrustQuery = async ({
13
13
  }) => {
14
14
  const linuxTrustInfo = await executeTrustQueryOnLinux({
15
15
  logger,
16
- certificateCommonName,
17
16
  certificateFileUrl,
18
17
  certificateIsNew,
19
18
  certificate,
@@ -44,7 +44,6 @@ export const executeTrustQuery = async ({
44
44
  });
45
45
 
46
46
  const safariTrustInfo = await executeTrustQueryOnSafari({
47
- logger,
48
47
  // safari needs macTrustInfo because it uses OS trust store
49
48
  macTrustInfo,
50
49
  });
@@ -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