chore: enable `eslint` and remove `denoify` (#300)
* changeset * chore: enable `eslint` and remove `denoify`pull/301/head
parent
bd18b966ee
commit
5403955ef6
|
@ -6,6 +6,11 @@
|
|||
"typescript",
|
||||
"typescriptreact"
|
||||
],
|
||||
"eslint.workingDirectories": [
|
||||
{
|
||||
"mode": "auto"
|
||||
}
|
||||
],
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
}
|
||||
|
|
20
package.json
20
package.json
|
@ -24,7 +24,9 @@
|
|||
"build:swagger-ui": "yarn workspace @hono/swagger-ui build",
|
||||
"build:esbuild-transpiler": "yarn workspace @hono/esbuild-transpiler build",
|
||||
"build:oauth-providers": "yarn workspace @hono/oauth-providers build",
|
||||
"build": "run-p 'build:*'"
|
||||
"build": "run-p 'build:*'",
|
||||
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
||||
"lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'"
|
||||
},
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
|
@ -36,10 +38,12 @@
|
|||
"@changesets/changelog-github": "^0.4.8",
|
||||
"@changesets/cli": "^2.26.0",
|
||||
"@cloudflare/workers-types": "^4.20230307.0",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/jest": "^29.5.11",
|
||||
"@types/node": "^20.10.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
||||
"@typescript-eslint/parser": "^5.32.0",
|
||||
"eslint": "^8.21.0",
|
||||
"@typescript-eslint/typescript-estree": "^6.14.0",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-define-config": "^1.6.0",
|
||||
"eslint-import-resolver-typescript": "^3.4.0",
|
||||
|
@ -48,15 +52,11 @@
|
|||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"jest": "^29.5.0",
|
||||
"jest-environment-miniflare": "^2.10.0",
|
||||
"jest-environment-miniflare": "^2.14.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.7.1",
|
||||
"publint": "^0.2.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^29.0.5",
|
||||
"tsup": "^7.2.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vitest": "^0.34.2"
|
||||
"ts-jest": "^29.1.1",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"packageManager": "yarn@4.0.2"
|
||||
}
|
||||
|
|
|
@ -1,59 +0,0 @@
|
|||
# GraphQL Server Middleware
|
||||
|
||||
## Information
|
||||
|
||||
GraphQL Server Middleware `@honojs/graphql-server` is renamed to `@hono/graphql-server`.
|
||||
`@honojs/graphql-server` is not maintained, please use `@hono/graphql-server`.
|
||||
Also, for Deno, you can use import with `npm:` prefix like `npm:@hono/graphql-server`.
|
||||
|
||||
## Requirements
|
||||
|
||||
This middleware depends on [GraphQL.js](https://www.npmjs.com/package/graphql).
|
||||
|
||||
```sh
|
||||
npm i @hono/graphql-server
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```plain
|
||||
yarn add @hono/graphql-server
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
index.js:
|
||||
|
||||
```js
|
||||
import { Hono } from 'hono'
|
||||
import { graphqlServer } from '@hono/graphql-server'
|
||||
import { buildSchema } from 'graphql'
|
||||
|
||||
export const app = new Hono()
|
||||
|
||||
const schema = buildSchema(`
|
||||
type Query {
|
||||
hello: String
|
||||
}
|
||||
`)
|
||||
|
||||
const rootResolver = (ctx) => {
|
||||
return {
|
||||
hello: () => 'Hello Hono!',
|
||||
}
|
||||
}
|
||||
|
||||
app.use(
|
||||
'/graphql',
|
||||
graphqlServer({
|
||||
schema,
|
||||
rootResolver,
|
||||
})
|
||||
)
|
||||
|
||||
app.fire()
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
Minghe Huang <h.minghe@gmail.com>
|
|
@ -1,234 +0,0 @@
|
|||
import {
|
||||
Source,
|
||||
parse,
|
||||
execute,
|
||||
validateSchema,
|
||||
validate,
|
||||
specifiedRules,
|
||||
getOperationAST,
|
||||
GraphQLError,
|
||||
} from 'https://cdn.skypack.dev/graphql@16.6.0?dts'
|
||||
|
||||
import type {
|
||||
GraphQLSchema,
|
||||
DocumentNode,
|
||||
ValidationRule,
|
||||
FormattedExecutionResult,
|
||||
GraphQLFormattedError,
|
||||
} from 'https://cdn.skypack.dev/graphql@16.6.0?dts'
|
||||
|
||||
import type { Context } from 'https://deno.land/x/hono@v3.0.0/mod.ts'
|
||||
import { parseBody } from './parse-body.ts'
|
||||
|
||||
export type RootResolver = (ctx?: Context) => Promise<unknown> | unknown
|
||||
|
||||
type Options = {
|
||||
schema: GraphQLSchema
|
||||
rootResolver?: RootResolver
|
||||
pretty?: boolean
|
||||
validationRules?: ReadonlyArray<ValidationRule>
|
||||
// graphiql?: boolean
|
||||
}
|
||||
|
||||
export const graphqlServer = (options: Options) => {
|
||||
const schema = options.schema
|
||||
const pretty = options.pretty ?? false
|
||||
const validationRules = options.validationRules ?? []
|
||||
// const showGraphiQL = options.graphiql ?? false
|
||||
|
||||
return async (c: Context) => {
|
||||
// GraphQL HTTP only supports GET and POST methods.
|
||||
if (c.req.method !== 'GET' && c.req.method !== 'POST') {
|
||||
return c.json(errorMessages(['GraphQL only supports GET and POST requests.']), 405, {
|
||||
Allow: 'GET, POST',
|
||||
})
|
||||
}
|
||||
|
||||
let params: GraphQLParams
|
||||
try {
|
||||
params = await getGraphQLParams(c.req.raw)
|
||||
} catch (e) {
|
||||
if (e instanceof Error) {
|
||||
console.error(`${e.stack || e.message}`)
|
||||
return c.json(errorMessages([e.message], [e]), 400)
|
||||
}
|
||||
throw e
|
||||
}
|
||||
|
||||
const { query, variables, operationName } = params
|
||||
|
||||
if (query == null) {
|
||||
return c.json(errorMessages(['Must provide query string.']), 400)
|
||||
}
|
||||
|
||||
const schemaValidationErrors = validateSchema(schema)
|
||||
if (schemaValidationErrors.length > 0) {
|
||||
// Return 500: Internal Server Error if invalid schema.
|
||||
return c.json(
|
||||
errorMessages(['GraphQL schema validation error.'], schemaValidationErrors),
|
||||
500
|
||||
)
|
||||
}
|
||||
|
||||
let documentAST: DocumentNode
|
||||
try {
|
||||
documentAST = parse(new Source(query, 'GraphQL request'))
|
||||
} catch (syntaxError: unknown) {
|
||||
// Return 400: Bad Request if any syntax errors errors exist.
|
||||
if (syntaxError instanceof Error) {
|
||||
console.error(`${syntaxError.stack || syntaxError.message}`)
|
||||
const e = new GraphQLError(syntaxError.message, {
|
||||
originalError: syntaxError,
|
||||
})
|
||||
return c.json(errorMessages(['GraphQL syntax error.'], [e]), 400)
|
||||
}
|
||||
throw syntaxError
|
||||
}
|
||||
|
||||
// Validate AST, reporting any errors.
|
||||
const validationErrors = validate(schema, documentAST, [...specifiedRules, ...validationRules])
|
||||
|
||||
if (validationErrors.length > 0) {
|
||||
// Return 400: Bad Request if any validation errors exist.
|
||||
return c.json(errorMessages(['GraphQL validation error.'], validationErrors), 400)
|
||||
}
|
||||
|
||||
if (c.req.method === 'GET') {
|
||||
// Determine if this GET request will perform a non-query.
|
||||
const operationAST = getOperationAST(documentAST, operationName)
|
||||
if (operationAST && operationAST.operation !== 'query') {
|
||||
/*
|
||||
Now , does not support GraphiQL
|
||||
if (showGraphiQL) {
|
||||
//return respondWithGraphiQL(response, graphiqlOptions, params)
|
||||
}
|
||||
*/
|
||||
|
||||
// Otherwise, report a 405: Method Not Allowed error.
|
||||
return c.json(
|
||||
errorMessages([
|
||||
`Can only perform a ${operationAST.operation} operation from a POST request.`,
|
||||
]),
|
||||
405,
|
||||
{ Allow: 'POST' }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
let result: FormattedExecutionResult
|
||||
const { rootResolver } = options
|
||||
|
||||
try {
|
||||
result = await execute({
|
||||
schema,
|
||||
document: documentAST,
|
||||
rootValue: rootResolver ? await rootResolver(c) : null,
|
||||
variableValues: variables,
|
||||
operationName: operationName,
|
||||
})
|
||||
} catch (contextError: unknown) {
|
||||
if (contextError instanceof Error) {
|
||||
console.error(`${contextError.stack || contextError.message}`)
|
||||
const e = new GraphQLError(contextError.message, {
|
||||
originalError: contextError,
|
||||
nodes: documentAST,
|
||||
})
|
||||
// Return 400: Bad Request if any execution context errors exist.
|
||||
return c.json(errorMessages(['GraphQL execution context error.'], [e]), 400)
|
||||
}
|
||||
throw contextError
|
||||
}
|
||||
|
||||
if (!result.data) {
|
||||
if (result.errors) {
|
||||
return c.json(errorMessages([result.errors.toString()], result.errors), 500)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Now, does not support GraphiQL
|
||||
if (showGraphiQL) {
|
||||
}
|
||||
*/
|
||||
|
||||
if (pretty) {
|
||||
const payload = JSON.stringify(result, null, pretty ? 2 : 0)
|
||||
return c.text(payload, 200, {
|
||||
'Content-Type': 'application/json',
|
||||
})
|
||||
} else {
|
||||
return c.json(result)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface GraphQLParams {
|
||||
query: string | null
|
||||
variables: { readonly [name: string]: unknown } | null
|
||||
operationName: string | null
|
||||
raw: boolean
|
||||
}
|
||||
|
||||
export const getGraphQLParams = async (request: Request): Promise<GraphQLParams> => {
|
||||
const urlData = new URLSearchParams(request.url.split('?')[1])
|
||||
const bodyData = await parseBody(request)
|
||||
|
||||
// GraphQL Query string.
|
||||
let query = urlData.get('query') ?? (bodyData.query as string | null)
|
||||
|
||||
if (typeof query !== 'string') {
|
||||
query = null
|
||||
}
|
||||
|
||||
// Parse the variables if needed.
|
||||
let variables = (urlData.get('variables') ?? bodyData.variables) as {
|
||||
readonly [name: string]: unknown
|
||||
} | null
|
||||
if (typeof variables === 'string') {
|
||||
try {
|
||||
variables = JSON.parse(variables)
|
||||
} catch {
|
||||
throw Error('Variables are invalid JSON.')
|
||||
}
|
||||
} else if (typeof variables !== 'object') {
|
||||
variables = null
|
||||
}
|
||||
|
||||
// Name of GraphQL operation to execute.
|
||||
let operationName = urlData.get('operationName') ?? (bodyData.operationName as string | null)
|
||||
if (typeof operationName !== 'string') {
|
||||
operationName = null
|
||||
}
|
||||
|
||||
const raw = urlData.get('raw') != null || bodyData.raw !== undefined
|
||||
|
||||
const params: GraphQLParams = {
|
||||
query: query,
|
||||
variables: variables,
|
||||
operationName: operationName,
|
||||
raw: raw,
|
||||
}
|
||||
|
||||
return params
|
||||
}
|
||||
|
||||
export const errorMessages = (
|
||||
messages: string[],
|
||||
graphqlErrors?: readonly GraphQLError[] | readonly GraphQLFormattedError[]
|
||||
) => {
|
||||
if (graphqlErrors) {
|
||||
return {
|
||||
errors: graphqlErrors,
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
errors: messages.map((message) => {
|
||||
return {
|
||||
message: message,
|
||||
}
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
// export const graphiQLResponse = () => {}
|
|
@ -1 +0,0 @@
|
|||
export * from "./index.ts";
|
|
@ -1,29 +0,0 @@
|
|||
export async function parseBody(req: Request): Promise<Record<string, unknown>> {
|
||||
const contentType = req.headers.get('content-type')
|
||||
|
||||
switch (contentType) {
|
||||
case 'application/graphql':
|
||||
return { query: await req.text() }
|
||||
case 'application/json':
|
||||
try {
|
||||
return await req.json()
|
||||
} catch (e) {
|
||||
if (e instanceof Error) {
|
||||
console.error(`${e.stack || e.message}`)
|
||||
}
|
||||
throw Error(`POST body sent invalid JSON: ${e}`)
|
||||
}
|
||||
case 'application/x-www-form-urlencoded':
|
||||
return parseFormURL(req)
|
||||
}
|
||||
|
||||
return {}
|
||||
}
|
||||
|
||||
const parseFormURL = async (req: Request) => {
|
||||
const text = await req.text()
|
||||
const searchParams = new URLSearchParams(text)
|
||||
const res: { [params: string]: string } = {}
|
||||
searchParams.forEach((v, k) => (res[k] = v))
|
||||
return res
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
import { buildSchema } from 'https://cdn.skypack.dev/graphql@16.6.0?dts'
|
||||
import { assertEquals } from 'https://deno.land/std@0.177.0/testing/asserts.ts'
|
||||
import { Hono } from 'https://deno.land/x/hono@v3.0.0/mod.ts'
|
||||
import { graphqlServer } from '../deno_dist/index.ts'
|
||||
|
||||
Deno.test('graphql-server', async (t) => {
|
||||
// Construct a schema, using GraphQL schema language
|
||||
const schema = buildSchema(`
|
||||
type Query {
|
||||
hello: String
|
||||
}
|
||||
`)
|
||||
|
||||
// The root provides a resolver function for each API endpoint
|
||||
const rootValue = {
|
||||
hello: () => 'Hello world!',
|
||||
}
|
||||
|
||||
const app = new Hono()
|
||||
|
||||
app.use(
|
||||
'/graphql',
|
||||
graphqlServer({
|
||||
schema,
|
||||
rootResolver: () => rootValue,
|
||||
})
|
||||
)
|
||||
|
||||
app.all('*', (c) => {
|
||||
c.header('foo', 'bar')
|
||||
return c.text('fallback')
|
||||
})
|
||||
|
||||
const query = 'query { hello }'
|
||||
const body = {
|
||||
query: query,
|
||||
}
|
||||
|
||||
const res = await app.request('http://localhost/graphql', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
assertEquals(res.status, 200)
|
||||
assertEquals(await res.text(), '{"data":{"hello":"Hello world!"}}')
|
||||
})
|
|
@ -15,14 +15,11 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"test:deno": "deno test deno_test",
|
||||
"test:bun": "bun wiptest bun_test/index.test.ts",
|
||||
"test:all": "yarn test && yarn test:deno && yarn test:bun",
|
||||
"denoify": "rimraf deno_dist && denoify && rimraf 'deno_dist/**/*.test.ts'",
|
||||
"test:all": "yarn test",
|
||||
"build": "rimraf dist && tsc",
|
||||
"lint": "eslint --ext js,ts src .eslintrc.js",
|
||||
"lint:fix": "eslint --ext js,ts src .eslintrc.js --fix",
|
||||
"prerelease": "yarn build && yarn denoify && yarn test:all",
|
||||
"prerelease": "yarn build && yarn test",
|
||||
"release": "np"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -36,7 +33,6 @@
|
|||
"@types/jest": "^28.1.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
||||
"@typescript-eslint/parser": "^5.21.0",
|
||||
"denoify": "^1.4.9",
|
||||
"eslint": "^8.14.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-define-config": "^1.4.0",
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
// @denoify-ignore
|
||||
import { makeThisModuleAnExecutableReplacer, ParsedImportExportStatement } from 'denoify'
|
||||
|
||||
makeThisModuleAnExecutableReplacer(async ({ parsedImportExportStatement }) => {
|
||||
if (parsedImportExportStatement.parsedArgument.nodeModuleName === 'hono') {
|
||||
return ParsedImportExportStatement.stringify({
|
||||
...parsedImportExportStatement,
|
||||
parsedArgument: {
|
||||
type: 'URL',
|
||||
url: 'https://deno.land/x/hono/mod.ts',
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
return undefined
|
||||
})
|
|
@ -5,6 +5,7 @@ import OriginalRouter from '@medley/router'
|
|||
import type { Result, Router } from 'hono/dist/types/router'
|
||||
|
||||
export class MedleyRouter<T> implements Router<T> {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
router: any
|
||||
name: string = 'MedleyRouter'
|
||||
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
# Sentry middleware for Hono
|
||||
|
||||
Sentry middleware for [Hono](https://github.com/honojs/hono).
|
||||
This middleware sends captured exceptions to the specified Sentry data source name via [toucan-js](https://github.com/robertcepa/toucan-js).
|
||||
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { Hono } from 'hono'
|
||||
import { sentry } from '@hono/sentry'
|
||||
|
||||
const app = new Hono()
|
||||
|
||||
app.use('*', sentry())
|
||||
app.get('/', (c) => c.text('foo'))
|
||||
|
||||
export default app
|
||||
```
|
||||
|
||||
## Deno
|
||||
|
||||
```ts
|
||||
import { serve } from 'https://deno.land/std/http/server.ts'
|
||||
import { sentry } from 'npm:@hono/sentry'
|
||||
import { Hono } from 'https://deno.land/x/hono/mod.ts'
|
||||
|
||||
const app = new Hono()
|
||||
|
||||
app.use('*', sentry({ dsn: 'https://xxxxxx@xxx.ingest.sentry.io/xxxxxx' }))
|
||||
app.get('/', (c) => c.text('foo'))
|
||||
|
||||
serve(app.fetch)
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
Samuel Lippert <https://github.com/sam-lippert>
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
|
@ -1,55 +0,0 @@
|
|||
import type { Context, MiddlewareHandler } from 'https://deno.land/x/hono/mod.ts'
|
||||
import { Toucan, type Options as ToucanOptions } from 'https://esm.sh/toucan-js@3.2.2'
|
||||
|
||||
declare module 'https://deno.land/x/hono/mod.ts' {
|
||||
interface ContextVariableMap {
|
||||
sentry: Toucan
|
||||
}
|
||||
}
|
||||
|
||||
class MockContext implements ExecutionContext {
|
||||
passThroughOnException(): void {
|
||||
throw new Error('Method not implemented.')
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
async waitUntil(promise: Promise<any>): Promise<void> {
|
||||
await promise
|
||||
}
|
||||
}
|
||||
|
||||
export type Options = Omit<ToucanOptions, 'request' | 'context'>
|
||||
|
||||
export const sentry = (
|
||||
options?: Options,
|
||||
callback?: (sentry: Toucan) => void
|
||||
): MiddlewareHandler => {
|
||||
return async (c, next) => {
|
||||
let hasExecutionContext = true
|
||||
try {
|
||||
c.executionCtx
|
||||
} catch {
|
||||
hasExecutionContext = false
|
||||
}
|
||||
const sentry = new Toucan({
|
||||
dsn: c.env?.SENTRY_DSN ?? c.env?.NEXT_PUBLIC_SENTRY_DSN,
|
||||
requestDataOptions: {
|
||||
allowedHeaders: ['user-agent'],
|
||||
allowedSearchParams: /(.*)/,
|
||||
},
|
||||
request: c.req.raw,
|
||||
context: hasExecutionContext ? c.executionCtx : new MockContext(),
|
||||
...options,
|
||||
})
|
||||
c.set('sentry', sentry)
|
||||
if (callback) callback(sentry)
|
||||
|
||||
await next()
|
||||
if (c.error) {
|
||||
sentry.captureException(c.error)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const getSentry = (c: Context) => {
|
||||
return c.get('sentry')
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
export * from "./index.ts";
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"deno.enable": true
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
export { assert, assertEquals } from 'https://deno.land/std@0.148.0/testing/asserts.ts'
|
||||
export { Hono } from 'https://deno.land/x/hono/mod.ts'
|
|
@ -1,29 +0,0 @@
|
|||
import { assertNotEquals } from 'https://deno.land/std@0.148.0/testing/asserts.ts'
|
||||
import { sentry } from '../deno_dist/mod.ts'
|
||||
import { assertEquals, Hono } from './deps.ts'
|
||||
|
||||
// Test just only minimal patterns.
|
||||
// Because others are tested well in Cloudflare Workers environment already.
|
||||
Deno.test('Sentry Middleware', async () => {
|
||||
const app = new Hono()
|
||||
app.use(
|
||||
'/sentry/*',
|
||||
sentry(undefined, (sentry) => {
|
||||
sentry.setUser({ id: 'test' })
|
||||
})
|
||||
)
|
||||
app.get('/sentry/foo', (c) => c.text('foo'))
|
||||
app.get('/sentry/error', () => {
|
||||
throw new Error('a catastrophic error')
|
||||
})
|
||||
|
||||
let req = new Request('http://localhost/sentry/foo')
|
||||
let res = await app.fetch(req)
|
||||
assertNotEquals(res, null)
|
||||
assertEquals(res.status, 200)
|
||||
|
||||
req = new Request('http://localhost/sentry/error')
|
||||
res = await app.fetch(req)
|
||||
assertNotEquals(res, null)
|
||||
assertEquals(res.status, 500)
|
||||
})
|
|
@ -10,16 +10,10 @@
|
|||
],
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"test:deno": "deno test deno_test",
|
||||
"test:all": "yarn test && yarn test:deno",
|
||||
"denoify": "rimraf deno_dist && denoify",
|
||||
"build": "rimraf dist && tsc",
|
||||
"prerelease": "yarn build && yarn denoify && yarn test:all",
|
||||
"prerelease": "yarn build && yarn test:all",
|
||||
"release": "np"
|
||||
},
|
||||
"denoify": {
|
||||
"replacer": "dist/replacer.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -42,7 +36,6 @@
|
|||
"@types/jest": "^28.1.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
||||
"@typescript-eslint/parser": "^5.32.0",
|
||||
"denoify": "^1.4.5",
|
||||
"eslint": "^8.21.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-define-config": "^1.6.0",
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
// @denoify-ignore
|
||||
import { makeThisModuleAnExecutableReplacer, ParsedImportExportStatement } from 'denoify'
|
||||
|
||||
makeThisModuleAnExecutableReplacer(async ({ parsedImportExportStatement, version }) => {
|
||||
if (parsedImportExportStatement.parsedArgument.nodeModuleName === 'toucan-js') {
|
||||
return ParsedImportExportStatement.stringify({
|
||||
...parsedImportExportStatement,
|
||||
parsedArgument: {
|
||||
type: 'URL',
|
||||
url: `https://esm.sh/toucan-js@${version}`,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
if (parsedImportExportStatement.parsedArgument.nodeModuleName === 'hono') {
|
||||
return ParsedImportExportStatement.stringify({
|
||||
...parsedImportExportStatement,
|
||||
parsedArgument: {
|
||||
type: 'URL',
|
||||
url: 'https://deno.land/x/hono/mod.ts',
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
return undefined
|
||||
})
|
|
@ -1,12 +1,13 @@
|
|||
import type { Context, MiddlewareHandler, Env, ValidationTargets, TypedResponse } from 'hono'
|
||||
import { validator } from 'hono/validator'
|
||||
import { IValidation, Primitive } from 'typia'
|
||||
import type { IValidation } from 'typia'
|
||||
|
||||
export type Hook<T, E extends Env, P extends string, O = {}> = (
|
||||
result: IValidation.ISuccess<T> | { success: false; errors: IValidation.IError[]; data: T },
|
||||
c: Context<E, P>
|
||||
) => Response | Promise<Response> | void | Promise<Response | void> | TypedResponse<O>
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export type Validation<O = any> = (input: unknown) => IValidation<O>
|
||||
export type OutputType<T> = T extends Validation<infer O> ? O : never
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ describe('Basic', () => {
|
|||
}
|
||||
}
|
||||
|
||||
// // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
type verify = Expect<Equal<Expected, Actual>>
|
||||
|
||||
it('Should return 200 response', async () => {
|
||||
|
|
|
@ -20,6 +20,7 @@ describe('Constructor', () => {
|
|||
const app = new OpenAPIHono<FakeEnv>({
|
||||
defaultHook: (_result, c) => {
|
||||
// Make sure we're passing context types through
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
expectTypeOf(c).toMatchTypeOf<Context<FakeEnv, any, any>>()
|
||||
},
|
||||
})
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
/// <reference types="vitest" />
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
|
|
597
yarn.lock
597
yarn.lock
|
@ -5,6 +5,13 @@ __metadata:
|
|||
version: 8
|
||||
cacheKey: 10c0
|
||||
|
||||
"@aashutoshrathi/word-wrap@npm:^1.2.3":
|
||||
version: 1.2.6
|
||||
resolution: "@aashutoshrathi/word-wrap@npm:1.2.6"
|
||||
checksum: 53c2b231a61a46792b39a0d43bc4f4f776bb4542aa57ee04930676802e5501282c2fc8aac14e4cd1f1120ff8b52616b6ff5ab539ad30aa2277d726444b71619f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ampproject/remapping@npm:^2.2.0":
|
||||
version: 2.2.1
|
||||
resolution: "@ampproject/remapping@npm:2.2.1"
|
||||
|
@ -1526,6 +1533,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint-community/regexpp@npm:^4.6.1":
|
||||
version: 4.10.0
|
||||
resolution: "@eslint-community/regexpp@npm:4.10.0"
|
||||
checksum: c5f60ef1f1ea7649fa7af0e80a5a79f64b55a8a8fa5086de4727eb4c86c652aedee407a9c143b8995d2c0b2d75c1222bec9ba5d73dbfc1f314550554f0979ef4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/eslintrc@npm:^2.0.3":
|
||||
version: 2.0.3
|
||||
resolution: "@eslint/eslintrc@npm:2.0.3"
|
||||
|
@ -1543,6 +1557,23 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/eslintrc@npm:^2.1.4":
|
||||
version: 2.1.4
|
||||
resolution: "@eslint/eslintrc@npm:2.1.4"
|
||||
dependencies:
|
||||
ajv: "npm:^6.12.4"
|
||||
debug: "npm:^4.3.2"
|
||||
espree: "npm:^9.6.0"
|
||||
globals: "npm:^13.19.0"
|
||||
ignore: "npm:^5.2.0"
|
||||
import-fresh: "npm:^3.2.1"
|
||||
js-yaml: "npm:^4.1.0"
|
||||
minimatch: "npm:^3.1.2"
|
||||
strip-json-comments: "npm:^3.1.1"
|
||||
checksum: 32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/js@npm:8.43.0":
|
||||
version: 8.43.0
|
||||
resolution: "@eslint/js@npm:8.43.0"
|
||||
|
@ -1550,6 +1581,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@eslint/js@npm:8.55.0":
|
||||
version: 8.55.0
|
||||
resolution: "@eslint/js@npm:8.55.0"
|
||||
checksum: 88ab9fc57a651becd2b32ec40a3958db27fae133b1ae77bebd733aa5bbd00a92f325bb02f20ad680d31c731fa49b22f060a4777dd52eb3e27da013d940bd978d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@fastify/busboy@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "@fastify/busboy@npm:2.0.0"
|
||||
|
@ -1693,7 +1731,6 @@ __metadata:
|
|||
"@types/jest": "npm:^28.1.4"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^5.21.0"
|
||||
"@typescript-eslint/parser": "npm:^5.21.0"
|
||||
denoify: "npm:^1.4.9"
|
||||
eslint: "npm:^8.14.0"
|
||||
eslint-config-prettier: "npm:^8.5.0"
|
||||
eslint-define-config: "npm:^1.4.0"
|
||||
|
@ -1784,7 +1821,6 @@ __metadata:
|
|||
"@types/jest": "npm:^28.1.4"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^5.32.0"
|
||||
"@typescript-eslint/parser": "npm:^5.32.0"
|
||||
denoify: "npm:^1.4.5"
|
||||
eslint: "npm:^8.21.0"
|
||||
eslint-config-prettier: "npm:^8.5.0"
|
||||
eslint-define-config: "npm:^1.6.0"
|
||||
|
@ -1922,6 +1958,17 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@humanwhocodes/config-array@npm:^0.11.13":
|
||||
version: 0.11.13
|
||||
resolution: "@humanwhocodes/config-array@npm:0.11.13"
|
||||
dependencies:
|
||||
"@humanwhocodes/object-schema": "npm:^2.0.1"
|
||||
debug: "npm:^4.1.1"
|
||||
minimatch: "npm:^3.0.5"
|
||||
checksum: d76ca802d853366094d0e98ff0d0994117fc8eff96649cd357b15e469e428228f597cd2e929d54ab089051684949955f16ee905bb19f7b2f0446fb377157be7a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@humanwhocodes/module-importer@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "@humanwhocodes/module-importer@npm:1.0.1"
|
||||
|
@ -1936,6 +1983,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@humanwhocodes/object-schema@npm:^2.0.1":
|
||||
version: 2.0.1
|
||||
resolution: "@humanwhocodes/object-schema@npm:2.0.1"
|
||||
checksum: 9dba24e59fdb4041829d92b693aacb778add3b6f612aaa9c0774f3b650c11a378cc64f042a59da85c11dae33df456580a3c36837b953541aed6ff94294f97fac
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@iarna/toml@npm:^2.2.5":
|
||||
version: 2.2.5
|
||||
resolution: "@iarna/toml@npm:2.2.5"
|
||||
|
@ -3252,137 +3306,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/auth-token@npm:^2.4.4":
|
||||
version: 2.5.0
|
||||
resolution: "@octokit/auth-token@npm:2.5.0"
|
||||
dependencies:
|
||||
"@octokit/types": "npm:^6.0.3"
|
||||
checksum: e9f757b6acdee91885dab97069527c86829da0dc60476c38cdff3a739ff47fd026262715965f91e84ec9d01bc43d02678bc8ed472a85395679af621b3ddbe045
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/core@npm:^3.5.1":
|
||||
version: 3.6.0
|
||||
resolution: "@octokit/core@npm:3.6.0"
|
||||
dependencies:
|
||||
"@octokit/auth-token": "npm:^2.4.4"
|
||||
"@octokit/graphql": "npm:^4.5.8"
|
||||
"@octokit/request": "npm:^5.6.3"
|
||||
"@octokit/request-error": "npm:^2.0.5"
|
||||
"@octokit/types": "npm:^6.0.3"
|
||||
before-after-hook: "npm:^2.2.0"
|
||||
universal-user-agent: "npm:^6.0.0"
|
||||
checksum: 78d9799a57fe9cf155cce485ba8b7ec32f05024350bf5dd8ab5e0da8995cc22168c39dbbbcfc29bc6c562dd482c1c4a3064f466f49e2e9ce4efad57cf28a7360
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/endpoint@npm:^6.0.1":
|
||||
version: 6.0.12
|
||||
resolution: "@octokit/endpoint@npm:6.0.12"
|
||||
dependencies:
|
||||
"@octokit/types": "npm:^6.0.3"
|
||||
is-plain-object: "npm:^5.0.0"
|
||||
universal-user-agent: "npm:^6.0.0"
|
||||
checksum: b2d9c91f00ab7c997338d08a06bfd12a67d86060bc40471f921ba424e4de4e5a0a1117631f2a8a8787107d89d631172dd157cb5e2633674b1ae3a0e2b0dcfa3e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/graphql@npm:^4.5.8":
|
||||
version: 4.8.0
|
||||
resolution: "@octokit/graphql@npm:4.8.0"
|
||||
dependencies:
|
||||
"@octokit/request": "npm:^5.6.0"
|
||||
"@octokit/types": "npm:^6.0.3"
|
||||
universal-user-agent: "npm:^6.0.0"
|
||||
checksum: 2cfa0cbc636465d729f4a6a5827f7d36bed0fc9ea270a79427a431f1672fd109f463ca4509aeb3eb02342b91592ff06f318b39d6866d7424d2a16b0bfc01e62e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/openapi-types@npm:^12.11.0":
|
||||
version: 12.11.0
|
||||
resolution: "@octokit/openapi-types@npm:12.11.0"
|
||||
checksum: b3bb3684d9686ef948d8805ab56f85818f36e4cb64ef97b8e48dc233efefef22fe0bddd9da705fb628ea618a1bebd62b3d81b09a3f7dce9522f124d998041896
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/plugin-paginate-rest@npm:^2.16.8":
|
||||
version: 2.21.3
|
||||
resolution: "@octokit/plugin-paginate-rest@npm:2.21.3"
|
||||
dependencies:
|
||||
"@octokit/types": "npm:^6.40.0"
|
||||
peerDependencies:
|
||||
"@octokit/core": ">=2"
|
||||
checksum: a16f7ed56db00ea9b72f77735e8d9463ddc84d017cb95c2767026c60a209f7c4176502c592847cf61613eb2f25dafe8d5437c01ad296660ebbfb2c821ef805e9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/plugin-request-log@npm:^1.0.4":
|
||||
version: 1.0.4
|
||||
resolution: "@octokit/plugin-request-log@npm:1.0.4"
|
||||
peerDependencies:
|
||||
"@octokit/core": ">=3"
|
||||
checksum: 7238585445555db553912e0cdef82801c89c6e5cbc62c23ae086761c23cc4a403d6c3fddd20348bbd42fb7508e2c2fce370eb18fdbe3fbae2c0d2c8be974f4cc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/plugin-rest-endpoint-methods@npm:^5.12.0":
|
||||
version: 5.16.2
|
||||
resolution: "@octokit/plugin-rest-endpoint-methods@npm:5.16.2"
|
||||
dependencies:
|
||||
"@octokit/types": "npm:^6.39.0"
|
||||
deprecation: "npm:^2.3.1"
|
||||
peerDependencies:
|
||||
"@octokit/core": ">=3"
|
||||
checksum: 32bfb30241140ad9bf17712856e1946374fb8d6040adfd5b9ea862e7149e5d2a38e0e037d3b468af34f7f2561129a6f170cffeb2a6225e548b04934e2c05eb93
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/request-error@npm:^2.0.5, @octokit/request-error@npm:^2.1.0":
|
||||
version: 2.1.0
|
||||
resolution: "@octokit/request-error@npm:2.1.0"
|
||||
dependencies:
|
||||
"@octokit/types": "npm:^6.0.3"
|
||||
deprecation: "npm:^2.0.0"
|
||||
once: "npm:^1.4.0"
|
||||
checksum: eb50eb2734aa903f1e855ac5887bb76d6f237a3aaa022b09322a7676c79bb8020259b25f84ab895c4fc7af5cc736e601ec8cc7e9040ca4629bac8cb393e91c40
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/request@npm:^5.6.0, @octokit/request@npm:^5.6.3":
|
||||
version: 5.6.3
|
||||
resolution: "@octokit/request@npm:5.6.3"
|
||||
dependencies:
|
||||
"@octokit/endpoint": "npm:^6.0.1"
|
||||
"@octokit/request-error": "npm:^2.1.0"
|
||||
"@octokit/types": "npm:^6.16.1"
|
||||
is-plain-object: "npm:^5.0.0"
|
||||
node-fetch: "npm:^2.6.7"
|
||||
universal-user-agent: "npm:^6.0.0"
|
||||
checksum: a546dc05665c6cf8184ae7c4ac3ed4f0c339c2170dd7e2beeb31a6e0a9dd968ca8ad960edbd2af745e585276e692c9eb9c6dbf1a8c9d815eb7b7fd282f3e67fc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/rest@npm:^18.0.0":
|
||||
version: 18.12.0
|
||||
resolution: "@octokit/rest@npm:18.12.0"
|
||||
dependencies:
|
||||
"@octokit/core": "npm:^3.5.1"
|
||||
"@octokit/plugin-paginate-rest": "npm:^2.16.8"
|
||||
"@octokit/plugin-request-log": "npm:^1.0.4"
|
||||
"@octokit/plugin-rest-endpoint-methods": "npm:^5.12.0"
|
||||
checksum: e649baf7ccc3de57e5aeffb88e2888b023ffc693dee91c4db58dcb7b5481348bc5b0e6a49a176354c3150e3fa4e02c43a5b1d2be02492909b3f6dcfa5f63e444
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@octokit/types@npm:^6.0.3, @octokit/types@npm:^6.16.1, @octokit/types@npm:^6.39.0, @octokit/types@npm:^6.40.0":
|
||||
version: 6.41.0
|
||||
resolution: "@octokit/types@npm:6.41.0"
|
||||
dependencies:
|
||||
"@octokit/openapi-types": "npm:^12.11.0"
|
||||
checksum: 81cfa58e5524bf2e233d75a346e625fd6e02a7b919762c6ddb523ad6fb108943ef9d34c0298ff3c5a44122e449d9038263bc22959247fd6ff8894a48888ac705
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@open-draft/deferred-promise@npm:^2.2.0":
|
||||
version: 2.2.0
|
||||
resolution: "@open-draft/deferred-promise@npm:2.2.0"
|
||||
|
@ -4031,13 +3954,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/comment-json@npm:^1.1.1":
|
||||
version: 1.1.1
|
||||
resolution: "@types/comment-json@npm:1.1.1"
|
||||
checksum: c386049e69b8dc422a4208a98c8c62a47cd4b15106195663a84bc7981e230999e0c155f261d6aeb362fe95333fbb33ada1fbe478b216c6150c455b0a9659926a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/cookie@npm:^0.4.1":
|
||||
version: 0.4.1
|
||||
resolution: "@types/cookie@npm:0.4.1"
|
||||
|
@ -4158,13 +4074,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/jest@npm:^29.5.0":
|
||||
version: 29.5.2
|
||||
resolution: "@types/jest@npm:29.5.2"
|
||||
"@types/jest@npm:^29.5.11":
|
||||
version: 29.5.11
|
||||
resolution: "@types/jest@npm:29.5.11"
|
||||
dependencies:
|
||||
expect: "npm:^29.0.0"
|
||||
pretty-format: "npm:^29.0.0"
|
||||
checksum: e85525fe83a0792632a31ca32968b33a0014d617442e9a515357d2aa8890052ef622b1f6fd25d48f4f1a3ab806bed94e6d9b056dea23a897464e0e35957ff654
|
||||
checksum: 524a3394845214581278bf4d75055927261fbeac7e1a89cd621bd0636da37d265fe0a85eac58b5778758faad1cbd7c7c361dfc190c78ebde03a91cce33463261
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
@ -4297,6 +4213,15 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:^20.10.4":
|
||||
version: 20.10.4
|
||||
resolution: "@types/node@npm:20.10.4"
|
||||
dependencies:
|
||||
undici-types: "npm:~5.26.4"
|
||||
checksum: 2c8b70cba731eb2ae3ae046daa74903bfcbb0e7b9196da767e5895054f6d252296ae7a04fb1dbbcb53bb004c4c658c05eaea2731bc9e2dd9e08f7e88d672f563
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/normalize-package-data@npm:^2.4.0":
|
||||
version: 2.4.1
|
||||
resolution: "@types/normalize-package-data@npm:2.4.1"
|
||||
|
@ -4509,6 +4434,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/types@npm:6.14.0":
|
||||
version: 6.14.0
|
||||
resolution: "@typescript-eslint/types@npm:6.14.0"
|
||||
checksum: d59306a7a441982a4dcee7d775928fd5086aba9331f7a238f915723a0dc785df0e43af562a30a7c2f1b056a1e49fd64863a8d2450d31706193add0ade87334a4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:5.60.0":
|
||||
version: 5.60.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:5.60.0"
|
||||
|
@ -4527,6 +4459,24 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:^6.14.0":
|
||||
version: 6.14.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:6.14.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": "npm:6.14.0"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.14.0"
|
||||
debug: "npm:^4.3.4"
|
||||
globby: "npm:^11.1.0"
|
||||
is-glob: "npm:^4.0.3"
|
||||
semver: "npm:^7.5.4"
|
||||
ts-api-utils: "npm:^1.0.1"
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 767c3309987b8ad053a2403605a9bd7c4eb3283dece864a741a7531a1c28eea4d85acaa4613141b64e194f9f6c4cbc5bc762c9b9f3a67c6202aa8cbb18b180d2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:5.60.0":
|
||||
version: 5.60.0
|
||||
resolution: "@typescript-eslint/utils@npm:5.60.0"
|
||||
|
@ -4555,6 +4505,23 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/visitor-keys@npm:6.14.0":
|
||||
version: 6.14.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:6.14.0"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": "npm:6.14.0"
|
||||
eslint-visitor-keys: "npm:^3.4.1"
|
||||
checksum: 0e2363f9f1986ebdb41507c54a666fa1c336eb6beb383dc342a10844d3c42c89067b21c3f158851fa6f0825e1e451a5470b5454fde70a6fc33b4b0259462d954
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@ungap/structured-clone@npm:^1.2.0":
|
||||
version: 1.2.0
|
||||
resolution: "@ungap/structured-clone@npm:1.2.0"
|
||||
checksum: 8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vitest/expect@npm:0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "@vitest/expect@npm:0.34.6"
|
||||
|
@ -5520,13 +5487,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"before-after-hook@npm:^2.2.0":
|
||||
version: 2.2.3
|
||||
resolution: "before-after-hook@npm:2.2.3"
|
||||
checksum: 0488c4ae12df758ca9d49b3bb27b47fd559677965c52cae7b335784724fb8bf96c42b6e5ba7d7afcbc31facb0e294c3ef717cc41c5bc2f7bd9e76f8b90acd31c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"better-path-resolve@npm:1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "better-path-resolve@npm:1.0.0"
|
||||
|
@ -6444,7 +6404,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"commander@npm:^4.0.0, commander@npm:^4.0.1, commander@npm:^4.1.1":
|
||||
"commander@npm:^4.0.0, commander@npm:^4.0.1":
|
||||
version: 4.1.1
|
||||
resolution: "commander@npm:4.1.1"
|
||||
checksum: 84a76c08fe6cc08c9c93f62ac573d2907d8e79138999312c92d4155bc2325d487d64d13f669b2000c9f8caf70493c1be2dac74fec3c51d5a04f8bc3ae1830bab
|
||||
|
@ -6458,18 +6418,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"comment-json@npm:^3.0.2":
|
||||
version: 3.0.3
|
||||
resolution: "comment-json@npm:3.0.3"
|
||||
dependencies:
|
||||
core-util-is: "npm:^1.0.2"
|
||||
esprima: "npm:^4.0.1"
|
||||
has-own-prop: "npm:^2.0.0"
|
||||
repeat-string: "npm:^1.6.1"
|
||||
checksum: a0eda19344882f897c7fe3a78a9fa6e0ca130e8a5bff99150b96ac235aeccd3ce5d9d9a569ca644ddc083d50abaa1f9a1400536dae957f50f89373f0e8adfb1c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"comment-json@npm:^4.2.3":
|
||||
version: 4.2.3
|
||||
resolution: "comment-json@npm:4.2.3"
|
||||
|
@ -6620,7 +6568,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"core-util-is@npm:^1.0.2, core-util-is@npm:^1.0.3, core-util-is@npm:~1.0.0":
|
||||
"core-util-is@npm:^1.0.3, core-util-is@npm:~1.0.0":
|
||||
version: 1.0.3
|
||||
resolution: "core-util-is@npm:1.0.3"
|
||||
checksum: 90a0e40abbddfd7618f8ccd63a74d88deea94e77d0e8dbbea059fa7ebebb8fbb4e2909667fe26f3a467073de1a542ebe6ae4c73a73745ac5833786759cd906c9
|
||||
|
@ -6637,7 +6585,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cosmiconfig@npm:^7.0.0, cosmiconfig@npm:^7.0.1":
|
||||
"cosmiconfig@npm:^7.0.0":
|
||||
version: 7.1.0
|
||||
resolution: "cosmiconfig@npm:7.1.0"
|
||||
dependencies:
|
||||
|
@ -7160,33 +7108,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"denoify@npm:^1.4.5, denoify@npm:^1.4.9":
|
||||
version: 1.6.1
|
||||
resolution: "denoify@npm:1.6.1"
|
||||
dependencies:
|
||||
"@octokit/rest": "npm:^18.0.0"
|
||||
"@types/comment-json": "npm:^1.1.1"
|
||||
commander: "npm:^4.1.1"
|
||||
comment-json: "npm:^3.0.2"
|
||||
cosmiconfig: "npm:^7.0.1"
|
||||
evt: "npm:2.4.22"
|
||||
get-github-default-branch-name: "npm:^0.0.4"
|
||||
gitignore-parser: "npm:0.0.2"
|
||||
glob: "npm:^7.1.6"
|
||||
minimal-polyfills: "npm:^2.2.3"
|
||||
node-fetch: "npm:^2.6.7"
|
||||
path-depth: "npm:^1.0.0"
|
||||
scripting-tools: "npm:^0.19.14"
|
||||
tsafe: "npm:^1.6.4"
|
||||
url-join: "npm:^4.0.1"
|
||||
bin:
|
||||
denoify: bin/denoify.js
|
||||
enable_short_npm_import_path: bin/enable_short_npm_import_path.js
|
||||
remove_deno_dist_from_gitignore: bin/remove_deno_dist_from_gitignore.js
|
||||
checksum: 42a1b9147768d8921e215f26e48db321a0574b3acdc1c82df9bab4002dabbd2fd3b4f660307640603b1ef693eefaa903b253c18c89ecd07c3dee87295d06194e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"depd@npm:2.0.0, depd@npm:^2.0.0, depd@npm:~2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "depd@npm:2.0.0"
|
||||
|
@ -7194,13 +7115,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"deprecation@npm:^2.0.0, deprecation@npm:^2.3.1":
|
||||
version: 2.3.1
|
||||
resolution: "deprecation@npm:2.3.1"
|
||||
checksum: 23d688ba66b74d09b908c40a76179418acbeeb0bfdf218c8075c58ad8d0c315130cb91aa3dffb623aa3a411a3569ce56c6460de6c8d69071c17fe6dd2442f032
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"dequal@npm:^2.0.0":
|
||||
version: 2.0.3
|
||||
resolution: "dequal@npm:2.0.3"
|
||||
|
@ -8193,6 +8107,16 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-scope@npm:^7.2.2":
|
||||
version: 7.2.2
|
||||
resolution: "eslint-scope@npm:7.2.2"
|
||||
dependencies:
|
||||
esrecurse: "npm:^4.3.0"
|
||||
estraverse: "npm:^5.2.0"
|
||||
checksum: 613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-utils@npm:^2.0.0":
|
||||
version: 2.1.0
|
||||
resolution: "eslint-utils@npm:2.1.0"
|
||||
|
@ -8216,6 +8140,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-visitor-keys@npm:^3.4.3":
|
||||
version: 3.4.3
|
||||
resolution: "eslint-visitor-keys@npm:3.4.3"
|
||||
checksum: 92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint@npm:^8.14.0, eslint@npm:^8.21.0":
|
||||
version: 8.43.0
|
||||
resolution: "eslint@npm:8.43.0"
|
||||
|
@ -8265,6 +8196,54 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint@npm:^8.55.0":
|
||||
version: 8.55.0
|
||||
resolution: "eslint@npm:8.55.0"
|
||||
dependencies:
|
||||
"@eslint-community/eslint-utils": "npm:^4.2.0"
|
||||
"@eslint-community/regexpp": "npm:^4.6.1"
|
||||
"@eslint/eslintrc": "npm:^2.1.4"
|
||||
"@eslint/js": "npm:8.55.0"
|
||||
"@humanwhocodes/config-array": "npm:^0.11.13"
|
||||
"@humanwhocodes/module-importer": "npm:^1.0.1"
|
||||
"@nodelib/fs.walk": "npm:^1.2.8"
|
||||
"@ungap/structured-clone": "npm:^1.2.0"
|
||||
ajv: "npm:^6.12.4"
|
||||
chalk: "npm:^4.0.0"
|
||||
cross-spawn: "npm:^7.0.2"
|
||||
debug: "npm:^4.3.2"
|
||||
doctrine: "npm:^3.0.0"
|
||||
escape-string-regexp: "npm:^4.0.0"
|
||||
eslint-scope: "npm:^7.2.2"
|
||||
eslint-visitor-keys: "npm:^3.4.3"
|
||||
espree: "npm:^9.6.1"
|
||||
esquery: "npm:^1.4.2"
|
||||
esutils: "npm:^2.0.2"
|
||||
fast-deep-equal: "npm:^3.1.3"
|
||||
file-entry-cache: "npm:^6.0.1"
|
||||
find-up: "npm:^5.0.0"
|
||||
glob-parent: "npm:^6.0.2"
|
||||
globals: "npm:^13.19.0"
|
||||
graphemer: "npm:^1.4.0"
|
||||
ignore: "npm:^5.2.0"
|
||||
imurmurhash: "npm:^0.1.4"
|
||||
is-glob: "npm:^4.0.0"
|
||||
is-path-inside: "npm:^3.0.3"
|
||||
js-yaml: "npm:^4.1.0"
|
||||
json-stable-stringify-without-jsonify: "npm:^1.0.1"
|
||||
levn: "npm:^0.4.1"
|
||||
lodash.merge: "npm:^4.6.2"
|
||||
minimatch: "npm:^3.1.2"
|
||||
natural-compare: "npm:^1.4.0"
|
||||
optionator: "npm:^0.9.3"
|
||||
strip-ansi: "npm:^6.0.1"
|
||||
text-table: "npm:^0.2.0"
|
||||
bin:
|
||||
eslint: bin/eslint.js
|
||||
checksum: d28c0b60f19bb7d355cb8393e77b018c8f548dba3f820b799c89bb2e0c436ee26084e700c5e57e1e97e7972ec93065277849141b82e7b0c0d02c2dc1e553a2a1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"espree@npm:^9.0.0, espree@npm:^9.5.2":
|
||||
version: 9.5.2
|
||||
resolution: "espree@npm:9.5.2"
|
||||
|
@ -8276,6 +8255,17 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"espree@npm:^9.6.0, espree@npm:^9.6.1":
|
||||
version: 9.6.1
|
||||
resolution: "espree@npm:9.6.1"
|
||||
dependencies:
|
||||
acorn: "npm:^8.9.0"
|
||||
acorn-jsx: "npm:^5.3.2"
|
||||
eslint-visitor-keys: "npm:^3.4.1"
|
||||
checksum: 1a2e9b4699b715347f62330bcc76aee224390c28bb02b31a3752e9d07549c473f5f986720483c6469cf3cfb3c9d05df612ffc69eb1ee94b54b739e67de9bb460
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"esprima@npm:^4.0.0, esprima@npm:^4.0.1, esprima@npm:~4.0.0":
|
||||
version: 4.0.1
|
||||
resolution: "esprima@npm:4.0.1"
|
||||
|
@ -8410,17 +8400,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"evt@npm:2.4.22":
|
||||
version: 2.4.22
|
||||
resolution: "evt@npm:2.4.22"
|
||||
dependencies:
|
||||
minimal-polyfills: "npm:^2.2.3"
|
||||
run-exclusive: "npm:^2.2.19"
|
||||
tsafe: "npm:^1.6.4"
|
||||
checksum: 7b08ccb40843f79aff88e539f412a4f3be383ffe578ab96f742fb13359b1d72acf9440d4447d8dd5e87249bd2aef0e8e78fd3428d1bc34040d3fc18b409a3c8a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"execa@npm:^5.0.0":
|
||||
version: 5.1.1
|
||||
resolution: "execa@npm:5.1.1"
|
||||
|
@ -9282,16 +9261,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"get-github-default-branch-name@npm:^0.0.4":
|
||||
version: 0.0.4
|
||||
resolution: "get-github-default-branch-name@npm:0.0.4"
|
||||
dependencies:
|
||||
"@octokit/rest": "npm:^18.0.0"
|
||||
scripting-tools: "npm:^0.19.12"
|
||||
checksum: 43aeb7649e5f76ce037faa54f5d162751e7d2487211061541685fd6748de6446ca5fa9bb873877564e38cefe91291e38bcc984b750869398829c41bf2cdbdca3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0":
|
||||
version: 1.2.1
|
||||
resolution: "get-intrinsic@npm:1.2.1"
|
||||
|
@ -9421,13 +9390,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"gitignore-parser@npm:0.0.2":
|
||||
version: 0.0.2
|
||||
resolution: "gitignore-parser@npm:0.0.2"
|
||||
checksum: ad2202f42b00aa6477b0c421c1916c655b6cdd595d05f34d128a7186523f539f22616c9ade34605749e91dafe64b1e13b87b3c556acf15a21c55e94772f0df3d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2":
|
||||
version: 5.1.2
|
||||
resolution: "glob-parent@npm:5.1.2"
|
||||
|
@ -9515,7 +9477,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0":
|
||||
"glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0":
|
||||
version: 7.2.3
|
||||
resolution: "glob@npm:7.2.3"
|
||||
dependencies:
|
||||
|
@ -9985,10 +9947,12 @@ __metadata:
|
|||
"@changesets/changelog-github": "npm:^0.4.8"
|
||||
"@changesets/cli": "npm:^2.26.0"
|
||||
"@cloudflare/workers-types": "npm:^4.20230307.0"
|
||||
"@types/jest": "npm:^29.5.0"
|
||||
"@types/jest": "npm:^29.5.11"
|
||||
"@types/node": "npm:^20.10.4"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^5.32.0"
|
||||
"@typescript-eslint/parser": "npm:^5.32.0"
|
||||
eslint: "npm:^8.21.0"
|
||||
"@typescript-eslint/typescript-estree": "npm:^6.14.0"
|
||||
eslint: "npm:^8.55.0"
|
||||
eslint-config-prettier: "npm:^8.5.0"
|
||||
eslint-define-config: "npm:^1.6.0"
|
||||
eslint-import-resolver-typescript: "npm:^3.4.0"
|
||||
|
@ -9997,15 +9961,11 @@ __metadata:
|
|||
eslint-plugin-import: "npm:^2.26.0"
|
||||
eslint-plugin-node: "npm:^11.1.0"
|
||||
jest: "npm:^29.5.0"
|
||||
jest-environment-miniflare: "npm:^2.10.0"
|
||||
jest-environment-miniflare: "npm:^2.14.1"
|
||||
npm-run-all: "npm:^4.1.5"
|
||||
prettier: "npm:^2.7.1"
|
||||
publint: "npm:^0.2.0"
|
||||
rimraf: "npm:^3.0.2"
|
||||
ts-jest: "npm:^29.0.5"
|
||||
tsup: "npm:^7.2.0"
|
||||
ts-jest: "npm:^29.1.1"
|
||||
typescript: "npm:^5.2.2"
|
||||
vitest: "npm:^0.34.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
|
@ -10810,13 +10770,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-plain-object@npm:^5.0.0":
|
||||
version: 5.0.0
|
||||
resolution: "is-plain-object@npm:5.0.0"
|
||||
checksum: 893e42bad832aae3511c71fd61c0bf61aa3a6d853061c62a307261842727d0d25f761ce9379f7ba7226d6179db2a3157efa918e7fe26360f3bf0842d9f28942c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-promise@npm:^2.1.0":
|
||||
version: 2.2.2
|
||||
resolution: "is-promise@npm:2.2.2"
|
||||
|
@ -11567,25 +11520,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jest-environment-miniflare@npm:^2.10.0, jest-environment-miniflare@npm:^2.6.0":
|
||||
version: 2.14.0
|
||||
resolution: "jest-environment-miniflare@npm:2.14.0"
|
||||
dependencies:
|
||||
"@jest/environment": "npm:>=27"
|
||||
"@jest/fake-timers": "npm:>=27"
|
||||
"@jest/types": "npm:>=27"
|
||||
"@miniflare/queues": "npm:2.14.0"
|
||||
"@miniflare/runner-vm": "npm:2.14.0"
|
||||
"@miniflare/shared": "npm:2.14.0"
|
||||
"@miniflare/shared-test-environment": "npm:2.14.0"
|
||||
jest-mock: "npm:>=27"
|
||||
jest-util: "npm:>=27"
|
||||
peerDependencies:
|
||||
jest: ">=27"
|
||||
checksum: 7093d3556538b29484f1c421161409f5d85d138dff8cdcbeb3c242aced2d8bc7a3efd056dec5a05a6508c857dd1196414bc1a40a6a50ac770865a2065f32b4ab
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jest-environment-miniflare@npm:^2.14.1":
|
||||
version: 2.14.1
|
||||
resolution: "jest-environment-miniflare@npm:2.14.1"
|
||||
|
@ -11605,6 +11539,25 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jest-environment-miniflare@npm:^2.6.0":
|
||||
version: 2.14.0
|
||||
resolution: "jest-environment-miniflare@npm:2.14.0"
|
||||
dependencies:
|
||||
"@jest/environment": "npm:>=27"
|
||||
"@jest/fake-timers": "npm:>=27"
|
||||
"@jest/types": "npm:>=27"
|
||||
"@miniflare/queues": "npm:2.14.0"
|
||||
"@miniflare/runner-vm": "npm:2.14.0"
|
||||
"@miniflare/shared": "npm:2.14.0"
|
||||
"@miniflare/shared-test-environment": "npm:2.14.0"
|
||||
jest-mock: "npm:>=27"
|
||||
jest-util: "npm:>=27"
|
||||
peerDependencies:
|
||||
jest: ">=27"
|
||||
checksum: 7093d3556538b29484f1c421161409f5d85d138dff8cdcbeb3c242aced2d8bc7a3efd056dec5a05a6508c857dd1196414bc1a40a6a50ac770865a2065f32b4ab
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jest-environment-node@npm:^28.1.3":
|
||||
version: 28.1.3
|
||||
resolution: "jest-environment-node@npm:28.1.3"
|
||||
|
@ -14284,13 +14237,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimal-polyfills@npm:^2.2.3":
|
||||
version: 2.2.3
|
||||
resolution: "minimal-polyfills@npm:2.2.3"
|
||||
checksum: de8668b7441afc7b691028a9488744e6ead371dbfffdd29b9dd30764984aff4ad95f54c5ceabe8044f6a639da6be2f4047ead3ee8734536701029c7652e87ee5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
|
||||
version: 3.1.2
|
||||
resolution: "minimatch@npm:3.1.2"
|
||||
|
@ -15273,6 +15219,20 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"optionator@npm:^0.9.3":
|
||||
version: 0.9.3
|
||||
resolution: "optionator@npm:0.9.3"
|
||||
dependencies:
|
||||
"@aashutoshrathi/word-wrap": "npm:^1.2.3"
|
||||
deep-is: "npm:^0.1.3"
|
||||
fast-levenshtein: "npm:^2.0.6"
|
||||
levn: "npm:^0.4.1"
|
||||
prelude-ls: "npm:^1.2.1"
|
||||
type-check: "npm:^0.4.0"
|
||||
checksum: 66fba794d425b5be51353035cf3167ce6cfa049059cbb93229b819167687e0f48d2bc4603fcb21b091c99acb516aae1083624675b15c4765b2e4693a085e959c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ora@npm:^5.4.1":
|
||||
version: 5.4.1
|
||||
resolution: "ora@npm:5.4.1"
|
||||
|
@ -15641,13 +15601,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-depth@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "path-depth@npm:1.0.0"
|
||||
checksum: 12a08e8c198084bf9b617892a3680e34757ea14e9e6089dc11823cdb254ba8c0647e028e8cea883c15437f6b1bd7fffbbc9a46576248d926f66c005a403ccfa5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"path-exists@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "path-exists@npm:4.0.0"
|
||||
|
@ -16171,7 +16124,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"publint@npm:^0.2.0, publint@npm:^0.2.2":
|
||||
"publint@npm:^0.2.2":
|
||||
version: 0.2.2
|
||||
resolution: "publint@npm:0.2.2"
|
||||
dependencies:
|
||||
|
@ -16976,15 +16929,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"run-exclusive@npm:^2.2.19":
|
||||
version: 2.2.19
|
||||
resolution: "run-exclusive@npm:2.2.19"
|
||||
dependencies:
|
||||
minimal-polyfills: "npm:^2.2.3"
|
||||
checksum: afde039737672d2490df12f6b5f151a258673abcfc37829a67e7a877c6e7402f0bb05372319d86142ddbe95c32170ac28919b6689ddd84ee6d3d0d9a1194bc94
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"run-parallel@npm:^1.1.9":
|
||||
version: 1.2.0
|
||||
resolution: "run-parallel@npm:1.2.0"
|
||||
|
@ -17067,13 +17011,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"scripting-tools@npm:^0.19.12, scripting-tools@npm:^0.19.14":
|
||||
version: 0.19.14
|
||||
resolution: "scripting-tools@npm:0.19.14"
|
||||
checksum: 40b295273b6a52d9c0318550e7197bcdbf8d2c77ddbd825d67e9a4796dfef0e10da8d57f7da2bf3cc7d588efd07b468e633442ff01128efcc794d5682fc991b7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"semver-diff@npm:^3.1.1":
|
||||
version: 3.1.1
|
||||
resolution: "semver-diff@npm:3.1.1"
|
||||
|
@ -18438,6 +18375,15 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ts-api-utils@npm:^1.0.1":
|
||||
version: 1.0.3
|
||||
resolution: "ts-api-utils@npm:1.0.3"
|
||||
peerDependencies:
|
||||
typescript: ">=4.2.0"
|
||||
checksum: 9408338819c3aca2a709f0bc54e3f874227901506cacb1163612a6c8a43df224174feb965a5eafdae16f66fc68fd7bfee8d3275d0fa73fbb8699e03ed26520c9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ts-interface-checker@npm:^0.1.9":
|
||||
version: 0.1.13
|
||||
resolution: "ts-interface-checker@npm:0.1.13"
|
||||
|
@ -18478,39 +18424,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ts-jest@npm:^29.0.5":
|
||||
version: 29.1.0
|
||||
resolution: "ts-jest@npm:29.1.0"
|
||||
dependencies:
|
||||
bs-logger: "npm:0.x"
|
||||
fast-json-stable-stringify: "npm:2.x"
|
||||
jest-util: "npm:^29.0.0"
|
||||
json5: "npm:^2.2.3"
|
||||
lodash.memoize: "npm:4.x"
|
||||
make-error: "npm:1.x"
|
||||
semver: "npm:7.x"
|
||||
yargs-parser: "npm:^21.0.1"
|
||||
peerDependencies:
|
||||
"@babel/core": ">=7.0.0-beta.0 <8"
|
||||
"@jest/types": ^29.0.0
|
||||
babel-jest: ^29.0.0
|
||||
jest: ^29.0.0
|
||||
typescript: ">=4.3 <6"
|
||||
peerDependenciesMeta:
|
||||
"@babel/core":
|
||||
optional: true
|
||||
"@jest/types":
|
||||
optional: true
|
||||
babel-jest:
|
||||
optional: true
|
||||
esbuild:
|
||||
optional: true
|
||||
bin:
|
||||
ts-jest: cli.js
|
||||
checksum: 504d77b13157a4d2f1eebbd0e0f21f2db65fc28039f107fd73453655c029adccba5b22bdd4de0efa58707c1bbd34a67a1a5cceb794e91c3c2c7be4f904c79f9f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ts-jest@npm:^29.1.1":
|
||||
version: 29.1.1
|
||||
resolution: "ts-jest@npm:29.1.1"
|
||||
|
@ -18544,13 +18457,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsafe@npm:^1.6.4":
|
||||
version: 1.6.4
|
||||
resolution: "tsafe@npm:1.6.4"
|
||||
checksum: 6827845fc5c442c07cb92eb0dc998ec3c4f264590465e9f0bba5e7faace1726adf79264c6dca91940104e095a88aa3f9c6b0aaa7fa26ed7d32f4442e5541e7f5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tsconfig-paths@npm:^3.14.1":
|
||||
version: 3.14.2
|
||||
resolution: "tsconfig-paths@npm:3.14.2"
|
||||
|
@ -18972,6 +18878,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"undici-types@npm:~5.26.4":
|
||||
version: 5.26.5
|
||||
resolution: "undici-types@npm:5.26.5"
|
||||
checksum: bb673d7876c2d411b6eb6c560e0c571eef4a01c1c19925175d16e3a30c4c428181fb8d7ae802a261f283e4166a0ac435e2f505743aa9e45d893f9a3df017b501
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"undici@npm:5.20.0":
|
||||
version: 5.20.0
|
||||
resolution: "undici@npm:5.20.0"
|
||||
|
@ -19125,13 +19038,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"universal-user-agent@npm:^6.0.0":
|
||||
version: 6.0.0
|
||||
resolution: "universal-user-agent@npm:6.0.0"
|
||||
checksum: ebeb0206963666c13bcf9ebc86d0577c7daed5870c05cd34d4972ee7a43b9ef20679baf2a8c83bf1b71d899bae67243ac4982d84ddaf9ba0355ff76595819961
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"universalify@npm:^0.1.0":
|
||||
version: 0.1.2
|
||||
resolution: "universalify@npm:0.1.2"
|
||||
|
@ -19236,13 +19142,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"url-join@npm:^4.0.1":
|
||||
version: 4.0.1
|
||||
resolution: "url-join@npm:4.0.1"
|
||||
checksum: ac65e2c7c562d7b49b68edddcf55385d3e922bc1dd5d90419ea40b53b6de1607d1e45ceb71efb9d60da02c681d13c6cb3a1aa8b13fc0c989dfc219df97ee992d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"url-parse-lax@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "url-parse-lax@npm:3.0.0"
|
||||
|
@ -19611,7 +19510,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vitest@npm:^0.34.2, vitest@npm:^0.34.5, vitest@npm:^0.34.6":
|
||||
"vitest@npm:^0.34.5, vitest@npm:^0.34.6":
|
||||
version: 0.34.6
|
||||
resolution: "vitest@npm:0.34.6"
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in New Issue