Skip to content

Commit fd32e79

Browse files
committed
Merge branch 'hotfix/6.0.46'
* hotfix/6.0.46: merge changes from #571 #785 #1269 dependency updates
2 parents 71b809c + 9888c06 commit fd32e79

10 files changed

+990
-927
lines changed

composer.lock

+354-305
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/app.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/app.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/app.js.LICENSE.txt

+2-16
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,6 @@
7373
* Copyright (c) 2013, salesforce.com
7474
*/
7575

76-
/*!
77-
* Sizzle CSS Selector Engine v2.3.9
78-
* https://sizzlejs.com/
79-
*
80-
* Copyright JS Foundation and other contributors
81-
* Released under the MIT license
82-
* https://js.foundation/
83-
*
84-
* Date: 2022-12-19
85-
*/
86-
8776
/*!
8877
* The buffer module from node.js, for the browser.
8978
*
@@ -98,17 +87,14 @@
9887
*/
9988

10089
/*!
101-
* jQuery JavaScript Library v3.6.3
90+
* jQuery JavaScript Library v3.7.0
10291
* https://jquery.com/
10392
*
104-
* Includes Sizzle.js
105-
* https://sizzlejs.com/
106-
*
10793
* Copyright OpenJS Foundation and other contributors
10894
* Released under the MIT license
10995
* https://jquery.org/license
11096
*
111-
* Date: 2022-12-20T21:28Z
97+
* Date: 2023-05-11T18:29Z
11298
*/
11399

114100
/*!

public/js/app.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"/js/app.js": "/js/app.js?id=134755e6625c05aafb6f709cd528b3fb",
3-
"/css/app.css": "/css/app.css?id=271fea4ceefb8589535f4ec52facf74c"
2+
"/js/app.js": "/js/app.js?id=324e18fcae063bb1f1ca2906c7bb439b",
3+
"/css/app.css": "/css/app.css?id=fba32a97663f92be37a5efdb5fa67cfa"
44
}

src/Canvas.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Canvas;
44

55
use Canvas\Models\User;
6+
use Composer\InstalledVersions;
67
use Illuminate\Support\Facades\File;
78
use Illuminate\Support\Str;
89
use RuntimeException;
@@ -20,9 +21,7 @@ public static function installedVersion(): string
2021
return '';
2122
}
2223

23-
$dependencies = json_decode(file_get_contents(base_path('composer.lock')), true)['packages'];
24-
25-
return collect($dependencies)->firstWhere('name', 'austintoddj/canvas')['version'];
24+
return InstalledVersions::getPrettyVersion('austintoddj/canvas');
2625
}
2726

2827
/**

src/Http/Controllers/UploadsController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function store()
2525
// are not supported at this time
2626
$file = reset($payload);
2727

28-
$path = $file->storePublicly(Canvas::baseStoragePath(), [
28+
$path = $file->store(Canvas::baseStoragePath(), [
2929
'disk' => config('canvas.storage_disk'),
3030
]);
3131

yarn.lock

+625-596
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)