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

@timberio/koa

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@timberio/koa - npm Package Compare versions

Comparing version 0.34.1 to 0.34.2

4

dist/cjs/koa.js

@@ -13,3 +13,3 @@ "use strict";

"request.url",
"request.query",
"request.query"
],

@@ -19,3 +19,3 @@ excludedRoutes: [],

messageFormatter: ctx => `Koa HTTP request: ${ctx.status}`,
errorMessageFormatter: (ctx, e) => `Koa HTTP request error: ${(typeof e === "object" && e.message) || e}`,
errorMessageFormatter: (ctx, e) => `Koa HTTP request error: ${(typeof e === "object" && e.message) || e}`
};

@@ -22,0 +22,0 @@ class KoaTimber extends node_1.Timber {

@@ -16,3 +16,3 @@ "use strict";

// Override `batchInterval` to test logs faster
batchInterval: 1,
batchInterval: 1
});

@@ -19,0 +19,0 @@ // Create a new Koa instance

@@ -11,3 +11,3 @@ import { Timber } from "@timberio/node";

"request.url",
"request.query",
"request.query"
],

@@ -17,3 +17,3 @@ excludedRoutes: [],

messageFormatter: ctx => `Koa HTTP request: ${ctx.status}`,
errorMessageFormatter: (ctx, e) => `Koa HTTP request error: ${(typeof e === "object" && e.message) || e}`,
errorMessageFormatter: (ctx, e) => `Koa HTTP request error: ${(typeof e === "object" && e.message) || e}`
};

@@ -20,0 +20,0 @@ class KoaTimber extends Timber {

@@ -11,3 +11,3 @@ import Koa from "koa";

// Override `batchInterval` to test logs faster
batchInterval: 1,
batchInterval: 1
});

@@ -14,0 +14,0 @@ // Create a new Koa instance

{
"name": "@timberio/koa",
"version": "0.34.1",
"version": "0.34.2",
"description": "Timber.io - Koa logger",

@@ -36,3 +36,3 @@ "keywords": [

"devDependencies": {
"@timberio/types": "^0.34.1",
"@timberio/types": "^0.34.2",
"@types/koa": "^2.0.48",

@@ -47,3 +47,3 @@ "@types/koa-router": "^7.0.41",

"dependencies": {
"@timberio/node": "^0.34.1",
"@timberio/node": "^0.34.2",
"rambda": "^2.11.1"

@@ -54,3 +54,3 @@ },

},
"gitHead": "6f7c90e13c1df2812f44ef8f79f9a37f4b08246f"
"gitHead": "ec0b79251c13ad3fb569e78daa7e032db965a266"
}

@@ -59,3 +59,3 @@ # 🌲 Timber - Koa logging

*/
syncMax: 10,
syncMax: 10
};

@@ -65,3 +65,3 @@

// Override default Koa context data to include in each log
contextPaths: ["statusCode", "request.headers", "request.method"],
contextPaths: ["statusCode", "request.headers", "request.method"]
};

@@ -73,3 +73,3 @@

timberOptions,
koaOptions,
koaOptions
);

@@ -124,3 +124,3 @@ ```

"request.url",
"request.query",
"request.query"
];

@@ -127,0 +127,0 @@ ```

@@ -13,3 +13,3 @@ import Koa from "koa";

// Override `batchInterval` to test logs faster
batchInterval: 1,
batchInterval: 1
});

@@ -16,0 +16,0 @@

@@ -40,3 +40,3 @@ import { Timber } from "@timberio/node";

"request.url",
"request.query",
"request.query"
],

@@ -47,3 +47,3 @@ excludedRoutes: [],

errorMessageFormatter: (ctx, e) =>
`Koa HTTP request error: ${(typeof e === "object" && e.message) || e}`,
`Koa HTTP request error: ${(typeof e === "object" && e.message) || e}`
};

@@ -58,3 +58,3 @@

timberOpt?: Partial<ITimberOptions>,
koaOpt?: Partial<IKoaOptions>,
koaOpt?: Partial<IKoaOptions>
) {

@@ -61,0 +61,0 @@ super(apiKey, sourceKey, timberOpt);

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