From e685c486cb5fa7c748208e3c3ee4dae0c995c8f0 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Thu, 3 Oct 2024 10:59:09 +0200 Subject: [PATCH] Enable useDefineForClassFields for ECMA fields #10706 And faster build time --- package.json | 4 ++-- tsconfig.json | 3 +-- yarn.lock | 16 ++++++++-------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index d5955452..15d268cf 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "@angular/router": "^18.2.3", "@apollo/client": "~3.10.8", "@ecodev/fab-speed-dial": "^17.0.0", - "@ecodev/natural": "^61.0.1", - "@ecodev/natural-editor": "^61.0.1", + "@ecodev/natural": "^61.0.2", + "@ecodev/natural-editor": "^61.0.2", "@ecodev/natural-layout": "^2.0.2", "@graphql-codegen/cli": "^5.0.2", "@graphql-codegen/typescript-apollo-angular": "^4.0.0", diff --git a/tsconfig.json b/tsconfig.json index e9b5965b..0deb1b3c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,8 +19,7 @@ "target": "ES2022", "module": "ES2022", "lib": ["ES2022", "dom"], - "noImplicitOverride": true, - "useDefineForClassFields": false + "noImplicitOverride": true }, "angularCompilerOptions": { "strictInjectionParameters": true, diff --git a/yarn.lock b/yarn.lock index 404b252c..9fea782c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1639,10 +1639,10 @@ dependencies: tslib "^2.6" -"@ecodev/natural-editor@^61.0.1": - version "61.0.1" - resolved "https://registry.yarnpkg.com/@ecodev/natural-editor/-/natural-editor-61.0.1.tgz#ae75cc3bbab025ba38e6854b94dcb03fa1bfdda6" - integrity sha512-mSclDuR6TPp5QZ1vJc2TAaDTI3cOJsPgBu7zv3ZkKTxzHqVKGD6/vTI5rbDrfORhCRRHAgrj4hjJY8PgBICwwQ== +"@ecodev/natural-editor@^61.0.2": + version "61.0.2" + resolved "https://registry.yarnpkg.com/@ecodev/natural-editor/-/natural-editor-61.0.2.tgz#76fc43f9f83117cab9ae8da3807f9ff88bb7cbf5" + integrity sha512-W1wMAdB6LC87XczAlCjd3EAxlxQjJM2Lq/wle7ceW5MWY5mgJWHSw0/aHAp9gGS/oj4MGsX1NiEDOdsQqGSY7g== dependencies: prosemirror-commands "^1.5.2" prosemirror-dropcursor "^1.8.1" @@ -1664,10 +1664,10 @@ resolved "https://registry.yarnpkg.com/@ecodev/natural-layout/-/natural-layout-2.0.2.tgz#e2c64c2ddb3c60793a39236b52624fde323e610a" integrity sha512-BV75kFQmpfuSBNQ1jyKu+IdGkFTMESjPrtKrEyc3MqcmVhV5IiYU0LXTaghLZozuZgCT9HfMOnEsh05aS2j9uQ== -"@ecodev/natural@^61.0.1": - version "61.0.1" - resolved "https://registry.yarnpkg.com/@ecodev/natural/-/natural-61.0.1.tgz#a45308883e33c23cf7f384fc512bd18a8ae5ec8b" - integrity sha512-vDAMc69w8eUaIVZXa4TkL4u/LYkwytkFhaVLDbpAc3oy+i+/VJERYUCckh5Ly8xYTHtrSnymvdCPlboZr2zvfQ== +"@ecodev/natural@^61.0.2": + version "61.0.2" + resolved "https://registry.yarnpkg.com/@ecodev/natural/-/natural-61.0.2.tgz#ea08d30e3bf0f3340a6081d4d49a75482852c993" + integrity sha512-eJk4geSQLn/0wNKg8cgh8CDYf0JRWgNbzjk5fCaFhPNHk9/Ii9p31OAs6wYtPTi3GSVI8ZHAHhNLoMsRmkOGlg== dependencies: crypto-es "^2.0.3" extract-files "^13.0.0"