feat: 引入 TextEncoder/Decoder polyfill

This commit is contained in:
xream committed 2025-08-26 13:57:03 +08:00
1 parent ce10c96eaa
commit 818370dfcd
3 files changed
+11 -1

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sub-store",
"version": "2.20.13",
"version": "2.20.14",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
"main": "src/main.js",
"scripts": {
@@ -32,6 +32,7 @@
"dns-packet": "^5.6.1",
"dotenv": "^16.4.7",
"express": "^4.17.1",
"fastestsmallesttextencoderdecoder": "^1.0.22",
"fetch-socks": "^1.3.2",
"http-proxy-middleware": "^3.0.3",
"ip-address": "^9.0.5",
+8
View File
@@ -40,6 +40,9 @@ importers:
express:
specifier: ^4.17.1
version: 4.21.2
fastestsmallesttextencoderdecoder:
specifier: ^1.0.22
version: 1.0.22
fetch-socks:
specifier: ^1.3.2
version: 1.3.2
@@ -1974,6 +1977,9 @@ packages:
fast-sha256@1.3.0:
resolution: {integrity: sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==}
fastestsmallesttextencoderdecoder@1.0.22:
resolution: {integrity: sha512-Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw==}
fastq@1.18.0:
resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==}
@@ -6563,6 +6569,8 @@ snapshots:
fast-sha256@1.3.0: {}
fastestsmallesttextencoderdecoder@1.0.22: {}
fastq@1.18.0:
dependencies:
reusify: 1.0.4
+1
View File
@@ -1,3 +1,4 @@
import 'fastestsmallesttextencoderdecoder';
import { OpenAPI } from '@/vendor/open-api';
const $ = new OpenAPI('sub-store');