fix: update dependencies to latest
This commit is contained in:
		@@ -2,7 +2,7 @@ import querystring from 'node:querystring'
 | 
			
		||||
 | 
			
		||||
import axios from 'axios'
 | 
			
		||||
 | 
			
		||||
import { OAuthStrategy } from '../../../../../tools/utils/OAuthStrategy.js'
 | 
			
		||||
import { OAuthStrategy } from '#src/tools/utils/OAuthStrategy.js'
 | 
			
		||||
 | 
			
		||||
export const GITHUB_PROVIDER = 'GitHub'
 | 
			
		||||
export const GITHUB_BASE_URL = 'https://github.com'
 | 
			
		||||
 
 | 
			
		||||
@@ -2,10 +2,10 @@ import type { Static } from '@sinclair/typebox'
 | 
			
		||||
import { Type } from '@sinclair/typebox'
 | 
			
		||||
import type { FastifyPluginAsync, FastifySchema } from 'fastify'
 | 
			
		||||
 | 
			
		||||
import { API_URL } from '../../../../../tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '../../../../../models/utils.js'
 | 
			
		||||
import { API_URL } from '#src/tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '#src/models/utils.js'
 | 
			
		||||
import { GITHUB_BASE_URL, GITHUB_CLIENT_ID } from '../__utils__/utils.js'
 | 
			
		||||
import authenticateUser from '../../../../../tools/plugins/authenticateUser.js'
 | 
			
		||||
import authenticateUser from '#src/tools/plugins/authenticateUser.js'
 | 
			
		||||
 | 
			
		||||
const querySchema = Type.Object({
 | 
			
		||||
  redirectURI: Type.String({ format: 'uri-reference' })
 | 
			
		||||
 
 | 
			
		||||
@@ -2,11 +2,11 @@ import type { Static } from '@sinclair/typebox'
 | 
			
		||||
import { Type } from '@sinclair/typebox'
 | 
			
		||||
import type { FastifyPluginAsync, FastifySchema } from 'fastify'
 | 
			
		||||
 | 
			
		||||
import { API_URL } from '../../../../../tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '../../../../../models/utils.js'
 | 
			
		||||
import { API_URL } from '#src/tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '#src/models/utils.js'
 | 
			
		||||
import { githubStrategy, getGitHubUserData } from '../__utils__/utils.js'
 | 
			
		||||
import { buildQueryURL } from '../../../../../tools/utils/buildQueryURL.js'
 | 
			
		||||
import { getUserWithBearerToken } from '../../../../../tools/plugins/authenticateUser.js'
 | 
			
		||||
import { buildQueryURL } from '#src/tools/utils/buildQueryURL.js'
 | 
			
		||||
import { getUserWithBearerToken } from '#src/tools/plugins/authenticateUser.js'
 | 
			
		||||
 | 
			
		||||
const querySchema = Type.Object({
 | 
			
		||||
  code: Type.String(),
 | 
			
		||||
 
 | 
			
		||||
@@ -2,10 +2,10 @@ import type { Static } from '@sinclair/typebox'
 | 
			
		||||
import { Type } from '@sinclair/typebox'
 | 
			
		||||
import type { FastifyPluginAsync, FastifySchema } from 'fastify'
 | 
			
		||||
 | 
			
		||||
import { API_URL } from '../../../../../tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '../../../../../models/utils.js'
 | 
			
		||||
import { API_URL } from '#src/tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '#src/models/utils.js'
 | 
			
		||||
import { githubStrategy, getGitHubUserData } from '../__utils__/utils.js'
 | 
			
		||||
import { buildQueryURL } from '../../../../../tools/utils/buildQueryURL.js'
 | 
			
		||||
import { buildQueryURL } from '#src/tools/utils/buildQueryURL.js'
 | 
			
		||||
 | 
			
		||||
const querySchema = Type.Object({
 | 
			
		||||
  code: Type.String(),
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,8 @@ import type { Static } from '@sinclair/typebox'
 | 
			
		||||
import { Type } from '@sinclair/typebox'
 | 
			
		||||
import type { FastifyPluginAsync, FastifySchema } from 'fastify'
 | 
			
		||||
 | 
			
		||||
import { API_URL } from '../../../../../tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '../../../../../models/utils.js'
 | 
			
		||||
import { API_URL } from '#src/tools/configurations.js'
 | 
			
		||||
import { fastifyErrors } from '#src/models/utils.js'
 | 
			
		||||
import { GITHUB_BASE_URL, GITHUB_CLIENT_ID } from '../__utils__/utils.js'
 | 
			
		||||
 | 
			
		||||
const querySchema = Type.Object({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user