Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update all dependencies #250

Merged
merged 8 commits into from
May 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .yarn/patches/vite-node-npm-0.30.1-83f1035e95.patch

This file was deleted.

96 changes: 96 additions & 0 deletions .yarn/patches/vite-node-npm-0.31.0-0b476529fb.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
diff --git a/dist/cli.d.ts b/dist/cli.d.ts
index 8fe7c4e55b2697a1ff4c4f0d1e92becfb5e4985c..37e4c309e8e440a33a45fa9c98f61d43c64afd8c 100644
--- a/dist/cli.d.ts
+++ b/dist/cli.d.ts
@@ -1,5 +1,4 @@
import { e as ViteNodeServerOptions } from './types-d9c0fafd.js';
-import 'vite/types/hot';
import './types.d-1e7e3fdf.js';

interface CliOptions {
diff --git a/dist/client.d.ts b/dist/client.d.ts
index 54620d689990040a804d5a4cb9379fbe9ae0ef0a..dcf1aa55ad7f609de751ad36e68091d0886f2814 100644
--- a/dist/client.d.ts
+++ b/dist/client.d.ts
@@ -1,3 +1,2 @@
import './types.d-1e7e3fdf.js';
export { h as DEFAULT_REQUEST_STUBS, M as ModuleCacheMap, g as ViteNodeRunner } from './types-d9c0fafd.js';
-import 'vite/types/hot';
diff --git a/dist/hmr.d.ts b/dist/hmr.d.ts
index 1db452c6d3a586068d087cbf562f2e90dc1ec280..deac86c2acda6a8f4306216cc9ec21ac0b39b99d 100644
--- a/dist/hmr.d.ts
+++ b/dist/hmr.d.ts
@@ -1,7 +1,6 @@
import { EventEmitter } from 'node:events';
import { HMRPayload as HMRPayload$1, Plugin } from 'vite';
import { g as ViteNodeRunner, H as HotContext } from './types-d9c0fafd.js';
-import 'vite/types/hot';
import './types.d-1e7e3fdf.js';

type EventType = string | symbol;
diff --git a/dist/index.d.ts b/dist/index.d.ts
index 2da3d189b087247f2556a48cc14912219c9dcab9..e7ea046d332f83c075afbd1cb8df915f0bcb7b38 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -1,3 +1,2 @@
export { A as Arrayable, C as CreateHotContextFunction, f as DebuggerOptions, D as DepsHandlingOptions, a as FetchFunction, F as FetchResult, H as HotContext, c as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, b as ResolveIdFunction, S as StartOfSourceMap, d as ViteNodeResolveId, V as ViteNodeRunnerOptions, e as ViteNodeServerOptions } from './types-d9c0fafd.js';
export { D as DecodedSourceMap, E as EncodedSourceMap } from './types.d-1e7e3fdf.js';
-import 'vite/types/hot';
diff --git a/dist/server.d.ts b/dist/server.d.ts
index a9cd7bf142826d9b927697270c0333994ffa05f6..80a95d2c4a31a7cd18c4bccdbbe472e1ab8e0dbd 100644
--- a/dist/server.d.ts
+++ b/dist/server.d.ts
@@ -1,7 +1,6 @@
import { TransformResult, ViteDevServer } from 'vite';
import { E as EncodedSourceMap } from './types.d-1e7e3fdf.js';
import { f as DebuggerOptions, D as DepsHandlingOptions, e as ViteNodeServerOptions, F as FetchResult, d as ViteNodeResolveId } from './types-d9c0fafd.js';
-import 'vite/types/hot';

declare class Debugger {
options: DebuggerOptions;
diff --git a/dist/types-d9c0fafd.d.ts b/dist/types-d9c0fafd.d.ts
index 52e8cac62dbac095b76a3b7e9c97cabbeddeab17..42d6394c6cf6606488150fbe9bf0f765d99759e2 100644
--- a/dist/types-d9c0fafd.d.ts
+++ b/dist/types-d9c0fafd.d.ts
@@ -1,4 +1,3 @@
-import { ViteHotContext } from 'vite/types/hot';
import { E as EncodedSourceMap } from './types.d-1e7e3fdf.js';

declare const DEFAULT_REQUEST_STUBS: Record<string, unknown>;
@@ -90,7 +89,7 @@ interface FetchResult {
externalize?: string;
map?: EncodedSourceMap | null;
}
-type HotContext = Omit<ViteHotContext, 'acceptDeps' | 'decline'>;
+type HotContext = any;
type FetchFunction = (id: string) => Promise<FetchResult>;
type ResolveIdFunction = (id: string, importer?: string) => Promise<ViteNodeResolveId | null>;
type CreateHotContextFunction = (runner: ViteNodeRunner, url: string) => HotContext;
diff --git a/dist/types.d.ts b/dist/types.d.ts
index 50de14163bba29faaa2dd3a279e7b71742b91bd1..ea494aebe427b3ccb585004547d275aa99efa1bc 100644
--- a/dist/types.d.ts
+++ b/dist/types.d.ts
@@ -1,3 +1,2 @@
-import 'vite/types/hot';
export { D as DecodedSourceMap, E as EncodedSourceMap } from './types.d-1e7e3fdf.js';
export { A as Arrayable, C as CreateHotContextFunction, f as DebuggerOptions, D as DepsHandlingOptions, a as FetchFunction, F as FetchResult, H as HotContext, c as ModuleCache, M as ModuleCacheMap, N as Nullable, R as RawSourceMap, b as ResolveIdFunction, S as StartOfSourceMap, d as ViteNodeResolveId, V as ViteNodeRunnerOptions, e as ViteNodeServerOptions } from './types-d9c0fafd.js';
diff --git a/dist/utils.d.ts b/dist/utils.d.ts
index 5c10f12799ef1e289d1d2f7d8f8b8bfb11d7071f..2901b17a5fc09cc2d33e621930b37556667ff3b6 100644
--- a/dist/utils.d.ts
+++ b/dist/utils.d.ts
@@ -1,5 +1,4 @@
import { N as Nullable, A as Arrayable } from './types-d9c0fafd.js';
-import 'vite/types/hot';
import './types.d-1e7e3fdf.js';

declare const isWindows: boolean;
diff --git a/package.json b/package.json
index 8544b71a79f1669992495a002332b806ad696801..27cf57383b65be04921cf931f87c2fb64160e116 100644
--- a/package.json
+++ b/package.json
@@ -1,4 +1,5 @@
{
+ "type": "module",
"name": "vite-node",
"version": "0.31.0",
"description": "Vite as Node.js runtime",
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,26 @@
"test": "vitest run",
"build": "turbo run build",
"typecheck": "turbo run typecheck",
"update": "yarn upgrade-interactive",
"postinstall": "husky install .github/husky",
"check-update": "turbo run check-update"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@favware/cliff-jumper": "^2.0.0",
"@favware/npm-deprecate": "^1.0.7",
"@sapphire/eslint-config": "^4.4.1",
"@sapphire/eslint-config": "^4.4.2",
"@sapphire/prettier-config": "^1.4.5",
"@sapphire/ts-config": "^4.0.0",
"@swc/core": "^1.3.56",
"@types/node": "^18.16.3",
"@types/node": "^18.16.5",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vitest/coverage-c8": "^0.30.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vitest/coverage-c8": "^0.31.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.39.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
Expand All @@ -41,15 +42,15 @@
"tsup": "^6.7.0",
"turbo": "^1.9.3",
"typescript": "^5.0.4",
"vite": "^4.3.3",
"vitest": "^0.30.1"
"vite": "^4.3.5",
"vitest": "^0.31.0"
},
"resolutions": {
"ansi-regex": "^5.0.1",
"minimist": "1.2.8",
"vite@^4.2.1": "patch:vite@npm%3A4.2.1#./.yarn/patches/vite-npm-4.2.1-a0fa6996de.patch",
"vite@^3.0.0 || ^4.0.0": "patch:vite@npm%3A4.2.1#./.yarn/patches/vite-npm-4.2.1-a0fa6996de.patch",
"vite-node@0.30.1": "patch:vite-node@npm%3A0.30.1#./.yarn/patches/vite-node-npm-0.30.1-83f1035e95.patch"
"vite-node@0.31.0": "patch:vite-node@npm%3A0.31.0#./.yarn/patches/vite-node-npm-0.31.0-0b476529fb.patch"
},
"engines": {
"node": ">=18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/env-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.0",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/coverage-c8": "^0.31.0",
"esbuild-plugin-version-injector": "^1.1.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
"vitest": "^0.31.0"
}
}
6 changes: 3 additions & 3 deletions packages/http-framework-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"check-update": "cliff-jumper --dry-run"
},
"dependencies": {
"@discordjs/collection": "^1.5.0",
"@sapphire/utilities": "^3.11.1",
"@discordjs/collection": "^1.5.1",
"@sapphire/utilities": "^3.11.2",
"@skyra/i18next-backend": "workspace:^",
"discord-api-types": "^0.37.38",
"discord-api-types": "^0.37.41",
"i18next": "^22.4.15",
"tslib": "^2.5.0"
},
Expand Down
19 changes: 10 additions & 9 deletions packages/http-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,22 @@
"check-update": "cliff-jumper --dry-run"
},
"dependencies": {
"@discordjs/builders": "^1.6.1",
"@discordjs/collection": "^1.5.0",
"@discordjs/rest": "^1.7.0",
"@sapphire/pieces": "^3.6.2",
"@sapphire/result": "^2.6.2",
"@sapphire/utilities": "^3.11.1",
"@discordjs/builders": "^1.6.3",
"@discordjs/collection": "^1.5.1",
"@discordjs/rest": "^1.7.1",
"@discordjs/util": "^0.3.1",
"@sapphire/pieces": "^3.6.3",
"@sapphire/result": "^2.6.3",
"@sapphire/utilities": "^3.11.2",
"@vladfrangu/async_event_emitter": "^2.2.1",
"discord-api-types": "^0.37.38"
"discord-api-types": "^0.37.41"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.0",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/coverage-c8": "^0.31.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
"vitest": "^0.31.0"
},
"repository": {
"type": "git",
Expand Down
5 changes: 2 additions & 3 deletions packages/http-framework/src/lib/utils/normalizeInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@

import {
ContextMenuCommandBuilder,
isJSONEncodable,
SlashCommandBuilder,
SlashCommandSubcommandBuilder,
SlashCommandSubcommandGroupBuilder,
type ContextMenuCommandType,
type JSONEncodable
type ContextMenuCommandType
} from '@discordjs/builders';
import { isJSONEncodable, type JSONEncodable } from '@discordjs/util';
import { isFunction } from '@sapphire/utilities';
import {
ApplicationCommandOptionType,
Expand Down
2 changes: 1 addition & 1 deletion packages/i18next-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.0",
"@types/node": "^18.16.3",
"@types/node": "^18.16.5",
"i18next": "^22.4.15",
"tsup": "^6.7.0",
"typescript": "^5.0.4"
Expand Down
4 changes: 2 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.0",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/coverage-c8": "^0.31.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
"vitest": "^0.31.0"
}
}
2 changes: 1 addition & 1 deletion packages/safe-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"access": "public"
},
"dependencies": {
"@sapphire/result": "^2.6.2"
"@sapphire/result": "^2.6.3"
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/shared-http-pieces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
"check-update": "cliff-jumper --dry-run"
},
"dependencies": {
"@discordjs/builders": "^1.6.1",
"@discordjs/collection": "^1.5.0",
"@sentry/integrations": "^7.50.0",
"@sentry/node": "^7.50.0",
"@discordjs/builders": "^1.6.3",
"@discordjs/collection": "^1.5.1",
"@sentry/integrations": "^7.51.0",
"@sentry/node": "^7.51.0",
"@skyra/http-framework": "workspace:^",
"@skyra/http-framework-i18n": "workspace:^",
"discord-api-types": "^0.37.38",
"discord-api-types": "^0.37.41",
"tslib": "^2.5.0"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/start-banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
},
"devDependencies": {
"@favware/cliff-jumper": "^2.0.0",
"@vitest/coverage-c8": "^0.30.1",
"@vitest/coverage-c8": "^0.31.0",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
"vitest": "^0.31.0"
}
}
2 changes: 1 addition & 1 deletion packages/twitch-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"access": "public"
},
"dependencies": {
"@sapphire/result": "^2.6.2",
"@sapphire/result": "^2.6.3",
"@skyra/env-utilities": "workspace:^",
"@skyra/safe-fetch": "workspace:^"
},
Expand Down
Loading