mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 09:41:38 +08:00
ts
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
import fetch from 'node-fetch';
|
||||
const defaultEndpoint = 'https://update.reactnative.cn/api';
|
||||
let host = process.env.PUSHY_REGISTRY || defaultEndpoint;
|
||||
import fs from 'fs';
|
||||
import request from 'request';
|
||||
import fs from 'node:fs';
|
||||
import util from 'node:util';
|
||||
import path from 'node:path';
|
||||
import ProgressBar from 'progress';
|
||||
import packageJson from '../package.json';
|
||||
import tcpp from 'tcp-ping';
|
||||
import util from 'util';
|
||||
import path from 'path';
|
||||
import filesizeParser from 'filesize-parser';
|
||||
import { pricingPageUrl } from './utils';
|
||||
import { Session } from 'types';
|
||||
|
||||
const tcpPing = util.promisify(tcpp.ping);
|
||||
|
||||
let session = undefined;
|
||||
let savedSession = undefined;
|
||||
let session: Session | undefined;
|
||||
let savedSession: Session | undefined;
|
||||
|
||||
const defaultEndpoint = 'https://update.reactnative.cn/api';
|
||||
let host = process.env.PUSHY_REGISTRY || defaultEndpoint;
|
||||
|
||||
const userAgent = `react-native-update-cli/${packageJson.version}`;
|
||||
|
||||
@@ -22,7 +23,7 @@ export const getSession = function () {
|
||||
return session;
|
||||
};
|
||||
|
||||
export const replaceSession = function (newSession) {
|
||||
export const replaceSession = function (newSession: { token: string }) {
|
||||
session = newSession;
|
||||
};
|
||||
|
||||
@@ -59,7 +60,7 @@ export const closeSession = function () {
|
||||
host = process.env.PUSHY_REGISTRY || defaultEndpoint;
|
||||
};
|
||||
|
||||
async function query(url, options) {
|
||||
async function query(url: string, options: fetch.RequestInit) {
|
||||
const resp = await fetch(url, options);
|
||||
const text = await resp.text();
|
||||
let json;
|
||||
@@ -84,8 +85,8 @@ async function query(url, options) {
|
||||
return json;
|
||||
}
|
||||
|
||||
function queryWithoutBody(method) {
|
||||
return function (api) {
|
||||
function queryWithoutBody(method: string) {
|
||||
return function (api: string) {
|
||||
return query(host + api, {
|
||||
method,
|
||||
headers: {
|
||||
@@ -96,8 +97,8 @@ function queryWithoutBody(method) {
|
||||
};
|
||||
}
|
||||
|
||||
function queryWithBody(method) {
|
||||
return function (api, body) {
|
||||
function queryWithBody(method: string) {
|
||||
return function (api: string, body: Record<string, any>) {
|
||||
return query(host + api, {
|
||||
method,
|
||||
headers: {
|
||||
@@ -115,12 +116,11 @@ export const post = queryWithBody('POST');
|
||||
export const put = queryWithBody('PUT');
|
||||
export const doDelete = queryWithBody('DELETE');
|
||||
|
||||
export async function uploadFile(fn, key) {
|
||||
export async function uploadFile(fn: string, key: string) {
|
||||
const { url, backupUrl, formData, maxSize } = await post('/upload', {
|
||||
ext: path.extname(fn),
|
||||
});
|
||||
let realUrl = url;
|
||||
|
||||
if (backupUrl) {
|
||||
if (global.USE_ACC_OSS) {
|
||||
realUrl = backupUrl;
|
||||
@@ -141,9 +141,9 @@ export async function uploadFile(fn, key) {
|
||||
const fileSize = fs.statSync(fn).size;
|
||||
if (maxSize && fileSize > filesizeParser(maxSize)) {
|
||||
throw new Error(
|
||||
`此文件大小${(fileSize / 1048576).toFixed(
|
||||
`此文件大小 ${(fileSize / 1048576).toFixed(
|
||||
1,
|
||||
)}m, 超出当前额度${maxSize}。您可以考虑升级付费业务以提升此额度。详情请访问: ${pricingPageUrl}`,
|
||||
)}m , 超出当前额度 ${maxSize} 。您可以考虑升级付费业务以提升此额度。详情请访问: ${pricingPageUrl}`,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -153,34 +153,30 @@ export async function uploadFile(fn, key) {
|
||||
total: fileSize,
|
||||
});
|
||||
|
||||
const info = await new Promise((resolve, reject) => {
|
||||
if (key) {
|
||||
formData.key = key;
|
||||
}
|
||||
formData.file = fs.createReadStream(fn);
|
||||
const form = new FormData();
|
||||
|
||||
formData.file.on('data', function (data) {
|
||||
bar.tick(data.length);
|
||||
});
|
||||
request.post(
|
||||
realUrl,
|
||||
{
|
||||
formData,
|
||||
},
|
||||
(err, resp, body) => {
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
if (resp.statusCode > 299) {
|
||||
return reject(
|
||||
Object.assign(new Error(body), {
|
||||
status: resp.statusCode,
|
||||
}),
|
||||
);
|
||||
}
|
||||
resolve({ hash: formData.key });
|
||||
},
|
||||
);
|
||||
Object.entries(formData).forEach(([k, v]) => {
|
||||
form.set(k, v);
|
||||
});
|
||||
return info;
|
||||
const fileStream = fs.createReadStream(fn);
|
||||
fileStream.on('data', function (data) {
|
||||
bar.tick(data.length);
|
||||
});
|
||||
|
||||
if (key) {
|
||||
form.set('key', key);
|
||||
}
|
||||
form.set('file', fileStream);
|
||||
|
||||
const res = await fetch(url, {
|
||||
method: 'POST',
|
||||
body: form,
|
||||
});
|
||||
|
||||
if (res.status > 299) {
|
||||
throw new Error(`${res.status}: ${await res.text()}`);
|
||||
}
|
||||
|
||||
// const body = await response.json();
|
||||
return { hash: key };
|
||||
}
|
@@ -1,11 +1,11 @@
|
||||
import path from 'path';
|
||||
import path from 'node:path';
|
||||
import { getRNVersion, translateOptions } from './utils';
|
||||
import * as fs from 'fs-extra';
|
||||
import { ZipFile } from 'yazl';
|
||||
import { open as openZipFile } from 'yauzl';
|
||||
import { question, printVersionCommand } from './utils';
|
||||
import { checkPlatform } from './app';
|
||||
import { spawn, spawnSync } from 'child_process';
|
||||
import { spawn, spawnSync } from 'node:child_process';
|
||||
const g2js = require('gradle-to-js/lib/parser');
|
||||
import os from 'os';
|
||||
const properties = require('properties');
|
||||
|
8
src/types.ts
Normal file
8
src/types.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
declare global {
|
||||
var NO_INTERACTIVE: boolean;
|
||||
var USE_ACC_OSS: boolean;
|
||||
}
|
||||
|
||||
export interface Session {
|
||||
token: string;
|
||||
}
|
284
yarn.lock
284
yarn.lock
@@ -1,6 +1,6 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
# bun ./bun.lockb --hash: 6BD80E67CFCDE2EC-d5c70912944ed471-DE1C693A115A4748-0e88a27b513f73b5
|
||||
# bun ./bun.lockb --hash: 9509B83EF0D0BA8A-540d8c10bdfaf4f3-B8E2CFA1AA0F5A8F-f52882911ccb92a5
|
||||
|
||||
|
||||
"@mole-inc/bin-wrapper@^8.0.1":
|
||||
@@ -140,45 +140,45 @@
|
||||
"@nodelib/fs.scandir" "2.1.5"
|
||||
fastq "^1.6.0"
|
||||
|
||||
"@oxlint/darwin-arm64@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.9.10.tgz"
|
||||
integrity sha512-eOXKZYq5bnCSgDefgM5bzAg+4Fc//Rc4yjgKN8iDWUARweCaChiQXb6TXX8MfEfs6qayEMy6yVj0pqoFz0B1aw==
|
||||
"@oxlint/darwin-arm64@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.10.3.tgz"
|
||||
integrity sha512-1zcWSqr9DmhbSrV1SEZRywp81CNq8ZidIcFGB8tGUMnlBNYiHnxyHHh2GIZsr1C2exmkBUGXruM1P8eQ9BWGuQ==
|
||||
|
||||
"@oxlint/darwin-x64@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.9.10.tgz"
|
||||
integrity sha512-UeYICDvLUaUOcY+0ugZUEmBMRLP+x8iTgL7TeY6BlpGw2ahbtUOTbyIIRWtr/0O++TnjZ+v8TzhJ9crw6Ij6dg==
|
||||
"@oxlint/darwin-x64@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.10.3.tgz"
|
||||
integrity sha512-lPAXCwYb+wZgjWAMhtPjGn7n1h8HvTulj6XCRyIgUu/aTGDRtnsae9IPXsJ9LJwYu5wyzkcWow0nhlIxkDaZ+w==
|
||||
|
||||
"@oxlint/linux-arm64-gnu@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.9.10.tgz"
|
||||
integrity sha512-0Zn+vqHhrZyufFBfq9WOgiIool0gCR14BLsdS+0Dwd9o+kNxPGA5q7erQFkiC4rpkxtfBHeD3iIKMMt7d29Kyw==
|
||||
"@oxlint/linux-arm64-gnu@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.10.3.tgz"
|
||||
integrity sha512-OmzpNVRwhjuI/RtoG4ROrwxRICTLoBB3ua4/Mh2iC3RelOog2xhlAAJHenKtzgQXNmebWof/0EckFpMfID7fMw==
|
||||
|
||||
"@oxlint/linux-arm64-musl@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.9.10.tgz"
|
||||
integrity sha512-tkQcWpYwF42bA/uRaV2iMFePHkBjTTgomOgeEaiw6XOSJX4nBEqGIIboqqLBWT4JnKCf/L+IG3y/e1MflhKByw==
|
||||
"@oxlint/linux-arm64-musl@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.10.3.tgz"
|
||||
integrity sha512-QQzlIW6rKOoGZK19gz/kbAbIFROJEV6ER0smcoBA7FzwsQ/ji796qx3TdITelgJwJt5x+OG5ZHztIjyzC871ZQ==
|
||||
|
||||
"@oxlint/linux-x64-gnu@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.9.10.tgz"
|
||||
integrity sha512-JHbkMUnibqaSMBvLHyqTL5cWxcGW+jw+Ppt2baLISpvo34a6fBR+PI7v/A92sEDWe0W1rPhypzCwA8mKpkQ3DA==
|
||||
"@oxlint/linux-x64-gnu@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.10.3.tgz"
|
||||
integrity sha512-m4ZUKsQNXxXmHUYBEaO7KN83DPVsLTq8KaRO4qj0Cs1RgD8O3YYCCDewVe8x/9yskQrCCTP4mL0G4IZgDJ3Gpg==
|
||||
|
||||
"@oxlint/linux-x64-musl@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.9.10.tgz"
|
||||
integrity sha512-aBBwN7bQzidwHwEXr7BAdVvMTLWstCy5gikerjLnGDeCSXX9r+o6+yUzTOqZvOo66E+XBgOJaVbY8rsL1MLE0g==
|
||||
"@oxlint/linux-x64-musl@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.10.3.tgz"
|
||||
integrity sha512-XKvAUYxE9bHjvWE4wmOlIdaVQN7pzZAH3Rx1EFg0MfGBVjyDm+uf0P3so+gx2PowqvBnBneL9tth2AS3Bcjl6g==
|
||||
|
||||
"@oxlint/win32-arm64@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.9.10.tgz"
|
||||
integrity sha512-LXDnk7vKHT3IY6G1jq0O7+XMhtcHOYuxLGIx4KP+4xS6vKgBY+Bsq4xV3AtmtKlvnXkP5FxHpfLmcEtm5AWysA==
|
||||
"@oxlint/win32-arm64@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.10.3.tgz"
|
||||
integrity sha512-8xhYVvnwrveMHyXAgQAaDjJWFij4mZP6jtMlBIjk6pZSrjUzX+9o7Wh1zgH6kYApmcPDAzomYJLSYvyF5PzluA==
|
||||
|
||||
"@oxlint/win32-x64@0.9.10":
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.9.10.tgz"
|
||||
integrity sha512-w5XRAV4bhgwenjjpGYZGglqzG9Wv/sI+cjQWJBQsvfDXsr2w4vOBXzt1j3/Z3EcSqf4KtkCa/IIuAhQyeShUbA==
|
||||
"@oxlint/win32-x64@0.10.3":
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.10.3.tgz"
|
||||
integrity sha512-dQiHruLd42aock1WHp5BFvRvaz+Pe436dQkcmlCVmInhmOjRpDEVKPUUWamrImV6S8VM63bn4Jp60vpprjJQdQ==
|
||||
|
||||
"@sindresorhus/is@^0.14.0":
|
||||
version "0.14.0"
|
||||
@@ -190,10 +190,10 @@
|
||||
resolved "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz"
|
||||
integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==
|
||||
|
||||
"@swc/cli@^0.4.1-nightly.20240914":
|
||||
version "0.4.1-nightly.20240914"
|
||||
resolved "https://registry.npmjs.org/@swc/cli/-/cli-0.4.1-nightly.20240914.tgz"
|
||||
integrity sha512-mpsF0+pq40uu9nZnhkzaA0gdivORTZnJNUFfuUGEzC1DgEEgmKDgisRWpBgA3p7xQPCpYlhkH5cTbsOkqar2Mg==
|
||||
"@swc/cli@^0.5.0":
|
||||
version "0.5.0"
|
||||
resolved "https://registry.npmjs.org/@swc/cli/-/cli-0.5.0.tgz"
|
||||
integrity sha512-eFsrNt85SbHTeX6svpBNcA5DQLP/wrSyCs3KVZjbuEHWD7JGpajZOIwH74lVhyrmrXOcGxgbnxXEbDIfRlLcSw==
|
||||
dependencies:
|
||||
"@mole-inc/bin-wrapper" "^8.0.1"
|
||||
commander "^8.3.0"
|
||||
@@ -205,74 +205,74 @@
|
||||
source-map "^0.7.3"
|
||||
"@swc/counter" "^0.1.3"
|
||||
|
||||
"@swc/core@^1.2.66", "@swc/core@^1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core/-/core-1.7.36.tgz"
|
||||
integrity sha512-bu7ymMX+LCJOSSrKank25Jaq66ymLVA9fOUuy4ck3/6rbXdLw+pIJPnIDKQ9uNcxww8KDxOuJk9Ui9pqR+aGFw==
|
||||
"@swc/core@^1.2.66", "@swc/core@^1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core/-/core-1.7.42.tgz"
|
||||
integrity sha512-iQrRk3SKndQZ4ptJv1rzeQSiCYQIhMjiO97QXOlCcCoaazOLKPnLnXzU4Kv0FuBFyYfG2FE94BoR0XI2BN02qw==
|
||||
dependencies:
|
||||
"@swc/counter" "^0.1.3"
|
||||
"@swc/types" "^0.1.13"
|
||||
optionalDependencies:
|
||||
"@swc/core-darwin-x64" "1.7.36"
|
||||
"@swc/core-win32-x64-msvc" "1.7.36"
|
||||
"@swc/core-linux-x64-gnu" "1.7.36"
|
||||
"@swc/core-linux-x64-musl" "1.7.36"
|
||||
"@swc/core-win32-ia32-msvc" "1.7.36"
|
||||
"@swc/core-linux-arm-gnueabihf" "1.7.36"
|
||||
"@swc/core-darwin-arm64" "1.7.36"
|
||||
"@swc/core-linux-arm64-gnu" "1.7.36"
|
||||
"@swc/core-linux-arm64-musl" "1.7.36"
|
||||
"@swc/core-win32-arm64-msvc" "1.7.36"
|
||||
"@swc/core-darwin-x64" "1.7.42"
|
||||
"@swc/core-win32-x64-msvc" "1.7.42"
|
||||
"@swc/core-linux-x64-gnu" "1.7.42"
|
||||
"@swc/core-linux-x64-musl" "1.7.42"
|
||||
"@swc/core-win32-ia32-msvc" "1.7.42"
|
||||
"@swc/core-linux-arm-gnueabihf" "1.7.42"
|
||||
"@swc/core-darwin-arm64" "1.7.42"
|
||||
"@swc/core-linux-arm64-gnu" "1.7.42"
|
||||
"@swc/core-linux-arm64-musl" "1.7.42"
|
||||
"@swc/core-win32-arm64-msvc" "1.7.42"
|
||||
|
||||
"@swc/core-darwin-arm64@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.36.tgz"
|
||||
integrity sha512-8vDczXzCgv3ceTPhEivlpGprN44YlrCK1nbfU9g2TrhV/Aiqi09W/eM5zLesdoM1Z3mJl492gc/8nlTkpDdusw==
|
||||
"@swc/core-darwin-arm64@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.42.tgz"
|
||||
integrity sha512-fWhaCs2+8GDRIcjExVDEIfbptVrxDqG8oHkESnXgymmvqTWzWei5SOnPNMS8Q+MYsn/b++Y2bDxkcwmq35Bvxg==
|
||||
|
||||
"@swc/core-darwin-x64@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.36.tgz"
|
||||
integrity sha512-Pa2Gao7+Wf5m3SsK4abKRtd48AtoUnJInvaC3d077swBfgZjbjUbQvcpdc2dOeQtWwo49rFqUZJonMsL0jnPgQ==
|
||||
"@swc/core-darwin-x64@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.42.tgz"
|
||||
integrity sha512-ZaVHD2bijrlkCyD7NDzLmSK849Jgcx+6DdL4x1dScoz1slJ8GTvLtEu0JOUaaScQwA+cVlhmrmlmi9ssjbRLGQ==
|
||||
|
||||
"@swc/core-linux-arm-gnueabihf@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.36.tgz"
|
||||
integrity sha512-3YsMWd7V+WZEjbfBnLkkz/olcRBa8nyoK0iIOnNARJBMcYaJxjkJSMZpmSojCnIVwvjA1N83CPAbUL+W+fCnHg==
|
||||
"@swc/core-linux-arm-gnueabihf@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.42.tgz"
|
||||
integrity sha512-iF0BJj7hVTbY/vmbvyzVTh/0W80+Q4fbOYschdUM3Bsud39TA+lSaPOefOHywkNH58EQ1z3EAxYcJOWNES7GFQ==
|
||||
|
||||
"@swc/core-linux-arm64-gnu@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.36.tgz"
|
||||
integrity sha512-lqM3aBB7kJazJYOwHeA5OGNLqXoQPZ/76b3dV+XcjN1GhD0CcXz6mW5PRYVin6OSN1eKrKBKJjtDA1mqADDEvw==
|
||||
"@swc/core-linux-arm64-gnu@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.42.tgz"
|
||||
integrity sha512-xGu8j+DOLYTLkVmsfZPJbNPW1EkiWgSucT0nOlz77bLxImukt/0+HVm2hOwHSKuArQ8C3cjahAMY3b/s4VH2ww==
|
||||
|
||||
"@swc/core-linux-arm64-musl@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.36.tgz"
|
||||
integrity sha512-bqei2YDzvUfG0pth5W2xJaj0eG4XWYk0d/NJ75vBX6bkIzK6dC8iuKQ41jOfUWonnrAs7rTDDJW0sTn/evvRdw==
|
||||
"@swc/core-linux-arm64-musl@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.42.tgz"
|
||||
integrity sha512-qtW3JNO7i1yHEko59xxz+jY38+tYmB96JGzj6XzygMbYJYZDYbrOpXQvKbMGNG3YeTDan7Fp2jD0dlKf7NgDPA==
|
||||
|
||||
"@swc/core-linux-x64-gnu@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.36.tgz"
|
||||
integrity sha512-03maXTUyaBjeCxlDltmdzHje1ryQt1C4OWmmNgSSRXjLb+GNnAenwOJMSrcvHP/aNClD2pwsFCnYKDGy+sYE6w==
|
||||
"@swc/core-linux-x64-gnu@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.42.tgz"
|
||||
integrity sha512-F9WY1TN+hhhtiEzZjRQziNLt36M5YprMeOBHjsLVNqwgflzleSI7ulgnlQECS8c8zESaXj3ksGduAoJYtPC1cA==
|
||||
|
||||
"@swc/core-linux-x64-musl@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.36.tgz"
|
||||
integrity sha512-XXysqLkvjtQnXm1zHqLhy00UYPv/gk5OtwR732X+piNisnEbcJBqI8Qp9O7YvLWllRcoP8IMBGDWLGdGLSpViA==
|
||||
"@swc/core-linux-x64-musl@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.42.tgz"
|
||||
integrity sha512-7YMdOaYKLMQ8JGfnmRDwidpLFs/6ka+80zekeM0iCVO48yLrJR36G0QGXzMjKsXI0BPhq+mboZRRENK4JfQnEA==
|
||||
|
||||
"@swc/core-win32-arm64-msvc@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.36.tgz"
|
||||
integrity sha512-k7+dmb13a/zPw+E4XYfPmLZFWJgcOcBRKIjYl9nQErtYsgsg3Ji6TBbsvJVETy23lNHyewZ17V5Vq6NzaG0hzg==
|
||||
"@swc/core-win32-arm64-msvc@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.42.tgz"
|
||||
integrity sha512-C5CYWaIZEyqPl5W/EwcJ/mLBJFHVoUEa/IwWi0b4q2fCXcSCktQGwKXOQ+d67GneiZoiq0HasgcdMmMpGS9YRQ==
|
||||
|
||||
"@swc/core-win32-ia32-msvc@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.36.tgz"
|
||||
integrity sha512-ridD3ay6YM2PEYHZXXFN+edYEv0FOynaqOBP+NSnGNHA35azItIjoIe+KNi4WltGtAjpKCHSpjGCNfna12wdYQ==
|
||||
"@swc/core-win32-ia32-msvc@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.42.tgz"
|
||||
integrity sha512-3j47seZ5pO62mbrqvPe1iwhe2BXnM5q7iB+n2xgA38PCGYt0mnaJafqmpCXm/uYZOCMqSNynaoOWCMMZm4sqtA==
|
||||
|
||||
"@swc/core-win32-x64-msvc@1.7.36":
|
||||
version "1.7.36"
|
||||
resolved "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.36.tgz"
|
||||
integrity sha512-j1z2Z1Ln9d0E3dHsPkC1K9XDh0ojhRPwV+GfRTu4D61PE+aYhYLvbJC6xPvL4/204QrStRS7eDu3m+BcDp3rgQ==
|
||||
"@swc/core-win32-x64-msvc@1.7.42":
|
||||
version "1.7.42"
|
||||
resolved "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.42.tgz"
|
||||
integrity sha512-FXl9MdeUogZLGDcLr6QIRdDVkpG0dkN4MLM4dwQ5kcAk+XfKPrQibX6M2kcfhsCx+jtBqtK7hRFReRXPWJZGbA==
|
||||
|
||||
"@swc/counter@^0.1.3":
|
||||
version "0.1.3"
|
||||
@@ -327,13 +327,20 @@
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/node@*", "@types/node@^22.7.5":
|
||||
"@types/node@*":
|
||||
version "22.7.5"
|
||||
resolved "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz"
|
||||
integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==
|
||||
dependencies:
|
||||
undici-types "~6.19.2"
|
||||
|
||||
"@types/node@^22.8.6":
|
||||
version "22.8.6"
|
||||
resolved "https://registry.npmjs.org/@types/node/-/node-22.8.6.tgz"
|
||||
integrity sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==
|
||||
dependencies:
|
||||
undici-types "~6.19.8"
|
||||
|
||||
"@types/responselike@^1.0.0":
|
||||
version "1.0.3"
|
||||
resolved "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.3.tgz"
|
||||
@@ -463,7 +470,7 @@ bcrypt-pbkdf@^1.0.0:
|
||||
dependencies:
|
||||
tweetnacl "^0.14.3"
|
||||
|
||||
big-integer@^1.6.44:
|
||||
big-integer@1.6.x:
|
||||
version "1.6.52"
|
||||
resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz"
|
||||
integrity sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==
|
||||
@@ -507,12 +514,12 @@ boxen@^5.0.0:
|
||||
widest-line "^3.1.0"
|
||||
string-width "^4.2.2"
|
||||
|
||||
bplist-parser@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz"
|
||||
integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==
|
||||
bplist-parser@^0.3.2:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.2.tgz"
|
||||
integrity sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==
|
||||
dependencies:
|
||||
big-integer "^1.6.44"
|
||||
big-integer "1.6.x"
|
||||
|
||||
brace-expansion@^2.0.1:
|
||||
version "2.0.1"
|
||||
@@ -548,6 +555,11 @@ buffer-crc32@~0.2.3:
|
||||
resolved "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz"
|
||||
integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==
|
||||
|
||||
buffer-crc32@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-1.0.0.tgz"
|
||||
integrity sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==
|
||||
|
||||
bufferpack@0.0.6:
|
||||
version "0.0.6"
|
||||
resolved "https://registry.npmjs.org/bufferpack/-/bufferpack-0.0.6.tgz"
|
||||
@@ -699,16 +711,16 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
|
||||
dependencies:
|
||||
delayed-stream "~1.0.0"
|
||||
|
||||
commander@^7.2.0:
|
||||
version "7.2.0"
|
||||
resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz"
|
||||
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
|
||||
|
||||
commander@^8.3.0:
|
||||
version "8.3.0"
|
||||
resolved "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz"
|
||||
integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
|
||||
|
||||
commander@^12.1.0:
|
||||
version "12.1.0"
|
||||
resolved "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz"
|
||||
integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==
|
||||
|
||||
compare-versions@^6.1.1:
|
||||
version "6.1.1"
|
||||
resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz"
|
||||
@@ -1152,7 +1164,7 @@ filenamify@^5.0.2:
|
||||
strip-outer "^2.0.0"
|
||||
trim-repeated "^2.0.0"
|
||||
|
||||
filesize-parser@^1.5.0:
|
||||
filesize-parser@^1.5.1:
|
||||
version "1.5.1"
|
||||
resolved "https://registry.npmjs.org/filesize-parser/-/filesize-parser-1.5.1.tgz"
|
||||
integrity sha512-wRjdlQ5JM3WHZp6xpakIHQbkcGig8ANglYQDPcQSgZUN5kcDGOgmAwB0396BxzHxcl+kr+GLuusxBnsjdO6x9A==
|
||||
@@ -1864,10 +1876,10 @@ mixme@^0.5.1:
|
||||
resolved "https://registry.npmjs.org/mixme/-/mixme-0.5.10.tgz"
|
||||
integrity sha512-5H76ANWinB1H3twpJ6JY8uvAtpmFvHNArpilJAjXRKXSDDLPIMoZArw5SH0q9z+lLs8IrMw7Q2VWpWimFKFT1Q==
|
||||
|
||||
mute-stream@~0.0.4:
|
||||
version "0.0.8"
|
||||
resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz"
|
||||
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
|
||||
mute-stream@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz"
|
||||
integrity sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==
|
||||
|
||||
node-fetch@^2.6.1:
|
||||
version "2.7.0"
|
||||
@@ -1946,19 +1958,19 @@ os-filter-obj@^2.0.0:
|
||||
dependencies:
|
||||
arch "^2.1.0"
|
||||
|
||||
oxlint@^0.9.10:
|
||||
version "0.9.10"
|
||||
resolved "https://registry.npmjs.org/oxlint/-/oxlint-0.9.10.tgz"
|
||||
integrity sha512-bKiiFN7Hnoaist/rditTRBXz+GXKYuLd53/NB7Q6zHB/bifELJarSoRLkAUGElIJKl4PSr3lTh1g6zehh+rX0g==
|
||||
oxlint@^0.10.3:
|
||||
version "0.10.3"
|
||||
resolved "https://registry.npmjs.org/oxlint/-/oxlint-0.10.3.tgz"
|
||||
integrity sha512-af5u5+s4adyszujeILPDRGwix0o5M1+qR1eqxNSmJhTKVRX7xdrT9s2rpNpMYxQmPyWRhC/+5Gqyb+f/PtbK9A==
|
||||
optionalDependencies:
|
||||
"@oxlint/win32-x64" "0.9.10"
|
||||
"@oxlint/win32-arm64" "0.9.10"
|
||||
"@oxlint/linux-x64-gnu" "0.9.10"
|
||||
"@oxlint/linux-arm64-gnu" "0.9.10"
|
||||
"@oxlint/linux-x64-musl" "0.9.10"
|
||||
"@oxlint/linux-arm64-musl" "0.9.10"
|
||||
"@oxlint/darwin-x64" "0.9.10"
|
||||
"@oxlint/darwin-arm64" "0.9.10"
|
||||
"@oxlint/win32-x64" "0.10.3"
|
||||
"@oxlint/win32-arm64" "0.10.3"
|
||||
"@oxlint/linux-x64-gnu" "0.10.3"
|
||||
"@oxlint/linux-arm64-gnu" "0.10.3"
|
||||
"@oxlint/linux-x64-musl" "0.10.3"
|
||||
"@oxlint/linux-arm64-musl" "0.10.3"
|
||||
"@oxlint/darwin-x64" "0.10.3"
|
||||
"@oxlint/darwin-arm64" "0.10.3"
|
||||
|
||||
p-cancelable@^1.0.0:
|
||||
version "1.1.0"
|
||||
@@ -2051,7 +2063,7 @@ piscina@^4.3.0:
|
||||
optionalDependencies:
|
||||
"@napi-rs/nice" "^1.0.1"
|
||||
|
||||
plist@^3.0.1:
|
||||
plist@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz"
|
||||
integrity sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==
|
||||
@@ -2135,12 +2147,12 @@ rc@1.2.8, rc@^1.2.8:
|
||||
minimist "^1.2.0"
|
||||
strip-json-comments "~2.0.1"
|
||||
|
||||
read@^1.0.7:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.npmjs.org/read/-/read-1.0.7.tgz"
|
||||
integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==
|
||||
read@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.npmjs.org/read/-/read-4.0.0.tgz"
|
||||
integrity sha512-nbYGT3cec3J5NPUeJia7l72I3oIzMIB6yeNyDqi8CVHr3WftwjrCUqR0j13daoHEMVaZ/rxCpmHKrbods3hI2g==
|
||||
dependencies:
|
||||
mute-stream "~0.0.4"
|
||||
mute-stream "^2.0.0"
|
||||
|
||||
readable-stream@^3.6.0:
|
||||
version "3.6.2"
|
||||
@@ -2675,7 +2687,7 @@ unbox-primitive@^1.0.2:
|
||||
has-symbols "^1.0.3"
|
||||
which-boxed-primitive "^1.0.2"
|
||||
|
||||
undici-types@~6.19.2:
|
||||
undici-types@~6.19.2, undici-types@~6.19.8:
|
||||
version "6.19.8"
|
||||
resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz"
|
||||
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
|
||||
@@ -2914,7 +2926,7 @@ yargs-parser@^21.1.1:
|
||||
resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz"
|
||||
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
|
||||
|
||||
yauzl@^2.10.0, yauzl@^2.8.0:
|
||||
yauzl@^2.8.0:
|
||||
version "2.10.0"
|
||||
resolved "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz"
|
||||
integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==
|
||||
@@ -2922,9 +2934,17 @@ yauzl@^2.10.0, yauzl@^2.8.0:
|
||||
fd-slicer "~1.1.0"
|
||||
buffer-crc32 "~0.2.3"
|
||||
|
||||
yazl@2.5.1:
|
||||
version "2.5.1"
|
||||
resolved "https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz"
|
||||
integrity sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw==
|
||||
yauzl@^3.1.3:
|
||||
version "3.1.3"
|
||||
resolved "https://registry.npmjs.org/yauzl/-/yauzl-3.1.3.tgz"
|
||||
integrity sha512-JCCdmlJJWv7L0q/KylOekyRaUrdEoUxWkWVcgorosTROCFWiS9p2NNPE9Yb91ak7b1N5SxAZEliWpspbZccivw==
|
||||
dependencies:
|
||||
buffer-crc32 "~0.2.3"
|
||||
pend "~1.2.0"
|
||||
|
||||
yazl@3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.npmjs.org/yazl/-/yazl-3.1.0.tgz"
|
||||
integrity sha512-jTCO9Dfhj3YLt5m+V8TUapuSogc0PE5a1vQWNBQK+eLnFP35zZQQKGML7IVMQYOP8ryLNWojInAegtG8RfAf+w==
|
||||
dependencies:
|
||||
buffer-crc32 "^1.0.0"
|
||||
|
Reference in New Issue
Block a user