diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18531b3f..a4d6377b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,10 +10,10 @@ jobs: fail-fast: false matrix: node-version: + - 16 - 14 - 12 - 10 - - 8 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 diff --git a/core.js b/core.js index 20cd2aeb..f5e16796 100644 --- a/core.js +++ b/core.js @@ -1067,7 +1067,7 @@ async function _fromTokenizer(tokenizer) { await tokenizer.readBuffer(guid); return { id: guid, - size: await tokenizer.readToken(Token.UINT64_LE) + size: Number(await tokenizer.readToken(Token.UINT64_LE)) }; } diff --git a/package.json b/package.json index 8d588114..cf821e59 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "url": "https://sindresorhus.com" }, "engines": { - "node": ">=8" + "node": ">=10" }, "scripts": { "ava": "ava --serial --verbose", @@ -197,8 +197,8 @@ }, "dependencies": { "readable-web-to-node-stream": "^3.0.0", - "strtok3": "^6.0.3", - "token-types": "^2.0.0" + "strtok3": "^6.1.0", + "token-types": "^3.0.0" }, "xo": { "envs": [