From 4262693e89b25918addfc2043155185abfe1edc3 Mon Sep 17 00:00:00 2001 From: Jesse Wright <63333554+jeswr@users.noreply.github.com> Date: Mon, 26 Aug 2024 11:24:43 +1000 Subject: [PATCH] chore(deps): update arrayify stream --- package-lock.json | 17 +++++++++-------- package.json | 2 +- spec/parser.js | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index d7395b3f..2500f5cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@babel/preset-env": "^7.16.0", "@babel/register": "^7.16.0", "@rdfjs/data-model": "^1", - "arrayify-stream": "^1.0.0", + "arrayify-stream": "^3.0.0", "browserify": "^17.0.0", "deep-taxonomy-benchmark": "^1.2.0", "docco": "^0.9.1", @@ -3735,10 +3735,11 @@ } }, "node_modules/arrayify-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz", - "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ==", - "dev": true + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-3.0.0.tgz", + "integrity": "sha512-h2/Pb4+zcBZkRvzlhSVQf+Vo2oDaPCPYp6nyYlabAtP7YudhmUtOMROdCKFGbVQX+Bpwfdrm7fP4vqBGT6qrDA==", + "dev": true, + "license": "MIT" }, "node_modules/asn1.js": { "version": "4.10.1", @@ -15167,9 +15168,9 @@ } }, "arrayify-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-1.0.0.tgz", - "integrity": "sha512-RP80ep76Lbew2wWN5ogrl2NluTnBVYYh2K3NNCcWfcmmUB7nBcNBctiJeEZAixp3I1vQ9H88iHZ9MbHSdkuupQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/arrayify-stream/-/arrayify-stream-3.0.0.tgz", + "integrity": "sha512-h2/Pb4+zcBZkRvzlhSVQf+Vo2oDaPCPYp6nyYlabAtP7YudhmUtOMROdCKFGbVQX+Bpwfdrm7fP4vqBGT6qrDA==", "dev": true }, "asn1.js": { diff --git a/package.json b/package.json index 8efa1c38..9315807f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@babel/preset-env": "^7.16.0", "@babel/register": "^7.16.0", "@rdfjs/data-model": "^1", - "arrayify-stream": "^1.0.0", + "arrayify-stream": "^3.0.0", "browserify": "^17.0.0", "deep-taxonomy-benchmark": "^1.2.0", "docco": "^0.9.1", diff --git a/spec/parser.js b/spec/parser.js index 21683275..20f8260a 100644 --- a/spec/parser.js +++ b/spec/parser.js @@ -4,7 +4,7 @@ const { StreamParser } = require('..'); // https://github.com/rubensworks/rdf-test-suite.js/blob/master/lib/testcase/rdfsyntax/IParser.ts module.exports = { parse: function (data, baseIRI, options) { - return require('arrayify-stream')(require('streamify-string')(data).pipe( + return require('arrayify-stream').arrayifyStream(require('streamify-string')(data).pipe( new StreamParser(Object.assign({ baseIRI: baseIRI }, options)))); }, };