From 217b8ecb123c940b713218c2e60549214fcc3a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Ooms?= Date: Thu, 23 Dec 2021 16:20:14 +0100 Subject: [PATCH] :arrow_up: deps: Upgrade. --- package.json | 3 ++- src/parseBundle.js | 2 +- src/stringifyBundle.js | 3 ++- test/data/initialize.mjs | 2 +- test/src/json.js | 2 +- yarn.lock | 22 ++++++++++++++++++---- 6 files changed, 25 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 3a488e2..77acf5a 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,8 @@ "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" }, "dependencies": { - "@async-abstraction/tape": "^9.0.0", + "@async-abstraction/tape": "^10.0.0", + "@async-iterable-iterator/async-iterable-to-array": "^0.0.1", "@formal-language/grammar": "^9.1.1", "@iterable-iterator/chain": "^2.0.1", "@iterable-iterator/map": "^1.0.1", diff --git a/src/parseBundle.js b/src/parseBundle.js index c6fce2b..fcacf0a 100644 --- a/src/parseBundle.js +++ b/src/parseBundle.js @@ -1,6 +1,6 @@ import assert from 'node:assert'; import * as tape from '@async-abstraction/tape'; -import {asyncIterableToArray} from '@async-abstraction/tape'; +import {asyncIterableToArray} from '@async-iterable-iterator/async-iterable-to-array'; import {ll1, ast} from '@formal-language/grammar'; import tokens from './tokens.js'; diff --git a/src/stringifyBundle.js b/src/stringifyBundle.js index 1c0e292..9fd3bdc 100644 --- a/src/stringifyBundle.js +++ b/src/stringifyBundle.js @@ -1,4 +1,5 @@ -import {asyncIterableToArray, asyncIterableMap} from '@async-abstraction/tape'; +import {asyncIterableMap} from '@async-abstraction/tape'; +import {asyncIterableToArray} from '@async-iterable-iterator/async-iterable-to-array'; const lines = async function* (documents) { for await (const {header, reports, footer} of documents) { diff --git a/test/data/initialize.mjs b/test/data/initialize.mjs index 71cf1bb..080eb48 100644 --- a/test/data/initialize.mjs +++ b/test/data/initialize.mjs @@ -4,7 +4,7 @@ import 'regenerator-runtime/runtime.js'; import process from 'node:process'; import {readFile, writeFile} from 'node:fs/promises'; import path from 'node:path'; -import {asyncIterableToArray} from '@async-abstraction/tape'; +import {asyncIterableToArray} from '@async-iterable-iterator/async-iterable-to-array'; import {list} from '@iterable-iterator/list'; import {map} from '@iterable-iterator/map'; diff --git a/test/src/json.js b/test/src/json.js index 8402954..daa7995 100644 --- a/test/src/json.js +++ b/test/src/json.js @@ -1,6 +1,6 @@ import test from 'ava'; -import {asyncIterableToArray} from '@async-abstraction/tape'; +import {asyncIterableToArray} from '@async-iterable-iterator/async-iterable-to-array'; import {parse} from '../../src/index.js'; diff --git a/yarn.lock b/yarn.lock index e11a1ac..efe4b06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,24 @@ # yarn lockfile v1 -"@async-abstraction/tape@^9.0.0": - version "9.0.0" - resolved "https://registry.yarnpkg.com/@async-abstraction/tape/-/tape-9.0.0.tgz#d9467708be72fe66b5620e69ea6fb4649104f3b8" - integrity sha512-DeSB4JKI1G9F1rq8MGJKLkLlOMApRaBOm2wDfNT9aLWhbcI/ZcA7Jmn6cA4KGlFm499/h5V1TbhHO2UcNPaJig== +"@async-abstraction/tape@^10.0.0": + version "10.0.0" + resolved "https://registry.yarnpkg.com/@async-abstraction/tape/-/tape-10.0.0.tgz#317b2d9ea396c4e556cfc20540fdc58bef04e22a" + integrity sha512-XOOVTL6j7uqoKxP4a3JDhKAhbYYupdCF99C9e+Oa3RbI4eShb8eEZueBIFP2tSrOzB+lZcLGQzyHotV1r6QJDg== + dependencies: + "@async-iterable-iterator/async-iterable-to-array" "^0.0.1" + +"@async-iterable-iterator/async-iterable-to-array@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@async-iterable-iterator/async-iterable-to-array/-/async-iterable-to-array-0.0.1.tgz#919786e9394d3530dbfa47325d2eb405c29b2413" + integrity sha512-KkKdBzXTi5saccAsxEXWTCi4ZvehZX0PKRF2crCa4URFMp4VG5pAgmauB3CuLvF3wPrp8AwsGV1QAfJy/zgTEA== + dependencies: + "@async-iterable-iterator/async-iterator-to-array" "^0.0.1" + +"@async-iterable-iterator/async-iterator-to-array@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@async-iterable-iterator/async-iterator-to-array/-/async-iterator-to-array-0.0.1.tgz#4bbd362eb42586812f79e07fea8f8c58feeaeacd" + integrity sha512-VaFBhYBdTJ4DdVblOmZRjDMzPFzf46lm/hA7rMqWYguArQHho0wGe8gADpraXqD2REwGL0q/FvO8cnZ9+rMoUQ== "@babel/cli@7.16.0": version "7.16.0"