From 685d62c9accf7920dd6050416ab60c116c68854e Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Fri, 21 Jun 2024 17:32:53 +0200 Subject: [PATCH] Update Chrome-Remote-Interface In large part to try to update & dedupe 'ws' although that doesn't seem totally possible yet. Good to do regardless though, and may help compatibility with newer Chrome debug protocol targets. --- package-lock.json | 37 ++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index d290fa63..ca8e9fca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "@types/tar-stream": "^2.2.1", "@types/tmp": "0.0.33", "async-mutex": "^0.1.3", - "chrome-remote-interface": "^0.28.0", + "chrome-remote-interface": "^0.33.0", "cors": "^2.8.5", "cors-gate": "^1.1.3", "destroyable-server": "^1.0.0", @@ -2301,11 +2301,6 @@ "lodash": "^4.17.14" } }, - "node_modules/async-limiter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", - "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" - }, "node_modules/async-mutex": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.1.3.tgz", @@ -2929,12 +2924,12 @@ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" }, "node_modules/chrome-remote-interface": { - "version": "0.28.0", - "resolved": "https://registry.npmjs.org/chrome-remote-interface/-/chrome-remote-interface-0.28.0.tgz", - "integrity": "sha512-md2qSn6rc/fADlN+Blk2UWNg0SGPYjH2s68piaPN9e62HItKm6uWeXXHh0+28Bq10oaWw8fzNAm1itDFJ+nS4w==", + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/chrome-remote-interface/-/chrome-remote-interface-0.33.0.tgz", + "integrity": "sha512-tv/SgeBfShXk43fwFpQ9wnS7mOCPzETnzDXTNxCb6TqKOiOeIfbrJz+2NAp8GmzwizpKa058wnU1Te7apONaYg==", "dependencies": { "commander": "2.11.x", - "ws": "^6.1.0" + "ws": "^7.2.0" }, "bin": { "chrome-remote-interface": "bin/client.js" @@ -2946,11 +2941,23 @@ "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" }, "node_modules/chrome-remote-interface/node_modules/ws": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.3.tgz", - "integrity": "sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==", - "dependencies": { - "async-limiter": "~1.0.0" + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } }, "node_modules/chrome-trace-event": { diff --git a/package.json b/package.json index 6d18ea84..909ad60c 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "@types/tar-stream": "^2.2.1", "@types/tmp": "0.0.33", "async-mutex": "^0.1.3", - "chrome-remote-interface": "^0.28.0", + "chrome-remote-interface": "^0.33.0", "cors": "^2.8.5", "cors-gate": "^1.1.3", "destroyable-server": "^1.0.0",