There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): lockdown twice
Alex Yang568d5e4cdf43
diff --git a/apps/core/src/bootstrap/register-plugins.ts b/apps/core/src/bootstrap/register-plugins.tsindex 3498fd15ac..3b13095e1d 100644--- a/apps/core/src/bootstrap/register-plugins.ts+++ b/apps/core/src/bootstrap/register-plugins.ts@@ -1,6 +1,3 @@-/// <reference types="@types/webpack-env" />-import 'ses';-import { DebugLogger } from '@affine/debug';import {registeredPluginAtom,@@ -9,17 +6,6 @@ import {import { evaluatePluginEntry, setupPluginCode } from './plugins/setup';-if (!process.env.COVERAGE) {- lockdown({- evalTaming: 'unsafeEval',- overrideTaming: 'severe',- consoleTaming: 'unsafe',- errorTaming: 'unsafe',- errorTrapping: 'platform',- unhandledRejectionTrapping: 'report',- });-}-const builtinPluginUrl = new Set(['/plugins/bookmark','/plugins/copilot',