diff --git a/jest.config.js b/jest.config.js index dead71a3..bcbb4caf 100644 --- a/jest.config.js +++ b/jest.config.js @@ -10,4 +10,5 @@ module.exports = { }, testURL: 'http://localhost:8080', snapshotSerializers: ['jest-emotion'], + transformIgnorePatterns: ['node_modules/(?!copy-text-to-clipboard)'], }; diff --git a/packages/netlify-cms-core/package.json b/packages/netlify-cms-core/package.json index a37e8738..6bd1b96d 100644 --- a/packages/netlify-cms-core/package.json +++ b/packages/netlify-cms-core/package.json @@ -30,7 +30,7 @@ "ajv-errors": "^2.0.0", "ajv-keywords": "^4.0.0", "connected-react-router": "^6.8.0", - "copy-text-to-clipboard": "^2.0.0", + "copy-text-to-clipboard": "^3.0.0", "deepmerge": "^4.2.2", "diacritics": "^1.3.0", "fuzzy": "^0.1.1", diff --git a/yarn.lock b/yarn.lock index 0b5e7bca..1473c00a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6362,10 +6362,10 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -copy-text-to-clipboard@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/copy-text-to-clipboard/-/copy-text-to-clipboard-2.2.0.tgz#329dd6daf8c42034c763ace567418401764579ae" - integrity sha512-WRvoIdnTs1rgPMkgA2pUOa/M4Enh2uzCwdKsOMYNAJiz/4ZvEJgmbF4OmninPmlFdAWisfeh0tH+Cpf7ni3RqQ== +copy-text-to-clipboard@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.0.tgz#ccf2456ac9f1b9692c5b2185c0af441deb2d372d" + integrity sha512-c3pWBUzRN/ek5By3pHFBnYNrlcczsCKee7jrBYLjkPpO2ps9ZjH5Huo4+NHrvsYf5uAmA35r+r+eVUKG6IVdGA== copy-to-clipboard@^3.0.8: version "3.3.1"