Skip to content

Commit

Permalink
Update yaml loader without breaking the build (mozilla-frontend-infra…
Browse files Browse the repository at this point in the history
  • Loading branch information
fiennyangeln authored and helfi92 committed Oct 6, 2018
1 parent 9a86bbd commit aed9482
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions .neutrinorc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = {
.rule('js-yaml')
.test(/\.(yaml|yml)$/)
.use('js-yaml-loader')
.options({ safe: true })
.loader('js-yaml-loader');
neutrino.config.module
.rule('graphql')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@neutrinojs/env": "^8.3.0",
"@neutrinojs/jest": "^8.3.0",
"fs-extra": "^7.0.0",
"js-yaml-loader": "^0.1.0",
"js-yaml-loader": "^1.0.0",
"neutrino": "^8.3.0",
"neutrino-preset-mozilla-frontend-infra": "^4.1.0"
}
Expand Down
12 changes: 9 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6107,11 +6107,13 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"

js-yaml-loader@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/js-yaml-loader/-/js-yaml-loader-0.1.0.tgz#3cb5e79d613883764aa241c30e3fcd0daaefd8ed"
js-yaml-loader@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/js-yaml-loader/-/js-yaml-loader-1.0.0.tgz#39b58411780da9766099620508dbf29c9932fa9f"
dependencies:
js-yaml "^3.9.1"
loader-utils "^1.1.0"
un-eval "^1.2.0"

js-yaml@^3.7.0, js-yaml@^3.9.0, js-yaml@^3.9.1:
version "3.12.0"
Expand Down Expand Up @@ -10206,6 +10208,10 @@ uglifyjs-webpack-plugin@^0.4.6:
uglify-js "^2.8.29"
webpack-sources "^1.0.1"

un-eval@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/un-eval/-/un-eval-1.2.0.tgz#22a95c650334d59d21697efae32612218ecad65f"

unbzip2-stream@^1.0.9:
version "1.2.5"
resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz#73a033a567bbbde59654b193c44d48a7e4f43c47"
Expand Down

0 comments on commit aed9482

Please sign in to comment.