bare-module 5.0.0 → 5.0.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.
- package/binding.c +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/prebuilds/android-arm/bare-module.bare +0 -0
- package/prebuilds/android-arm64/bare-module.bare +0 -0
- package/prebuilds/android-ia32/bare-module.bare +0 -0
- package/prebuilds/android-x64/bare-module.bare +0 -0
- package/prebuilds/darwin-arm64/bare-module.bare +0 -0
- package/prebuilds/darwin-x64/bare-module.bare +0 -0
- package/prebuilds/ios-arm64/bare-module.bare +0 -0
- package/prebuilds/ios-arm64-simulator/bare-module.bare +0 -0
- package/prebuilds/ios-x64-simulator/bare-module.bare +0 -0
- package/prebuilds/linux-arm64/bare-module.bare +0 -0
- package/prebuilds/linux-x64/bare-module.bare +0 -0
- package/prebuilds/win32-arm64/bare-module.bare +0 -0
- package/prebuilds/win32-x64/bare-module.bare +0 -0
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,
|
|
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/index.js
CHANGED
|
@@ -451,7 +451,7 @@ module.exports = exports = class Module {
|
|
|
451
451
|
attributes !== null &&
|
|
452
452
|
typeof attributes.imports === 'string'
|
|
453
453
|
) {
|
|
454
|
-
const resolved = self.resolve(attributes.imports,
|
|
454
|
+
const resolved = self.resolve(attributes.imports, referrer._url, {
|
|
455
455
|
referrer: module
|
|
456
456
|
})
|
|
457
457
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|