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

koatty_core

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_core - npm Package Compare versions

Comparing version 1.6.9 to 1.6.10

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.6.10](https://github.com/koatty/koatty_core/compare/v1.6.9...v1.6.10) (2023-01-09)
### [1.6.9](https://github.com/koatty/koatty_core/compare/v1.6.8...v1.6.9) (2022-10-31)

@@ -7,0 +9,0 @@

2

dist/index.d.ts
/*!
* @Author: richen
* @Date: 2022-10-31 15:13:13
* @Date: 2023-01-10 00:39:52
* @License: BSD (3-Clause)

@@ -5,0 +5,0 @@ * @Copyright (c) - <richenlin(at)gmail.com>

/*!
* @Author: richen
* @Date: 2022-10-31 15:13:01
* @Date: 2023-01-10 00:39:37
* @License: BSD (3-Clause)

@@ -10,4 +10,2 @@ * @Copyright (c) - <richenlin(at)gmail.com>

Object.defineProperty(exports, '__esModule', { value: true });
var Koa = require('koa');

@@ -21,8 +19,2 @@ var koatty_lib = require('koatty_lib');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var Koa__default = /*#__PURE__*/_interopDefaultLegacy(Koa);
var koaCompose__default = /*#__PURE__*/_interopDefaultLegacy(koaCompose);
var onFinished__default = /*#__PURE__*/_interopDefaultLegacy(onFinished);
/*

@@ -305,3 +297,3 @@ * @Description:

*/
class Koatty extends Koa__default["default"] {
class Koatty extends Koa {
/**

@@ -477,3 +469,3 @@ * Creates an instance of Koatty.

}
const fn = koaCompose__default["default"](this.middleware);
const fn = koaCompose(this.middleware);
return (req, res) => {

@@ -497,3 +489,3 @@ const context = this.createContext(req, res, protocol);

const onerror = (err) => ctx.onerror(err);
onFinished__default["default"](res, onerror);
onFinished(res, onerror);
return fnMiddleware(ctx);

@@ -500,0 +492,0 @@ }

{
"name": "koatty_core",
"version": "1.6.9",
"version": "1.6.10",
"description": "Koatty framework core",

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

"build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
"build:js": "del-cli --force dist && npx rollup -c .rollup.config.js",
"build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
"build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",

@@ -15,2 +15,3 @@ "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",

"prerelease": "npm test && npm run build",
"pub": "git push --follow-tags origin && npm publish",
"release": "standard-version",

@@ -39,12 +40,12 @@ "release:pre": "npm run release -- --prerelease",

"devDependencies": {
"@commitlint/cli": "^16.x.x",
"@commitlint/config-conventional": "^16.x.x",
"@grpc/grpc-js": "^1.4.5",
"@commitlint/cli": "^17.x.x",
"@commitlint/config-conventional": "^17.x.x",
"@grpc/grpc-js": "^1.x.x",
"@microsoft/api-documenter": "^7.x.x",
"@microsoft/api-extractor": "^7.x.x",
"@rollup/plugin-json": "^4.x.x",
"@types/jest": "^27.x.x",
"@rollup/plugin-json": "^6.x.x",
"@types/jest": "^29.x.x",
"@types/koa": "^2.x.x",
"@types/node": "^16.x.x",
"@types/on-finished": "^2.3.1",
"@types/node": "^18.x.x",
"@types/on-finished": "^2.x.x",
"@types/ws": "^8.x.x",

@@ -57,10 +58,10 @@ "@typescript-eslint/eslint-plugin": "^5.x.x",

"eslint": "^8.x.x",
"eslint-plugin-jest": "^25.x.x",
"eslint-plugin-jest": "^27.x.x",
"husky": "^4.x.x",
"jest": "^27.x.x",
"jest-html-reporters": "^2.x.x",
"rollup": "^2.x.x",
"jest": "^29.x.x",
"jest-html-reporters": "^3.x.x",
"rollup": "^3.x.x",
"rollup-plugin-typescript2": "^0.x.x",
"standard-version": "^9.x.x",
"ts-jest": "^27.x.x",
"ts-jest": "^29.x.x",
"ts-node": "^10.x.x",

@@ -77,3 +78,3 @@ "typescript": "^4.x.x"

"on-finished": "^2.4.1",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},

@@ -80,0 +81,0 @@ "peerDependencies": {

{
"name": "koatty_core",
"version": "1.6.9",
"version": "1.6.10",
"description": "Koatty framework core",

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

"build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
"build:js": "del-cli --force dist && npx rollup -c .rollup.config.js",
"build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
"build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",

@@ -15,2 +15,3 @@ "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",

"prerelease": "npm test && npm run build",
"pub": "git push --follow-tags origin && npm publish",
"release": "standard-version",

@@ -39,12 +40,12 @@ "release:pre": "npm run release -- --prerelease",

"devDependencies": {
"@commitlint/cli": "^16.x.x",
"@commitlint/config-conventional": "^16.x.x",
"@grpc/grpc-js": "^1.4.5",
"@commitlint/cli": "^17.x.x",
"@commitlint/config-conventional": "^17.x.x",
"@grpc/grpc-js": "^1.x.x",
"@microsoft/api-documenter": "^7.x.x",
"@microsoft/api-extractor": "^7.x.x",
"@rollup/plugin-json": "^4.x.x",
"@types/jest": "^27.x.x",
"@rollup/plugin-json": "^6.x.x",
"@types/jest": "^29.x.x",
"@types/koa": "^2.x.x",
"@types/node": "^16.x.x",
"@types/on-finished": "^2.3.1",
"@types/node": "^18.x.x",
"@types/on-finished": "^2.x.x",
"@types/ws": "^8.x.x",

@@ -57,10 +58,10 @@ "@typescript-eslint/eslint-plugin": "^5.x.x",

"eslint": "^8.x.x",
"eslint-plugin-jest": "^25.x.x",
"eslint-plugin-jest": "^27.x.x",
"husky": "^4.x.x",
"jest": "^27.x.x",
"jest-html-reporters": "^2.x.x",
"rollup": "^2.x.x",
"jest": "^29.x.x",
"jest-html-reporters": "^3.x.x",
"rollup": "^3.x.x",
"rollup-plugin-typescript2": "^0.x.x",
"standard-version": "^9.x.x",
"ts-jest": "^27.x.x",
"ts-jest": "^29.x.x",
"ts-node": "^10.x.x",

@@ -77,3 +78,3 @@ "typescript": "^4.x.x"

"on-finished": "^2.4.1",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},

@@ -80,0 +81,0 @@ "peerDependencies": {

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