Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

egg-controller

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-controller - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

6

agent.js

@@ -8,3 +8,3 @@ "use strict";

if (config.genSDK.enable) {
let { SDKDir, templatePath } = config.genSDK;
let { SDKDir, templatePath, type, filter } = config.genSDK;
if (!SDKDir) {

@@ -15,9 +15,9 @@ throw new Error(`[egg-controller] NEED 'SDKDir' in config!`);

SDKDir = path.isAbsolute(SDKDir) ? SDKDir : path.join(agent.baseDir, SDKDir);
gen_sdk_1.genAPISDKByPath(ctrlDir, SDKDir, templatePath);
gen_sdk_1.genAPISDKByPath(ctrlDir, SDKDir, templatePath, type, filter);
console.log('[egg-controller] gen api sdk.');
agent.watcher.watch(ctrlDir, (file) => {
console.log('[egg-controller] file changed', file.path);
gen_sdk_1.genAPISDKByPath(file.path, SDKDir, templatePath);
gen_sdk_1.genAPISDKByPath(file.path, SDKDir, templatePath, type, filter);
});
}
};
{
"name": "egg-controller",
"version": "0.1.21",
"version": "0.1.22",
"description": "controller for egg.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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