mihari 5.3.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +8 -2
  3. data/frontend/package-lock.json +131 -7
  4. data/frontend/package.json +4 -1
  5. data/frontend/src/components/Loading.vue +1 -1
  6. data/frontend/src/components/alert/Alert.vue +1 -1
  7. data/frontend/src/components/alert/AlertsWrapper.vue +1 -1
  8. data/frontend/src/components/artifact/Artifact.vue +3 -3
  9. data/frontend/src/components/config/Configs.vue +2 -2
  10. data/frontend/src/components/rule/EditRule.vue +1 -1
  11. data/frontend/src/components/rule/NewRule.vue +1 -1
  12. data/frontend/src/components/rule/Rule.vue +3 -3
  13. data/frontend/src/components/rule/RulesWrapper.vue +1 -1
  14. data/frontend/src/main.ts +33 -3
  15. data/lib/mihari/version.rb +1 -1
  16. data/lib/mihari/web/public/assets/{index-2ba8f0a6.css → index-b17c40c6.css} +1 -5
  17. data/lib/mihari/web/public/assets/index-f740e4f9.js +799 -0
  18. data/lib/mihari/web/public/index.html +2 -2
  19. metadata +8 -58
  20. data/lib/mihari/web/public/assets/fa-brands-400-20c4a58b.ttf +0 -0
  21. data/lib/mihari/web/public/assets/fa-brands-400-74833209.woff2 +0 -0
  22. data/lib/mihari/web/public/assets/fa-regular-400-528d022d.ttf +0 -0
  23. data/lib/mihari/web/public/assets/fa-regular-400-8e7e5ea1.woff2 +0 -0
  24. data/lib/mihari/web/public/assets/fa-solid-900-67a65763.ttf +0 -0
  25. data/lib/mihari/web/public/assets/fa-solid-900-7152a693.woff2 +0 -0
  26. data/lib/mihari/web/public/assets/fa-v4compatibility-0515a423.ttf +0 -0
  27. data/lib/mihari/web/public/assets/fa-v4compatibility-694a17c3.woff2 +0 -0
  28. data/lib/mihari/web/public/assets/index-71285b15.js +0 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd57a532476405abe91365f68d2dd91d7ca0a4845dc25ed28bc010e081362848
4
- data.tar.gz: 0271f4d51d5f51c24db927c1d732a6a8bee779c69db1c9a0961e4665bd61f0f0
3
+ metadata.gz: 95bcd601b1d5da1ae6321897945e7e0c26403d8e00e838e177961b887201ba92
4
+ data.tar.gz: d0ee081fd7f62c09912a1ec579d0b36506f36812ec7dc3a2b9ee7699885399a3
5
5
  SHA512:
6
- metadata.gz: a9a2a1d0e77a5211a93589fe9ff2b5275ced7dd455760ff66828a826f36683351944d7c4b7db64f14c117b4e3bbc91771a230947427be47defa615a9537ee3a5
7
- data.tar.gz: 871255c6d8736417067d26438c0fd8d2cd464a350ccc683c8f052a21b0c036aeadc5c512b0b17a499a0f0544e285257221aa5137f11d628c7c78bc10dae0a9a9
6
+ metadata.gz: '053815e2ecfac88a95cb894d566f8acc57e8047104108fa79b58c1290d99157a7cf01a068c1aa6b568d27cd02eec0dc541950baf3085aefa5feb985f87754e32'
7
+ data.tar.gz: ac054dfc7e0fb84530ac15da1a14059b6af597ce02464cb1430ad9fd38eacf40a1eefd01cfb3892e5d3c9c58ff8a6f1e7d1f007e27e39782f3fdba3855ffbc56
data/Rakefile CHANGED
@@ -12,8 +12,14 @@ task :rackup do
12
12
  sh "rerun --pattern '{Gemfile.lock,lib/**/*.rb,lib/*.rb}' -- rackup config.ru"
13
13
  end
14
14
 
15
- task :build do
16
- sh "./build_frontend.sh"
15
+ def ci?
16
+ ENV.fetch("CI", false)
17
+ end
18
+
19
+ unless ci?
20
+ task :build do
21
+ sh "./build_frontend.sh"
22
+ end
17
23
  end
18
24
 
19
25
  # require it later enables doing pre-build step (= build the frontend app)
@@ -8,13 +8,16 @@
8
8
  "name": "mihari",
9
9
  "version": "0.1.0",
10
10
  "dependencies": {
11
- "@fortawesome/fontawesome-free": "^6.4.0",
11
+ "@fortawesome/fontawesome-svg-core": "^6.4.0",
12
+ "@fortawesome/free-solid-svg-icons": "^6.4.0",
13
+ "@fortawesome/vue-fontawesome": "^3.0.3",
12
14
  "@vueuse/core": "^10.2.1",
13
15
  "@vueuse/router": "^10.2.1",
14
16
  "axios": "^1.4.0",
15
17
  "bulma": "^0.9.4",
16
18
  "bulma-helpers": "^0.4.3",
17
19
  "dayjs": "^1.11.9",
20
+ "font-awesome-animation": "^1.1.1",
18
21
  "js-sha256": "^0.9.0",
19
22
  "truncate": "^3.0.0",
20
23
  "ts-dedent": "^2.2.0",
@@ -1003,15 +1006,48 @@
1003
1006
  "integrity": "sha512-PQdbF8dGd4LnbwBlcc4ML8RKYdplm+e9sUeWBTr4zgF13/Shiuov9XznvM4T8cb1CfyKK21yTUkuAIIh/DAH/g==",
1004
1007
  "dev": true
1005
1008
  },
1006
- "node_modules/@fortawesome/fontawesome-free": {
1009
+ "node_modules/@fortawesome/fontawesome-common-types": {
1007
1010
  "version": "6.4.0",
1008
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.4.0.tgz",
1009
- "integrity": "sha512-0NyytTlPJwB/BF5LtRV8rrABDbe3TdTXqNB3PdZ+UUUZAEIrdOJdmABqKjt4AXwIoJNaRVVZEXxpNrqvE1GAYQ==",
1011
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.4.0.tgz",
1012
+ "integrity": "sha512-HNii132xfomg5QVZw0HwXXpN22s7VBHQBv9CeOu9tfJnhsWQNd2lmTNi8CSrnw5B+5YOmzu1UoPAyxaXsJ6RgQ==",
1010
1013
  "hasInstallScript": true,
1011
1014
  "engines": {
1012
1015
  "node": ">=6"
1013
1016
  }
1014
1017
  },
1018
+ "node_modules/@fortawesome/fontawesome-svg-core": {
1019
+ "version": "6.4.0",
1020
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-6.4.0.tgz",
1021
+ "integrity": "sha512-Bertv8xOiVELz5raB2FlXDPKt+m94MQ3JgDfsVbrqNpLU9+UE2E18GKjLKw+d3XbeYPqg1pzyQKGsrzbw+pPaw==",
1022
+ "hasInstallScript": true,
1023
+ "dependencies": {
1024
+ "@fortawesome/fontawesome-common-types": "6.4.0"
1025
+ },
1026
+ "engines": {
1027
+ "node": ">=6"
1028
+ }
1029
+ },
1030
+ "node_modules/@fortawesome/free-solid-svg-icons": {
1031
+ "version": "6.4.0",
1032
+ "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-6.4.0.tgz",
1033
+ "integrity": "sha512-kutPeRGWm8V5dltFP1zGjQOEAzaLZj4StdQhWVZnfGFCvAPVvHh8qk5bRrU4KXnRRRNni5tKQI9PBAdI6MP8nQ==",
1034
+ "hasInstallScript": true,
1035
+ "dependencies": {
1036
+ "@fortawesome/fontawesome-common-types": "6.4.0"
1037
+ },
1038
+ "engines": {
1039
+ "node": ">=6"
1040
+ }
1041
+ },
1042
+ "node_modules/@fortawesome/vue-fontawesome": {
1043
+ "version": "3.0.3",
1044
+ "resolved": "https://registry.npmjs.org/@fortawesome/vue-fontawesome/-/vue-fontawesome-3.0.3.tgz",
1045
+ "integrity": "sha512-KCPHi9QemVXGMrfuwf3nNnNo129resAIQWut9QTAMXmXqL2ErABC6ohd2yY5Ipq0CLWNbKHk8TMdTXL/Zf3ZhA==",
1046
+ "peerDependencies": {
1047
+ "@fortawesome/fontawesome-svg-core": "~1 || ~6",
1048
+ "vue": ">= 3.0.0 < 4"
1049
+ }
1050
+ },
1015
1051
  "node_modules/@humanwhocodes/config-array": {
1016
1052
  "version": "0.11.10",
1017
1053
  "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz",
@@ -2634,6 +2670,26 @@
2634
2670
  "node": ">=8"
2635
2671
  }
2636
2672
  },
2673
+ "node_modules/arraybuffer.prototype.slice": {
2674
+ "version": "1.0.1",
2675
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz",
2676
+ "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==",
2677
+ "dev": true,
2678
+ "dependencies": {
2679
+ "array-buffer-byte-length": "^1.0.0",
2680
+ "call-bind": "^1.0.2",
2681
+ "define-properties": "^1.2.0",
2682
+ "get-intrinsic": "^1.2.1",
2683
+ "is-array-buffer": "^3.0.2",
2684
+ "is-shared-array-buffer": "^1.0.2"
2685
+ },
2686
+ "engines": {
2687
+ "node": ">= 0.4"
2688
+ },
2689
+ "funding": {
2690
+ "url": "https://github.com/sponsors/ljharb"
2691
+ }
2692
+ },
2637
2693
  "node_modules/assert-node-version": {
2638
2694
  "version": "1.0.3",
2639
2695
  "resolved": "https://registry.npmjs.org/assert-node-version/-/assert-node-version-1.0.3.tgz",
@@ -3428,12 +3484,13 @@
3428
3484
  }
3429
3485
  },
3430
3486
  "node_modules/es-abstract": {
3431
- "version": "1.21.3",
3432
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.3.tgz",
3433
- "integrity": "sha512-ZU4miiY1j3sGPFLJ34VJXEqhpmL+HGByCinGHv4HC+Fxl2fI2Z4yR6tl0mORnDr6PA8eihWo4LmSWDbvhALckg==",
3487
+ "version": "1.22.1",
3488
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz",
3489
+ "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==",
3434
3490
  "dev": true,
3435
3491
  "dependencies": {
3436
3492
  "array-buffer-byte-length": "^1.0.0",
3493
+ "arraybuffer.prototype.slice": "^1.0.1",
3437
3494
  "available-typed-arrays": "^1.0.5",
3438
3495
  "call-bind": "^1.0.2",
3439
3496
  "es-set-tostringtag": "^2.0.1",
@@ -3460,10 +3517,13 @@
3460
3517
  "object-keys": "^1.1.1",
3461
3518
  "object.assign": "^4.1.4",
3462
3519
  "regexp.prototype.flags": "^1.5.0",
3520
+ "safe-array-concat": "^1.0.0",
3463
3521
  "safe-regex-test": "^1.0.0",
3464
3522
  "string.prototype.trim": "^1.2.7",
3465
3523
  "string.prototype.trimend": "^1.0.6",
3466
3524
  "string.prototype.trimstart": "^1.0.6",
3525
+ "typed-array-buffer": "^1.0.0",
3526
+ "typed-array-byte-length": "^1.0.0",
3467
3527
  "typed-array-byte-offset": "^1.0.0",
3468
3528
  "typed-array-length": "^1.0.4",
3469
3529
  "unbox-primitive": "^1.0.2",
@@ -4050,6 +4110,14 @@
4050
4110
  }
4051
4111
  }
4052
4112
  },
4113
+ "node_modules/font-awesome-animation": {
4114
+ "version": "1.1.1",
4115
+ "resolved": "https://registry.npmjs.org/font-awesome-animation/-/font-awesome-animation-1.1.1.tgz",
4116
+ "integrity": "sha512-WHl4zhyb0LeqT+v2JClv5yNZ+63e2Mbbu+9ycL3FGVHtZA8zn4iaMBxA6AgcJySLlfdjuTEA0lBZBW2CE1cwpQ==",
4117
+ "engines": {
4118
+ "node": ">=12.0.0"
4119
+ }
4120
+ },
4053
4121
  "node_modules/for-each": {
4054
4122
  "version": "0.3.3",
4055
4123
  "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
@@ -4982,6 +5050,12 @@
4982
5050
  "url": "https://github.com/sponsors/sindresorhus"
4983
5051
  }
4984
5052
  },
5053
+ "node_modules/isarray": {
5054
+ "version": "2.0.5",
5055
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
5056
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
5057
+ "dev": true
5058
+ },
4985
5059
  "node_modules/isexe": {
4986
5060
  "version": "2.0.0",
4987
5061
  "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
@@ -6921,6 +6995,24 @@
6921
6995
  "queue-microtask": "^1.2.2"
6922
6996
  }
6923
6997
  },
6998
+ "node_modules/safe-array-concat": {
6999
+ "version": "1.0.0",
7000
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz",
7001
+ "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==",
7002
+ "dev": true,
7003
+ "dependencies": {
7004
+ "call-bind": "^1.0.2",
7005
+ "get-intrinsic": "^1.2.0",
7006
+ "has-symbols": "^1.0.3",
7007
+ "isarray": "^2.0.5"
7008
+ },
7009
+ "engines": {
7010
+ "node": ">=0.4"
7011
+ },
7012
+ "funding": {
7013
+ "url": "https://github.com/sponsors/ljharb"
7014
+ }
7015
+ },
6924
7016
  "node_modules/safe-buffer": {
6925
7017
  "version": "5.2.1",
6926
7018
  "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
@@ -7835,6 +7927,38 @@
7835
7927
  "url": "https://github.com/sponsors/sindresorhus"
7836
7928
  }
7837
7929
  },
7930
+ "node_modules/typed-array-buffer": {
7931
+ "version": "1.0.0",
7932
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz",
7933
+ "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==",
7934
+ "dev": true,
7935
+ "dependencies": {
7936
+ "call-bind": "^1.0.2",
7937
+ "get-intrinsic": "^1.2.1",
7938
+ "is-typed-array": "^1.1.10"
7939
+ },
7940
+ "engines": {
7941
+ "node": ">= 0.4"
7942
+ }
7943
+ },
7944
+ "node_modules/typed-array-byte-length": {
7945
+ "version": "1.0.0",
7946
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz",
7947
+ "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==",
7948
+ "dev": true,
7949
+ "dependencies": {
7950
+ "call-bind": "^1.0.2",
7951
+ "for-each": "^0.3.3",
7952
+ "has-proto": "^1.0.1",
7953
+ "is-typed-array": "^1.1.10"
7954
+ },
7955
+ "engines": {
7956
+ "node": ">= 0.4"
7957
+ },
7958
+ "funding": {
7959
+ "url": "https://github.com/sponsors/ljharb"
7960
+ }
7961
+ },
7838
7962
  "node_modules/typed-array-byte-offset": {
7839
7963
  "version": "1.0.0",
7840
7964
  "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz",
@@ -14,13 +14,16 @@
14
14
  "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false"
15
15
  },
16
16
  "dependencies": {
17
- "@fortawesome/fontawesome-free": "^6.4.0",
17
+ "@fortawesome/fontawesome-svg-core": "^6.4.0",
18
+ "@fortawesome/free-solid-svg-icons": "^6.4.0",
19
+ "@fortawesome/vue-fontawesome": "^3.0.3",
18
20
  "@vueuse/core": "^10.2.1",
19
21
  "@vueuse/router": "^10.2.1",
20
22
  "axios": "^1.4.0",
21
23
  "bulma": "^0.9.4",
22
24
  "bulma-helpers": "^0.4.3",
23
25
  "dayjs": "^1.11.9",
26
+ "font-awesome-animation": "^1.1.1",
24
27
  "js-sha256": "^0.9.0",
25
28
  "truncate": "^3.0.0",
26
29
  "ts-dedent": "^2.2.0",
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="has-text-centered">
3
3
  <div class="fa-3x">
4
- <i class="fas fa-spinner fa-spin"></i>
4
+ <font-awesome-icon icon="spinner" spin></font-awesome-icon>
5
5
  </div>
6
6
  </div>
7
7
  </template>
@@ -8,7 +8,7 @@
8
8
  <button class="button is-light is-small is-pulled-right" @click="deleteAlert">
9
9
  <span>Delete</span>
10
10
  <span class="icon is-small">
11
- <i class="fas fa-times"></i>
11
+ <font-awesome-icon icon="times"></font-awesome-icon>
12
12
  </span>
13
13
  </button>
14
14
  </td>
@@ -16,7 +16,7 @@
16
16
  <p class="control">
17
17
  <a class="button is-primary" @click="search">
18
18
  <span class="icon is-small">
19
- <i class="fas fa-search"></i>
19
+ <font-awesome-icon icon="search"></font-awesome-icon>
20
20
  </span>
21
21
  <span>Search</span>
22
22
  </a>
@@ -44,7 +44,7 @@
44
44
  <button class="button is-primary is-light is-small" @click="enrichArtifact">
45
45
  <span>Enrich</span>
46
46
  <span class="icon is-small">
47
- <i class="fas fa-lightbulb"></i>
47
+ <font-awesome-icon icon="lightbulb"></font-awesome-icon>
48
48
  </span>
49
49
  </button>
50
50
 
@@ -55,14 +55,14 @@
55
55
  >
56
56
  <span>Metadata</span>
57
57
  <span class="icon is-small">
58
- <i class="fas fa-info-circle"></i>
58
+ <font-awesome-icon icon="info-circle"></font-awesome-icon>
59
59
  </span>
60
60
  </button>
61
61
 
62
62
  <button class="button is-light is-small" @click="deleteArtifact">
63
63
  <span>Delete</span>
64
64
  <span class="icon is-small">
65
- <i class="fas fa-times"></i>
65
+ <font-awesome-icon icon="times"></font-awesome-icon>
66
66
  </span>
67
67
  </button>
68
68
  </span>
@@ -21,13 +21,13 @@
21
21
  <td>
22
22
  <button class="button is-success is-small ml-1" v-if="config.isConfigured">
23
23
  <span class="icon is-small">
24
- <i class="fas fa-check"></i>
24
+ <font-awesome-icon icon="check"></font-awesome-icon>
25
25
  </span>
26
26
  <span>Yes</span>
27
27
  </button>
28
28
  <button class="button is-warning is-small ml-1" v-else>
29
29
  <span class="icon is-small">
30
- <i class="fas fa-exclamation"></i>
30
+ <font-awesome-icon icon="exclamation"></font-awesome-icon>
31
31
  </span>
32
32
  <span>No</span>
33
33
  </button>
@@ -8,7 +8,7 @@
8
8
  <p class="control">
9
9
  <a class="button is-primary" @click="edit">
10
10
  <span class="icon is-small">
11
- <i class="fas fa-edit"></i>
11
+ <font-awesome-icon icon="edit"></font-awesome-icon>
12
12
  </span>
13
13
  <span>Edit</span>
14
14
  </a>
@@ -8,7 +8,7 @@
8
8
  <p class="control">
9
9
  <a class="button is-primary" @click="create">
10
10
  <span class="icon is-small">
11
- <i class="fas fa-plus"></i>
11
+ <font-awesome-icon icon="plus"></font-awesome-icon>
12
12
  </span>
13
13
  <span>Create</span>
14
14
  </a>
@@ -17,7 +17,7 @@
17
17
  <button class="button is-primary is-light is-small" @click="runRule">
18
18
  <span>Run</span>
19
19
  <span class="icon is-small">
20
- <i class="fas fa-arrow-right"></i>
20
+ <font-awesome-icon icon="arrow-right"></font-awesome-icon>
21
21
  </span>
22
22
  </button>
23
23
  <router-link
@@ -26,13 +26,13 @@
26
26
  >
27
27
  <span>Edit</span>
28
28
  <span class="icon is-small">
29
- <i class="fas fa-edit"></i>
29
+ <font-awesome-icon icon="edit"></font-awesome-icon>
30
30
  </span>
31
31
  </router-link>
32
32
  <button class="button is-light is-small" @click="deleteRule">
33
33
  <span>Delete</span>
34
34
  <span class="icon is-small">
35
- <i class="fas fa-times"></i>
35
+ <font-awesome-icon icon="times"></font-awesome-icon>
36
36
  </span>
37
37
  </button>
38
38
  </span>
@@ -14,7 +14,7 @@
14
14
  <p class="control">
15
15
  <a class="button is-primary" @click="search">
16
16
  <span class="icon is-small">
17
- <i class="fas fa-search"></i>
17
+ <font-awesome-icon icon="search"></font-awesome-icon>
18
18
  </span>
19
19
  <span>Search</span>
20
20
  </a>
data/frontend/src/main.ts CHANGED
@@ -1,11 +1,41 @@
1
1
  import "bulma/css/bulma.css"
2
2
  import "bulma-helpers/css/bulma-helpers.min.css"
3
- import "@fortawesome/fontawesome-free/css/all.css"
4
- import "@fortawesome/fontawesome-free/js/all.js"
3
+ import "font-awesome-animation/css/font-awesome-animation.min.css"
5
4
 
5
+ import { library } from "@fortawesome/fontawesome-svg-core"
6
+ import {
7
+ faArrowRight,
8
+ faCheck,
9
+ faEdit,
10
+ faExclamation,
11
+ faInfoCircle,
12
+ faLightbulb,
13
+ faPlus,
14
+ faSearch,
15
+ faSpinner,
16
+ faTimes
17
+ } from "@fortawesome/free-solid-svg-icons"
18
+ import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"
6
19
  import { createApp } from "vue"
7
20
 
8
21
  import App from "@/App.vue"
9
22
  import router from "@/router"
10
23
 
11
- createApp(App).use(router).mount("#app")
24
+ library.add(
25
+ faArrowRight,
26
+ faCheck,
27
+ faEdit,
28
+ faExclamation,
29
+ faInfoCircle,
30
+ faLightbulb,
31
+ faPlus,
32
+ faSearch,
33
+ faSpinner,
34
+ faTimes
35
+ )
36
+
37
+ const app = createApp(App)
38
+
39
+ app.component("font-awesome-icon", FontAwesomeIcon)
40
+
41
+ app.use(router).mount("#app")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mihari
4
- VERSION = "5.3.0"
4
+ VERSION = "5.3.1"
5
5
  end