mirror of
https://github.com/zhigang1992/mtcute.git
synced 2026-04-29 04:35:08 +08:00
chore: bumped fuman
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"postinstall": "fuman-build validate-workspace-deps && node scripts/remove-jsr-sourcefiles.js",
|
||||
"postinstall": "fuman-build lint && node scripts/remove-jsr-sourcefiles.js",
|
||||
"test": "vitest --config .config/vite.ts run",
|
||||
"test:dev": "vitest --config .config/vite.ts watch",
|
||||
"test:ui": "vitest --config .config/vite.ts --ui",
|
||||
@@ -46,8 +46,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^3.11.2",
|
||||
"@fuman/build": "https://pkg.pr.new/teidesu/fuman/@fuman/build@0b7fee1",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/build": "0.0.14",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@types/bun": "1.1.14",
|
||||
"@types/deno": "npm:@teidesu/deno-types@1.46.3",
|
||||
"@types/node": "22.13.1",
|
||||
@@ -86,4 +86,4 @@
|
||||
"better-sqlite3"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,10 +17,10 @@
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/bun": "0.0.9",
|
||||
"@fuman/net": "0.0.9",
|
||||
"@fuman/io": "0.0.8"
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@fuman/bun": "0.0.14",
|
||||
"@fuman/net": "0.0.14",
|
||||
"@fuman/io": "0.0.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
@@ -28,4 +28,4 @@
|
||||
"fuman": {
|
||||
"jsr": "skip"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +1,29 @@
|
||||
{
|
||||
"name": "@mtcute/convert",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Cross-library session conversion utilities",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/net": "0.0.9",
|
||||
"@fuman/io": "0.0.8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mtcute/node": "workspace:^"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@mtcute/node": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@mtcute/node": "workspace:^"
|
||||
"name": "@mtcute/convert",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Cross-library session conversion utilities",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@fuman/net": "0.0.14",
|
||||
"@fuman/io": "0.0.14"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mtcute/node": "workspace:^"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@mtcute/node": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@mtcute/node": "workspace:^"
|
||||
}
|
||||
}
|
||||
@@ -1,36 +1,36 @@
|
||||
{
|
||||
"name": "@mtcute/core",
|
||||
"type": "module",
|
||||
"version": "0.22.3",
|
||||
"private": true,
|
||||
"description": "Type-safe library for MTProto (Telegram API)",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils/index.ts",
|
||||
"./client.js": "./src/highlevel/client.ts",
|
||||
"./worker.js": "./src/highlevel/worker/index.ts",
|
||||
"./methods.js": "./src/highlevel/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"gen-client": "node ./scripts/generate-client.cjs",
|
||||
"gen-updates": "node ./scripts/generate-updates.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuman/io": "0.0.8",
|
||||
"@fuman/net": "0.0.9",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@mtcute/file-id": "workspace:^",
|
||||
"@mtcute/tl": "workspace:^",
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"@types/events": "3.0.0",
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/ws": "8.5.4",
|
||||
"ws": "8.13.0"
|
||||
}
|
||||
}
|
||||
"name": "@mtcute/core",
|
||||
"type": "module",
|
||||
"version": "0.22.3",
|
||||
"private": true,
|
||||
"description": "Type-safe library for MTProto (Telegram API)",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils/index.ts",
|
||||
"./client.js": "./src/highlevel/client.ts",
|
||||
"./worker.js": "./src/highlevel/worker/index.ts",
|
||||
"./methods.js": "./src/highlevel/methods.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"gen-client": "node ./scripts/generate-client.cjs",
|
||||
"gen-updates": "node ./scripts/generate-updates.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fuman/io": "0.0.14",
|
||||
"@fuman/net": "0.0.14",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@mtcute/file-id": "workspace:^",
|
||||
"@mtcute/tl": "workspace:^",
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"@types/events": "3.0.0",
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/ws": "8.5.4",
|
||||
"ws": "8.13.0"
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,7 @@ export class AppConfigManager {
|
||||
async get(): Promise<AppConfigSchema> {
|
||||
if (!this._resource.isStale && this._object) return this._object
|
||||
|
||||
const obj = tlJsonToJson((await this._resource.get()).config)
|
||||
const obj = tlJsonToJson((await this._resource.get())!.config)
|
||||
|
||||
if (!obj || typeof obj !== 'object') {
|
||||
throw new MtTypeAssertionError('appConfig', 'object', typeof obj)
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@db/sqlite": "npm:@jsr/db__sqlite@0.12.0",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/net": "0.0.9",
|
||||
"@fuman/io": "0.0.8",
|
||||
"@fuman/deno": "npm:@jsr/fuman__deno@0.0.9",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@fuman/net": "0.0.14",
|
||||
"@fuman/io": "0.0.14",
|
||||
"@fuman/deno": "npm:@jsr/fuman__deno@0.0.14",
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"name": "@mtcute/dispatcher",
|
||||
"type": "module",
|
||||
"version": "0.22.2",
|
||||
"private": true,
|
||||
"description": "Updates dispatcher and bot framework for @mtcute/client",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"gen-updates": "node ./scripts/generate.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@fuman/utils": "0.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
"name": "@mtcute/dispatcher",
|
||||
"type": "module",
|
||||
"version": "0.22.2",
|
||||
"private": true,
|
||||
"description": "Updates dispatcher and bot framework for @mtcute/client",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"scripts": {
|
||||
"gen-updates": "node ./scripts/generate.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@fuman/utils": "0.0.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
}
|
||||
}
|
||||
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "@mtcute/file-id",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Support for TDLib and Bot API file ID for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"long": "5.2.3"
|
||||
}
|
||||
}
|
||||
"name": "@mtcute/file-id",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Support for TDLib and Bot API file ID for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/tl-runtime": "workspace:^",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"long": "5.2.3"
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"name": "@mtcute/node",
|
||||
"type": "module",
|
||||
"version": "0.22.3",
|
||||
"private": true,
|
||||
"description": "Meta-package for Node.js",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/net": "0.0.9",
|
||||
"@fuman/node": "0.0.9",
|
||||
"better-sqlite3": "11.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/better-sqlite3": "7.6.4"
|
||||
},
|
||||
"fuman": {
|
||||
"jsr": "skip"
|
||||
}
|
||||
}
|
||||
"name": "@mtcute/node",
|
||||
"type": "module",
|
||||
"version": "0.22.3",
|
||||
"private": true,
|
||||
"description": "Meta-package for Node.js",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/html-parser": "workspace:^",
|
||||
"@mtcute/markdown-parser": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@fuman/net": "0.0.14",
|
||||
"@fuman/node": "0.0.14",
|
||||
"better-sqlite3": "11.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^",
|
||||
"@types/better-sqlite3": "7.6.4"
|
||||
},
|
||||
"fuman": {
|
||||
"jsr": "skip"
|
||||
}
|
||||
}
|
||||
@@ -1,40 +1,40 @@
|
||||
{
|
||||
"name": "@mtcute/test",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Test utilities for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"peerDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/tl": "workspace:*",
|
||||
"@mtcute/web": "workspace:^",
|
||||
"vitest": "*"
|
||||
"name": "@mtcute/test",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Test utilities for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": "./src/index.ts",
|
||||
"peerDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/tl": "workspace:*",
|
||||
"@mtcute/web": "workspace:^",
|
||||
"vitest": "*"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@mtcute/node": {
|
||||
"optional": true
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@mtcute/node": {
|
||||
"optional": true
|
||||
},
|
||||
"@mtcute/web": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/net": "0.0.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/tl-utils": "workspace:^"
|
||||
},
|
||||
"browser": {
|
||||
"./src/platform.js": "./src/platform.web.js"
|
||||
},
|
||||
"fuman": {
|
||||
"jsr": "skip"
|
||||
"@mtcute/web": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@fuman/net": "0.0.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/tl-utils": "workspace:^"
|
||||
},
|
||||
"browser": {
|
||||
"./src/platform.js": "./src/platform.web.js"
|
||||
},
|
||||
"fuman": {
|
||||
"jsr": "skip"
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "@mtcute/tl-runtime",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Runtime for TL",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3",
|
||||
"@fuman/utils": "0.0.4"
|
||||
}
|
||||
}
|
||||
"name": "@mtcute/tl-runtime",
|
||||
"type": "module",
|
||||
"version": "0.22.0",
|
||||
"private": true,
|
||||
"description": "Runtime for TL",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3",
|
||||
"@fuman/utils": "0.0.14"
|
||||
}
|
||||
}
|
||||
@@ -1,39 +1,39 @@
|
||||
{
|
||||
"name": "@mtcute/tl",
|
||||
"version": "201.0.0",
|
||||
"description": "TL schema used for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "tsc --noEmit --esModuleInterop tests/types.ts",
|
||||
"fetch-mtp": "tsx scripts/fetch-mtp.ts",
|
||||
"fetch-api": "tsx scripts/fetch-api.ts",
|
||||
"fetch-errors": "tsx scripts/fetch-errors.ts",
|
||||
"docs-cli": "tsx scripts/documentation.ts",
|
||||
"gen-code": "tsx scripts/gen-code.ts",
|
||||
"gen-rsa": "tsx scripts/gen-rsa-keys.ts",
|
||||
"fetch-and-gen": "pnpm run fetch-api && pnpm run gen-code",
|
||||
"build": "tsx scripts/build-package.ts",
|
||||
"build:jsr": "JSR=1 tsx scripts/build-package.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/tl-utils": "workspace:^",
|
||||
"@fuman/utils": "0.0.4",
|
||||
"@fuman/fetch": "0.0.8",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"csv-parse": "^5.5.0",
|
||||
"js-yaml": "4.1.0"
|
||||
},
|
||||
"typedoc": {
|
||||
"entryPoint": "index.d.ts"
|
||||
},
|
||||
"fuman": {
|
||||
"ownVersioning": true
|
||||
}
|
||||
"name": "@mtcute/tl",
|
||||
"version": "201.0.0",
|
||||
"description": "TL schema used for mtcute",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "tsc --noEmit --esModuleInterop tests/types.ts",
|
||||
"fetch-mtp": "tsx scripts/fetch-mtp.ts",
|
||||
"fetch-api": "tsx scripts/fetch-api.ts",
|
||||
"fetch-errors": "tsx scripts/fetch-errors.ts",
|
||||
"docs-cli": "tsx scripts/documentation.ts",
|
||||
"gen-code": "tsx scripts/gen-code.ts",
|
||||
"gen-rsa": "tsx scripts/gen-rsa-keys.ts",
|
||||
"fetch-and-gen": "pnpm run fetch-api && pnpm run gen-code",
|
||||
"build": "tsx scripts/build-package.ts",
|
||||
"build:jsr": "JSR=1 tsx scripts/build-package.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "5.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/tl-utils": "workspace:^",
|
||||
"@fuman/utils": "0.0.14",
|
||||
"@fuman/fetch": "0.1.0",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"csv-parse": "^5.5.0",
|
||||
"js-yaml": "4.1.0"
|
||||
},
|
||||
"typedoc": {
|
||||
"entryPoint": "index.d.ts"
|
||||
},
|
||||
"fuman": {
|
||||
"ownVersioning": true
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,6 @@
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/node": "workspace:^",
|
||||
"@mtcute/web": "workspace:^",
|
||||
"@fuman/utils": "0.0.4"
|
||||
"@fuman/utils": "0.0.14"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"name": "@mtcute/web",
|
||||
"type": "module",
|
||||
"version": "0.22.3",
|
||||
"private": true,
|
||||
"description": "Meta-package for the web platform",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@fuman/net": "0.0.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
},
|
||||
"denoJson": {
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"WebWorker"
|
||||
]
|
||||
}
|
||||
"name": "@mtcute/web",
|
||||
"type": "module",
|
||||
"version": "0.22.3",
|
||||
"private": true,
|
||||
"description": "Meta-package for the web platform",
|
||||
"author": "alina sireneva <alina@tei.su>",
|
||||
"license": "MIT",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./utils.js": "./src/utils.ts",
|
||||
"./methods.js": "./src/methods.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mtcute/core": "workspace:^",
|
||||
"@mtcute/wasm": "workspace:^",
|
||||
"@fuman/net": "0.0.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mtcute/test": "workspace:^"
|
||||
},
|
||||
"denoJson": {
|
||||
"compilerOptions": {
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"WebWorker"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
347
pnpm-lock.yaml
generated
347
pnpm-lock.yaml
generated
@@ -15,11 +15,11 @@ importers:
|
||||
specifier: ^3.11.2
|
||||
version: 3.11.2(@typescript-eslint/utils@8.17.0(eslint@9.9.0)(typescript@5.5.4))(@vue/compiler-sfc@3.5.13)(eslint@9.9.0)(typescript@5.5.4)(vitest@3.0.7)
|
||||
'@fuman/build':
|
||||
specifier: https://pkg.pr.new/teidesu/fuman/@fuman/build@0b7fee1
|
||||
version: https://pkg.pr.new/teidesu/fuman/@fuman/build@0b7fee1(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@6.2.0(@types/node@22.13.1)(tsx@4.17.0)(yaml@2.6.1))
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@6.2.0(@types/node@22.13.1)(tsx@4.17.0)(yaml@2.6.1))(ws@8.18.1)
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@types/bun':
|
||||
specifier: 1.1.14
|
||||
version: 1.1.14
|
||||
@@ -127,7 +127,7 @@ importers:
|
||||
version: 0.24.0
|
||||
mtcute:
|
||||
specifier: file:../packages/node
|
||||
version: '@mtcute/node@file:packages/node'
|
||||
version: '@mtcute/node@file:packages/node(ws@8.18.1)'
|
||||
tsx:
|
||||
specifier: ^4.19.2
|
||||
version: 4.19.2
|
||||
@@ -145,17 +145,17 @@ importers:
|
||||
packages/bun:
|
||||
dependencies:
|
||||
'@fuman/bun':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/io':
|
||||
specifier: 0.0.8
|
||||
version: 0.0.8
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -176,14 +176,14 @@ importers:
|
||||
packages/convert:
|
||||
dependencies:
|
||||
'@fuman/io':
|
||||
specifier: 0.0.8
|
||||
version: 0.0.8
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -198,14 +198,14 @@ importers:
|
||||
packages/core:
|
||||
dependencies:
|
||||
'@fuman/io':
|
||||
specifier: 0.0.8
|
||||
version: 0.0.8
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/file-id':
|
||||
specifier: workspace:^
|
||||
version: link:../file-id
|
||||
@@ -269,17 +269,17 @@ importers:
|
||||
specifier: npm:@jsr/db__sqlite@0.12.0
|
||||
version: '@jsr/db__sqlite@0.12.0'
|
||||
'@fuman/deno':
|
||||
specifier: npm:@jsr/fuman__deno@0.0.9
|
||||
version: '@jsr/fuman__deno@0.0.9'
|
||||
specifier: npm:@jsr/fuman__deno@0.0.14
|
||||
version: '@jsr/fuman__deno@0.0.14'
|
||||
'@fuman/io':
|
||||
specifier: 0.0.8
|
||||
version: 0.0.8
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -303,8 +303,8 @@ importers:
|
||||
packages/dispatcher:
|
||||
dependencies:
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -316,8 +316,8 @@ importers:
|
||||
packages/file-id:
|
||||
dependencies:
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/tl-runtime':
|
||||
specifier: workspace:^
|
||||
version: link:../tl-runtime
|
||||
@@ -358,14 +358,14 @@ importers:
|
||||
packages/node:
|
||||
dependencies:
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/node':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14(ws@8.18.1)
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -392,11 +392,11 @@ importers:
|
||||
packages/test:
|
||||
dependencies:
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -427,11 +427,11 @@ importers:
|
||||
version: 5.2.3
|
||||
devDependencies:
|
||||
'@fuman/fetch':
|
||||
specifier: 0.0.8
|
||||
version: 0.0.8(tough-cookie@4.1.4)(zod@3.23.8)
|
||||
specifier: 0.1.0
|
||||
version: 0.1.0(tough-cookie@4.1.4)(zod@3.23.8)
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -457,8 +457,8 @@ importers:
|
||||
packages/tl-runtime:
|
||||
dependencies:
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
long:
|
||||
specifier: 5.2.3
|
||||
version: 5.2.3
|
||||
@@ -475,8 +475,8 @@ importers:
|
||||
packages/wasm:
|
||||
devDependencies:
|
||||
'@fuman/utils':
|
||||
specifier: 0.0.4
|
||||
version: 0.0.4
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -490,8 +490,8 @@ importers:
|
||||
packages/web:
|
||||
dependencies:
|
||||
'@fuman/net':
|
||||
specifier: 0.0.9
|
||||
version: 0.0.9
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
'@mtcute/core':
|
||||
specifier: workspace:^
|
||||
version: link:../core
|
||||
@@ -1241,9 +1241,8 @@ packages:
|
||||
resolution: {integrity: sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@fuman/build@https://pkg.pr.new/teidesu/fuman/@fuman/build@0b7fee1':
|
||||
resolution: {tarball: https://pkg.pr.new/teidesu/fuman/@fuman/build@0b7fee1}
|
||||
version: 0.0.10
|
||||
'@fuman/build@0.0.14':
|
||||
resolution: {integrity: sha512-0BoTznpaw8fVICNXwSp907kl1Ki/lGpwhZITmfchueWlHsdOUa/swcTYITtmn945ORZTZwaCd5tG3ewunV4NBw==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
typedoc: '>=0.24.0'
|
||||
@@ -1253,11 +1252,11 @@ packages:
|
||||
typedoc:
|
||||
optional: true
|
||||
|
||||
'@fuman/bun@0.0.9':
|
||||
resolution: {integrity: sha512-W21lJRs1vp+HrID/Qtb12XB6u5YEoJobEcwyDwdRgBHSJgM9h3WKu7AtPhpe6Sy+Hfxv3EakRRxlKeNiltYP2g==}
|
||||
'@fuman/bun@0.0.14':
|
||||
resolution: {integrity: sha512-4SDWTTQAkpF5zHun0Awxoh7zDFtkTT0Xn1uBlM8g5uZa5y79c31w9SgW+zPn+a4Lt7UAETDAeCx7UEEM+xbnAQ==}
|
||||
|
||||
'@fuman/fetch@0.0.10':
|
||||
resolution: {integrity: sha512-Zy1GKZ8/NGP2adH0JXVaP91TZPpXngZDTGOFrb38pEp6RYAVSywt0yOPO2kwZGUpordfCj96CMNv+e6zUc7qqw==}
|
||||
'@fuman/fetch@0.0.13':
|
||||
resolution: {integrity: sha512-sNi2ruU6P7VAR9Kjvwqv0mJC2TCDL9pqae4dToJ1djaYeUQCRD1l8oIVQZe7WMVpbG18brn5iDdLniKELMHMxw==}
|
||||
peerDependencies:
|
||||
'@badrap/valita': '>=0.4.0'
|
||||
tough-cookie: ^5.0.0 || ^4.0.0
|
||||
@@ -1276,8 +1275,8 @@ packages:
|
||||
zod:
|
||||
optional: true
|
||||
|
||||
'@fuman/fetch@0.0.8':
|
||||
resolution: {integrity: sha512-ih3JYHJ9xTUoCz67TVeFP6ZkwOrZNHstWXaR1/4EQ/lZSEJJj+tvm9UGjXyEbh3HIgN7Oqc5Fu6w5JpH/zChDQ==}
|
||||
'@fuman/fetch@0.1.0':
|
||||
resolution: {integrity: sha512-q3CWQJ939Kcmrp/9/dUOCRqQi2og4uweSy7QrzeIxKRsz3jYSca1q2mwTQtTnA+9AAq2WNMlcZtgOA9qVJkXJw==}
|
||||
peerDependencies:
|
||||
'@badrap/valita': '>=0.4.0'
|
||||
tough-cookie: ^5.0.0 || ^4.0.0
|
||||
@@ -1296,32 +1295,28 @@ packages:
|
||||
zod:
|
||||
optional: true
|
||||
|
||||
'@fuman/io@0.0.10':
|
||||
resolution: {integrity: sha512-e1aI7zBjlbVOFq0S/SBC7dnXYF3OnJ4XIwM7XBK+aIFCfy1FrmWgro6q/x4UlamGqfmBg3rM4ymqL3r+dBgyFg==}
|
||||
'@fuman/io@0.0.14':
|
||||
resolution: {integrity: sha512-upZlnaLguCsMg1JHpbp/L96uwu8JyO/DRKNbwGFg3PoJRjsjutasduWX23HV2W3Ts/BKgMc5XQpMgezbJ3OsYQ==}
|
||||
|
||||
'@fuman/io@0.0.8':
|
||||
resolution: {integrity: sha512-+cRZ2JOMYceNQ2Rh6UYro5XVa11j29Sdd3Yhi4GfxAx6ZwCNIw3P80xcTRwCZSfMPLDNN9Etkq7NIc5v9lpItw==}
|
||||
'@fuman/net@0.0.14':
|
||||
resolution: {integrity: sha512-FD3+TWHYoc5nSOy4VMHEadP7psPhtgLD+XI9zFszapzaK4wgM3kd3KqzXc+gMe7LltY7h0jtupxoskVxtB9uuw==}
|
||||
|
||||
'@fuman/net@0.0.10':
|
||||
resolution: {integrity: sha512-ht/y26viJA9ZbTaqSxo0Wrzeq2KOjeozoc3jpLBGpVdnj4aydIEGuwj0QXlC5Gdo2YZLH6a1LsFfg6zMla6ufg==}
|
||||
|
||||
'@fuman/net@0.0.9':
|
||||
resolution: {integrity: sha512-asn7VJbT8woVXAFCUMZrdyNZCSsXZclraeVZ6RYJ+T3RwQ+JfMMZtXLLTZ7XHrBPxk8x8hoHOJa/Fnyfm+ggbQ==}
|
||||
|
||||
'@fuman/node@0.0.10':
|
||||
resolution: {integrity: sha512-eBqc/pblukjNplo/Nc+h6fv2Gp9J//abrqxgUAP4rt/hxXoARMW6k+/iUMEV443FCSE0NZZrtRdc1pLBExV78g==}
|
||||
|
||||
'@fuman/node@0.0.9':
|
||||
resolution: {integrity: sha512-ImOGEv1T1n/AOqfPH8ag1q/i0RvxnG0EfYVwlfRl/PXW/uNJiH3PRgT4euvXPNlHx6DViDiFn4ADecz9bTrtUg==}
|
||||
'@fuman/node@0.0.14':
|
||||
resolution: {integrity: sha512-z62BG9G4+fZ6PzStU/hmBbqT/8IimoDPGLU/w9uwhhRtEQhlTGb2VE9OegnYL0Rne4USHx+RRAUVZDeIlrGNTw==}
|
||||
peerDependencies:
|
||||
ws: ^8.18.1
|
||||
peerDependenciesMeta:
|
||||
ws:
|
||||
optional: true
|
||||
|
||||
'@fuman/utils@0.0.1':
|
||||
resolution: {integrity: sha512-9zT7TiQEm2leoXVoN1Fs7m0d6bZcJXWDWQl9MhoySb+z0+iXb05PcDuTxTfCAvpGK1XVFf3n+MyN0w1yCKHc7Q==}
|
||||
|
||||
'@fuman/utils@0.0.10':
|
||||
resolution: {integrity: sha512-KVlDx0S1Og7IWcPi93f1T45WPfCSUV6/A4dQb36zZRtb8KECl1BK2u9WkNVI+sjrjKCb3xijjY5gq4lS3PqH5g==}
|
||||
'@fuman/utils@0.0.11':
|
||||
resolution: {integrity: sha512-hrQhduD3gMXRq1Xz1OMS/6l+Ta8ZUr2hr4d2LLI0JdoSJW31TbvE+QfTuQYvLiQ9pkvYPu1MGnW3Ta3irw16Bw==}
|
||||
|
||||
'@fuman/utils@0.0.4':
|
||||
resolution: {integrity: sha512-YBZIlGDbM8s9G85pWFZJ9wQrDY4511XLHZ06/uxZfXBY0eSStwje8JFNmRMNF0SjRk4D3iRmPl9wirHKTkg89w==}
|
||||
'@fuman/utils@0.0.14':
|
||||
resolution: {integrity: sha512-HmQo6DXoYBtkN12rZsMSZRTUynByioOHpMZjfrePwUwXuKBYm9F1Rm4R7tGLTNJTG1zMXBJw1Xwy/cRqwzrujw==}
|
||||
|
||||
'@gerrit0/mini-shiki@1.24.4':
|
||||
resolution: {integrity: sha512-YEHW1QeAg6UmxEmswiQbOVEg1CW22b1XUD/lNTliOsu0LD0wqoyleFMnmbTp697QE0pcadQiR5cVtbbAPncvpw==}
|
||||
@@ -1386,17 +1381,17 @@ packages:
|
||||
'@jsr/denosaurs__plug@1.0.6':
|
||||
resolution: {integrity: sha512-3sRBjWs6Str1+5w8Lj5t4dDNxUJB6RWJaxAf1e04CHwbbPBbyzrzKs2iammkGlEra8yL2RO70+c8x0/52as6XA==, tarball: https://npm.jsr.io/~/11/@jsr/denosaurs__plug/1.0.6.tgz}
|
||||
|
||||
'@jsr/fuman__deno@0.0.9':
|
||||
resolution: {integrity: sha512-ZIcRBJJF0jBabxL6cMLmIb904O2zTKihWIuGfLuRpnRhWwuSTLJUJimZZghdWSuYPCnB3H2OuSpsJkkFFbp1ew==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__deno/0.0.9.tgz}
|
||||
'@jsr/fuman__deno@0.0.14':
|
||||
resolution: {integrity: sha512-DK/11zoNC4/vp8YhIRjpcRDu8YPAV0P0ApF2HT6RsMxLW/8Q93LHuCUNom6zBJzCNBolljYWIHBwQoDVMWc5pQ==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__deno/0.0.14.tgz}
|
||||
|
||||
'@jsr/fuman__io@0.0.8':
|
||||
resolution: {integrity: sha512-d2+IUe9VY/wUOCBEQasl+Ab2Mkyc/5lroi9bKdAW0Z+TZqjieDYSi2e/8PJdmTxLniWmVyGLylmtLzF+YSLk4g==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__io/0.0.8.tgz}
|
||||
'@jsr/fuman__io@0.0.14':
|
||||
resolution: {integrity: sha512-PkR9xm5951uOxoykZ10RzWo7cFF3S5yj1fzstqZLXZvROiB/AW1QMRkf5FiD+jRB48OO6FTVyR4RjN8SmHNECQ==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__io/0.0.14.tgz}
|
||||
|
||||
'@jsr/fuman__net@0.0.9':
|
||||
resolution: {integrity: sha512-86UkZs3TTU2cOWrGn4WePYm5LM0jZJDbO8wTTBsqq/QzT/m94xrKa4mlRZLYaHwtZ5VgNVgb68T5FRtZHXfFKA==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__net/0.0.9.tgz}
|
||||
'@jsr/fuman__net@0.0.14':
|
||||
resolution: {integrity: sha512-Rn3bxlBxNNWqvXlrUEvF3dod1a75vmQ2M8lInLsHdqwiKyMIi4S7aKgpESVc/xJSF7CqAaQv8zKRCMFRXK/ULg==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__net/0.0.14.tgz}
|
||||
|
||||
'@jsr/fuman__utils@0.0.4':
|
||||
resolution: {integrity: sha512-sa+603rLtUQzvso2sqR/9QIv0knab2Mv7I7Jnv1BEx6IxaK4VpccfctGvdffEp3nY5rh+FhfGMiTUazC06AmRg==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__utils/0.0.4.tgz}
|
||||
'@jsr/fuman__utils@0.0.14':
|
||||
resolution: {integrity: sha512-ZXiDOzPgDtIOR117pQQjXeFJGxJ55rfbBcoP5UlIdwNbtwWzr9+BY4zINrmh2gh/x2A6aFv5x2Wr4/UyuWaTgQ==, tarball: https://npm.jsr.io/~/11/@jsr/fuman__utils/0.0.14.tgz}
|
||||
|
||||
'@jsr/std__assert@0.217.0':
|
||||
resolution: {integrity: sha512-kCGfcXX8lMcZHWrCgFhbdpNloB50MkLwHdRZvZKjZK424F9g+M742jkTDLMOJmwkDoEqFKyNVrGhPtspS4+NvQ==, tarball: https://npm.jsr.io/~/11/@jsr/std__assert/0.217.0.tgz}
|
||||
@@ -1737,12 +1732,6 @@ packages:
|
||||
resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
'@testing-library/user-event@14.5.2':
|
||||
resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==}
|
||||
engines: {node: '>=12', npm: '>=6'}
|
||||
peerDependencies:
|
||||
'@testing-library/dom': '>=7.21.4'
|
||||
|
||||
'@testing-library/user-event@14.6.1':
|
||||
resolution: {integrity: sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==}
|
||||
engines: {node: '>=12', npm: '>=6'}
|
||||
@@ -3566,16 +3555,6 @@ packages:
|
||||
ms@2.1.3:
|
||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
||||
|
||||
msw@2.6.5:
|
||||
resolution: {integrity: sha512-PnlnTpUlOrj441kYQzzFhzMzMCGFT6a2jKUBG7zSpLkYS5oh8Arrbc0dL8/rNAtxaoBy0EVs2mFqj2qdmWK7lQ==}
|
||||
engines: {node: '>=18'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
typescript: 5.5.4
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
|
||||
msw@2.7.3:
|
||||
resolution: {integrity: sha512-+mycXv8l2fEAjFZ5sjrtjJDmm2ceKGjrNbBr1durRg6VkU9fNUE/gsmQ51hWbHqs+l35W1iM+ZsmOD9Fd6lspw==}
|
||||
engines: {node: '>=18'}
|
||||
@@ -4627,18 +4606,6 @@ packages:
|
||||
utf-8-validate:
|
||||
optional: true
|
||||
|
||||
ws@8.18.0:
|
||||
resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
peerDependencies:
|
||||
bufferutil: ^4.0.1
|
||||
utf-8-validate: '>=5.0.2'
|
||||
peerDependenciesMeta:
|
||||
bufferutil:
|
||||
optional: true
|
||||
utf-8-validate:
|
||||
optional: true
|
||||
|
||||
ws@8.18.1:
|
||||
resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
@@ -5169,20 +5136,20 @@ snapshots:
|
||||
dependencies:
|
||||
levn: 0.4.1
|
||||
|
||||
'@fuman/build@https://pkg.pr.new/teidesu/fuman/@fuman/build@0b7fee1(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@6.2.0(@types/node@22.13.1)(tsx@4.17.0)(yaml@2.6.1))':
|
||||
'@fuman/build@0.0.14(tough-cookie@4.1.4)(typedoc@0.27.6(typescript@5.5.4))(typescript@5.5.4)(vite@6.2.0(@types/node@22.13.1)(tsx@4.17.0)(yaml@2.6.1))(ws@8.18.1)':
|
||||
dependencies:
|
||||
'@drizzle-team/brocli': 0.10.2
|
||||
'@fuman/fetch': 0.0.10(tough-cookie@4.1.4)(zod@3.23.8)
|
||||
'@fuman/io': 0.0.10
|
||||
'@fuman/node': 0.0.10
|
||||
'@fuman/utils': 0.0.10
|
||||
'@fuman/fetch': 0.0.13(tough-cookie@4.1.4)(zod@3.23.8)
|
||||
'@fuman/io': 0.0.14
|
||||
'@fuman/node': 0.0.14(ws@8.18.1)
|
||||
'@fuman/utils': 0.0.14
|
||||
cross-spawn: 7.0.6
|
||||
detect-indent: 7.0.1
|
||||
js-yaml: 4.1.0
|
||||
json5: 2.2.3
|
||||
picomatch: 4.0.2
|
||||
semver: 7.6.3
|
||||
tinyglobby: 0.2.10
|
||||
tinyglobby: 0.2.12
|
||||
typescript: 5.5.4
|
||||
vite: 6.2.0(@types/node@22.13.1)(tsx@4.17.0)(yaml@2.6.1)
|
||||
zod: 3.23.8
|
||||
@@ -5192,63 +5159,51 @@ snapshots:
|
||||
- '@badrap/valita'
|
||||
- tough-cookie
|
||||
- valibot
|
||||
- ws
|
||||
- yup
|
||||
|
||||
'@fuman/bun@0.0.9':
|
||||
'@fuman/bun@0.0.14':
|
||||
dependencies:
|
||||
'@fuman/io': 0.0.8
|
||||
'@fuman/net': 0.0.9
|
||||
'@fuman/utils': 0.0.4
|
||||
'@fuman/io': 0.0.14
|
||||
'@fuman/net': 0.0.14
|
||||
'@fuman/utils': 0.0.14
|
||||
|
||||
'@fuman/fetch@0.0.10(tough-cookie@4.1.4)(zod@3.23.8)':
|
||||
'@fuman/fetch@0.0.13(tough-cookie@4.1.4)(zod@3.23.8)':
|
||||
dependencies:
|
||||
'@fuman/utils': 0.0.10
|
||||
'@fuman/utils': 0.0.11
|
||||
optionalDependencies:
|
||||
tough-cookie: 4.1.4
|
||||
zod: 3.23.8
|
||||
|
||||
'@fuman/fetch@0.0.8(tough-cookie@4.1.4)(zod@3.23.8)':
|
||||
'@fuman/fetch@0.1.0(tough-cookie@4.1.4)(zod@3.23.8)':
|
||||
dependencies:
|
||||
'@fuman/utils': 0.0.4
|
||||
'@fuman/utils': 0.0.14
|
||||
optionalDependencies:
|
||||
tough-cookie: 4.1.4
|
||||
zod: 3.23.8
|
||||
|
||||
'@fuman/io@0.0.10':
|
||||
'@fuman/io@0.0.14':
|
||||
dependencies:
|
||||
'@fuman/utils': 0.0.10
|
||||
'@fuman/utils': 0.0.14
|
||||
|
||||
'@fuman/io@0.0.8':
|
||||
'@fuman/net@0.0.14':
|
||||
dependencies:
|
||||
'@fuman/utils': 0.0.4
|
||||
'@fuman/io': 0.0.14
|
||||
'@fuman/utils': 0.0.14
|
||||
|
||||
'@fuman/net@0.0.10':
|
||||
'@fuman/node@0.0.14(ws@8.18.1)':
|
||||
dependencies:
|
||||
'@fuman/io': 0.0.10
|
||||
'@fuman/utils': 0.0.10
|
||||
|
||||
'@fuman/net@0.0.9':
|
||||
dependencies:
|
||||
'@fuman/io': 0.0.8
|
||||
'@fuman/utils': 0.0.4
|
||||
|
||||
'@fuman/node@0.0.10':
|
||||
dependencies:
|
||||
'@fuman/io': 0.0.10
|
||||
'@fuman/net': 0.0.10
|
||||
'@fuman/utils': 0.0.10
|
||||
|
||||
'@fuman/node@0.0.9':
|
||||
dependencies:
|
||||
'@fuman/io': 0.0.8
|
||||
'@fuman/net': 0.0.9
|
||||
'@fuman/utils': 0.0.4
|
||||
'@fuman/io': 0.0.14
|
||||
'@fuman/net': 0.0.14
|
||||
'@fuman/utils': 0.0.14
|
||||
optionalDependencies:
|
||||
ws: 8.18.1
|
||||
|
||||
'@fuman/utils@0.0.1': {}
|
||||
|
||||
'@fuman/utils@0.0.10': {}
|
||||
'@fuman/utils@0.0.11': {}
|
||||
|
||||
'@fuman/utils@0.0.4': {}
|
||||
'@fuman/utils@0.0.14': {}
|
||||
|
||||
'@gerrit0/mini-shiki@1.24.4':
|
||||
dependencies:
|
||||
@@ -5326,21 +5281,21 @@ snapshots:
|
||||
'@jsr/std__fs': 0.221.0
|
||||
'@jsr/std__path': 0.221.0
|
||||
|
||||
'@jsr/fuman__deno@0.0.9':
|
||||
'@jsr/fuman__deno@0.0.14':
|
||||
dependencies:
|
||||
'@jsr/fuman__io': 0.0.8
|
||||
'@jsr/fuman__net': 0.0.9
|
||||
'@jsr/fuman__io': 0.0.14
|
||||
'@jsr/fuman__net': 0.0.14
|
||||
|
||||
'@jsr/fuman__io@0.0.8':
|
||||
'@jsr/fuman__io@0.0.14':
|
||||
dependencies:
|
||||
'@jsr/fuman__utils': 0.0.4
|
||||
'@jsr/fuman__utils': 0.0.14
|
||||
|
||||
'@jsr/fuman__net@0.0.9':
|
||||
'@jsr/fuman__net@0.0.14':
|
||||
dependencies:
|
||||
'@jsr/fuman__io': 0.0.8
|
||||
'@jsr/fuman__utils': 0.0.4
|
||||
'@jsr/fuman__io': 0.0.14
|
||||
'@jsr/fuman__utils': 0.0.14
|
||||
|
||||
'@jsr/fuman__utils@0.0.4': {}
|
||||
'@jsr/fuman__utils@0.0.14': {}
|
||||
|
||||
'@jsr/std__assert@0.217.0':
|
||||
dependencies:
|
||||
@@ -5430,16 +5385,18 @@ snapshots:
|
||||
outvariant: 1.4.3
|
||||
strict-event-emitter: 0.5.1
|
||||
|
||||
'@mtcute/node@file:packages/node':
|
||||
'@mtcute/node@file:packages/node(ws@8.18.1)':
|
||||
dependencies:
|
||||
'@fuman/net': 0.0.9
|
||||
'@fuman/node': 0.0.9
|
||||
'@fuman/utils': 0.0.4
|
||||
'@fuman/net': 0.0.14
|
||||
'@fuman/node': 0.0.14(ws@8.18.1)
|
||||
'@fuman/utils': 0.0.14
|
||||
'@mtcute/core': link:packages/core
|
||||
'@mtcute/html-parser': link:packages/html-parser
|
||||
'@mtcute/markdown-parser': link:packages/markdown-parser
|
||||
'@mtcute/wasm': link:packages/wasm
|
||||
better-sqlite3: 11.3.0
|
||||
transitivePeerDependencies:
|
||||
- ws
|
||||
|
||||
'@nodelib/fs.scandir@2.1.5':
|
||||
dependencies:
|
||||
@@ -5667,11 +5624,6 @@ snapshots:
|
||||
lz-string: 1.5.0
|
||||
pretty-format: 27.5.1
|
||||
|
||||
'@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)':
|
||||
dependencies:
|
||||
'@testing-library/dom': 10.4.0
|
||||
optional: true
|
||||
|
||||
'@testing-library/user-event@14.6.1(@testing-library/dom@10.4.0)':
|
||||
dependencies:
|
||||
'@testing-library/dom': 10.4.0
|
||||
@@ -5882,13 +5834,13 @@ snapshots:
|
||||
'@vitest/browser@2.0.5(@types/node@22.13.1)(playwright@1.42.1)(typescript@5.5.4)(vitest@2.0.5)':
|
||||
dependencies:
|
||||
'@testing-library/dom': 10.4.0
|
||||
'@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0)
|
||||
'@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.0)
|
||||
'@vitest/utils': 2.0.5
|
||||
magic-string: 0.30.17
|
||||
msw: 2.6.5(@types/node@22.13.1)(typescript@5.5.4)
|
||||
msw: 2.7.3(@types/node@22.13.1)(typescript@5.5.4)
|
||||
sirv: 2.0.4
|
||||
vitest: 2.0.5(@types/node@22.13.1)(@vitest/browser@2.0.5)(@vitest/ui@2.0.5)
|
||||
ws: 8.18.0
|
||||
ws: 8.18.1
|
||||
optionalDependencies:
|
||||
playwright: 1.42.1
|
||||
transitivePeerDependencies:
|
||||
@@ -6017,7 +5969,7 @@ snapshots:
|
||||
'@vitest/utils': 2.0.5
|
||||
fast-glob: 3.3.2
|
||||
fflate: 0.8.2
|
||||
flatted: 3.3.1
|
||||
flatted: 3.3.3
|
||||
pathe: 1.1.2
|
||||
sirv: 2.0.4
|
||||
tinyrainbow: 1.2.0
|
||||
@@ -7987,32 +7939,6 @@ snapshots:
|
||||
|
||||
ms@2.1.3: {}
|
||||
|
||||
msw@2.6.5(@types/node@22.13.1)(typescript@5.5.4):
|
||||
dependencies:
|
||||
'@bundled-es-modules/cookie': 2.0.1
|
||||
'@bundled-es-modules/statuses': 1.0.1
|
||||
'@bundled-es-modules/tough-cookie': 0.1.6
|
||||
'@inquirer/confirm': 5.0.2(@types/node@22.13.1)
|
||||
'@mswjs/interceptors': 0.37.0
|
||||
'@open-draft/deferred-promise': 2.2.0
|
||||
'@open-draft/until': 2.1.0
|
||||
'@types/cookie': 0.6.0
|
||||
'@types/statuses': 2.0.5
|
||||
chalk: 4.1.2
|
||||
graphql: 16.9.0
|
||||
headers-polyfill: 4.0.3
|
||||
is-node-process: 1.2.0
|
||||
outvariant: 1.4.3
|
||||
path-to-regexp: 6.3.0
|
||||
strict-event-emitter: 0.5.1
|
||||
type-fest: 4.27.0
|
||||
yargs: 17.7.2
|
||||
optionalDependencies:
|
||||
typescript: 5.5.4
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
optional: true
|
||||
|
||||
msw@2.7.3(@types/node@22.13.1)(typescript@5.5.4):
|
||||
dependencies:
|
||||
'@bundled-es-modules/cookie': 2.0.1
|
||||
@@ -9155,9 +9081,6 @@ snapshots:
|
||||
|
||||
ws@8.13.0: {}
|
||||
|
||||
ws@8.18.0:
|
||||
optional: true
|
||||
|
||||
ws@8.18.1: {}
|
||||
|
||||
xml-name-validator@4.0.0: {}
|
||||
|
||||
48
scripts/update-fuman.js
Normal file
48
scripts/update-fuman.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import { readFile, writeFile } from 'node:fs/promises'
|
||||
import { join } from 'node:path'
|
||||
import { collectPackageJsons } from '@fuman/build'
|
||||
|
||||
const packages = await collectPackageJsons(new URL('../', import.meta.url), true)
|
||||
|
||||
const _latestVersions = new Map()
|
||||
async function fetchLatestVersion(name) {
|
||||
if (_latestVersions.has(name)) return _latestVersions.get(name)
|
||||
|
||||
const res = await fetch(`https://registry.npmjs.org/${name}`)
|
||||
const json = await res.json()
|
||||
|
||||
const latest = json['dist-tags'].latest
|
||||
|
||||
_latestVersions.set(name, latest)
|
||||
|
||||
return latest
|
||||
}
|
||||
|
||||
for (const pkg of packages) {
|
||||
// too lazy to add a separate jsr support for just one package lol
|
||||
if (pkg.json.name === '@mtcute/deno') continue
|
||||
|
||||
const jsonPath = join(pkg.path, 'package.json')
|
||||
// NB: pkg.json is parsed with zod which leads to modified field ordering
|
||||
const rawJson = JSON.parse(await readFile(jsonPath, 'utf8'))
|
||||
|
||||
let changed = false
|
||||
for (const key of ['dependencies', 'devDependencies']) {
|
||||
const obj = rawJson[key]
|
||||
if (!obj) continue
|
||||
|
||||
for (const [name, version] of Object.entries(obj)) {
|
||||
if (name.startsWith('@fuman/')) {
|
||||
const latest = await fetchLatestVersion(name)
|
||||
if (version !== latest) {
|
||||
obj[name] = latest
|
||||
changed = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (changed) {
|
||||
await writeFile(jsonPath, JSON.stringify(rawJson, null, 2))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user