diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 3bc1c93..01303b0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -6084,10 +6084,11 @@ "dev": true }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, diff --git a/open_notebook/database/async_migrate.py b/open_notebook/database/async_migrate.py index de24b07..f305758 100644 --- a/open_notebook/database/async_migrate.py +++ b/open_notebook/database/async_migrate.py @@ -22,7 +22,7 @@ class AsyncMigration: @classmethod def from_file(cls, file_path: str) -> "AsyncMigration": """Create migration from SQL file.""" - with open(file_path, "r") as file: + with open(file_path, "r", encoding="utf-8") as file: raw_content = file.read() # Clean up SQL content lines = []