Comparing version 2.12.1 to 2.13.0
2.13.0 / 2020-06-21 | ||
================== | ||
**features** | ||
* [[`bbcde76`](http://github.com/koajs/koa/commit/bbcde76f5cb5b67bbcd3201791cf0ef648fd3a8b)] - feat: support esm (#1474) (ZYSzys <<zhangyongsheng@youzan.com>>) | ||
**others** | ||
* [[`20e58cf`](http://github.com/koajs/koa/commit/20e58cf3e4f20fc5d5886df1d0ac6dd8c33bd202)] - test: imporve coverage to 100% (dead-horse <<dead_horse@qq.com>>) | ||
* [[`4a40d63`](http://github.com/koajs/koa/commit/4a40d633c4b4a203c6656078f9952ccef65c5875)] - build: use prepare instead of prepublish (dead-horse <<dead_horse@qq.com>>) | ||
* [[`226ba8c`](http://github.com/koajs/koa/commit/226ba8c8e81e83da48e7bf137be3f146d03f40b8)] - build: use prepublish instead of prepack (dead-horse <<dead_horse@qq.com>>) | ||
2.12.1 / 2020-06-13 | ||
@@ -3,0 +14,0 @@ ================== |
@@ -62,2 +62,4 @@ | ||
this.response = Object.create(response); | ||
// util.inspect.custom support for node 6+ | ||
/* istanbul ignore else */ | ||
if (util.inspect.custom) { | ||
@@ -64,0 +66,0 @@ this[util.inspect.custom] = this.inspect; |
@@ -575,3 +575,3 @@ | ||
/** | ||
* Custom inspection implementation for newer Node.js versions. | ||
* Custom inspection implementation for node 6+. | ||
* | ||
@@ -581,4 +581,5 @@ * @return {Object} | ||
*/ | ||
/* istanbul ignore else */ | ||
if (util.inspect.custom) { | ||
module.exports[util.inspect.custom] = module.exports.inspect; | ||
} |
{ | ||
"name": "koa", | ||
"version": "2.12.1", | ||
"version": "2.13.0", | ||
"description": "Koa web app framework", | ||
"main": "lib/application.js", | ||
"exports": { | ||
".": { | ||
"require": "./lib/application.js", | ||
"import": "./dist/koa.mjs" | ||
}, | ||
"./": "./" | ||
}, | ||
"scripts": { | ||
@@ -11,3 +18,5 @@ "test": "egg-bin test test", | ||
"bench": "make -C benchmarks", | ||
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS" | ||
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS", | ||
"build": "gen-esm-wrapper . ./dist/koa.mjs", | ||
"prepare": "npm run build" | ||
}, | ||
@@ -59,2 +68,3 @@ "repository": "koajs/koa", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"gen-esm-wrapper": "^1.0.6", | ||
"mm": "^2.5.0", | ||
@@ -67,4 +77,5 @@ "supertest": "^3.1.0" | ||
"files": [ | ||
"dist", | ||
"lib" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88372
9
1583
11