Skip to content

Commit

Permalink
fix: use klona/full mode to handle luxon values closes #3508
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Sep 30, 2021
1 parent 2693819 commit 048c9c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vee-validate/src/useField.ts
Expand Up @@ -11,7 +11,7 @@ import {
getCurrentInstance,
} from 'vue';
import { BaseSchema } from 'yup';
import { klona as deepCopy } from 'klona/lite';
import { klona as deepCopy } from 'klona/full';
import isEqual from 'fast-deep-equal/es6';
import { validate as validateValue } from './validate';
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/vee-validate/src/useForm.ts
@@ -1,7 +1,7 @@
import { computed, ref, Ref, provide, reactive, onMounted, isRef, watch, unref, nextTick, warn, markRaw } from 'vue';
import isEqual from 'fast-deep-equal/es6';
import type { SchemaOf } from 'yup';
import { klona as deepCopy } from 'klona/lite';
import { klona as deepCopy } from 'klona/full';
import {
FieldMeta,
SubmissionHandler,
Expand Down
2 changes: 1 addition & 1 deletion scripts/config.js
Expand Up @@ -50,7 +50,7 @@ function createConfig(pkg, format) {
}),
tsPlugin,
resolve({
dedupe: ['fast-deep-equal/es6', 'fast-deep-equal', 'klona', 'klona/lite'],
dedupe: ['fast-deep-equal/es6', 'fast-deep-equal', 'klona', 'klona/full'],
}),
commonjs(),
],
Expand Down

0 comments on commit 048c9c0

Please sign in to comment.