Skip to content

Commit

Permalink
fix(deps): upgrade node dependencies
Browse files Browse the repository at this point in the history
ADG-197
  • Loading branch information
lfantone committed Oct 11, 2023
1 parent 517b18e commit 73e74c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,35 +37,35 @@
"@remix-run/node": ">=1.19.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.10",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-syntax-import-assertions": "^7.22.5",
"@flysas-tech/adg-jest-config": "1.5.0",
"@flysas-tech/adg-lint-staged-config": "1.4.0",
"@flysas-tech/eslint-config-adg": "1.4.0",
"@remix-run/node": "^1.19.3",
"@tsconfig/node-lts": "^18.12.4",
"@tsconfig/node-lts": "^18.12.5",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsdoc": "^46.5.0",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-ramda": "^2.5.1",
"eslint-plugin-security-node": "^1.1.1",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-unicorn": "^48.0.1",
"jest": "^29.6.3",
"jest-extended": "^4.0.1",
"prettier": "^3.0.2",
"typescript": "^5.1.6"
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"engines": {
"node": ">= 16",
"node": ">= 18",
"yarn": ">= 3.2.0"
}
}
2 changes: 2 additions & 0 deletions src/create-remix-azure-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function createRemixRequest({ body, cookies, headers, isBase64Encoded, method })
const controller = new NodeAbortController();
return new NodeRequest(url.href, {
method,
// @ts-expect-error
headers: createRemixHeaders(headers, cookies),
// Cast until reason/throwIfAborted added
// https://github.com/mysticatea/abort-controller/issues/36
Expand Down Expand Up @@ -101,6 +102,7 @@ export function createRemixAzureAdapter({ build, getLoadContext, mode }) {
const loadContext = await getLoadContext?.(context);
// @ts-ignore
const request = createRemixRequest(context.req);
// @ts-expect-error
const response = await handler(request, loadContext);
return sendRemixResponse(response);
};
Expand Down

0 comments on commit 73e74c2

Please sign in to comment.