bare-module 5.0.0 → 5.0.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.
package/binding.c CHANGED
@@ -384,7 +384,7 @@ bare_module_create_synthetic_module(js_env_t *env, js_callback_info_t *info) {
384
384
  if (err < 0) goto err;
385
385
 
386
386
  js_value_t *result;
387
- err = js_create_external(env, (void *) module, NULL, NULL, &result);
387
+ err = js_create_external(env, (void *) module, bare_module__on_finalize, NULL, &result);
388
388
  if (err < 0) goto err;
389
389
 
390
390
  free(export_names);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-module",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Module support for JavaScript",
5
5
  "exports": {
6
6
  ".": {