nuxt-modern-cropper 1.6.11 → 1.7.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-PRESENT Trung Dang <https://github.com/NamesMT>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -59,26 +59,26 @@ const cropperRef = useTemplateRef('cropperRef')
59
59
 
60
60
  ```bash
61
61
  # Install dependencies
62
- npm install
62
+ pnpm install
63
63
 
64
64
  # Generate type stubs
65
- npm run dev:prepare
65
+ pnpm run dev:prepare
66
66
 
67
67
  # Develop with the playground
68
- npm run dev
68
+ pnpm run dev
69
69
 
70
70
  # Build the playground
71
- npm run dev:build
71
+ pnpm run dev:build
72
72
 
73
73
  # Run ESLint
74
- npm run lint
74
+ pnpm run lint
75
75
 
76
76
  # Run Vitest
77
- npm run test
78
- npm run test:watch
77
+ pnpm run test
78
+ pnpm run test:watch
79
79
 
80
80
  # Release new version
81
- npm run release
81
+ pnpm run release
82
82
  ```
83
83
 
84
84
  </details>
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "nuxt-modern-cropper",
3
3
  "configKey": "modernCropper",
4
- "version": "1.6.11",
4
+ "version": "1.7.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
- "unbuild": "2.0.0"
7
+ "unbuild": "unknown"
8
8
  }
9
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-modern-cropper",
3
- "version": "1.6.11",
4
- "description": "Power-packed wrapper over cropperjs@next",
3
+ "version": "1.7.0",
4
+ "description": "Power-packed wrapper over cropperjs",
5
5
  "repository": "namesmt/nuxt-modern-cropper",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -37,21 +37,23 @@
37
37
  "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@nuxt/kit": "^3.16.2"
40
+ "@nuxt/kit": "^3.19.3"
41
41
  },
42
42
  "devDependencies": {
43
- "@nuxt/devtools": "^2.3.2",
44
- "@nuxt/eslint-config": "^1.3.0",
43
+ "@nuxt/devtools": "^2.7.0",
44
+ "@nuxt/eslint-config": "^1.17.0",
45
45
  "@nuxt/module-builder": "^0.8.4",
46
- "@nuxt/schema": "^3.16.2",
47
- "@nuxt/test-utils": "^3.17.2",
46
+ "@nuxt/schema": "~3.19.3",
47
+ "@nuxt/test-utils": "^3.23.0",
48
48
  "@types/node": "latest",
49
- "changelogen": "^0.6.1",
50
- "eslint": "^9.23.0",
51
- "nuxt": "^3.16.2",
52
- "typescript": "^5.8.2",
53
- "vitest": "^3.1.1",
54
- "vue-tsc": "^2.2.8"
49
+ "changelogen": "^0.6.2",
50
+ "cropperjs": "^2.0.0",
51
+ "eslint": "^10.10.0",
52
+ "nuxi": "3.24.1",
53
+ "nuxt": "~3.19.3",
54
+ "typescript": "^5.9.3",
55
+ "vitest": "^3.2.7",
56
+ "vue-tsc": "^2.2.12"
55
57
  },
56
58
  "peerDependencies": {
57
59
  "vue-modern-cropper": "^1"
@@ -61,16 +63,5 @@
61
63
  "optional": false
62
64
  }
63
65
  },
64
- "packageManager": "pnpm@10.7.1",
65
- "pnpm": {
66
- "onlyBuiltDependencies": [
67
- "@parcel/watcher",
68
- "esbuild"
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
- }
75
- }
66
+ "packageManager": "pnpm@12.4.1"
76
67
  }
@@ -1,2 +0,0 @@
1
- declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { defineNuxtPlugin } from "#app";
2
- export default defineNuxtPlugin(() => {
3
- });