diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-01-05 02:08:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 02:08:59 +0900 |
commit | 40dd048ace6c8a94016a46df79862ef7e2ea6ddf (patch) | |
tree | c8e255a0f8bde9f916dda8ae47cc7ba05b70a310 /config/webpack | |
parent | fcf57c24403f81c86ca02e7cd07d595787916c39 (diff) |
Bump js-yaml from 3.14.1 to 4.0.0 (#15484)
* Bump js-yaml from 3.14.1 to 4.0.0 Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 4.0.0. - [Release notes](https://github.com/nodeca/js-yaml/releases) - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...4.0.0) Signed-off-by: dependabot[bot] <support@github.com> * Replace deprecated method Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Diffstat (limited to 'config/webpack')
-rw-r--r-- | config/webpack/configuration.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/webpack/configuration.js b/config/webpack/configuration.js index e4f88a9c4..25b6b7abd 100644 --- a/config/webpack/configuration.js +++ b/config/webpack/configuration.js @@ -2,14 +2,14 @@ const { resolve } = require('path'); const { env } = require('process'); -const { safeLoad } = require('js-yaml'); +const { load } = require('js-yaml'); const { readFileSync } = require('fs'); const configPath = resolve('config', 'webpacker.yml'); -const settings = safeLoad(readFileSync(configPath), 'utf8')[env.RAILS_ENV || env.NODE_ENV]; +const settings = load(readFileSync(configPath), 'utf8')[env.RAILS_ENV || env.NODE_ENV]; const themePath = resolve('config', 'themes.yml'); -const themes = safeLoad(readFileSync(themePath), 'utf8'); +const themes = load(readFileSync(themePath), 'utf8'); const output = { path: resolve('public', settings.public_output_path), |