Skip to content

Commit aed7998

Browse files
committed
changed lodash import to use file extension
1 parent bf93913 commit aed7998

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
},
4343
"dependencies": {
4444
"@nuxt/kit": "^3.11.2",
45-
"lodash.clonedeep": "^4.5.0",
46-
"lodash.isequal": "^4.5.0",
45+
"lodash": "^4.17.21",
4746
"zod": "^3.23.8"
4847
},
4948
"devDependencies": {

pnpm-lock.yaml

+3-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/composables/useForm.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import cloneDeep from 'lodash.clonedeep'
2-
import isEqual from 'lodash.isequal'
1+
import cloneDeep from 'lodash/cloneDeep.js'
2+
import isEqual from 'lodash/isEqual.js'
33
import { reactive, watch } from 'vue'
44
import type { NitroFetchRequest } from 'nitropack'
55
import type FormDataConvertible from '~/types/FormDataconvertible'

0 commit comments

Comments
 (0)