@contrast/esm-hooks 2.24.0 → 2.26.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.
package/lib/hooks.mjs CHANGED
@@ -149,6 +149,7 @@ async function load(url, context, nextLoad) {
149
149
  isModule: true,
150
150
  inject: true,
151
151
  wrap: false, // cannot wrap modules
152
+ minify: true,
152
153
  };
153
154
 
154
155
  const { source } = await nextLoad(url, context);
@@ -26,6 +26,7 @@ export const {
26
26
  debug,
27
27
  debuglog,
28
28
  deprecate,
29
+ diff,
29
30
  format,
30
31
  formatWithOptions,
31
32
  getCallSite,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/esm-hooks",
3
- "version": "2.24.0",
3
+ "version": "2.26.0",
4
4
  "type": "module",
5
5
  "description": "Support for loading and instrumenting ECMAScript modules",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -23,10 +23,10 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@contrast/common": "1.32.0",
26
- "@contrast/config": "1.45.0",
27
- "@contrast/core": "1.50.0",
26
+ "@contrast/config": "1.47.0",
27
+ "@contrast/core": "1.52.0",
28
28
  "@contrast/find-package-json": "^1.1.0",
29
- "@contrast/logger": "1.23.0",
30
- "@contrast/rewriter": "1.26.0"
29
+ "@contrast/logger": "1.25.0",
30
+ "@contrast/rewriter": "1.28.0"
31
31
  }
32
32
  }