v-code-diff 1.7.1 → 1.7.2

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 CHANGED
@@ -205,3 +205,7 @@ simultaneously.
205
205
  | isShowNoChange | Display source code when there is no comparison | Removed as it became the default in version 1.x |
206
206
  | trim | Remove blank characters at the beginning and end of the string | None |
207
207
  | noDiffLineFeed | Don't diff Windows line feed (CRLF) and Linux line feed (LF) | None |
208
+
209
+ ## Star History
210
+
211
+ [![Star History Chart](https://api.star-history.com/svg?repos=Shimada666/v-code-diff&type=Date)](https://star-history.com/#Shimada666/v-code-diff&Date)
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "v-code-diff",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "template component for vue-demi, can dev and build",
5
5
  "exports": {
6
6
  ".": {
7
+ "types": "./types/index.d.ts",
7
8
  "require": "./dist/index.cjs.js",
8
9
  "import": "./dist/index.es.js"
9
10
  }
@@ -69,5 +70,14 @@
69
70
  "vue-tsc": "^0.40.13",
70
71
  "vue2": "npm:vue@2",
71
72
  "vue3": "npm:vue@3"
73
+ },
74
+ "pnpm": {
75
+ "packageExtensions": {
76
+ "vue-template-compiler": {
77
+ "peerDependencies": {
78
+ "vue": "~2.6.14"
79
+ }
80
+ }
81
+ }
72
82
  }
73
83
  }
package/src/CodeDiff.vue CHANGED
@@ -18,8 +18,8 @@ interface Props {
18
18
  noDiffLineFeed?: boolean
19
19
  maxHeight?: string
20
20
  filename?: string
21
- hideHeader: boolean
22
- hideStat: boolean
21
+ hideHeader?: boolean
22
+ hideStat?: boolean
23
23
  }
24
24
 
25
25
  interface DiffResult {