diff --git a/package.json b/package.json index 1f15733f069..6223752afd3 100644 --- a/package.json +++ b/package.json @@ -168,7 +168,7 @@ "@babel/plugin-transform-react-inline-elements": "^7.2.0", "@instructure/browserslist-config-canvas-lms": ">=2", "@instructure/ui-babel-preset": "6", - "@prettier/plugin-ruby": "^0.15.0", + "@prettier/plugin-ruby": "^1.5.2", "@sentry/webpack-plugin": "^1.5.2", "@sheerun/mutationobserver-shim": "0.3.2", "@testing-library/dom": "^7", @@ -263,7 +263,7 @@ "moxios": "^0.4", "node-sass": "~4.14.1", "nyc": "^13", - "prettier": "^1", + "prettier": "^2.2.1", "qunitjs": "^1.14.0", "raven-js": "^3.26.2", "react-test-renderer": "^16", diff --git a/yarn.lock b/yarn.lock index bc8c08668e1..6deda71e8a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4701,12 +4701,12 @@ dependencies: mkdirp "^1.0.4" -"@prettier/plugin-ruby@^0.15.0": - version "0.15.1" - resolved "https://registry.yarnpkg.com/@prettier/plugin-ruby/-/plugin-ruby-0.15.1.tgz#5e747d56f6a50e3428088c57570079b3850093ed" - integrity sha512-MmWFEwV9IYbz+hgiOC9my0R2F4M1FZ0OgLY16uNwkATE5hjRUt7GhOetvZLYB7hfOrl33o9PMPDpLwFRGnFtxQ== +"@prettier/plugin-ruby@^1.5.2": + version "1.5.2" + resolved "https://registry.yarnpkg.com/@prettier/plugin-ruby/-/plugin-ruby-1.5.2.tgz#ca18cd7629ef0a3dec18b8dfbe7aba3d33a2e855" + integrity sha512-hHX9ooxGQ4PC4FHge6HmK8LLUhLCu3lk1fVt0TJXvV5AlnY47PaBpQgQ58BzyrU9/EfZj3rpcIKiQQdelkvWNA== dependencies: - prettier "^1.16.4" + prettier ">=1.10" "@reach/router@^1.3.3": version "1.3.4" @@ -20326,7 +20326,12 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^1, prettier@^1.12.1, prettier@^1.16.4: +prettier@>=1.10, prettier@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" + integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== + +prettier@^1, prettier@^1.12.1: version "1.19.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==