update deps (#11764)

* update deps

* node16

* wip

* wip

* wip

* Update test-utils.ts

* wip

* Update tsconfig.json

* wip

* Update package.json

* wip

* Update following.vue

* Update followers.vue

* Update index.vue

* Update share.vue

* Update MkUserPopup.vue

* Update MkPostForm.vue

* wip

* Update MkTokenGenerateWindow.vue

* Update MkPagination.vue

* refactor

* update deps

* update deps

* Update sw.ts

* wip

* wip

* wip

* Update FetchInstanceMetadataService.ts

* Update FetchInstanceMetadataService.ts

* update node

* update deps

* 🎨
This commit is contained in:
syuilo 2023-09-04 13:33:38 +09:00 committed by GitHub
parent 2db63d1a55
commit 1f7a81aae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
142 changed files with 4179 additions and 4701 deletions

View file

@ -12,6 +12,15 @@ export type Acct = {
host: string | null;
};
declare namespace acct {
export {
parse,
toString_2 as toString,
Acct
}
}
export { acct }
// Warning: (ae-forgotten-export) The symbol "TODO_2" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
@ -2658,6 +2667,9 @@ type PageEvent = {
user: User;
};
// @public (undocumented)
function parse(acct: string): Acct;
// @public (undocumented)
export const permissions: string[];
@ -2736,6 +2748,9 @@ export class Stream extends EventEmitter<StreamEvents> {
useChannel<C extends keyof Channels>(channel: C, params?: Channels[C]['params'], name?: string): ChannelConnection<Channels[C]>;
}
// @public (undocumented)
function toString_2(acct: Acct): string;
// @public (undocumented)
type User = UserLite | UserDetailed;

View file

@ -20,26 +20,26 @@
"url": "git+https://github.com/misskey-dev/misskey.js.git"
},
"devDependencies": {
"@microsoft/api-extractor": "7.36.3",
"@swc/jest": "0.2.27",
"@types/jest": "29.5.3",
"@types/node": "20.4.5",
"@typescript-eslint/eslint-plugin": "6.2.0",
"@typescript-eslint/parser": "6.2.0",
"eslint": "8.46.0",
"jest": "29.6.2",
"@microsoft/api-extractor": "7.36.4",
"@swc/jest": "0.2.29",
"@types/jest": "29.5.4",
"@types/node": "20.5.9",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"eslint": "8.48.0",
"jest": "29.6.4",
"jest-fetch-mock": "3.0.3",
"jest-websocket-mock": "2.4.0",
"jest-websocket-mock": "2.4.1",
"mock-socket": "9.2.1",
"tsd": "0.28.1",
"typescript": "5.1.6"
"tsd": "0.29.0",
"typescript": "5.2.2"
},
"files": [
"built"
],
"dependencies": {
"@swc/cli": "0.1.62",
"@swc/core": "1.3.71",
"@swc/core": "1.3.82",
"eventemitter3": "5.0.1",
"reconnecting-websocket": "4.4.0"
}

View file

@ -23,4 +23,5 @@ export const ffVisibility = consts.ffVisibility;
//export * as entities from './entities.js';
import * as api from './api.js';
import * as entities from './entities.js';
export { api, entities };
import * as acct from './acct.js';
export { api, entities, acct };

View file

@ -2,8 +2,8 @@
"$schema": "http://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ES2022",
"module": "ES2020",
"moduleResolution": "node16",
"module": "nodenext",
"moduleResolution": "nodenext",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
@ -16,7 +16,7 @@
"noImplicitReturns": true,
"esModuleInterop": true,
"typeRoots": [
"node_modules/@types"
"./node_modules/@types"
],
"lib": [
"esnext",