@contrast/esm-hooks 2.6.1 → 2.6.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/hooks.mjs +1 -1
  2. package/package.json +3 -3
package/lib/hooks.mjs CHANGED
@@ -150,7 +150,7 @@ async function load(url, context, nextLoad) {
150
150
  }
151
151
 
152
152
  if (loaderAgent.config.agent.node.rewrite.cache.enable) {
153
- loaderAgent.rewriter.cache.write(filename, rewriteResult);
153
+ await loaderAgent.rewriter.cache.write(filename, rewriteResult);
154
154
  }
155
155
 
156
156
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/esm-hooks",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "type": "module",
5
5
  "description": "Support for loading and instrumenting ECMAScript modules",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -19,8 +19,8 @@
19
19
  "test": "../scripts/test.sh"
20
20
  },
21
21
  "dependencies": {
22
- "@contrast/common": "1.21.1",
23
- "@contrast/core": "1.32.1",
22
+ "@contrast/common": "1.21.2",
23
+ "@contrast/core": "1.32.2",
24
24
  "@contrast/find-package-json": "^1.0.0"
25
25
  }
26
26
  }