mock-tls-server 1.1.1 → 1.1.2

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/lib/index.js +2 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -95,10 +95,12 @@ export class MockTLSServer extends net.Server {
95
95
  } else {
96
96
  const caOpts = getCAoptions(cert_opts);
97
97
  caOpts.temp = true;
98
+ caOpts.mute = true;
98
99
  const authority =
99
100
  local_opts.authority || new CertificateAuthority(caOpts);
100
101
  const issueOpts = getIssueOptions(cert_opts);
101
102
  issueOpts.temp = true;
103
+ issueOpts.mute = true;
102
104
  const serverProps = authority.issueNew(issueOpts);
103
105
  this.cert = serverProps.cert;
104
106
  this.ca = serverProps.ca?.cert;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mock-tls-server",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",