From 0f07baf6b2c07bccd6ec7356990023d89d7b57b8 Mon Sep 17 00:00:00 2001 From: Andrey Myssak Date: Thu, 13 Jul 2023 19:33:22 +0600 Subject: [PATCH] Adjust resolutions (#584) Co-authored-by: Sergey Myssak Signed-off-by: Andrey Myssak --- package.json | 18 ------------- .../src/views/combo_box/combo_box_example.js | 6 ++--- yarn.lock | 27 +++---------------- 3 files changed, 6 insertions(+), 45 deletions(-) diff --git a/package.json b/package.json index fb17451706..c2296054e1 100644 --- a/package.json +++ b/package.json @@ -45,29 +45,16 @@ }, "resolutions": { "**/semver": "^7.5.3", - "@babel/cli/**/ansi-regex": "^5.0.1", - "@babel/cli/**/minimist": "^1.2.6", - "@babel/cli/chokidar/glob-parent": "^6.0.1", "@elastic/charts/**/d3-color": "^3.1.0", "@types/jest/**/ansi-regex": "^5.0.1", - "babel-plugin-add-module-exports/chokidar/glob-parent": "^6.0.1", - "babel-plugin-inline-react-svg/**/ansi-regex": "^5.0.1", - "babel-plugin-inline-react-svg/svgo/js-yaml": "^3.13.1", - "babel-template/**/ansi-regex": "^5.0.1", "codesandbox/**/ansi-regex": "^5.0.1", "codesandbox/**/got": "^11.8.5", "codesandbox/axios": "^0.22.0", "codesandbox/pacote": "^12.0.0", - "cssnano/**/css-select/nth-check": "^2.0.1", - "cssnano/**/postcss": "^7.0.39", "enzyme/cheerio/cheerio-select-tmp/css-select/css-what": "^6.1.0", "enzyme/cheerio/cheerio-select-tmp/css-what": "^6.1.0", - "html-webpack-plugin/**/ansi-regex": "^5.0.1", "jest-cli/**/ansi-regex": "^5.0.1", "jest/**/node-notifier": "^10.0.1", - "node-sass/sass-graph/scss-tokenizer": "^0.4.3", - "postcss-cli/chokidar/glob-parent": "^6.0.1", - "postcss-inline-svg/css-select/nth-check": "^2.0.1", "react-view/**/ansi-regex": "^5.0.1", "react-view/**/minimist": "^1.2.6", "react-view/@miksu/prettier/minimatch": "^3.0.8", @@ -79,11 +66,6 @@ "sass-lint/front-matter": "^4.0.2", "sass-lint/merge": "^2.1.1", "start-server-and-test/**/minimist": "^1.2.6", - "webpack-dev-server/**/ansi-regex": "^5.0.1", - "webpack-dev-server/chokidar/glob-parent": "^6.0.1", - "webpack-dev-server/selfsigned": "^2.0.1", - "webpack/**/chokidar/glob-parent": "^6.0.1", - "webpack/terser-webpack-plugin/serialize-javascript": "^3.1.0", "yo/**/find-versions": "^4.0.0", "yo/**/got": "^11.8.5", "yo/meow": "^9.0.0" diff --git a/src-docs/src/views/combo_box/combo_box_example.js b/src-docs/src/views/combo_box/combo_box_example.js index bf4c6d4168..136b4b16da 100644 --- a/src-docs/src/views/combo_box/combo_box_example.js +++ b/src-docs/src/views/combo_box/combo_box_example.js @@ -183,7 +183,7 @@ const delimiterSnippet = ``; import WithIcon from './combo_box_icon'; -const withIconSource = require('!!raw-loader!./combo_box_icon'); +const withIconSource = require('./combo_box_icon?raw'); const withIconHtml = renderToHtml(WithIcon); const withIconSnippet = ``; import ComboBoxDefaultIcon from './combo_box_default_icon'; -const comboBoxDefaultIconSource = require('!!raw-loader!./combo_box_default_icon'); +const comboBoxDefaultIconSource = require('./combo_box_default_icon?raw'); const comboBoxDefaultIconSourceOptionsHtml = renderToHtml(ComboBoxDefaultIcon); const comboBoxDefaultIconSnippet = ``; import ComboBoxCustomIcon from './combo_box_custom_icon'; -const comboBoxCustomIconSource = require('!!raw-loader!./combo_box_custom_icon'); +const comboBoxCustomIconSource = require('./combo_box_custom_icon?raw'); const comboBoxCustomIconSourceOptionsHtml = renderToHtml(ComboBoxCustomIcon); const comboBoxCustomIconSnippet = `