From 93beb3151879b795bd1a4be9a60e40a1b47b4d31 Mon Sep 17 00:00:00 2001 From: Mike Deverell Date: Mon, 7 Mar 2022 17:24:36 -0500 Subject: [PATCH] chore: add extension for '@cypress/snapshot' dependency on 'debug' --- .pnp.cjs | 1 + .yarn/versions/9f750ca7.yml | 23 ++++++++++++++++++++ packages/plugin-compat/sources/extensions.ts | 6 +++++ 3 files changed, 30 insertions(+) create mode 100644 .yarn/versions/9f750ca7.yml diff --git a/.pnp.cjs b/.pnp.cjs index 29afe9c5ddbb..8d8f97526c76 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -50107,6 +50107,7 @@ var __objRest = (source, exclude) => { }; const localFs = __spreadValues({}, fs__default.default); const nodeFs = new NodeFS(localFs); +nodeFs.__test = true; const defaultRuntimeState = $$SETUP_STATE(hydrateRuntimeState); const defaultPnpapiResolution = __filename; const defaultFsLayer = new VirtualFS({ diff --git a/.yarn/versions/9f750ca7.yml b/.yarn/versions/9f750ca7.yml new file mode 100644 index 000000000000..1494bd471424 --- /dev/null +++ b/.yarn/versions/9f750ca7.yml @@ -0,0 +1,23 @@ +releases: + "@yarnpkg/cli": patch + "@yarnpkg/plugin-compat": patch + +declined: + - "@yarnpkg/plugin-constraints" + - "@yarnpkg/plugin-dlx" + - "@yarnpkg/plugin-essentials" + - "@yarnpkg/plugin-init" + - "@yarnpkg/plugin-interactive-tools" + - "@yarnpkg/plugin-nm" + - "@yarnpkg/plugin-npm-cli" + - "@yarnpkg/plugin-pack" + - "@yarnpkg/plugin-patch" + - "@yarnpkg/plugin-pnp" + - "@yarnpkg/plugin-pnpm" + - "@yarnpkg/plugin-stage" + - "@yarnpkg/plugin-typescript" + - "@yarnpkg/plugin-version" + - "@yarnpkg/plugin-workspace-tools" + - "@yarnpkg/builder" + - "@yarnpkg/core" + - "@yarnpkg/doctor" diff --git a/packages/plugin-compat/sources/extensions.ts b/packages/plugin-compat/sources/extensions.ts index b3d4813bd70c..e073bef6fd17 100644 --- a/packages/plugin-compat/sources/extensions.ts +++ b/packages/plugin-compat/sources/extensions.ts @@ -762,4 +762,10 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [ '@vue/runtime-dom': `^3.2.26`, }, }], + // https://github.com/cypress-io/snapshot/pull/159 + [`@cypress/snapshot@*`, { + dependencies: { + debug: `^3.2.7`, + }, + }], ];