From bd0cec7a2163ab47301608c1712c55f1cf04327a Mon Sep 17 00:00:00 2001 From: Artem Zakharchenko Date: Wed, 8 Nov 2023 15:23:50 +0100 Subject: [PATCH] fix: safely access "request.credentials" in cloudflare (#1845) --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a4c99e180..5bbf7fc7e 100644 --- a/package.json +++ b/package.json @@ -112,7 +112,7 @@ "@bundled-es-modules/cookie": "^2.0.0", "@bundled-es-modules/js-levenshtein": "^2.0.1", "@bundled-es-modules/statuses": "^1.0.1", - "@mswjs/cookies": "^1.0.0", + "@mswjs/cookies": "^1.1.0", "@mswjs/interceptors": "^0.25.10", "@open-draft/until": "^2.1.0", "@types/cookie": "^0.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 085c62db6..3e9a1628e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,7 +11,7 @@ specifiers: '@bundled-es-modules/statuses': ^1.0.1 '@commitlint/cli': ^16.1.0 '@commitlint/config-conventional': ^16.0.0 - '@mswjs/cookies': ^1.0.0 + '@mswjs/cookies': ^1.1.0 '@mswjs/interceptors': ^0.25.10 '@open-draft/test-server': ^0.4.2 '@open-draft/until': ^2.1.0 @@ -81,7 +81,7 @@ dependencies: '@bundled-es-modules/cookie': 2.0.0 '@bundled-es-modules/js-levenshtein': 2.0.1 '@bundled-es-modules/statuses': 1.0.1 - '@mswjs/cookies': 1.0.0 + '@mswjs/cookies': 1.1.0 '@mswjs/interceptors': 0.25.10 '@open-draft/until': 2.1.0 '@types/cookie': 0.4.1 @@ -2256,9 +2256,9 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true - /@mswjs/cookies/1.0.0: - resolution: {integrity: sha512-TdXoBdI+h/EDTsVLCX/34s4+9U0sWi92qFnIGUEikpMCSKLhBeujovyYVSoORNbYgsBH5ga7/tfxyWcEZAxiYA==} - engines: {node: '>=14'} + /@mswjs/cookies/1.1.0: + resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==} + engines: {node: '>=18'} dev: false /@mswjs/interceptors/0.25.10: