Skip to content

Commit

Permalink
Update dependencies (#203)
Browse files Browse the repository at this point in the history
* Update Vue.php

Update dependencys
object-path high severity vulnerability
see: bholloway/resolve-url-loader#170

* Update React.php

dependencies

* Update Bootstrap.php

dependencies
  • Loading branch information
sotten authored Apr 23, 2021
1 parent e19f10b commit 613e26d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions src/Presets/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ public static function install()
protected static function updatePackageArray(array $packages)
{
return [
'bootstrap' => '^4.0.0',
'jquery' => '^3.2',
'popper.js' => '^1.12',
'sass' => '^1.15.2',
'sass-loader' => '^8.0.0',
'bootstrap' => '^4.6.0',
'jquery' => '^3.6',
'popper.js' => '^1.16.1',
'sass' => '^1.32.11',
'sass-loader' => '^11.0.1',
] + $packages;
}

Expand Down
6 changes: 3 additions & 3 deletions src/Presets/React.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public static function install()
protected static function updatePackageArray(array $packages)
{
return [
'@babel/preset-react' => '^7.0.0',
'react' => '^16.2.0',
'react-dom' => '^16.2.0',
'@babel/preset-react' => '^7.13.13',
'react' => '^17.0.2',
'react-dom' => '^17.0.2',
] + Arr::except($packages, ['vue', 'vue-template-compiler']);
}

Expand Down
10 changes: 5 additions & 5 deletions src/Presets/Vue.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public static function install()
protected static function updatePackageArray(array $packages)
{
return [
'resolve-url-loader' => '^2.3.1',
'sass' => '^1.20.1',
'sass-loader' => '^8.0.0',
'vue' => '^2.5.17',
'vue-template-compiler' => '^2.6.10',
'resolve-url-loader' => '^3.1.2',
'sass' => '^1.32.11',
'sass-loader' => '^11.0.1',
'vue' => '^2.6.12',
'vue-template-compiler' => '^2.6.12',
] + Arr::except($packages, [
'@babel/preset-react',
'react',
Expand Down

0 comments on commit 613e26d

Please sign in to comment.