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 1.4.1 to 1.4.2

16

boilerplate/_package.json

@@ -7,18 +7,16 @@ {

"dependencies": {
"egg": "^0.5.0",
"egg": "^0.6.3",
"egg-view-nunjucks": "^0.6.0",
"moment": "^2.16.0"
"moment": "^2.17.1"
},
"devDependencies": {
"autod": "^2.7.1",
"egg-bin": "^1.7.0",
"egg-bin": "^1.10.0",
"egg-ci": "^1.1.0",
"egg-mock": "^1.2.0",
"eslint": "^3.10.2",
"eslint": "^3.12.2",
"eslint-config-egg": "^3.2.0",
"cheerio": "^0.22.0",
"intelli-espower-loader": "^1.0.1",
"power-assert": "^1.4.2",
"supertest": "^2.0.1",
"webstorm-disable-index": "^1.0.11"
"webstorm-disable-index": "^1.1.2"
},

@@ -32,4 +30,4 @@ "engines": {

"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test -r intelli-espower-loader",
"cov": "egg-bin cov -r intelli-espower-loader",
"test-local": "egg-bin test",
"cov": "egg-bin cov",
"lint": "eslint .",

@@ -36,0 +34,0 @@ "ci": "npm run lint && npm run cov",

@@ -20,4 +20,2 @@ 'use strict';

'supertest',
'power-assert',
'intelli-espower-loader',
'webstorm-disable-index',

@@ -24,0 +22,0 @@ ],

@@ -7,10 +7,13 @@ 'use strict';

module.exports = appInfo => {
const exports = {};
const config = {};
// should change to your own
config.keys = appInfo.name + '123456';
// organization your app middlewares
exports.middleware = [
config.middleware = [
'responseTime',
];
exports.siteFile = {
config.siteFile = {
'/favicon.ico': fs.readFileSync(path.join(appInfo.baseDir, 'app/public/favicon.png')),

@@ -20,7 +23,7 @@ };

// config for middleware / plugin
exports.responseTime = {
config.responseTime = {
header: 'x-response-time',
};
exports.news = {
config.news = {
pageSize: 30,

@@ -30,3 +33,3 @@ serverUrl: 'https://hacker-news.firebaseio.com/v0',

return exports;
return config;
};
'use strict';
// npm run dev DO NOT read this file
const isLocal = process.env.NODE_ENV !== 'production' && !process.env.EGG_SERVER_ENV;

@@ -4,0 +6,0 @@

@@ -5,3 +5,3 @@ 'use strict';

const mm = require('egg-mock');
const assert = require('power-assert');
const assert = require('assert');
const cheerio = require('cheerio');

@@ -8,0 +8,0 @@

'use strict';
const mm = require('egg-mock');
const assert = require('power-assert');
const assert = require('assert');

@@ -6,0 +6,0 @@ describe('test/app/extend/helper.test.js', () => {

'use strict';
const assert = require('power-assert');
const assert = require('assert');
const mm = require('egg-mock');

@@ -5,0 +5,0 @@

1.4.2 / 2017-01-07
==================
* test: update egg-bin and adjust assert (#17)
1.4.1 / 2016-11-21

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

{
"name": "egg-boilerplate-simple",
"version": "1.4.1",
"version": "1.4.2",
"description": "boilerplate for egg quickstart",

@@ -28,7 +28,7 @@ "scripts": {

"egg-ci": "^1.1.0",
"egg-init": "^1.5.0",
"eslint": "^3.10.2",
"egg-init": "^1.6.1",
"eslint": "^3.12.2",
"eslint-config-egg": "^3.2.0",
"npminstall": "^2.12.1",
"webstorm-disable-index": "^1.0.11"
"npminstall": "^2.16.0",
"webstorm-disable-index": "^1.1.2"
},

@@ -35,0 +35,0 @@ "ci": {

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