@ditojs/server 2.0.0 → 2.0.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditojs/server",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "description": "Dito.js Server – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/server",
@@ -22,10 +22,10 @@
22
22
  "node >= 18"
23
23
  ],
24
24
  "dependencies": {
25
- "@ditojs/admin": "^2.0.0",
25
+ "@ditojs/admin": "^2.0.1",
26
26
  "@ditojs/build": "^2.0.0",
27
- "@ditojs/router": "^2.0.0",
28
- "@ditojs/utils": "^2.0.0",
27
+ "@ditojs/router": "^2.0.1",
28
+ "@ditojs/utils": "^2.0.1",
29
29
  "@koa/cors": "^4.0.0",
30
30
  "@koa/multer": "^3.0.2",
31
31
  "@originjs/vite-plugin-commonjs": "^1.0.3",
@@ -44,17 +44,17 @@
44
44
  "koa-compress": "^5.1.0",
45
45
  "koa-conditional-get": "^3.0.0",
46
46
  "koa-etag": "^4.0.0",
47
- "koa-helmet": "^7.0.1",
47
+ "koa-helmet": "^7.0.2",
48
48
  "koa-mount": "^4.0.0",
49
49
  "koa-passport": "^6.0.0",
50
50
  "koa-response-time": "^2.1.0",
51
51
  "koa-session": "^6.4.0",
52
52
  "koa-static": "^5.0.0",
53
- "leather": "^2.1.4",
53
+ "leather": "^3.0.0",
54
54
  "mime-types": "^2.1.35",
55
55
  "multer": "^1.4.5-lts.1",
56
56
  "multer-s3": "https://github.com/ditojs/multer-s3#dito",
57
- "nanoid": "^4.0.1",
57
+ "nanoid": "^4.0.2",
58
58
  "parse-duration": "^1.0.3",
59
59
  "passport-local": "^1.0.0",
60
60
  "passthrough-counter": "^1.0.0",
@@ -74,7 +74,7 @@
74
74
  "objection": "^3.0.1"
75
75
  },
76
76
  "devDependencies": {
77
- "@aws-sdk/client-s3": "^3.295.0",
77
+ "@aws-sdk/client-s3": "^3.304.0",
78
78
  "@types/koa-bodyparser": "^4.3.10",
79
79
  "@types/koa-compress": "^4.0.3",
80
80
  "@types/koa-logger": "^3.1.2",
@@ -83,14 +83,14 @@
83
83
  "@types/koa-session": "^6.4.0",
84
84
  "@types/koa-static": "^4.0.2",
85
85
  "@types/koa__cors": "^4.0.0",
86
- "@types/node": "^18.15.5",
86
+ "@types/node": "^18.15.11",
87
87
  "knex": "^2.4.2",
88
- "objection": "^3.0.1",
89
- "type-fest": "^3.6.1",
90
- "typescript": "^5.0.2"
88
+ "objection": "^3.0.2",
89
+ "type-fest": "^3.7.2",
90
+ "typescript": "^5.0.3"
91
91
  },
92
92
  "types": "types",
93
- "gitHead": "dde9462e778bce37bc4fa3e47127a9ba12a4d5e2",
93
+ "gitHead": "80c209774fe4ee5243eb25d77ac9a97bfb694d8c",
94
94
  "scripts": {
95
95
  "types": "tsc --noEmit ./src/index.d.ts"
96
96
  },
@@ -272,6 +272,7 @@ const coreDependencies = [
272
272
  // a json file?
273
273
 
274
274
  'vue',
275
+ '@vue/*',
275
276
  '@lk77/vue3-color',
276
277
  '@kyvg/vue3-notification',
277
278
  'vue-multiselect',
@@ -282,7 +283,9 @@ const coreDependencies = [
282
283
  'sortablejs',
283
284
  '@tiptap/*',
284
285
  'prosemirror-*',
286
+ 'linkifyjs',
285
287
  'codeflask',
288
+ 'punycode',
286
289
  'rope-sequence',
287
290
  'filesize',
288
291
  'filesize-parser',
@@ -3,7 +3,7 @@ import { fileTypeFromBuffer } from 'file-type'
3
3
  import { Storage } from './Storage.js'
4
4
  import { PassThrough } from 'stream'
5
5
  import consumers from 'stream/consumers'
6
- import { attributes as readMediaAttributes } from 'leather'
6
+ import { readMediaAttributes } from 'leather'
7
7
 
8
8
  export class S3Storage extends Storage {
9
9
  static type = 's3'
@@ -3,7 +3,7 @@ import { URL } from 'url'
3
3
  import multer from '@koa/multer'
4
4
  import picomatch from 'picomatch'
5
5
  import { PassThrough } from 'stream'
6
- import { attributes as readMediaAttributes } from 'leather'
6
+ import { readMediaAttributes } from 'leather'
7
7
  import { hyphenate, toPromiseCallback } from '@ditojs/utils'
8
8
  import { AssetFile } from './AssetFile.js'
9
9
  import { deprecate } from '../utils/deprecate.js'