Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bb1ec8a

Browse files
committedMay 17, 2021
⬆️ deps: Upgrade xo to v0.40.0.
1 parent 6005bec commit bb1ec8a

File tree

4 files changed

+68
-23
lines changed

4 files changed

+68
-23
lines changed
 

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"power-assert": "1.6.1",
8787
"regenerator-runtime": "0.13.7",
8888
"string-algorithms": "1.0.31",
89-
"xo": "0.39.1"
89+
"xo": "0.40.0"
9090
},
9191
"ava": {
9292
"files": [

‎src/mock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import assert from 'assert';
1+
import assert from 'node:assert';
22
import StringSlice from './StringSlice.js';
33
import Hit from './Hit.js';
44

‎test/src/_fixtures.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import {map} from '@iterable-iterator/map';
22

3-
import {mock, StringSlice} from '../../src/index.js';
4-
53
import {search as _stringAlgorithmsKMP} from 'string-algorithms';
4+
import {mock, StringSlice} from '../../src/index.js';
65

76
export const mockedSingle = (s, si, sj, p, pi, pj) =>
87
map(

‎yarn.lock

Lines changed: 65 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,6 +1422,21 @@
14221422
minimatch "^3.0.4"
14231423
strip-json-comments "^3.1.1"
14241424

1425+
"@eslint/eslintrc@^0.4.1":
1426+
version "0.4.1"
1427+
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.1.tgz#442763b88cecbe3ee0ec7ca6d6dd6168550cbf14"
1428+
integrity sha512-5v7TDE9plVhvxQeWLXDTvFvJBdH6pEsdnl2g/dAptmuFEPedQ4Erq5rsDsX+mvAM610IhNaO2W5V1dOOnDKxkQ==
1429+
dependencies:
1430+
ajv "^6.12.4"
1431+
debug "^4.1.1"
1432+
espree "^7.3.0"
1433+
globals "^12.1.0"
1434+
ignore "^4.0.6"
1435+
import-fresh "^3.2.1"
1436+
js-yaml "^3.13.1"
1437+
minimatch "^3.0.4"
1438+
strip-json-comments "^3.1.1"
1439+
14251440
"@istanbuljs/schema@^0.1.2":
14261441
version "0.1.3"
14271442
resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98"
@@ -2561,7 +2576,7 @@ buffer@^5.5.0:
25612576
base64-js "^1.3.1"
25622577
ieee754 "^1.1.13"
25632578

2564-
builtin-modules@^3.1.0:
2579+
builtin-modules@^3.0.0, builtin-modules@^3.1.0:
25652580
version "3.2.0"
25662581
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887"
25672582
integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==
@@ -3590,6 +3605,11 @@ defer-to-connect@^2.0.0:
35903605
resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587"
35913606
integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==
35923607

3608+
define-lazy-prop@^2.0.0:
3609+
version "2.0.0"
3610+
resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f"
3611+
integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==
3612+
35933613
define-properties@^1.1.2, define-properties@^1.1.3:
35943614
version "1.1.3"
35953615
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
@@ -4144,10 +4164,10 @@ eslint-config-prettier@^8.2.0:
41444164
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a"
41454165
integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==
41464166

4147-
eslint-config-xo-typescript@^0.39.0:
4148-
version "0.39.0"
4149-
resolved "https://registry.yarnpkg.com/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.39.0.tgz#63577ea61879e794913af5796ceaa28baf826fd6"
4150-
integrity sha512-UP4WqkmAKerYAhJTLdfrjBhD/nM1ePEugQNBJjzFfZv/lJ4yQjTzDBjfjsgluX1kz9PajRMaaipiWloJEODdGg==
4167+
eslint-config-xo-typescript@^0.41.0:
4168+
version "0.41.1"
4169+
resolved "https://registry.yarnpkg.com/eslint-config-xo-typescript/-/eslint-config-xo-typescript-0.41.1.tgz#1f30f76fe220577b2a742269a3ad6120fc2f4c76"
4170+
integrity sha512-MiO3vyF5CRhGwEwNmwq+7PPgc1kYsDCQyt010vXOQJTXbJctjRytzvE8fFgs4X7MCjgtkj1sgrhDyZPVICjAAA==
41514171

41524172
eslint-config-xo@^0.36.0:
41534173
version "0.36.0"
@@ -4285,17 +4305,17 @@ eslint-plugin-promise@^5.1.0:
42854305
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-5.1.0.tgz#fb2188fb734e4557993733b41aa1a688f46c6f24"
42864306
integrity sha512-NGmI6BH5L12pl7ScQHbg7tvtk4wPxxj8yPHH47NvSmMtFneC077PSeY3huFj06ZWZvtbfxSPt3RuOQD5XcR4ng==
42874307

4288-
eslint-plugin-unicorn@^30.0.0:
4289-
version "30.0.0"
4290-
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-30.0.0.tgz#45d3d138f444eff527e8c00f7a9299bcfcb5051b"
4291-
integrity sha512-ZKbE48Ep99z/3geLpkBfv+jNrzr2k7bLqCC/RfZOekZzAvn2/ECDE/d8zGdW1YxHmIC9pevQvm8Pl89v9GEIVw==
4308+
eslint-plugin-unicorn@^32.0.0:
4309+
version "32.0.1"
4310+
resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-32.0.1.tgz#a7cb9f538441b78936a96261eea4392d76526d77"
4311+
integrity sha512-LaZ9utnXtOJjnoDkpm+nQsONUUmyRR0WD6PGROSdQRRW3LRmgK/ZP8wxjW+Ai+2uolKTtuJzLx2mvbIeIoLqpg==
42924312
dependencies:
42934313
ci-info "^3.1.1"
42944314
clean-regexp "^1.0.0"
42954315
eslint-template-visitor "^2.3.2"
42964316
eslint-utils "^2.1.0"
4297-
eslint-visitor-keys "^2.0.0"
42984317
import-modules "^2.1.0"
4318+
is-builtin-module "^3.1.0"
42994319
lodash "^4.17.21"
43004320
pluralize "^8.0.0"
43014321
read-pkg-up "^7.0.1"
@@ -4833,7 +4853,16 @@ fs-extra@8.1.0:
48334853
jsonfile "^4.0.0"
48344854
universalify "^0.1.0"
48354855

4836-
fs-extra@^9.0.0, fs-extra@^9.1.0:
4856+
fs-extra@^10.0.0:
4857+
version "10.0.0"
4858+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
4859+
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
4860+
dependencies:
4861+
graceful-fs "^4.2.0"
4862+
jsonfile "^6.0.1"
4863+
universalify "^2.0.0"
4864+
4865+
fs-extra@^9.0.0:
48374866
version "9.1.0"
48384867
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
48394868
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
@@ -5626,6 +5655,13 @@ is-buffer@^1.1.5:
56265655
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
56275656
integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==
56285657

5658+
is-builtin-module@^3.1.0:
5659+
version "3.1.0"
5660+
resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.1.0.tgz#6fdb24313b1c03b75f8b9711c0feb8c30b903b00"
5661+
integrity sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==
5662+
dependencies:
5663+
builtin-modules "^3.0.0"
5664+
56295665
is-callable@^1.1.4, is-callable@^1.2.3:
56305666
version "1.2.3"
56315667
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e"
@@ -7436,6 +7472,13 @@ p-event@^4.0.0, p-event@^4.2.0:
74367472
dependencies:
74377473
p-timeout "^3.1.0"
74387474

7475+
p-filter@^2.1.0:
7476+
version "2.1.0"
7477+
resolved "https://registry.yarnpkg.com/p-filter/-/p-filter-2.1.0.tgz#1b1472562ae7a0f742f0f3d3d3718ea66ff9c09c"
7478+
integrity sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==
7479+
dependencies:
7480+
p-map "^2.0.0"
7481+
74397482
p-finally@^1.0.0:
74407483
version "1.0.0"
74417484
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
@@ -10144,20 +10187,22 @@ xdg-basedir@^4.0.0:
1014410187
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635"
1014510188
integrity sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=
1014610189

10147-
xo@0.39.1:
10148-
version "0.39.1"
10149-
resolved "https://registry.yarnpkg.com/xo/-/xo-0.39.1.tgz#02cda4d77651548edcc27f1aa6c929c7390132be"
10150-
integrity sha512-7OXtjkIfCMw3XfUPGInnUhxb/w/IHqATQM7XHOxwiJqbsQ44OYcLkTZb7mA35tDtqflnvWk88wD+IxiR/XJ5gQ==
10190+
xo@0.40.0:
10191+
version "0.40.0"
10192+
resolved "https://registry.yarnpkg.com/xo/-/xo-0.40.0.tgz#32031355a1a0bad8bc57c8b75b00f76befffe901"
10193+
integrity sha512-Gcm4/qics4j992WH379D5oDKWI+Caann6I+wflmViIHA1tJ+YAiwRZ7V0brAzgW3yRka+9676e+GLoniWGNmaQ==
1015110194
dependencies:
10195+
"@eslint/eslintrc" "^0.4.1"
1015210196
"@typescript-eslint/eslint-plugin" "^4.22.0"
1015310197
"@typescript-eslint/parser" "^4.22.0"
1015410198
arrify "^2.0.1"
1015510199
cosmiconfig "^7.0.0"
1015610200
debug "^4.3.1"
10201+
define-lazy-prop "^2.0.0"
1015710202
eslint "^7.24.0"
1015810203
eslint-config-prettier "^8.2.0"
1015910204
eslint-config-xo "^0.36.0"
10160-
eslint-config-xo-typescript "^0.39.0"
10205+
eslint-config-xo-typescript "^0.41.0"
1016110206
eslint-formatter-pretty "^4.0.0"
1016210207
eslint-import-resolver-webpack "^0.13.0"
1016310208
eslint-plugin-ava "^12.0.0"
@@ -10167,10 +10212,10 @@ xo@0.39.1:
1016710212
eslint-plugin-node "^11.1.0"
1016810213
eslint-plugin-prettier "^3.4.0"
1016910214
eslint-plugin-promise "^5.1.0"
10170-
eslint-plugin-unicorn "^30.0.0"
10215+
eslint-plugin-unicorn "^32.0.0"
1017110216
find-cache-dir "^3.3.1"
1017210217
find-up "^5.0.0"
10173-
fs-extra "^9.1.0"
10218+
fs-extra "^10.0.0"
1017410219
get-stdin "^8.0.0"
1017510220
globby "^9.2.0"
1017610221
has-flag "^4.0.0"
@@ -10182,11 +10227,12 @@ xo@0.39.1:
1018210227
meow "^9.0.0"
1018310228
micromatch "^4.0.4"
1018410229
open-editor "^3.0.0"
10230+
p-filter "^2.1.0"
10231+
p-map "^4.0.0"
1018510232
p-reduce "^2.1.0"
1018610233
path-exists "^4.0.0"
1018710234
prettier "^2.2.1"
1018810235
resolve-cwd "^3.0.0"
10189-
resolve-from "^5.0.0"
1019010236
semver "^7.3.5"
1019110237
slash "^3.0.0"
1019210238
to-absolute-glob "^2.0.2"

0 commit comments

Comments
 (0)
Please sign in to comment.