fix: use import assertion
This commit is contained in:
		
							parent
							
								
									a8e8b2e2cf
								
							
						
					
					
						commit
						8dcdbddbfb
					
				
					 4 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
v16.13.2
 | 
			
		||||
v16.14.0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,6 +12,9 @@ You should also include the user name that made the change.
 | 
			
		|||
 | 
			
		||||
## 12.x.x (unreleased)
 | 
			
		||||
 | 
			
		||||
### NOTE
 | 
			
		||||
このバージョンからNode v16.14.0以降が必要です
 | 
			
		||||
 | 
			
		||||
### Changes
 | 
			
		||||
- ノートの最大文字数を設定できる機能が廃止され、デフォルトで一律3000文字になりました
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
FROM node:16.13.2-alpine3.15 AS base
 | 
			
		||||
FROM node:16.14.0-alpine3.15 AS base
 | 
			
		||||
 | 
			
		||||
ENV NODE_ENV=production
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
import Koa from 'koa';
 | 
			
		||||
import * as manifest from './manifest.json';
 | 
			
		||||
import * as manifest from './manifest.json' assert { type: 'json' };
 | 
			
		||||
import { fetchMeta } from '@/misc/fetch-meta.js';
 | 
			
		||||
 | 
			
		||||
export const manifestHandler = async (ctx: Koa.Context) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue