Compare commits

...

5 commits

Author SHA1 Message Date
RahulGautamSingh
2b2571b6a2
Merge 8a69aacc85 into 79b65486a1 2025-01-03 19:05:32 +00:00
Rahul Gautam Singh
8a69aacc85 also privateKeyOld 2025-01-04 00:31:20 +05:30
renovate[bot]
79b65486a1
chore(deps): update dependency @swc/core to v1.10.3 (#33385)
Some checks are pending
Build / setup (push) Waiting to run
Build / setup-build (push) Waiting to run
Build / prefetch (push) Blocked by required conditions
Build / lint-eslint (push) Blocked by required conditions
Build / lint-prettier (push) Blocked by required conditions
Build / lint-docs (push) Blocked by required conditions
Build / lint-other (push) Blocked by required conditions
Build / (push) Blocked by required conditions
Build / codecov (push) Blocked by required conditions
Build / coverage-threshold (push) Blocked by required conditions
Build / test-success (push) Blocked by required conditions
Build / build (push) Blocked by required conditions
Build / build-docs (push) Blocked by required conditions
Build / test-e2e (push) Blocked by required conditions
Build / release (push) Blocked by required conditions
Code scanning / CodeQL-Build (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
whitesource-scan / WS_SCAN (push) Waiting to run
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 18:55:54 +00:00
Rahul Gautam Singh
b56422ccbd fix failing test 2025-01-03 22:30:40 +05:30
Rahul Gautam Singh
95171f86f0 validate encrypted field 2025-01-03 22:15:36 +05:30
5 changed files with 162 additions and 75 deletions

View file

@ -1,5 +1,6 @@
import { resolveConfigPresets } from '../';
import { CONFIG_VALIDATION } from '../../../constants/error-messages';
import { GlobalConfig } from '../../global';
import { massageConfig } from '../../massage';
import { validateConfig } from '../../validation';
import * as npm from '../npm';
@ -27,6 +28,11 @@ describe('config/presets/internal/index', () => {
if (presetName !== 'description' && !ignoredPresets.includes(preset)) {
it(`${preset} validates`, async () => {
try {
if (preset === 'default:githubComToken') {
GlobalConfig.set({
privateKey: 'some-private-key',
});
}
const config = await resolveConfigPresets(
massageConfig(presetConfig),
);

View file

@ -943,6 +943,47 @@ describe('config/validation', () => {
expect(errors).toHaveLength(0);
});
it('errors if encrypted object found without privateKey', async () => {
const config = {
encrypted: {
npmToken:
'xxT19RIdhAh09lkhdrK39HzKNBn3etoLZAwHdeJ25cX+5y52a9kAC7flXmdw5JrkciN08aQuRNqDaKxp53IVptB5AYOnQPrt8MCT+x0zHgp4A1zv1QOV84I6uugdWpFSjPUkmLGMgULudEZJMlY/dAn/IVwf/IImqwazY8eHyJAA4vyUqKkL9SXzHjvS+OBonQ/9/AHYYKmDJwT8vLSRCKrXxJCdUfH7ZnikZbFqjnURJ9nGUHP44rlYJ7PFl05RZ+X5WuZG/A27S5LuBvguyQGcw8A2AZilHSDta9S/4eG6kb22jX87jXTrT6orUkxh2WHI/xvNUEout0gxwWMDkA==',
},
};
const { warnings, errors } = await configValidation.validateConfig(
'repo',
config,
);
expect(warnings).toHaveLength(0);
expect(errors).toMatchObject([
{
topic: 'Configuration Error',
message: `No privateKey found in hosted config. \`encrypted\` object cannot be used without a privateKey.`,
},
]);
});
it('errors if invalid encrypted object', async () => {
GlobalConfig.set({ privateKey: 'some-private-key' });
const config = {
encrypted: {
npmToken: 1,
},
};
const { warnings, errors } = await configValidation.validateConfig(
'repo',
config,
);
expect(warnings).toHaveLength(0);
expect(errors).toMatchObject([
{
topic: 'Configuration Error',
message:
'Invalid `encrypted.encrypted.npmToken` configuration: value is not a string',
},
]);
});
it('errors if registryAliases depth is more than 1', async () => {
const config = {
registryAliases: {
@ -1426,6 +1467,26 @@ describe('config/validation', () => {
]);
});
it('errors if encrypted object found without privateKey', async () => {
const config = {
encrypted: {
npmToken:
'xxT19RIdhAh09lkhdrK39HzKNBn3etoLZAwHdeJ25cX+5y52a9kAC7flXmdw5JrkciN08aQuRNqDaKxp53IVptB5AYOnQPrt8MCT+x0zHgp4A1zv1QOV84I6uugdWpFSjPUkmLGMgULudEZJMlY/dAn/IVwf/IImqwazY8eHyJAA4vyUqKkL9SXzHjvS+OBonQ/9/AHYYKmDJwT8vLSRCKrXxJCdUfH7ZnikZbFqjnURJ9nGUHP44rlYJ7PFl05RZ+X5WuZG/A27S5LuBvguyQGcw8A2AZilHSDta9S/4eG6kb22jX87jXTrT6orUkxh2WHI/xvNUEout0gxwWMDkA==',
},
};
const { warnings, errors } = await configValidation.validateConfig(
'global',
config,
);
expect(warnings).toHaveLength(0);
expect(errors).toMatchObject([
{
topic: 'Configuration Error',
message: `No privateKey found in hosted config. \`encrypted\` object cannot be used without a privateKey.`,
},
]);
});
it('validates hostRules.headers', async () => {
const config = {
hostRules: [

View file

@ -634,6 +634,26 @@ export async function validateConfig(
message: `Invalid \`${currentPath}.${key}.${res}\` configuration: value is not a string`,
});
}
} else if (key === 'encrypted') {
const res = validatePlainObject(val);
if (res !== true) {
errors.push({
topic: 'Configuration Error',
message: `Invalid \`${currentPath}.${key}.${res}\` configuration: value is not a string`,
});
}
const privateKey =
configType === 'global'
? (config.privateKey ?? config.privateKeyOld)
: (GlobalConfig.get('privateKey') ??
GlobalConfig.get('privateKeyOld'));
if (!is.nonEmptyString(privateKey)) {
errors.push({
topic: 'Configuration Error',
message: `No privateKey found in hosted config. \`encrypted\` object cannot be used without a privateKey.`,
});
}
} else if (key === 'env') {
const allowedEnvVars =
configType === 'global'

View file

@ -269,7 +269,7 @@
"@openpgp/web-stream-tools": "0.1.3",
"@renovate/eslint-plugin": "file:tools/eslint",
"@semantic-release/exec": "6.0.3",
"@swc/core": "1.10.2",
"@swc/core": "1.10.3",
"@types/auth-header": "1.0.6",
"@types/aws4": "1.11.6",
"@types/better-sqlite3": "7.6.12",

View file

@ -380,8 +380,8 @@ importers:
specifier: 6.0.3
version: 6.0.3(semantic-release@24.2.0(typescript@5.7.2))
'@swc/core':
specifier: 1.10.2
version: 1.10.2
specifier: 1.10.3
version: 1.10.3
'@types/auth-header':
specifier: 1.0.6
version: 1.0.6
@ -540,7 +540,7 @@ importers:
version: 2.31.0(@typescript-eslint/parser@8.18.2(eslint@8.57.1)(typescript@5.7.2))(eslint-import-resolver-typescript@3.7.0)(eslint@8.57.1)
eslint-plugin-jest:
specifier: 28.10.0
version: 28.10.0(@typescript-eslint/eslint-plugin@8.18.2(@typescript-eslint/parser@8.18.2(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2)
version: 28.10.0(@typescript-eslint/eslint-plugin@8.18.2(@typescript-eslint/parser@8.18.2(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2)
eslint-plugin-jest-formatting:
specifier: 3.1.0
version: 3.1.0(eslint@8.57.1)
@ -564,16 +564,16 @@ importers:
version: 9.1.7
jest:
specifier: 29.7.0
version: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
version: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
jest-extended:
specifier: 4.0.2
version: 4.0.2(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))
version: 4.0.2(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))
jest-mock:
specifier: 29.7.0
version: 29.7.0
jest-mock-extended:
specifier: 3.0.7
version: 3.0.7(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2)
version: 3.0.7(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2)
jest-snapshot:
specifier: 29.7.0
version: 29.7.0
@ -609,10 +609,10 @@ importers:
version: 3.0.3
ts-jest:
specifier: 29.2.5
version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2)
version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2)
ts-node:
specifier: 10.9.2
version: 10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)
version: 10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)
type-fest:
specifier: 4.31.0
version: 4.31.0
@ -1847,68 +1847,68 @@ packages:
resolution: {integrity: sha512-PpjSboaDUE6yl+1qlg3Si57++e84oXdWGbuFUSAciXsVfEZJJJupR2Nb0QuXHiunt2vGR+1PTizOMvnUPaG2Qg==}
engines: {node: '>=16.0.0'}
'@swc/core-darwin-arm64@1.10.2':
resolution: {integrity: sha512-xPDbCUfGdVjA/0yhRFVSyog73wO3/W3JNgx1PkOcCc+0OgZtgAnt4YD8QbSsUE+euc5bQJs/7HfJQ3305+HWVA==}
'@swc/core-darwin-arm64@1.10.3':
resolution: {integrity: sha512-LFFCxAUKBy69AUE+01rgazQcafIXrYs6tBa9SyKPR51ft6Tp66dAVrWg9MTykaWskuXEe80LPUvUw1ga3bOH3A==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
'@swc/core-darwin-x64@1.10.2':
resolution: {integrity: sha512-Dm4R9ffQw4yrGjvdYxxuO5RViwkRkSsn64WF7YGYZIlhkyFoseibPnQlOsx5qnjquc8f3h1C8/806XG+y3rMaQ==}
'@swc/core-darwin-x64@1.10.3':
resolution: {integrity: sha512-yZNv1+yPg0GvYdThsMI8WpaPRAPuw2gQDMdgijLFfRcRlr2l1sTWsDHqGd7QMTx+acYM3uB537gyd31WjUAwlQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
'@swc/core-linux-arm-gnueabihf@1.10.2':
resolution: {integrity: sha512-aXTqgel7AueM7CcCOFFUq6+gJyD/A3rFBWxPT6wA34IC7oQ0IIFpJjBLl8zN6/0aZ4OQ1ExlQ7zoKaTlk5tBug==}
'@swc/core-linux-arm-gnueabihf@1.10.3':
resolution: {integrity: sha512-Qa6hu5ASoKV4rcYUBGG3y3z+9UT042KAG4A7ivqqYQFcMfkB4NbZb5So2YWOpUc0/5YlSVkgL22h3Mbj5EXy7A==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
'@swc/core-linux-arm64-gnu@1.10.2':
resolution: {integrity: sha512-HYFag6ULpnVMnHuKKAFuZH3kco/2eKKZ24I+gI2M4JlIW4soDmP8Oc2eAADIloln4SfQXzADX34m6merCWp65g==}
'@swc/core-linux-arm64-gnu@1.10.3':
resolution: {integrity: sha512-BGnoZrmo0nlkXrOxVHk5U3j9u4BuquFviC+LvMe+HrDc5YLVe1gSXMUSBKhIz9MY9uFgxXW977TnB1XjLSKe5Q==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
'@swc/core-linux-arm64-musl@1.10.2':
resolution: {integrity: sha512-N8es+V+M9GijYsxfiIG3NJ+lHgoZosX+yjblc5eOx0xrBDeqH3kNLhJpctOczrJk0rUjN+zX5x+8H8qurcEAaw==}
'@swc/core-linux-arm64-musl@1.10.3':
resolution: {integrity: sha512-L07/4zKnIY2S/00bE+Yn3oEHkyGjWmGGE8Ta4luVCL+00s04EIwMoE1Hc8E8xFB5zLew5ViKFc5kNb5YZ/tRFQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
'@swc/core-linux-x64-gnu@1.10.2':
resolution: {integrity: sha512-fI4rxJkWQaNeG4UcuqKJrc1JM+nAwIzzFba9+A4Aohc6z0EgPokrA1v7WmPUObO+cdZjVXdMpDGkhGQhbok1aQ==}
'@swc/core-linux-x64-gnu@1.10.3':
resolution: {integrity: sha512-cvTCekY4u0fBIDNfhv/2UxcOXqH4XJE2iNxKuQejS5KIapFJwrZ+fRQ2lha3+yopI/d2p96BlBEWTAcBzeTntw==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
'@swc/core-linux-x64-musl@1.10.2':
resolution: {integrity: sha512-ycDOxBgII/2xkusMgq2S9n81IQ8SeWk1FU0zuUsZrUkaXEq/78+nHFo/0IStPLrtRxzG2gJ0JZvfaa6jMxr79Q==}
'@swc/core-linux-x64-musl@1.10.3':
resolution: {integrity: sha512-h9kUOTrSSpY9JNc41a+NMAwK62USk/pvNE9Fi/Pfoklmlf9j9j8gRCitqvHpmZcEF4PPIsoMdiGetDipTwvWlw==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
'@swc/core-win32-arm64-msvc@1.10.2':
resolution: {integrity: sha512-s7/UrbdfYGdUar+Nj8jxNeXaFdryWnKuJU5udDONgk9gb1xp7K5TPxBL9j7EtCrAenM2sR9Bd84ZemwzyZ/VLw==}
'@swc/core-win32-arm64-msvc@1.10.3':
resolution: {integrity: sha512-iHOmLYkZYn3r1Ff4rfyczdrYGt/wVIWyY0t8swsO9o1TE+zmucGFZuYZzgj3ng8Kp4sojJrydAGz8TINQZDBzQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
'@swc/core-win32-ia32-msvc@1.10.2':
resolution: {integrity: sha512-sz8f+dmrzb816Ji25G+vs8HMq6zHq1IMKF4hVUnSJKdNr2k789+qRjF1fnv3YDcz5kkeYSvolXqVS1mCezDebg==}
'@swc/core-win32-ia32-msvc@1.10.3':
resolution: {integrity: sha512-4SqLSE4Ozh8SxuVuHIZhkSyJQru5+WbQMRs5ggLRqeUy3vkUPHOAFAY3oMwDJUN6BwbAr8+664TmdrMwaWh8Ng==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
'@swc/core-win32-x64-msvc@1.10.2':
resolution: {integrity: sha512-XXYHuc5KdhuLx1nP8cEKW+5Kakxy+iq/jcuJ52+27E2uB+xxzLeXvbPvz645je3Cti5nQ4la2HIn6tpST5ufSw==}
'@swc/core-win32-x64-msvc@1.10.3':
resolution: {integrity: sha512-jTyf/IbNq7NVyqqDIEDzgjALjWu1IMfXKLXXAJArreklIMzkfHU1sV32ZJLOBmRKPyslCoalxIAU+hTx4reUTQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
'@swc/core@1.10.2':
resolution: {integrity: sha512-d3reIYowBL6gbp4jC6FRZ3hE0eWcWwqh0XcHd6k5rKF/oZA6jLb7gxIRduJhrn+jyLz/HCC8WyfomUkEcs7iZQ==}
'@swc/core@1.10.3':
resolution: {integrity: sha512-2yjqCcsBx6SNBQZIYNlwxED9aYXW/7QBZyr8LYAxTx5bzmoNhKiClYbsNLe1NJ6ccf5uSbcInw12PjXLduNEdQ==}
engines: {node: '>=10'}
peerDependencies:
'@swc/helpers': '*'
@ -7490,7 +7490,7 @@ snapshots:
jest-util: 29.7.0
slash: 3.0.0
'@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))':
'@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))':
dependencies:
'@jest/console': 29.7.0
'@jest/reporters': 29.7.0
@ -7504,7 +7504,7 @@ snapshots:
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 29.7.0
jest-config: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest-config: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
jest-haste-map: 29.7.0
jest-message-util: 29.7.0
jest-regex-util: 29.6.3
@ -8586,51 +8586,51 @@ snapshots:
'@smithy/types': 3.7.2
tslib: 2.8.1
'@swc/core-darwin-arm64@1.10.2':
'@swc/core-darwin-arm64@1.10.3':
optional: true
'@swc/core-darwin-x64@1.10.2':
'@swc/core-darwin-x64@1.10.3':
optional: true
'@swc/core-linux-arm-gnueabihf@1.10.2':
'@swc/core-linux-arm-gnueabihf@1.10.3':
optional: true
'@swc/core-linux-arm64-gnu@1.10.2':
'@swc/core-linux-arm64-gnu@1.10.3':
optional: true
'@swc/core-linux-arm64-musl@1.10.2':
'@swc/core-linux-arm64-musl@1.10.3':
optional: true
'@swc/core-linux-x64-gnu@1.10.2':
'@swc/core-linux-x64-gnu@1.10.3':
optional: true
'@swc/core-linux-x64-musl@1.10.2':
'@swc/core-linux-x64-musl@1.10.3':
optional: true
'@swc/core-win32-arm64-msvc@1.10.2':
'@swc/core-win32-arm64-msvc@1.10.3':
optional: true
'@swc/core-win32-ia32-msvc@1.10.2':
'@swc/core-win32-ia32-msvc@1.10.3':
optional: true
'@swc/core-win32-x64-msvc@1.10.2':
'@swc/core-win32-x64-msvc@1.10.3':
optional: true
'@swc/core@1.10.2':
'@swc/core@1.10.3':
dependencies:
'@swc/counter': 0.1.3
'@swc/types': 0.1.17
optionalDependencies:
'@swc/core-darwin-arm64': 1.10.2
'@swc/core-darwin-x64': 1.10.2
'@swc/core-linux-arm-gnueabihf': 1.10.2
'@swc/core-linux-arm64-gnu': 1.10.2
'@swc/core-linux-arm64-musl': 1.10.2
'@swc/core-linux-x64-gnu': 1.10.2
'@swc/core-linux-x64-musl': 1.10.2
'@swc/core-win32-arm64-msvc': 1.10.2
'@swc/core-win32-ia32-msvc': 1.10.2
'@swc/core-win32-x64-msvc': 1.10.2
'@swc/core-darwin-arm64': 1.10.3
'@swc/core-darwin-x64': 1.10.3
'@swc/core-linux-arm-gnueabihf': 1.10.3
'@swc/core-linux-arm64-gnu': 1.10.3
'@swc/core-linux-arm64-musl': 1.10.3
'@swc/core-linux-x64-gnu': 1.10.3
'@swc/core-linux-x64-musl': 1.10.3
'@swc/core-win32-arm64-msvc': 1.10.3
'@swc/core-win32-ia32-msvc': 1.10.3
'@swc/core-win32-x64-msvc': 1.10.3
'@swc/counter@0.1.3': {}
@ -9668,13 +9668,13 @@ snapshots:
optionalDependencies:
typescript: 5.7.2
create-jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)):
create-jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)):
dependencies:
'@jest/types': 29.6.3
chalk: 4.1.2
exit: 0.1.2
graceful-fs: 4.2.11
jest-config: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest-config: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
jest-util: 29.7.0
prompts: 2.4.2
transitivePeerDependencies:
@ -10094,13 +10094,13 @@ snapshots:
dependencies:
eslint: 8.57.1
eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.18.2(@typescript-eslint/parser@8.18.2(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2):
eslint-plugin-jest@28.10.0(@typescript-eslint/eslint-plugin@8.18.2(@typescript-eslint/parser@8.18.2(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
'@typescript-eslint/utils': 8.18.2(eslint@8.57.1)(typescript@5.7.2)
eslint: 8.57.1
optionalDependencies:
'@typescript-eslint/eslint-plugin': 8.18.2(@typescript-eslint/parser@8.18.2(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
transitivePeerDependencies:
- supports-color
- typescript
@ -11133,16 +11133,16 @@ snapshots:
- babel-plugin-macros
- supports-color
jest-cli@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)):
jest-cli@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)):
dependencies:
'@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
'@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
'@jest/test-result': 29.7.0
'@jest/types': 29.6.3
chalk: 4.1.2
create-jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
create-jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
exit: 0.1.2
import-local: 3.2.0
jest-config: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest-config: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
jest-util: 29.7.0
jest-validate: 29.7.0
yargs: 17.7.2
@ -11152,7 +11152,7 @@ snapshots:
- supports-color
- ts-node
jest-config@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)):
jest-config@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)):
dependencies:
'@babel/core': 7.26.0
'@jest/test-sequencer': 29.7.0
@ -11178,7 +11178,7 @@ snapshots:
strip-json-comments: 3.1.1
optionalDependencies:
'@types/node': 20.17.10
ts-node: 10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)
ts-node: 10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)
transitivePeerDependencies:
- babel-plugin-macros
- supports-color
@ -11211,12 +11211,12 @@ snapshots:
jest-mock: 29.7.0
jest-util: 29.7.0
jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))):
jest-extended@4.0.2(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))):
dependencies:
jest-diff: 29.7.0
jest-get-type: 29.6.3
optionalDependencies:
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
jest-get-type@29.6.3: {}
@ -11267,9 +11267,9 @@ snapshots:
slash: 3.0.0
stack-utils: 2.0.6
jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2):
jest-mock-extended@3.0.7(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
ts-essentials: 10.0.4(typescript@5.7.2)
typescript: 5.7.2
@ -11418,12 +11418,12 @@ snapshots:
merge-stream: 2.0.0
supports-color: 8.1.1
jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)):
jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)):
dependencies:
'@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
'@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
'@jest/types': 29.6.3
import-local: 3.2.0
jest-cli: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest-cli: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
transitivePeerDependencies:
- '@types/node'
- babel-plugin-macros
@ -13340,12 +13340,12 @@ snapshots:
optionalDependencies:
typescript: 5.7.2
ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2):
ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(jest@29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2)))(typescript@5.7.2):
dependencies:
bs-logger: 0.2.6
ejs: 3.1.10
fast-json-stable-stringify: 2.1.0
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2))
jest: 29.7.0(@types/node@20.17.10)(ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2))
jest-util: 29.7.0
json5: 2.2.3
lodash.memoize: 4.1.2
@ -13359,7 +13359,7 @@ snapshots:
'@jest/types': 29.6.3
babel-jest: 29.7.0(@babel/core@7.26.0)
ts-node@10.9.2(@swc/core@1.10.2)(@types/node@20.17.10)(typescript@5.7.2):
ts-node@10.9.2(@swc/core@1.10.3)(@types/node@20.17.10)(typescript@5.7.2):
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.11
@ -13377,7 +13377,7 @@ snapshots:
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
optionalDependencies:
'@swc/core': 1.10.2
'@swc/core': 1.10.3
tsconfig-paths@3.15.0:
dependencies: