1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-22 14:49:41 +02:00

chore(hawk): fix hawk using the latest version (#255)

that supports ESM nodejs projects
This commit is contained in:
Peter Savchenko 2022-09-12 19:00:48 +03:00 committed by GitHub
parent 0aeab51286
commit ba40b4f3d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@
"dependencies": { "dependencies": {
"@codexteam/shortcuts": "^1.2.0", "@codexteam/shortcuts": "^1.2.0",
"@hawk.so/javascript": "^3.0.1", "@hawk.so/javascript": "^3.0.1",
"@hawk.so/nodejs": "^3.1.2", "@hawk.so/nodejs": "^3.1.4",
"config": "^3.3.6", "config": "^3.3.6",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.5",
"csurf": "^1.11.0", "csurf": "^1.11.0",

View file

@ -8,7 +8,7 @@ import routes from './routes/index.js';
import HttpException from './exceptions/httpException.js'; import HttpException from './exceptions/httpException.js';
import * as dotenv from 'dotenv'; import * as dotenv from 'dotenv';
import config from 'config'; import config from 'config';
import { default as HawkCatcher } from '@hawk.so/nodejs'; import HawkCatcher from '@hawk.so/nodejs';
import os from 'os'; import os from 'os';
import appConfig from 'config'; import appConfig from 'config';
import { downloadFavicon, FaviconData } from './utils/downloadFavicon.js'; import { downloadFavicon, FaviconData } from './utils/downloadFavicon.js';

View file

@ -922,9 +922,9 @@
"@hawk.so/types" "^0.1.13" "@hawk.so/types" "^0.1.13"
error-stack-parser "^2.0.6" error-stack-parser "^2.0.6"
"@hawk.so/nodejs@^3.1.2": "@hawk.so/nodejs@^3.1.4":
version "3.1.2" version "3.1.4"
resolved "https://registry.yarnpkg.com/@hawk.so/nodejs/-/nodejs-3.1.2.tgz#b06229f0c8a0d8676412329511f9f2b01e492211" resolved "https://registry.yarnpkg.com/@hawk.so/nodejs/-/nodejs-3.1.4.tgz#62eb4ff1272559f0841a53d7931f6939b4c056fe"
dependencies: dependencies:
"@hawk.so/types" "^0.1.15" "@hawk.so/types" "^0.1.15"
axios "^0.21.1" axios "^0.21.1"