wok-server 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,10 @@ function processColumnValue(value) {
10
10
  if (value instanceof Date) {
11
11
  return value;
12
12
  }
13
+ // buffer 也是
14
+ if (value instanceof Buffer) {
15
+ return value;
16
+ }
13
17
  // json
14
18
  if (typeof value === 'object') {
15
19
  return JSON.stringify(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wok-server",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "packageManager": "pnpm@8.9.0",
5
5
  "description": "一个基于 NodeJs 和 TypeScript 的后端框架,轻量级、克制、简洁。A lightweight, restrained, and concise backend framework based on Node.js and TypeScript.",
6
6
  "scripts": {