nuxt-modern-cropper 1.6.9 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/module.d.mts +2 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.json +1 -1
- package/dist/runtime/plugin.d.ts +1 -1
- package/dist/types.d.mts +7 -1
- package/dist/types.d.ts +7 -1
- package/package.json +17 -12
package/README.md
CHANGED
|
@@ -47,6 +47,9 @@ That's it! You can now use `<ModernCropper />` in your Nuxt app ✨
|
|
|
47
47
|
import type { ModernCropper } from '#components'
|
|
48
48
|
|
|
49
49
|
const cropperRef = ref<InstanceType<typeof ModernCropper>>()
|
|
50
|
+
|
|
51
|
+
// Or better, use `useTemplateRef` to automatically infer the type (vue 3.5+)
|
|
52
|
+
const cropperRef = useTemplateRef('cropperRef')
|
|
50
53
|
```
|
|
51
54
|
|
|
52
55
|
## Contribution
|
package/dist/module.d.mts
CHANGED
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
package/dist/types.d.mts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module.js'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-modern-cropper",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.10",
|
|
4
4
|
"description": "Power-packed wrapper over cropperjs@next",
|
|
5
5
|
"repository": "namesmt/nuxt-modern-cropper",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nuxt/kit": "^3.
|
|
40
|
+
"@nuxt/kit": "^3.16.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@nuxt/devtools": "^2.
|
|
44
|
-
"@nuxt/eslint-config": "^1.
|
|
43
|
+
"@nuxt/devtools": "^2.3.1",
|
|
44
|
+
"@nuxt/eslint-config": "^1.2.0",
|
|
45
45
|
"@nuxt/module-builder": "^0.8.4",
|
|
46
|
-
"@nuxt/schema": "^3.
|
|
47
|
-
"@nuxt/test-utils": "^3.17.
|
|
46
|
+
"@nuxt/schema": "^3.16.1",
|
|
47
|
+
"@nuxt/test-utils": "^3.17.2",
|
|
48
48
|
"@types/node": "latest",
|
|
49
|
-
"changelogen": "^0.6.
|
|
50
|
-
"eslint": "^9.
|
|
51
|
-
"nuxt": "^3.
|
|
49
|
+
"changelogen": "^0.6.1",
|
|
50
|
+
"eslint": "^9.23.0",
|
|
51
|
+
"nuxt": "^3.16.1",
|
|
52
52
|
"typescript": "^5.8.2",
|
|
53
|
-
"vitest": "^3.0.
|
|
53
|
+
"vitest": "^3.0.9",
|
|
54
54
|
"vue-tsc": "^2.2.8"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
@@ -61,11 +61,16 @@
|
|
|
61
61
|
"optional": false
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
"packageManager": "pnpm@10.5
|
|
64
|
+
"packageManager": "pnpm@10.6.5",
|
|
65
65
|
"pnpm": {
|
|
66
66
|
"onlyBuiltDependencies": [
|
|
67
67
|
"@parcel/watcher",
|
|
68
68
|
"esbuild"
|
|
69
|
-
]
|
|
69
|
+
],
|
|
70
|
+
"overrides": {
|
|
71
|
+
"is-core-module": "npm:@nolyfill/is-core-module@^1.0.39",
|
|
72
|
+
"isarray": "npm:@nolyfill/isarray@^1.0.44",
|
|
73
|
+
"safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.44"
|
|
74
|
+
}
|
|
70
75
|
}
|
|
71
76
|
}
|