@contrast/esm-hooks 2.4.0 → 2.4.1

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.
@@ -20,14 +20,15 @@ const http2 = require('http2');
20
20
  export default http2;
21
21
 
22
22
  export const {
23
+ Http2ServerRequest,
24
+ Http2ServerResponse,
23
25
  connect,
24
26
  constants,
25
- createServer,
26
27
  createSecureServer,
28
+ createServer,
27
29
  getDefaultSettings,
28
30
  getPackedSettings,
29
31
  getUnpackedSettings,
32
+ performServerHandshake,
30
33
  sensitiveHeaders,
31
- Http2ServerRequest,
32
- Http2ServerResponse,
33
34
  } = http2;
@@ -52,8 +52,10 @@ export const {
52
52
  MIMEType,
53
53
  MIMEParams,
54
54
  parseArgs,
55
+ parseEnv,
55
56
  promisify,
56
57
  stripVTControlCharacters,
58
+ styleText,
57
59
  toUSVString,
58
60
  TextDecoder,
59
61
  TextEncoder,
@@ -20,12 +20,13 @@ export default vm;
20
20
 
21
21
  export const {
22
22
  Script,
23
+ compileFunction,
24
+ constants,
23
25
  createContext,
24
26
  createScript,
27
+ isContext,
28
+ measureMemory,
25
29
  runInContext,
26
30
  runInNewContext,
27
31
  runInThisContext,
28
- isContext,
29
- compileFunction,
30
- measureMemory,
31
32
  } = vm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/esm-hooks",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "type": "module",
5
5
  "description": "Support for loading and instrumenting ECMAScript modules",
6
6
  "license": "SEE LICENSE IN LICENSE",