diff --git a/lerna.json b/lerna.json index b25360235f..2bded7151f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.7.21-alpha.2", + "version": "2.7.24", "npmClient": "yarn", "packages": [ "packages/backend-core", diff --git a/packages/builder/src/helpers/validation/yup/index.js b/packages/builder/src/helpers/validation/yup/index.js index b5bdf030a5..4e84975eb7 100644 --- a/packages/builder/src/helpers/validation/yup/index.js +++ b/packages/builder/src/helpers/validation/yup/index.js @@ -58,7 +58,7 @@ export const createValidationStore = () => { const observe = async (propertyName, value) => { const values = get(validation).values let fieldIsValid - if (!values.hasOwnProperty(propertyName)) { + if (!Object.prototype.hasOwnProperty.call(values, propertyName)) { // Initial setup values[propertyName] = value return diff --git a/packages/builder/vite.config.js b/packages/builder/vite.config.js index bf6b4ce17e..ecaedc3cbe 100644 --- a/packages/builder/vite.config.js +++ b/packages/builder/vite.config.js @@ -64,11 +64,11 @@ export default defineConfig(({ mode }) => { targets: [ { src: "../../node_modules/@fontsource/source-sans-pro", - dest: "fonts", + dest: isProduction ? "fonts" : "builder/fonts", }, { src: "../../node_modules/remixicon/fonts/*", - dest: "fonts", + dest: isProduction ? "fonts" : "builder/fonts", }, ], }),