@fortawesome/vue-fontawesome 3.1.1 → 3.1.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/CHANGELOG.md +15 -0
- package/index.d.ts +2 -2
- package/package.json +4 -14
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [3.1.2](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.1.2) - 2025-09-09
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Replaced Jest with Vitest as the test runner for unit tests. This will help improve test performance and better aligns
|
|
12
|
+
with the Vue 3 + Vite ecosystem.
|
|
13
|
+
|
|
14
|
+
- Updated `FontAwesomeIconProps`:
|
|
15
|
+
- `flip` now accepts the `boolean` type in addition to `'horizontal' | 'vertical' | 'both'`
|
|
16
|
+
- `maskId` is now correctly typed as `string`
|
|
17
|
+
|
|
18
|
+
- Updated `DEVELOPMENT.md` with revised release instructions
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
7
22
|
## [3.1.1](https://github.com/FortAwesome/vue-fontawesome/releases/tag/3.1.1) - 2025-07-24
|
|
8
23
|
|
|
9
24
|
### Changed
|
package/index.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import { DefineComponent } from 'vue'
|
|
|
4
4
|
interface FontAwesomeIconProps {
|
|
5
5
|
border?: boolean
|
|
6
6
|
fixedWidth?: boolean
|
|
7
|
-
flip?: 'horizontal' | 'vertical' | 'both'
|
|
7
|
+
flip?: 'horizontal' | 'vertical' | 'both' | boolean
|
|
8
8
|
icon: object | Array<string> | string | IconDefinition
|
|
9
9
|
mask?: object | Array<string> | string
|
|
10
|
-
maskId?:
|
|
10
|
+
maskId?: string
|
|
11
11
|
listItem?: boolean
|
|
12
12
|
pull?: 'right' | 'left'
|
|
13
13
|
pulse?: boolean
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fortawesome/vue-fontawesome",
|
|
3
3
|
"description": "Official Vue component for Font Awesome 7",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.2",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"README.md",
|
|
@@ -14,15 +14,6 @@
|
|
|
14
14
|
"src/components/**.js",
|
|
15
15
|
"src/**.js"
|
|
16
16
|
],
|
|
17
|
-
"jest": {
|
|
18
|
-
"verbose": true,
|
|
19
|
-
"testEnvironmentOptions": {
|
|
20
|
-
"customExportConditions": [
|
|
21
|
-
"node",
|
|
22
|
-
"node-addons"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
17
|
"module": "index.es.js",
|
|
27
18
|
"jsnext:main": "index.es.js",
|
|
28
19
|
"types": "index.d.ts",
|
|
@@ -55,7 +46,7 @@
|
|
|
55
46
|
"scripts": {
|
|
56
47
|
"build": "rollup -c rollup.config.js",
|
|
57
48
|
"dist": "cross-env NODE_ENV=production npm run build",
|
|
58
|
-
"test": "
|
|
49
|
+
"test": "vitest run",
|
|
59
50
|
"prepack": "npm run dist"
|
|
60
51
|
},
|
|
61
52
|
"lint-staged": {
|
|
@@ -84,15 +75,14 @@
|
|
|
84
75
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
85
76
|
"@vue/test-utils": "^2.4.6",
|
|
86
77
|
"babel-core": "^7.0.0-bridge.0",
|
|
87
|
-
"babel-jest": "^28.1.1",
|
|
88
78
|
"concurrently": "^7.2.1",
|
|
89
79
|
"cross-env": "^7.0.3",
|
|
90
80
|
"humps": "^2.0.1",
|
|
91
81
|
"husky": "^8.0.1",
|
|
92
82
|
"install": "^0.13.0",
|
|
93
|
-
"
|
|
94
|
-
"jest-environment-jsdom": "^28.1.1",
|
|
83
|
+
"jsdom": "^22.1.0",
|
|
95
84
|
"lint-staged": "^13.0.0",
|
|
85
|
+
"vitest": "^0.34.4",
|
|
96
86
|
"markdown-toc": "^1.2.0",
|
|
97
87
|
"npm": "^10.2.2",
|
|
98
88
|
"prettier": "^3.0.3",
|