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

egg-boilerplate-simple

Package Overview
Dependencies
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-boilerplate-simple - npm Package Compare versions

Comparing version 2.9.1 to 3.0.0

8

boilerplate/_package.json

@@ -13,6 +13,6 @@ {

"autod-egg": "^1.0.0",
"egg-bin": "^4.3.0",
"egg-bin": "^4.3.5",
"egg-ci": "^1.8.0",
"egg-mock": "^3.13.0",
"eslint": "^4.9.0",
"eslint": "^4.10.0",
"eslint-config-egg": "^5.1.0",

@@ -22,3 +22,3 @@ "webstorm-disable-index": "^1.2.0"

"engines": {
"node": ">=6.0.0"
"node": ">=8.9.0"
},

@@ -38,3 +38,3 @@ "scripts": {

"ci": {
"version": "6, 8"
"version": "8"
},

@@ -41,0 +41,0 @@ "repository": {

'use strict';
module.exports = app => {
class HomeController extends app.Controller {
* index() {
this.ctx.body = 'hi, egg';
}
const Controller = require('egg').Controller;
class HomeController extends Controller {
async index() {
this.ctx.body = 'hi, egg';
}
return HomeController;
};
}
module.exports = HomeController;
'use strict';
module.exports = app => {
app.get('/', 'home.index');
app.get('/', app.controller.home.index);
};
3.0.0 / 2017-11-07
==================
* feat: change to async (#37)
2.9.1 / 2017-10-18

@@ -3,0 +8,0 @@ ==================

{
"name": "egg-boilerplate-simple",
"version": "2.9.1",
"version": "3.0.0",
"description": "boilerplate for egg quickstart",

@@ -14,3 +14,3 @@ "scripts": {

"build": "npm run clean && egg-init dist --force --silent --template=./",
"install-deps": "cd dist && ../node_modules/.bin/npminstall autod-egg && ../node_modules/.bin/autod && ../node_modules/.bin/npminstall"
"install-deps": "cd dist && npm i autod-egg && ../node_modules/.bin/autod && npm i"
},

@@ -25,15 +25,15 @@ "homepage": "https://github.com/eggjs/egg-boilerplate-simple",

"devDependencies": {
"autod": "^2.9.0",
"autod": "^2.10.1",
"autod-egg": "^1.0.0",
"egg-ci": "^1.8.0",
"egg-init": "^1.11.0",
"eslint": "^4.3.0",
"eslint-config-egg": "^5.0.0",
"npminstall": "^3.1.1",
"egg-init": "^1.12.0",
"eslint": "^4.10.0",
"eslint-config-egg": "^5.1.1",
"npminstall": "^3.2.1",
"webstorm-disable-index": "^1.2.0"
},
"ci": {
"version": "6, 8"
"version": "8"
},
"dependencies": {}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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