diff --git a/README.md b/README.md index 44ed558..4103b67 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,6 @@ Bidirectional schema converter extension for VS Code — convert between SQL DDL, Prisma, Django, TypeORM, SQLAlchemy, Alembic, JSON Schema, GraphQL, EF Core, and Scala case classes. -Part of the [DevForge](https://devforge.revenueholdings.dev) open-source CLI tool suite by [Revenue Holdings](https://revenueholdings.dev). - ## Features - **Live Preview** — side panel showing your active schema file converted to all 11 formats diff --git a/src/panels/previewPanel.ts b/src/panels/previewPanel.ts index 0110673..608464d 100644 --- a/src/panels/previewPanel.ts +++ b/src/panels/previewPanel.ts @@ -1,6 +1,20 @@ import * as vscode from 'vscode'; import { execSchemaForge } from '../cli'; +/** + * Generate a random nonce so the webview's Content-Security-Policy can + * whitelist only our own inline