Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more sec alerts #27

Merged
merged 2 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,22 @@ module.exports = function(api) {
useBuiltIns: true
}
],
[
'@babel/plugin-proposal-private-methods',
{
loose: true
}
],
[
'@babel/plugin-proposal-private-property-in-object',
{
loose: true
}
],
[
'@babel/plugin-transform-runtime',
{
helpers: false,
regenerator: true,
corejs: false
helpers: false
}
],
[
Expand Down
6 changes: 1 addition & 5 deletions config/webpacker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ default: &default
public_root_path: public
public_output_path: packs
cache_path: tmp/cache/webpacker
check_yarn_integrity: false
webpack_compile_output: true

# Additional paths webpack should lookup modules
# ['app/assets', 'engine/foo/app/assets']
resolved_paths: []
additional_paths: []

# Reload manifest.json on all requests so we reload latest compiled packs
cache_manifest: false
Expand Down Expand Up @@ -52,9 +51,6 @@ development:
<<: *default
compile: true

# Verifies that correct packages and versions are installed by inspecting package.json, yarn.lock, and node_modules
check_yarn_integrity: true

# Reference: https://webpack.js.org/configuration/dev-server/
dev_server:
https: false
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@
"@rails/actioncable": "^6.0.0",
"@rails/activestorage": "^6.0.0",
"@rails/ujs": "^6.0.0",
"@rails/webpacker": "4.3.0",
"@rails/webpacker": "5.4.3",
"ansi-regex": "^6.0.1",
"bootstrap": "^4.5.3",
"bootstrap-icons": "^1.8.1",
"glob-parent": "^6.0.2",
"is-svg": "^4.3.2",
"jquery": "^3.5.1",
"node-sass": "^7.0.1",
"nth-check": "^2.0.1",
"popper.js": "^1.16.1",
"slim-select": "^1.27.0",
"stimulus": "^2.0.0",
"tar": "^6.1.11",
"trim-newlines": "^4.0.2",
"turbolinks": "^5.2.0",
"webpack": "^5.71.0",
"webpack-cli": "^4.9.2",
"yarn": "^1.22.10"
},
"version": "0.1.0",
Expand Down
Loading