🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

egg-development

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-development - npm Package Compare versions

Comparing version

to
3.0.1

2

agent.js

@@ -10,2 +10,4 @@ const path = require('node:path');

const rundir = agent.config.rundir;
const stat = await fs.stat(rundir, { throwIfNoEntry: false });
if (!stat) return;
const files = await fs.readdir(rundir);

@@ -12,0 +14,0 @@ for (const file of files) {

4

app.js
module.exports = app => {
// if true, then don't need to wait at local development mode
if (app.config.development.fastReady) process.nextTick(() => app.ready(true));
if (app.config.development.fastReady) {
process.nextTick(() => app.ready(true));
}
app.config.coreMiddlewares.push('eggLoaderTrace');
};
{
"name": "egg-development",
"version": "3.0.0",
"version": "3.0.1",
"description": "development tool for egg",

@@ -23,5 +23,6 @@ "eggPlugin": {

"multimatch": "^5.0.0",
"utility": "^2.1.0"
"utility": "^2.3.0"
},
"devDependencies": {
"@types/node": "^22.10.2",
"egg": "3",

@@ -28,0 +29,0 @@ "egg-bin": "6",

# egg-development
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Node.js CI](https://github.com/eggjs/egg-development/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-development/actions/workflows/nodejs.yml)
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]
[![Node.js Version](https://img.shields.io/node/v/egg-development.svg?style=flat)](https://nodejs.org/en/download/)
[npm-image]: https://img.shields.io/npm/v/egg-development.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-development
[travis-image]: https://img.shields.io/travis/eggjs/egg-development.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-development
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-development.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-development?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-development.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-development
[snyk-image]: https://snyk.io/test/npm/egg-development/badge.svg?style=flat-square

@@ -27,3 +23,2 @@ [snyk-url]: https://snyk.io/test/npm/egg-development

## Configuration

@@ -80,2 +75,8 @@

[MIT](https://github.com/eggjs/egg-development/blob/master/LICENSE)
[MIT](LICENSE)
## Contributors
[![Contributors](https://contrib.rocks/image?repo=eggjs/egg-development)](https://github.com/eggjs/egg-development/graphs/contributors)
Made with [contributors-img](https://contrib.rocks).