New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@farmfe/runtime

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@farmfe/runtime - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

6

CHANGELOG.md
# @farmfe/runtime
## 0.11.0
### Minor Changes
- ef1b39bc: Top level await supported
## 0.10.0

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@farmfe/runtime",
"version": "0.10.0",
"version": "0.11.0",
"description": "Runtime of Farm",

@@ -5,0 +5,0 @@ "author": {

@@ -136,3 +136,3 @@ import { Module } from './module';

// initialize the new module
initializer(
const result = initializer(
module,

@@ -143,6 +143,16 @@ module.exports,

);
// call the module initialized hook
this.pluginContainer.hookSerial('moduleInitialized', module);
// return the exports of the module
return module.exports;
// it's a async module, return the promise
if (result && result.then) {
return result.then(() => {
// call the module initialized hook
this.pluginContainer.hookSerial('moduleInitialized', module);
// return the exports of the module
return module.exports;
});
} else {
// call the module initialized hook
this.pluginContainer.hookSerial('moduleInitialized', module);
// return the exports of the module
return module.exports;
}
}

@@ -149,0 +159,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc