alamin655 commited on
Commit
3189de6
2 Parent(s): 68a2b95 bbc2268

Merge pull request #376 from neon-mmd/FIX/375_improve-the-stylint-checks-in-the-pre-commit-hook

Browse files
Files changed (3) hide show
  1. .stylelintrc.json +5 -2
  2. Cargo.lock +41 -34
  3. Cargo.toml +1 -1
.stylelintrc.json CHANGED
@@ -1,9 +1,12 @@
1
- {
2
  "extends": "stylelint-config-standard",
3
  "rules": {
4
  "alpha-value-notation": "number",
5
- "selector-class-pattern": null
 
6
  },
 
 
7
  "overrides": [
8
  {
9
  "files": ["*.js"],
 
1
+ {
2
  "extends": "stylelint-config-standard",
3
  "rules": {
4
  "alpha-value-notation": "number",
5
+ "selector-class-pattern": null,
6
+ "no-descending-specificity": null
7
  },
8
+ "fix": true,
9
+ "cache": true,
10
  "overrides": [
11
  {
12
  "files": ["*.js"],
Cargo.lock CHANGED
@@ -724,7 +724,7 @@ version = "0.12.0"
724
  source = "registry+https://github.com/rust-lang/crates.io-index"
725
  checksum = "888604f00b3db336d2af898ec3c1d5d0ddf5e6d462220f2ededc33a87ac4bbd5"
726
  dependencies = [
727
- "time 0.1.43",
728
  "url 1.7.2",
729
  ]
730
 
@@ -752,7 +752,7 @@ dependencies = [
752
  "publicsuffix",
753
  "serde",
754
  "serde_json",
755
- "time 0.1.43",
756
  "try_from",
757
  "url 1.7.2",
758
  ]
@@ -1413,7 +1413,7 @@ checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
1413
  dependencies = [
1414
  "cfg-if 1.0.0",
1415
  "libc",
1416
- "wasi",
1417
  ]
1418
 
1419
  [[package]]
@@ -1659,7 +1659,7 @@ dependencies = [
1659
  "log",
1660
  "net2",
1661
  "rustc_version 0.2.3",
1662
- "time 0.1.43",
1663
  "tokio 0.1.22",
1664
  "tokio-buf",
1665
  "tokio-executor",
@@ -1822,9 +1822,9 @@ dependencies = [
1822
 
1823
  [[package]]
1824
  name = "js-sys"
1825
- version = "0.3.64"
1826
  source = "registry+https://github.com/rust-lang/crates.io-index"
1827
- checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"
1828
  dependencies = [
1829
  "wasm-bindgen",
1830
  ]
@@ -2142,7 +2142,7 @@ checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0"
2142
  dependencies = [
2143
  "libc",
2144
  "log",
2145
- "wasi",
2146
  "windows-sys",
2147
  ]
2148
 
@@ -2279,9 +2279,9 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
2279
 
2280
  [[package]]
2281
  name = "openssl"
2282
- version = "0.10.57"
2283
  source = "registry+https://github.com/rust-lang/crates.io-index"
2284
- checksum = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c"
2285
  dependencies = [
2286
  "bitflags 2.4.1",
2287
  "cfg-if 1.0.0",
@@ -2311,9 +2311,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
2311
 
2312
  [[package]]
2313
  name = "openssl-sys"
2314
- version = "0.9.93"
2315
  source = "registry+https://github.com/rust-lang/crates.io-index"
2316
- checksum = "db4d56a4c0478783083cfafcc42493dd4a981d41669da64b4572a2a089b51b1d"
2317
  dependencies = [
2318
  "cc",
2319
  "libc",
@@ -2760,7 +2760,7 @@ dependencies = [
2760
  "mach2",
2761
  "once_cell",
2762
  "raw-cpuid",
2763
- "wasi",
2764
  "web-sys",
2765
  "winapi 0.3.9",
2766
  ]
@@ -3063,7 +3063,7 @@ dependencies = [
3063
  "serde",
3064
  "serde_json",
3065
  "serde_urlencoded 0.5.5",
3066
- "time 0.1.43",
3067
  "tokio 0.1.22",
3068
  "tokio-executor",
3069
  "tokio-io",
@@ -3800,11 +3800,12 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820"
3800
 
3801
  [[package]]
3802
  name = "time"
3803
- version = "0.1.43"
3804
  source = "registry+https://github.com/rust-lang/crates.io-index"
3805
- checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
3806
  dependencies = [
3807
  "libc",
 
3808
  "winapi 0.3.9",
3809
  ]
3810
 
@@ -4273,6 +4274,12 @@ dependencies = [
4273
  "try-lock",
4274
  ]
4275
 
 
 
 
 
 
 
4276
  [[package]]
4277
  name = "wasi"
4278
  version = "0.11.0+wasi-snapshot-preview1"
@@ -4281,9 +4288,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
4281
 
4282
  [[package]]
4283
  name = "wasm-bindgen"
4284
- version = "0.2.87"
4285
  source = "registry+https://github.com/rust-lang/crates.io-index"
4286
- checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
4287
  dependencies = [
4288
  "cfg-if 1.0.0",
4289
  "wasm-bindgen-macro",
@@ -4291,9 +4298,9 @@ dependencies = [
4291
 
4292
  [[package]]
4293
  name = "wasm-bindgen-backend"
4294
- version = "0.2.87"
4295
  source = "registry+https://github.com/rust-lang/crates.io-index"
4296
- checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"
4297
  dependencies = [
4298
  "bumpalo",
4299
  "log",
@@ -4306,9 +4313,9 @@ dependencies = [
4306
 
4307
  [[package]]
4308
  name = "wasm-bindgen-futures"
4309
- version = "0.4.37"
4310
  source = "registry+https://github.com/rust-lang/crates.io-index"
4311
- checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03"
4312
  dependencies = [
4313
  "cfg-if 1.0.0",
4314
  "js-sys",
@@ -4318,9 +4325,9 @@ dependencies = [
4318
 
4319
  [[package]]
4320
  name = "wasm-bindgen-macro"
4321
- version = "0.2.87"
4322
  source = "registry+https://github.com/rust-lang/crates.io-index"
4323
- checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
4324
  dependencies = [
4325
  "quote 1.0.33",
4326
  "wasm-bindgen-macro-support",
@@ -4328,9 +4335,9 @@ dependencies = [
4328
 
4329
  [[package]]
4330
  name = "wasm-bindgen-macro-support"
4331
- version = "0.2.87"
4332
  source = "registry+https://github.com/rust-lang/crates.io-index"
4333
- checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
4334
  dependencies = [
4335
  "proc-macro2 1.0.69",
4336
  "quote 1.0.33",
@@ -4341,15 +4348,15 @@ dependencies = [
4341
 
4342
  [[package]]
4343
  name = "wasm-bindgen-shared"
4344
- version = "0.2.87"
4345
  source = "registry+https://github.com/rust-lang/crates.io-index"
4346
- checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
4347
 
4348
  [[package]]
4349
  name = "web-sys"
4350
- version = "0.3.64"
4351
  source = "registry+https://github.com/rust-lang/crates.io-index"
4352
- checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b"
4353
  dependencies = [
4354
  "js-sys",
4355
  "wasm-bindgen",
@@ -4363,7 +4370,7 @@ checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc"
4363
 
4364
  [[package]]
4365
  name = "websurfx"
4366
- version = "1.2.16"
4367
  dependencies = [
4368
  "actix-cors",
4369
  "actix-files",
@@ -4559,18 +4566,18 @@ dependencies = [
4559
 
4560
  [[package]]
4561
  name = "zerocopy"
4562
- version = "0.7.20"
4563
  source = "registry+https://github.com/rust-lang/crates.io-index"
4564
- checksum = "dd66a62464e3ffd4e37bd09950c2b9dd6c4f8767380fabba0d523f9a775bc85a"
4565
  dependencies = [
4566
  "zerocopy-derive",
4567
  ]
4568
 
4569
  [[package]]
4570
  name = "zerocopy-derive"
4571
- version = "0.7.20"
4572
  source = "registry+https://github.com/rust-lang/crates.io-index"
4573
- checksum = "255c4596d41e6916ced49cfafea18727b24d67878fa180ddfd69b9df34fd1726"
4574
  dependencies = [
4575
  "proc-macro2 1.0.69",
4576
  "quote 1.0.33",
 
724
  source = "registry+https://github.com/rust-lang/crates.io-index"
725
  checksum = "888604f00b3db336d2af898ec3c1d5d0ddf5e6d462220f2ededc33a87ac4bbd5"
726
  dependencies = [
727
+ "time 0.1.45",
728
  "url 1.7.2",
729
  ]
730
 
 
752
  "publicsuffix",
753
  "serde",
754
  "serde_json",
755
+ "time 0.1.45",
756
  "try_from",
757
  "url 1.7.2",
758
  ]
 
1413
  dependencies = [
1414
  "cfg-if 1.0.0",
1415
  "libc",
1416
+ "wasi 0.11.0+wasi-snapshot-preview1",
1417
  ]
1418
 
1419
  [[package]]
 
1659
  "log",
1660
  "net2",
1661
  "rustc_version 0.2.3",
1662
+ "time 0.1.45",
1663
  "tokio 0.1.22",
1664
  "tokio-buf",
1665
  "tokio-executor",
 
1822
 
1823
  [[package]]
1824
  name = "js-sys"
1825
+ version = "0.3.65"
1826
  source = "registry+https://github.com/rust-lang/crates.io-index"
1827
+ checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8"
1828
  dependencies = [
1829
  "wasm-bindgen",
1830
  ]
 
2142
  dependencies = [
2143
  "libc",
2144
  "log",
2145
+ "wasi 0.11.0+wasi-snapshot-preview1",
2146
  "windows-sys",
2147
  ]
2148
 
 
2279
 
2280
  [[package]]
2281
  name = "openssl"
2282
+ version = "0.10.58"
2283
  source = "registry+https://github.com/rust-lang/crates.io-index"
2284
+ checksum = "a9dfc0783362704e97ef3bd24261995a699468440099ef95d869b4d9732f829a"
2285
  dependencies = [
2286
  "bitflags 2.4.1",
2287
  "cfg-if 1.0.0",
 
2311
 
2312
  [[package]]
2313
  name = "openssl-sys"
2314
+ version = "0.9.94"
2315
  source = "registry+https://github.com/rust-lang/crates.io-index"
2316
+ checksum = "2f55da20b29f956fb01f0add8683eb26ee13ebe3ebd935e49898717c6b4b2830"
2317
  dependencies = [
2318
  "cc",
2319
  "libc",
 
2760
  "mach2",
2761
  "once_cell",
2762
  "raw-cpuid",
2763
+ "wasi 0.11.0+wasi-snapshot-preview1",
2764
  "web-sys",
2765
  "winapi 0.3.9",
2766
  ]
 
3063
  "serde",
3064
  "serde_json",
3065
  "serde_urlencoded 0.5.5",
3066
+ "time 0.1.45",
3067
  "tokio 0.1.22",
3068
  "tokio-executor",
3069
  "tokio-io",
 
3800
 
3801
  [[package]]
3802
  name = "time"
3803
+ version = "0.1.45"
3804
  source = "registry+https://github.com/rust-lang/crates.io-index"
3805
+ checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
3806
  dependencies = [
3807
  "libc",
3808
+ "wasi 0.10.0+wasi-snapshot-preview1",
3809
  "winapi 0.3.9",
3810
  ]
3811
 
 
4274
  "try-lock",
4275
  ]
4276
 
4277
+ [[package]]
4278
+ name = "wasi"
4279
+ version = "0.10.0+wasi-snapshot-preview1"
4280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
4281
+ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
4282
+
4283
  [[package]]
4284
  name = "wasi"
4285
  version = "0.11.0+wasi-snapshot-preview1"
 
4288
 
4289
  [[package]]
4290
  name = "wasm-bindgen"
4291
+ version = "0.2.88"
4292
  source = "registry+https://github.com/rust-lang/crates.io-index"
4293
+ checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce"
4294
  dependencies = [
4295
  "cfg-if 1.0.0",
4296
  "wasm-bindgen-macro",
 
4298
 
4299
  [[package]]
4300
  name = "wasm-bindgen-backend"
4301
+ version = "0.2.88"
4302
  source = "registry+https://github.com/rust-lang/crates.io-index"
4303
+ checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217"
4304
  dependencies = [
4305
  "bumpalo",
4306
  "log",
 
4313
 
4314
  [[package]]
4315
  name = "wasm-bindgen-futures"
4316
+ version = "0.4.38"
4317
  source = "registry+https://github.com/rust-lang/crates.io-index"
4318
+ checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02"
4319
  dependencies = [
4320
  "cfg-if 1.0.0",
4321
  "js-sys",
 
4325
 
4326
  [[package]]
4327
  name = "wasm-bindgen-macro"
4328
+ version = "0.2.88"
4329
  source = "registry+https://github.com/rust-lang/crates.io-index"
4330
+ checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2"
4331
  dependencies = [
4332
  "quote 1.0.33",
4333
  "wasm-bindgen-macro-support",
 
4335
 
4336
  [[package]]
4337
  name = "wasm-bindgen-macro-support"
4338
+ version = "0.2.88"
4339
  source = "registry+https://github.com/rust-lang/crates.io-index"
4340
+ checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907"
4341
  dependencies = [
4342
  "proc-macro2 1.0.69",
4343
  "quote 1.0.33",
 
4348
 
4349
  [[package]]
4350
  name = "wasm-bindgen-shared"
4351
+ version = "0.2.88"
4352
  source = "registry+https://github.com/rust-lang/crates.io-index"
4353
+ checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b"
4354
 
4355
  [[package]]
4356
  name = "web-sys"
4357
+ version = "0.3.65"
4358
  source = "registry+https://github.com/rust-lang/crates.io-index"
4359
+ checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85"
4360
  dependencies = [
4361
  "js-sys",
4362
  "wasm-bindgen",
 
4370
 
4371
  [[package]]
4372
  name = "websurfx"
4373
+ version = "1.2.23"
4374
  dependencies = [
4375
  "actix-cors",
4376
  "actix-files",
 
4566
 
4567
  [[package]]
4568
  name = "zerocopy"
4569
+ version = "0.7.23"
4570
  source = "registry+https://github.com/rust-lang/crates.io-index"
4571
+ checksum = "e50cbb27c30666a6108abd6bc7577556265b44f243e2be89a8bc4e07a528c107"
4572
  dependencies = [
4573
  "zerocopy-derive",
4574
  ]
4575
 
4576
  [[package]]
4577
  name = "zerocopy-derive"
4578
+ version = "0.7.23"
4579
  source = "registry+https://github.com/rust-lang/crates.io-index"
4580
+ checksum = "a25f293fe55f0a48e7010d65552bb63704f6ceb55a1a385da10d41d8f78e4a3d"
4581
  dependencies = [
4582
  "proc-macro2 1.0.69",
4583
  "quote 1.0.33",
Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
  [package]
2
  name = "websurfx"
3
- version = "1.2.16"
4
  edition = "2021"
5
  description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
6
  repository = "https://github.com/neon-mmd/websurfx"
 
1
  [package]
2
  name = "websurfx"
3
+ version = "1.2.23"
4
  edition = "2021"
5
  description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
6
  repository = "https://github.com/neon-mmd/websurfx"