Skip to content

Commit 5ec22e9

Browse files
📦 deps: Replace deprecated dependency.
This also avoids a circular dependency.
1 parent 69f093c commit 5ec22e9

File tree

3 files changed

+77
-29
lines changed

3 files changed

+77
-29
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,15 @@
6363
"@failure-abstraction/error": "^5.0.7"
6464
},
6565
"devDependencies": {
66-
"@aureooms/js-itertools": "5.1.1",
6766
"@babel/core": "7.14.3",
6867
"@babel/preset-env": "7.14.2",
6968
"@babel/register": "7.13.16",
7069
"@commitlint/cli": "12.1.4",
70+
"@iterable-iterator/chain": "^1.0.0",
71+
"@iterable-iterator/filter": "^0.1.2",
72+
"@iterable-iterator/list": "^0.0.2",
73+
"@iterable-iterator/map": "^0.1.0",
74+
"@iterable-iterator/range": "^1.0.0",
7175
"@js-library/commitlint-config": "0.0.4",
7276
"ava": "3.15.0",
7377
"babel-plugin-transform-remove-console": "6.9.4",

test/src/deque.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import test from 'ava';
22

3-
import {
4-
list as l,
5-
range as r,
6-
chain as c,
7-
map as m,
8-
filter as f,
9-
} from '@aureooms/js-itertools';
3+
import {list as l} from '@iterable-iterator/list';
4+
import {range as r} from '@iterable-iterator/range';
5+
import {_chain as c} from '@iterable-iterator/chain';
6+
import {map as m} from '@iterable-iterator/map';
7+
import {filter as f} from '@iterable-iterator/filter';
108

119
import {
1210
IndexError,

yarn.lock

Lines changed: 67 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,6 @@
22
# yarn lockfile v1
33

44

5-
"@aureooms/js-collections-deque@^7.0.0":
6-
version "7.0.0"
7-
resolved "https://registry.yarnpkg.com/@aureooms/js-collections-deque/-/js-collections-deque-7.0.0.tgz#ff03a4901c956d277fa9d6a149104dc65c85f9ae"
8-
integrity sha512-zWtMs1sTLGHBtKrjhJ4hZKcG54o4VSthCYn6sLA7pJeOc1FSEwKFyCaJq/BuSjY7rmhNVklTGhENjLyTl7ESVA==
9-
dependencies:
10-
"@aureooms/js-error" "^5.0.3"
11-
12-
"@aureooms/js-error@^5.0.3":
13-
version "5.0.3"
14-
resolved "https://registry.yarnpkg.com/@aureooms/js-error/-/js-error-5.0.3.tgz#e4cb52e3525028e4725a5886663a67a0749abf6b"
15-
integrity sha512-hGLMr9UIgPubX72V7vS69N8toMoK52emuA9jV/EOleK4m7HUF0HjdssNXZytd+udyY3996CBre89MOgTEn0Udw==
16-
17-
"@aureooms/js-itertools@5.1.1":
18-
version "5.1.1"
19-
resolved "https://registry.yarnpkg.com/@aureooms/js-itertools/-/js-itertools-5.1.1.tgz#cebca2e4ccfcbbfbb447f60a90a86dac8f457166"
20-
integrity sha512-WP+/gtDOJeYSa1ICRSUKtJNQs+2emU25eBnR1G+HPko5m8vbzdFBo1iHbl1IHfRDOyMn40oMvpYovC1Fh6VJwA==
21-
dependencies:
22-
"@aureooms/js-collections-deque" "^7.0.0"
23-
"@aureooms/js-error" "^5.0.3"
24-
255
"@babel/code-frame@7.12.11":
266
version "7.12.11"
277
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
@@ -1163,7 +1143,7 @@
11631143
minimatch "^3.0.4"
11641144
strip-json-comments "^3.1.1"
11651145

1166-
"@failure-abstraction/error@^5.0.7":
1146+
"@failure-abstraction/error@^5.0.5", "@failure-abstraction/error@^5.0.7":
11671147
version "5.0.7"
11681148
resolved "https://registry.yarnpkg.com/@failure-abstraction/error/-/error-5.0.7.tgz#f322a40ee2633b5ce1220671f695f9573faca7d3"
11691149
integrity sha512-aJzkVvXYIqTGoE2aOfWoebajHTAXRb3GDzYlImT/Nrp8AjAsg3jnmkp7N7oqxp0PTKBSBfSsLogLQ/eDBiPE0A==
@@ -1173,6 +1153,72 @@
11731153
resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98"
11741154
integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==
11751155

1156+
"@iterable-iterator/chain@^1.0.0":
1157+
version "1.0.0"
1158+
resolved "https://registry.yarnpkg.com/@iterable-iterator/chain/-/chain-1.0.0.tgz#38d15e7bad373af2dea0651f07252770823fcf08"
1159+
integrity sha512-2XjhgDtg5fnSUTlWrkdCWg5viYe8ZPkD/GntMBBh2Us8bV7mrDHUO1uvBLy3z+BidJNp5PL8kExNsFyzB7s5xw==
1160+
1161+
"@iterable-iterator/count@^0.0.1":
1162+
version "0.0.1"
1163+
resolved "https://registry.yarnpkg.com/@iterable-iterator/count/-/count-0.0.1.tgz#b3224aa6df617a285b175df1cf08ab7842edbbea"
1164+
integrity sha512-BWaGS9sHe2VgzzteyZIc+fNPtPymeLt3gK0V2d618u+tAzkKidNLp40R2pblHu4hgWWiks8vg4srJS8NZaK95w==
1165+
1166+
"@iterable-iterator/filter@^0.1.2":
1167+
version "0.1.2"
1168+
resolved "https://registry.yarnpkg.com/@iterable-iterator/filter/-/filter-0.1.2.tgz#04f6519831493c42cadb8282903074dd53989012"
1169+
integrity sha512-xpk6KZwBMNyVTMA2kVIZX4qUHhpILKfXPKD4JqjpaJLx/v5VcA76EJ4cVRJjpwJLo/0P2VRshOMuxfAekXTtyA==
1170+
dependencies:
1171+
"@iterable-iterator/zip" "^0.0.2"
1172+
1173+
"@iterable-iterator/iter@^0.0.2":
1174+
version "0.0.2"
1175+
resolved "https://registry.yarnpkg.com/@iterable-iterator/iter/-/iter-0.0.2.tgz#7129988de2071ffb747632bd0190c0db579a5b69"
1176+
integrity sha512-+q2BxI+awes71qm4M5zLXaJK7GUy1Tbt5K7YKTU3Yl8DgCdQxeHBbkAIxXAv49BoS2eLx5cLXHdpX6ybzvA2XQ==
1177+
1178+
"@iterable-iterator/list@^0.0.2":
1179+
version "0.0.2"
1180+
resolved "https://registry.yarnpkg.com/@iterable-iterator/list/-/list-0.0.2.tgz#6289761d3ada6bb88f0c92683367ea960f310869"
1181+
integrity sha512-103Wwqx0x8neIFjm0GVR7cmEcv29Eg7F4lX72sr9L6FzMH9lp50ejfroAdbdMT37TWq2KVNo1eEWXtFo9hBybw==
1182+
1183+
"@iterable-iterator/map@^0.0.1":
1184+
version "0.0.1"
1185+
resolved "https://registry.yarnpkg.com/@iterable-iterator/map/-/map-0.0.1.tgz#13dd222dd384d934741d96197c0d963c5678760d"
1186+
integrity sha512-uB9ndHoHIditj/0+WiyZou2NqEi7yHESkL0pSC6LfVRPQcwfRUrtzd9+P002Zu8/bdm7xSYZCgTl6SIpjJxORw==
1187+
1188+
"@iterable-iterator/map@^0.1.0":
1189+
version "0.1.0"
1190+
resolved "https://registry.yarnpkg.com/@iterable-iterator/map/-/map-0.1.0.tgz#abccfff2fd3cfde9505566563eb15dae4209bfb0"
1191+
integrity sha512-Qx6GvjGqqhk4zxOrP1Q18tvMyr5CPdDRtxSlzkTabFdREy4fLc3nddZBoheD3RovWvaRDmQstt76ETIspDJkcQ==
1192+
1193+
"@iterable-iterator/next@^1.0.0":
1194+
version "1.0.1"
1195+
resolved "https://registry.yarnpkg.com/@iterable-iterator/next/-/next-1.0.1.tgz#ed7fb7b6bf44c3bd77dd01e2c5a0a03830b9142c"
1196+
integrity sha512-igrAA2O3qCGHQbEjktXeiYxopq5RvaNhzooivyuq7vmE1U2tRmMyP8e5+LaNbrVLZH1jGWcWIATsNo8Q3D/I5w==
1197+
dependencies:
1198+
"@failure-abstraction/error" "^5.0.5"
1199+
1200+
"@iterable-iterator/range@^1.0.0":
1201+
version "1.0.0"
1202+
resolved "https://registry.yarnpkg.com/@iterable-iterator/range/-/range-1.0.0.tgz#5b3255710e3e0d174a82e38024dc2af3c1aeee25"
1203+
integrity sha512-rFgziHtzWs/Zl1c5SfkAbUZzXvqvyeMtjsrwdkvXFQ1FCCXmzFjaMOKpr++wFuoV83XzZuiJ6lyHNEd3CSIyTg==
1204+
1205+
"@iterable-iterator/repeat@^0.0.1":
1206+
version "0.0.1"
1207+
resolved "https://registry.yarnpkg.com/@iterable-iterator/repeat/-/repeat-0.0.1.tgz#3475728b7feb093624a04f6e7abd4103f10c30c0"
1208+
integrity sha512-WNuPt8H+p70TPG/CntJDcCHBPiYUA1SOVE/V45C0a9T/hr0ThRvn/Q+5diDaU3U3iJUH/Tqua+7S6ad0mS5Dzw==
1209+
1210+
"@iterable-iterator/zip@^0.0.2":
1211+
version "0.0.2"
1212+
resolved "https://registry.yarnpkg.com/@iterable-iterator/zip/-/zip-0.0.2.tgz#8462cd4eb76d32c901bc9ff3323df5e82c1d1dff"
1213+
integrity sha512-dtWZUs4ePqp1NQ6S/UkFfNNRTr814TiBvP6wQmGvhhLX5EYzoVz/T5zA0aZCzkvBbhJ2pYYPBLRTs1P2Oi870g==
1214+
dependencies:
1215+
"@iterable-iterator/count" "^0.0.1"
1216+
"@iterable-iterator/iter" "^0.0.2"
1217+
"@iterable-iterator/list" "^0.0.2"
1218+
"@iterable-iterator/map" "^0.0.1"
1219+
"@iterable-iterator/next" "^1.0.0"
1220+
"@iterable-iterator/repeat" "^0.0.1"
1221+
11761222
"@js-library/commitlint-config@0.0.4":
11771223
version "0.0.4"
11781224
resolved "https://registry.yarnpkg.com/@js-library/commitlint-config/-/commitlint-config-0.0.4.tgz#5243a58b0d4ad36999d4b944c7770c50658c68f5"

0 commit comments

Comments
 (0)