feat(deps): upgrade to latest version of jiti (#27995)

This commit is contained in:
Daniel Roe 2024-09-19 14:00:21 +01:00
parent 03342f8575
commit 10ce38055d
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B
8 changed files with 147 additions and 113 deletions

View File

@ -82,7 +82,7 @@
"eslint-typegen": "0.3.2", "eslint-typegen": "0.3.2",
"h3": "1.12.0", "h3": "1.12.0",
"happy-dom": "15.7.4", "happy-dom": "15.7.4",
"jiti": "1.21.6", "jiti": "2.0.0-rc.1",
"markdownlint-cli": "0.41.0", "markdownlint-cli": "0.41.0",
"nitropack": "2.9.7", "nitropack": "2.9.7",
"nuxi": "3.13.2", "nuxi": "3.13.2",

View File

@ -34,7 +34,7 @@
"globby": "^14.0.2", "globby": "^14.0.2",
"hash-sum": "^2.0.0", "hash-sum": "^2.0.0",
"ignore": "^6.0.1", "ignore": "^6.0.1",
"jiti": "^1.21.6", "jiti": "^2.0.0-rc.1",
"klona": "^2.0.6", "klona": "^2.0.6",
"knitwork": "^1.1.0", "knitwork": "^1.1.0",
"mlly": "^1.7.1", "mlly": "^1.7.1",

View File

@ -1,10 +1,10 @@
import { pathToFileURL } from 'node:url' import { pathToFileURL } from 'node:url'
import { normalize } from 'pathe' import { normalize } from 'pathe'
import { interopDefault } from 'mlly' import { interopDefault } from 'mlly'
import jiti from 'jiti' import { createJiti } from 'jiti'
// TODO: use create-require for jest environment // TODO: use create-require for jest environment
const _require = jiti(process.cwd(), { interopDefault: true, esmResolve: true }) const jiti = createJiti(process.cwd(), { interopDefault: true })
/** @deprecated Do not use CJS utils */ /** @deprecated Do not use CJS utils */
export interface ResolveModuleOptions { export interface ResolveModuleOptions {
@ -37,7 +37,7 @@ function clearRequireCache (id: string) {
const entry = getRequireCacheItem(id) const entry = getRequireCacheItem(id)
if (!entry) { if (!entry) {
delete _require.cache[id] delete jiti.cache[id]
return return
} }
@ -49,13 +49,13 @@ function clearRequireCache (id: string) {
clearRequireCache(child.id) clearRequireCache(child.id)
} }
delete _require.cache[id] delete jiti.cache[id]
} }
/** @deprecated Do not use CJS utils */ /** @deprecated Do not use CJS utils */
function getRequireCacheItem (id: string) { function getRequireCacheItem (id: string) {
try { try {
return _require.cache[id] return jiti.cache[id]
} catch { } catch {
// ignore issues accessing require.cache // ignore issues accessing require.cache
} }
@ -72,7 +72,7 @@ export function getNodeModulesPaths (paths?: string[] | string) {
/** @deprecated Do not use CJS utils */ /** @deprecated Do not use CJS utils */
export function resolveModule (id: string, opts: ResolveModuleOptions = {}) { export function resolveModule (id: string, opts: ResolveModuleOptions = {}) {
return normalize(_require.resolve(id, { return normalize(jiti.resolve(id, {
paths: getNodeModulesPaths(opts.paths), paths: getNodeModulesPaths(opts.paths),
})) }))
} }
@ -88,7 +88,7 @@ export function requireModule (id: string, opts: RequireModuleOptions = {}) {
} }
// Try to require // Try to require
const requiredModule = _require(resolvedPath) const requiredModule = jiti(resolvedPath)
return requiredModule return requiredModule
} }

View File

@ -88,7 +88,7 @@
"hookable": "^5.5.3", "hookable": "^5.5.3",
"ignore": "^6.0.1", "ignore": "^6.0.1",
"impound": "^0.1.0", "impound": "^0.1.0",
"jiti": "^1.21.6", "jiti": "^2.0.0-rc.1",
"klona": "^2.0.6", "klona": "^2.0.6",
"knitwork": "^1.1.0", "knitwork": "^1.1.0",
"magic-string": "^0.30.11", "magic-string": "^0.30.11",

View File

@ -1,7 +1,7 @@
import { pathToFileURL } from 'node:url' import { pathToFileURL } from 'node:url'
import type { EventType } from '@parcel/watcher' import type { EventType } from '@parcel/watcher'
import type { FSWatcher } from 'chokidar' import type { FSWatcher } from 'chokidar'
import chokidar from 'chokidar' import { watch as chokidarWatch } from 'chokidar'
import { isIgnored, logger, tryResolveModule, useNuxt } from '@nuxt/kit' import { isIgnored, logger, tryResolveModule, useNuxt } from '@nuxt/kit'
import { interopDefault } from 'mlly' import { interopDefault } from 'mlly'
import { debounce } from 'perfect-debounce' import { debounce } from 'perfect-debounce'
@ -94,7 +94,7 @@ async function watch (nuxt: Nuxt) {
function createWatcher () { function createWatcher () {
const nuxt = useNuxt() const nuxt = useNuxt()
const watcher = chokidar.watch(nuxt.options._layers.map(i => i.config.srcDir as string).filter(Boolean), { const watcher = chokidarWatch(nuxt.options._layers.map(i => i.config.srcDir as string).filter(Boolean), {
...nuxt.options.watchers.chokidar, ...nuxt.options.watchers.chokidar,
ignoreInitial: true, ignoreInitial: true,
ignored: [ ignored: [
@ -128,7 +128,7 @@ function createGranularWatcher () {
} }
for (const dir of pathsToWatch) { for (const dir of pathsToWatch) {
pending++ pending++
const watcher = chokidar.watch(dir, { ...nuxt.options.watchers.chokidar, ignoreInitial: false, depth: 0, ignored: [isIgnored, '**/node_modules'] }) const watcher = chokidarWatch(dir, { ...nuxt.options.watchers.chokidar, ignoreInitial: false, depth: 0, ignored: [isIgnored, '**/node_modules'] })
const watchers: Record<string, FSWatcher> = {} const watchers: Record<string, FSWatcher> = {}
watcher.on('all', (event, path) => { watcher.on('all', (event, path) => {
@ -142,7 +142,7 @@ function createGranularWatcher () {
delete watchers[path] delete watchers[path]
} }
if (event === 'addDir' && path !== dir && !ignoredDirs.has(path) && !pathsToWatch.includes(path) && !(path in watchers) && !isIgnored(path)) { if (event === 'addDir' && path !== dir && !ignoredDirs.has(path) && !pathsToWatch.includes(path) && !(path in watchers) && !isIgnored(path)) {
const pathWatcher = watchers[path] = chokidar.watch(path, { ...nuxt.options.watchers.chokidar, ignored: [isIgnored] }) const pathWatcher = watchers[path] = chokidarWatch(path, { ...nuxt.options.watchers.chokidar, ignored: [isIgnored] })
// TODO: consider moving to emit absolute path in 3.8 or 4.0 // TODO: consider moving to emit absolute path in 3.8 or 4.0
pathWatcher.on('all', (event, p) => nuxt.callHook('builder:watch', event, nuxt.options.experimental.relativeWatchPaths ? normalize(relative(nuxt.options.srcDir, p)) : normalize(p))) pathWatcher.on('all', (event, p) => nuxt.callHook('builder:watch', event, nuxt.options.experimental.relativeWatchPaths ? normalize(relative(nuxt.options.srcDir, p)) : normalize(p)))
nuxt.hook('close', () => watchers[path]?.close()) nuxt.hook('close', () => watchers[path]?.close())

View File

@ -1,8 +1,8 @@
import { existsSync } from 'node:fs' import { existsSync } from 'node:fs'
import { mkdir, writeFile } from 'node:fs/promises' import { mkdir, writeFile } from 'node:fs/promises'
import { fileURLToPath, pathToFileURL } from 'node:url' import { fileURLToPath, pathToFileURL } from 'node:url'
import { dirname, resolve } from 'pathe' import { resolve } from 'pathe'
import chokidar from 'chokidar' import { watch } from 'chokidar'
import { interopDefault } from 'mlly' import { interopDefault } from 'mlly'
import { defu } from 'defu' import { defu } from 'defu'
import { debounce } from 'perfect-debounce' import { debounce } from 'perfect-debounce'
@ -13,7 +13,7 @@ import {
} from 'untyped' } from 'untyped'
import type { Schema, SchemaDefinition } from 'untyped' import type { Schema, SchemaDefinition } from 'untyped'
import untypedPlugin from 'untyped/babel-plugin' import untypedPlugin from 'untyped/babel-plugin'
import jiti from 'jiti' import { createJiti } from 'jiti'
export default defineNuxtModule({ export default defineNuxtModule({
meta: { meta: {
@ -26,11 +26,9 @@ export default defineNuxtModule({
const resolver = createResolver(import.meta.url) const resolver = createResolver(import.meta.url)
// Initialize untyped/jiti loader // Initialize untyped/jiti loader
const _resolveSchema = jiti(dirname(fileURLToPath(import.meta.url)), { const _resolveSchema = createJiti(fileURLToPath(import.meta.url), {
esmResolve: true,
interopDefault: true, interopDefault: true,
cache: false, cache: false,
requireCache: false,
transformOptions: { transformOptions: {
babel: { babel: {
plugins: [untypedPlugin], plugins: [untypedPlugin],
@ -80,7 +78,7 @@ export default defineNuxtModule({
const filesToWatch = await Promise.all(nuxt.options._layers.map(layer => const filesToWatch = await Promise.all(nuxt.options._layers.map(layer =>
resolver.resolve(layer.config.rootDir, 'nuxt.schema.*'), resolver.resolve(layer.config.rootDir, 'nuxt.schema.*'),
)) ))
const watcher = chokidar.watch(filesToWatch, { const watcher = watch(filesToWatch, {
...nuxt.options.watchers.chokidar, ...nuxt.options.watchers.chokidar,
ignoreInitial: true, ignoreInitial: true,
}) })

View File

@ -23,7 +23,7 @@
"critters": "0.0.24", "critters": "0.0.24",
"html-validate": "8.22.0", "html-validate": "8.22.0",
"htmlnano": "2.1.1", "htmlnano": "2.1.1",
"jiti": "1.21.6", "jiti": "2.0.0-rc.1",
"knitwork": "1.1.0", "knitwork": "1.1.0",
"lodash-es": "4.17.21", "lodash-es": "4.17.21",
"pathe": "1.1.2", "pathe": "1.1.2",

View File

@ -34,7 +34,7 @@ importers:
version: 9.10.0 version: 9.10.0
'@nuxt/eslint-config': '@nuxt/eslint-config':
specifier: 0.5.7 specifier: 0.5.7
version: 0.5.7(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) version: 0.5.7(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@nuxt/kit': '@nuxt/kit':
specifier: workspace:* specifier: workspace:*
version: link:packages/kit version: link:packages/kit
@ -94,16 +94,16 @@ importers:
version: 5.0.0 version: 5.0.0
eslint: eslint:
specifier: 9.10.0 specifier: 9.10.0
version: 9.10.0(jiti@1.21.6) version: 9.10.0(jiti@2.0.0-rc.1)
eslint-plugin-no-only-tests: eslint-plugin-no-only-tests:
specifier: 3.3.0 specifier: 3.3.0
version: 3.3.0 version: 3.3.0
eslint-plugin-perfectionist: eslint-plugin-perfectionist:
specifier: 3.6.0 specifier: 3.6.0
version: 3.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@1.21.6))) version: 3.6.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@2.0.0-rc.1)))
eslint-typegen: eslint-typegen:
specifier: 0.3.2 specifier: 0.3.2
version: 0.3.2(eslint@9.10.0(jiti@1.21.6)) version: 0.3.2(eslint@9.10.0(jiti@2.0.0-rc.1))
h3: h3:
specifier: 1.12.0 specifier: 1.12.0
version: 1.12.0 version: 1.12.0
@ -111,8 +111,8 @@ importers:
specifier: 15.7.4 specifier: 15.7.4
version: 15.7.4 version: 15.7.4
jiti: jiti:
specifier: 1.21.6 specifier: 2.0.0-rc.1
version: 1.21.6 version: 2.0.0-rc.1
markdownlint-cli: markdownlint-cli:
specifier: 0.41.0 specifier: 0.41.0
version: 0.41.0 version: 0.41.0
@ -202,10 +202,10 @@ importers:
version: 2.0.0 version: 2.0.0
ignore: ignore:
specifier: ^6.0.1 specifier: ^6.0.1
version: 6.0.1 version: 6.0.2
jiti: jiti:
specifier: ^1.21.6 specifier: ^2.0.0-rc.1
version: 1.21.6 version: 2.0.0-rc.1
klona: klona:
specifier: ^2.0.6 specifier: ^2.0.6
version: 2.0.6 version: 2.0.6
@ -356,13 +356,13 @@ importers:
version: 5.5.3 version: 5.5.3
ignore: ignore:
specifier: ^6.0.1 specifier: ^6.0.1
version: 6.0.1 version: 6.0.2
impound: impound:
specifier: ^0.1.0 specifier: ^0.1.0
version: 0.1.0(rollup@4.21.3)(webpack-sources@3.2.3) version: 0.1.0(rollup@4.21.3)(webpack-sources@3.2.3)
jiti: jiti:
specifier: ^1.21.6 specifier: ^2.0.0-rc.1
version: 1.21.6 version: 2.0.0-rc.1
klona: klona:
specifier: ^2.0.6 specifier: ^2.0.6
version: 2.0.6 version: 2.0.6
@ -633,8 +633,8 @@ importers:
specifier: 2.1.1 specifier: 2.1.1
version: 2.1.1(cssnano@7.0.6(postcss@8.4.47))(postcss@8.4.47)(svgo@3.3.2)(terser@5.32.0)(typescript@5.6.2) version: 2.1.1(cssnano@7.0.6(postcss@8.4.47))(postcss@8.4.47)(svgo@3.3.2)(terser@5.32.0)(typescript@5.6.2)
jiti: jiti:
specifier: 1.21.6 specifier: 2.0.0-rc.1
version: 1.21.6 version: 2.0.0-rc.1
knitwork: knitwork:
specifier: 1.1.0 specifier: 1.1.0
version: 1.1.0 version: 1.1.0
@ -4628,11 +4628,6 @@ packages:
resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
engines: {node: '>= 4'} engines: {node: '>= 4'}
ignore@6.0.1:
resolution: {integrity: sha512-9hCx6FGveEYzwsldacntlq0RdPsTjOAALVL4nqi1O8JU6OIzzchHELMNE9f+6ZMtuHG1vd+owvczaMhu6EM2Xw==}
engines: {node: '>= 4'}
deprecated: this package has been deprecated due to issues
ignore@6.0.2: ignore@6.0.2:
resolution: {integrity: sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==} resolution: {integrity: sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==}
engines: {node: '>= 4'} engines: {node: '>= 4'}
@ -4921,6 +4916,10 @@ packages:
resolution: {integrity: sha512-pmfRbVRs/7khFrSAYnSiJ8C0D5GvzkE4Ey2pAvUcJsw1ly/p+7ut27jbJrjY79BpAJQJ4gXYFtK6d1Aub+9baQ==} resolution: {integrity: sha512-pmfRbVRs/7khFrSAYnSiJ8C0D5GvzkE4Ey2pAvUcJsw1ly/p+7ut27jbJrjY79BpAJQJ4gXYFtK6d1Aub+9baQ==}
hasBin: true hasBin: true
jiti@2.0.0-rc.1:
resolution: {integrity: sha512-40BOLe5MVHVgtzjIB52uBqRxTCR07Ziecxx/LVmqRDV14TJaruFX6kKgS9iYhATGSUs04x3S19Kc8ErUKshMhA==}
hasBin: true
js-beautify@1.15.1: js-beautify@1.15.1:
resolution: {integrity: sha512-ESjNzSlt/sWE8sciZH8kBF8BPlwXPwhR6pWKAw8bw4Bwj+iZcnKW6ONWUutJ7eObuBZQpiIb8S7OYspWrKt7rA==} resolution: {integrity: sha512-ESjNzSlt/sWE8sciZH8kBF8BPlwXPwhR6pWKAw8bw4Bwj+iZcnKW6ONWUutJ7eObuBZQpiIb8S7OYspWrKt7rA==}
engines: {node: '>=14'} engines: {node: '>=14'}
@ -5209,10 +5208,6 @@ packages:
resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==}
engines: {node: '>= 4.0.0'} engines: {node: '>= 4.0.0'}
memfs@4.11.1:
resolution: {integrity: sha512-LZcMTBAgqUUKNXZagcZxvXXfgF1bHX7Y7nQ0QyEiNbRJgE29GhgPd8Yna1VQcLlPiHt/5RFJMWYN9Uv/VPNvjQ==}
engines: {node: '>= 4.0.0'}
memfs@4.11.2: memfs@4.11.2:
resolution: {integrity: sha512-VcR7lEtgQgv7AxGkrNNeUAimFLT+Ov8uGu1LuOfbe/iF/dKoh/QgpoaMZlhfejvLtMxtXYyeoT7Ar1jEbWdbPA==} resolution: {integrity: sha512-VcR7lEtgQgv7AxGkrNNeUAimFLT+Ov8uGu1LuOfbe/iF/dKoh/QgpoaMZlhfejvLtMxtXYyeoT7Ar1jEbWdbPA==}
engines: {node: '>= 4.0.0'} engines: {node: '>= 4.0.0'}
@ -8048,6 +8043,12 @@ snapshots:
dependencies: dependencies:
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@1.21.6)
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
optional: true
'@eslint-community/eslint-utils@4.4.0(eslint@9.10.0(jiti@2.0.0-rc.1))':
dependencies:
eslint: 9.10.0(jiti@2.0.0-rc.1)
eslint-visitor-keys: 3.4.3
'@eslint-community/regexpp@4.11.0': {} '@eslint-community/regexpp@4.11.0': {}
@ -8361,34 +8362,34 @@ snapshots:
- vue - vue
- webpack-sources - webpack-sources
'@nuxt/eslint-config@0.5.7(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@nuxt/eslint-config@0.5.7(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@eslint/js': 9.10.0 '@eslint/js': 9.10.0
'@nuxt/eslint-plugin': 0.5.7(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@nuxt/eslint-plugin': 0.5.7(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@stylistic/eslint-plugin': 2.8.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@stylistic/eslint-plugin': 2.8.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@typescript-eslint/eslint-plugin': 8.5.0(@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/eslint-plugin': 8.5.0(@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2))(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@typescript-eslint/parser': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/parser': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
eslint-config-flat-gitignore: 0.3.0(eslint@9.10.0(jiti@1.21.6)) eslint-config-flat-gitignore: 0.3.0(eslint@9.10.0(jiti@2.0.0-rc.1))
eslint-flat-config-utils: 0.4.0 eslint-flat-config-utils: 0.4.0
eslint-plugin-import-x: 4.2.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) eslint-plugin-import-x: 4.2.1(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
eslint-plugin-jsdoc: 50.2.2(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-jsdoc: 50.2.2(eslint@9.10.0(jiti@2.0.0-rc.1))
eslint-plugin-regexp: 2.6.0(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-regexp: 2.6.0(eslint@9.10.0(jiti@2.0.0-rc.1))
eslint-plugin-unicorn: 55.0.0(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-unicorn: 55.0.0(eslint@9.10.0(jiti@2.0.0-rc.1))
eslint-plugin-vue: 9.28.0(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-vue: 9.28.0(eslint@9.10.0(jiti@2.0.0-rc.1))
globals: 15.9.0 globals: 15.9.0
local-pkg: 0.5.0 local-pkg: 0.5.0
pathe: 1.1.2 pathe: 1.1.2
vue-eslint-parser: 9.4.3(eslint@9.10.0(jiti@1.21.6)) vue-eslint-parser: 9.4.3(eslint@9.10.0(jiti@2.0.0-rc.1))
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
'@nuxt/eslint-plugin@0.5.7(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@nuxt/eslint-plugin@0.5.7(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/types': 8.5.0 '@typescript-eslint/types': 8.5.0
'@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
@ -8876,10 +8877,10 @@ snapshots:
'@sindresorhus/merge-streams@2.3.0': {} '@sindresorhus/merge-streams@2.3.0': {}
'@stylistic/eslint-plugin@2.8.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@stylistic/eslint-plugin@2.8.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
eslint-visitor-keys: 4.0.0 eslint-visitor-keys: 4.0.0
espree: 10.1.0 espree: 10.1.0
estraverse: 5.3.0 estraverse: 5.3.0
@ -9063,15 +9064,15 @@ snapshots:
'@types/youtube@0.1.0': {} '@types/youtube@0.1.0': {}
'@typescript-eslint/eslint-plugin@8.5.0(@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@typescript-eslint/eslint-plugin@8.5.0(@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2))(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@eslint-community/regexpp': 4.11.0 '@eslint-community/regexpp': 4.11.0
'@typescript-eslint/parser': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/parser': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@typescript-eslint/scope-manager': 8.5.0 '@typescript-eslint/scope-manager': 8.5.0
'@typescript-eslint/type-utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/type-utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
'@typescript-eslint/visitor-keys': 8.5.0 '@typescript-eslint/visitor-keys': 8.5.0
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
graphemer: 1.4.0 graphemer: 1.4.0
ignore: 5.3.2 ignore: 5.3.2
natural-compare: 1.4.0 natural-compare: 1.4.0
@ -9081,14 +9082,14 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@typescript-eslint/parser@8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/scope-manager': 8.5.0 '@typescript-eslint/scope-manager': 8.5.0
'@typescript-eslint/types': 8.5.0 '@typescript-eslint/types': 8.5.0
'@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2)
'@typescript-eslint/visitor-keys': 8.5.0 '@typescript-eslint/visitor-keys': 8.5.0
debug: 4.3.7 debug: 4.3.7
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
optionalDependencies: optionalDependencies:
typescript: 5.6.2 typescript: 5.6.2
transitivePeerDependencies: transitivePeerDependencies:
@ -9099,10 +9100,10 @@ snapshots:
'@typescript-eslint/types': 8.5.0 '@typescript-eslint/types': 8.5.0
'@typescript-eslint/visitor-keys': 8.5.0 '@typescript-eslint/visitor-keys': 8.5.0
'@typescript-eslint/type-utils@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@typescript-eslint/type-utils@8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2)
'@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
debug: 4.3.7 debug: 4.3.7
ts-api-utils: 1.3.0(typescript@5.6.2) ts-api-utils: 1.3.0(typescript@5.6.2)
optionalDependencies: optionalDependencies:
@ -9128,13 +9129,13 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/utils@8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)': '@typescript-eslint/utils@8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)':
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@2.0.0-rc.1))
'@typescript-eslint/scope-manager': 8.5.0 '@typescript-eslint/scope-manager': 8.5.0
'@typescript-eslint/types': 8.5.0 '@typescript-eslint/types': 8.5.0
'@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2) '@typescript-eslint/typescript-estree': 8.5.0(typescript@5.6.2)
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
@ -10945,10 +10946,10 @@ snapshots:
escape-string-regexp@5.0.0: {} escape-string-regexp@5.0.0: {}
eslint-config-flat-gitignore@0.3.0(eslint@9.10.0(jiti@1.21.6)): eslint-config-flat-gitignore@0.3.0(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
'@eslint/compat': 1.1.1 '@eslint/compat': 1.1.1
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
find-up-simple: 1.0.0 find-up-simple: 1.0.0
eslint-flat-config-utils@0.4.0: eslint-flat-config-utils@0.4.0:
@ -10963,12 +10964,12 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
eslint-plugin-import-x@4.2.1(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2): eslint-plugin-import-x@4.2.1(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2):
dependencies: dependencies:
'@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
debug: 4.3.7 debug: 4.3.7
doctrine: 3.0.0 doctrine: 3.0.0
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
eslint-import-resolver-node: 0.3.9 eslint-import-resolver-node: 0.3.9
get-tsconfig: 4.8.0 get-tsconfig: 4.8.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -10980,14 +10981,14 @@ snapshots:
- supports-color - supports-color
- typescript - typescript
eslint-plugin-jsdoc@50.2.2(eslint@9.10.0(jiti@1.21.6)): eslint-plugin-jsdoc@50.2.2(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
'@es-joy/jsdoccomment': 0.48.0 '@es-joy/jsdoccomment': 0.48.0
are-docs-informative: 0.0.2 are-docs-informative: 0.0.2
comment-parser: 1.4.1 comment-parser: 1.4.1
debug: 4.3.7 debug: 4.3.7
escape-string-regexp: 4.0.0 escape-string-regexp: 4.0.0
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
espree: 10.1.0 espree: 10.1.0
esquery: 1.6.0 esquery: 1.6.0
parse-imports: 2.1.1 parse-imports: 2.1.1
@ -10999,38 +11000,38 @@ snapshots:
eslint-plugin-no-only-tests@3.3.0: {} eslint-plugin-no-only-tests@3.3.0: {}
eslint-plugin-perfectionist@3.6.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@1.21.6))): eslint-plugin-perfectionist@3.6.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)(vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@2.0.0-rc.1))):
dependencies: dependencies:
'@typescript-eslint/types': 8.5.0 '@typescript-eslint/types': 8.5.0
'@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@1.21.6))(typescript@5.6.2) '@typescript-eslint/utils': 8.5.0(eslint@9.10.0(jiti@2.0.0-rc.1))(typescript@5.6.2)
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
minimatch: 9.0.5 minimatch: 9.0.5
natural-compare-lite: 1.4.0 natural-compare-lite: 1.4.0
optionalDependencies: optionalDependencies:
vue-eslint-parser: 9.4.3(eslint@9.10.0(jiti@1.21.6)) vue-eslint-parser: 9.4.3(eslint@9.10.0(jiti@2.0.0-rc.1))
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
eslint-plugin-regexp@2.6.0(eslint@9.10.0(jiti@1.21.6)): eslint-plugin-regexp@2.6.0(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@2.0.0-rc.1))
'@eslint-community/regexpp': 4.11.0 '@eslint-community/regexpp': 4.11.0
comment-parser: 1.4.1 comment-parser: 1.4.1
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
jsdoc-type-pratt-parser: 4.1.0 jsdoc-type-pratt-parser: 4.1.0
refa: 0.12.1 refa: 0.12.1
regexp-ast-analysis: 0.7.1 regexp-ast-analysis: 0.7.1
scslre: 0.3.0 scslre: 0.3.0
eslint-plugin-unicorn@55.0.0(eslint@9.10.0(jiti@1.21.6)): eslint-plugin-unicorn@55.0.0(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
'@babel/helper-validator-identifier': 7.24.7 '@babel/helper-validator-identifier': 7.24.7
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@2.0.0-rc.1))
ci-info: 4.0.0 ci-info: 4.0.0
clean-regexp: 1.0.0 clean-regexp: 1.0.0
core-js-compat: 3.38.1 core-js-compat: 3.38.1
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
esquery: 1.6.0 esquery: 1.6.0
globals: 15.9.0 globals: 15.9.0
indent-string: 4.0.0 indent-string: 4.0.0
@ -11043,16 +11044,16 @@ snapshots:
semver: 7.6.3 semver: 7.6.3
strip-indent: 3.0.0 strip-indent: 3.0.0
eslint-plugin-vue@9.28.0(eslint@9.10.0(jiti@1.21.6)): eslint-plugin-vue@9.28.0(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@1.21.6)) '@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@2.0.0-rc.1))
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
globals: 13.24.0 globals: 13.24.0
natural-compare: 1.4.0 natural-compare: 1.4.0
nth-check: 2.1.1 nth-check: 2.1.1
postcss-selector-parser: 6.1.2 postcss-selector-parser: 6.1.2
semver: 7.6.3 semver: 7.6.3
vue-eslint-parser: 9.4.3(eslint@9.10.0(jiti@1.21.6)) vue-eslint-parser: 9.4.3(eslint@9.10.0(jiti@2.0.0-rc.1))
xml-name-validator: 4.0.0 xml-name-validator: 4.0.0
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -11072,9 +11073,9 @@ snapshots:
esrecurse: 4.3.0 esrecurse: 4.3.0
estraverse: 5.3.0 estraverse: 5.3.0
eslint-typegen@0.3.2(eslint@9.10.0(jiti@1.21.6)): eslint-typegen@0.3.2(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
json-schema-to-typescript-lite: 14.1.0 json-schema-to-typescript-lite: 14.1.0
ohash: 1.1.4 ohash: 1.1.4
@ -11122,6 +11123,48 @@ snapshots:
jiti: 1.21.6 jiti: 1.21.6
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
optional: true
eslint@9.10.0(jiti@2.0.0-rc.1):
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.10.0(jiti@2.0.0-rc.1))
'@eslint-community/regexpp': 4.11.0
'@eslint/config-array': 0.18.0
'@eslint/eslintrc': 3.1.0
'@eslint/js': 9.10.0
'@eslint/plugin-kit': 0.1.0
'@humanwhocodes/module-importer': 1.0.1
'@humanwhocodes/retry': 0.3.0
'@nodelib/fs.walk': 1.2.8
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.7
escape-string-regexp: 4.0.0
eslint-scope: 8.0.2
eslint-visitor-keys: 4.0.0
espree: 10.1.0
esquery: 1.6.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
file-entry-cache: 8.0.0
find-up: 5.0.0
glob-parent: 6.0.2
ignore: 5.3.2
imurmurhash: 0.1.4
is-glob: 4.0.3
is-path-inside: 3.0.3
json-stable-stringify-without-jsonify: 1.0.1
lodash.merge: 4.6.2
minimatch: 3.1.2
natural-compare: 1.4.0
optionator: 0.9.4
strip-ansi: 6.0.1
text-table: 0.2.0
optionalDependencies:
jiti: 2.0.0-rc.1
transitivePeerDependencies:
- supports-color
espree@10.1.0: espree@10.1.0:
dependencies: dependencies:
@ -11717,8 +11760,6 @@ snapshots:
ignore@5.3.2: {} ignore@5.3.2: {}
ignore@6.0.1: {}
ignore@6.0.2: {} ignore@6.0.2: {}
image-meta@0.2.1: {} image-meta@0.2.1: {}
@ -12007,6 +12048,8 @@ snapshots:
jiti@2.0.0-beta.3: {} jiti@2.0.0-beta.3: {}
jiti@2.0.0-rc.1: {}
js-beautify@1.15.1: js-beautify@1.15.1:
dependencies: dependencies:
config-chain: 1.1.13 config-chain: 1.1.13
@ -12374,13 +12417,6 @@ snapshots:
dependencies: dependencies:
fs-monkey: 1.0.6 fs-monkey: 1.0.6
memfs@4.11.1:
dependencies:
'@jsonjoy.com/json-pack': 1.1.0(tslib@2.7.0)
'@jsonjoy.com/util': 1.3.0(tslib@2.7.0)
tree-dump: 1.0.2(tslib@2.7.0)
tslib: 2.7.0
memfs@4.11.2: memfs@4.11.2:
dependencies: dependencies:
'@jsonjoy.com/json-pack': 1.1.0(tslib@2.7.0) '@jsonjoy.com/json-pack': 1.1.0(tslib@2.7.0)
@ -14822,10 +14858,10 @@ snapshots:
vue-devtools-stub@0.1.0: {} vue-devtools-stub@0.1.0: {}
vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@1.21.6)): vue-eslint-parser@9.4.3(eslint@9.10.0(jiti@2.0.0-rc.1)):
dependencies: dependencies:
debug: 4.3.7 debug: 4.3.7
eslint: 9.10.0(jiti@1.21.6) eslint: 9.10.0(jiti@2.0.0-rc.1)
eslint-scope: 7.2.2 eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
espree: 9.6.1 espree: 9.6.1
@ -14903,7 +14939,7 @@ snapshots:
webpack-dev-middleware@7.4.2(webpack@5.94.0): webpack-dev-middleware@7.4.2(webpack@5.94.0):
dependencies: dependencies:
colorette: 2.0.20 colorette: 2.0.20
memfs: 4.11.1 memfs: 4.11.2
mime-types: 2.1.35 mime-types: 2.1.35
on-finished: 2.4.1 on-finished: 2.4.1
range-parser: 1.2.1 range-parser: 1.2.1
@ -14928,7 +14964,7 @@ snapshots:
webpack@5.94.0: webpack@5.94.0:
dependencies: dependencies:
'@types/estree': 1.0.5 '@types/estree': 1.0.6
'@webassemblyjs/ast': 1.12.1 '@webassemblyjs/ast': 1.12.1
'@webassemblyjs/wasm-edit': 1.12.1 '@webassemblyjs/wasm-edit': 1.12.1
'@webassemblyjs/wasm-parser': 1.12.1 '@webassemblyjs/wasm-parser': 1.12.1
@ -14958,7 +14994,7 @@ snapshots:
webpack@5.94.0(esbuild@0.23.1): webpack@5.94.0(esbuild@0.23.1):
dependencies: dependencies:
'@types/estree': 1.0.5 '@types/estree': 1.0.6
'@webassemblyjs/ast': 1.12.1 '@webassemblyjs/ast': 1.12.1
'@webassemblyjs/wasm-edit': 1.12.1 '@webassemblyjs/wasm-edit': 1.12.1
'@webassemblyjs/wasm-parser': 1.12.1 '@webassemblyjs/wasm-parser': 1.12.1