pg-mvc-service 2.0.103 → 2.0.104

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": "pg-mvc-service",
3
- "version": "2.0.103",
3
+ "version": "2.0.104",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/n-daira/npm-pack_mvc-service#readme",
6
6
  "bugs": {
@@ -21,7 +21,7 @@ export class Base64Client {
21
21
  // return Buffer.from(text).toString('base64');
22
22
  // }
23
23
 
24
- public tryDecode(base64: string): Buffer<ArrayBuffer> | false {
24
+ public tryDecode(base64: string): Buffer | false {
25
25
  try {
26
26
  // Data URLのパターンをチェック
27
27
  if (base64.startsWith('data:')) {
@@ -48,7 +48,7 @@ export class Base64Client {
48
48
  }
49
49
  }
50
50
 
51
- public getMimeType(data: string | Buffer<ArrayBuffer>): TImage | TPdf {
51
+ public getMimeType(data: string | Buffer): TImage | TPdf {
52
52
  try {
53
53
  let buffer;
54
54
  if (typeof data === 'string') {