Skip to content

Commit

Permalink
fix(deps): update dependency web-streams-polyfill to v4 (#128)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency web-streams-polyfill to v4

* migrate to v4

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Ruddick <[email protected]>
  • Loading branch information
renovate[bot] and alexrudd2 authored Apr 20, 2024
1 parent f1810a0 commit 3e9ae84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"serialport": "^12.0.0",
"svgdom": "0.1.16",
"wake-lock": "^0.2.0",
"web-streams-polyfill": "^3.0.3",
"web-streams-polyfill": "^3.0.3 || ^4.0.0",
"ws": "^8.0.0",
"yargs": "^17.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/regex-transform-stream.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "web-streams-polyfill/es2018"
import "web-streams-polyfill/polyfill"
export class RegexParser extends TransformStream {
public constructor(opts: { regex: RegExp }) {
if (opts.regex === undefined) {
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import cors from "cors";
import "web-streams-polyfill/es2018"
import "web-streams-polyfill/polyfill"
import express from "express";
import http from "node:http";
import path from "node:path";
Expand Down

0 comments on commit 3e9ae84

Please sign in to comment.