Skip to content

Commit

Permalink
chore: update dependencies and export cookie client
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 30, 2023
1 parent 756fab4 commit f1a4c7d
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
7 changes: 4 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ export { Redirect } from './src/redirect.js'
export { Server } from './src/server/main.js'
export { Router } from './src/router/main.js'
export { Route } from './src/router/route.js'
export * as errors from './src/exceptions.js'
export { BriskRoute } from './src/router/brisk.js'
export { RouteGroup } from './src/router/group.js'
export { defineConfig } from './src/define_config.js'
export { RouteResource } from './src/router/resource.js'
export { BriskRoute } from './src/router/brisk.js'
export { CookieClient } from './src/cookies/client.js'
export { HttpContext } from './src/http_context/main.js'
export * as errors from './src/exceptions.js'
export { RouteResource } from './src/router/resource.js'
export { HttpExceptionHandler } from './src/exception_handler.js'
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@japa/run-failed-tests": "^1.1.0",
"@japa/runner": "^2.2.2",
"@japa/spec-reporter": "^1.3.2",
"@swc/core": "^1.3.29",
"@swc/core": "^1.3.30",
"@types/accepts": "^1.3.5",
"@types/content-disposition": "^0.5.5",
"@types/cookie": "^0.5.1",
Expand All @@ -76,7 +76,7 @@
"c8": "^7.12.0",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"eslint": "^8.32.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-adonis": "^3.0.3",
"eslint-plugin-prettier": "^4.2.1",
Expand All @@ -94,7 +94,7 @@
"typescript": "^4.9.4"
},
"dependencies": {
"@poppinss/macroable": "^1.0.0-0",
"@poppinss/macroable": "^1.0.0-2",
"@poppinss/matchit": "^3.1.2",
"@poppinss/middleware": "^3.1.0",
"@poppinss/utils": "^6.5.0-0",
Expand Down
2 changes: 1 addition & 1 deletion src/http_context/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
*/

import { inspect } from 'node:util'
import Macroable from '@poppinss/macroable'
import type { Logger } from '@adonisjs/logger'
import { Macroable } from '@poppinss/macroable'
import { RuntimeException } from '@poppinss/utils'
import { ContainerResolver } from '@adonisjs/fold'

Expand Down
4 changes: 2 additions & 2 deletions src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import accepts from 'accepts'
import { isIP } from 'node:net'
import is from '@sindresorhus/is'
import proxyaddr from 'proxy-addr'
import lodash from '@poppinss/utils/lodash'
import { safeEqual } from '@poppinss/utils'
import { Macroable } from '@poppinss/macroable'
import Macroable from '@poppinss/macroable'
import lodash from '@poppinss/utils/lodash'
import { parse, UrlWithStringQuery } from 'node:url'
import type { Encryption } from '@adonisjs/encryption'
import { ServerResponse, IncomingMessage, IncomingHttpHeaders } from 'node:http'
Expand Down
2 changes: 1 addition & 1 deletion src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { extname } from 'node:path'
import onFinished from 'on-finished'
import { promisify } from 'node:util'
import json from '@poppinss/utils/json'
import { Macroable } from '@poppinss/macroable'
import Macroable from '@poppinss/macroable'
import { createReadStream, stat } from 'node:fs'
import { RuntimeException } from '@poppinss/utils'
import contentDisposition from 'content-disposition'
Expand Down
2 changes: 1 addition & 1 deletion src/router/brisk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*/

import { Macroable } from '@poppinss/macroable'
import Macroable from '@poppinss/macroable'
import type { Application } from '@adonisjs/application'

import { Route } from './route.js'
Expand Down
2 changes: 1 addition & 1 deletion src/router/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*/

import { Macroable } from '@poppinss/macroable'
import Macroable from '@poppinss/macroable'
import type { RouteMatcher, StoreRouteMiddleware } from '../types/route.js'
import type { MiddlewareFn, ParsedNamedMiddleware } from '../types/middleware.js'

Expand Down
2 changes: 1 addition & 1 deletion src/router/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*/

import { Macroable } from '@poppinss/macroable'
import Macroable from '@poppinss/macroable'

/**
* Shortcut methods for commonly used route matchers
Expand Down
2 changes: 1 addition & 1 deletion src/router/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import string from '@poppinss/utils/string'
import { Macroable } from '@poppinss/macroable'
import Macroable from '@poppinss/macroable'
import { RuntimeException } from '@poppinss/utils'
import type { Application } from '@adonisjs/application'

Expand Down
2 changes: 1 addition & 1 deletion src/router/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
*/

import is from '@sindresorhus/is'
import Macroable from '@poppinss/macroable'
import Middleware from '@poppinss/middleware'
import { Macroable } from '@poppinss/macroable'
import { RuntimeException } from '@poppinss/utils'
import type { Application } from '@adonisjs/application'
import { moduleCaller, moduleExpression, moduleImporter } from '@adonisjs/fold'
Expand Down

0 comments on commit f1a4c7d

Please sign in to comment.