Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 5fc748b

Browse files
andreasremdtandi34
authored andcommitted
Fix package.json deps versions
Use actual version numbers for the package.json dependencies Install and use whatwg-fetch as polyfill for older browsers (Safari 9) Change-Id: I2049d49179e3f619a61fc5436313be55f60d1139
1 parent 702af69 commit 5fc748b

File tree

9 files changed

+26
-10
lines changed

9 files changed

+26
-10
lines changed

admin/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
</div>
149149
</div>
150150

151+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
151152
<script type="text/javascript" src="../api/config.php"></script>
152153
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
153154
<script type="text/javascript" src="../resources/js/theme.js"></script>

chromakeying.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
<div class="modal__body" id="save_mesg_text"><span data-i18n="saving"></span></div>
8585
</div>
8686
</div>
87+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
8788
<script type="text/javascript" src="api/config.php"></script>
8889
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
8990
<script type="text/javascript" src="node_modules/marvinj/marvinj/release/marvinj-0.8.js"></script>

gallery.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
</div>
7777
</div>
7878

79+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
7980
<script type="text/javascript" src="api/config.php"></script>
8081
<script type="text/javascript" src="resources/js/adminshortcut.js"></script>
8182
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>

index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
endif; ?>
231231
</div>
232232

233+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
233234
<script type="text/javascript" src="api/config.php"></script>
234235
<script type="text/javascript" src="resources/js/adminshortcut.js"></script>
235236
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>

login/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
</div>
9595
</div>
9696

97+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
9798
<script type="text/javascript" src="../api/config.php"></script>
9899
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
99100
<script type="text/javascript" src="../resources/js/adminshortcut.js"></script>

manual/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
</div>
8484
</div>
8585

86+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
8687
<script type="text/javascript" src="../api/config.php"></script>
8788
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
8889
<script type="text/javascript" src="../resources/js/manual.js"></script>

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@
3535
"@andreasremdt/simple-translator": "^2.0.1",
3636
"font-awesome": "^4.7.0",
3737
"gh-markdown-cli": "^0.2.0",
38-
"github-markdown-css": "https://github.com/andi34/github-markdown-css",
38+
"github-markdown-css": "^4.0.0",
3939
"gulp": "4.0.2",
4040
"gulp-sass": "4.0.2",
4141
"jquery": "^3.5.1",
42-
"marvinj": "https://github.com/gabrielarchanjo/marvinj",
42+
"marvinj": "^1.0.0",
4343
"normalize.css": "^8.0.1",
44-
"photoswipe": "https://github.com/andi34/PhotoSwipe"
44+
"photoswipe": "^4.1.3",
45+
"whatwg-fetch": "^3.2.0"
4546
},
4647
"devDependencies": {
4748
"@babel/core": "^7.11.0",

slideshow/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
<?php endif; ?>
8383
</div>
8484

85+
<script src="node_modules/whatwg-fetch/dist/fetch.umd.js"></script>
8586
<script type="text/javascript" src="../api/config.php"></script>
8687
<script type="text/javascript" src="../node_modules/jquery/dist/jquery.min.js"></script>
8788
<script type="text/javascript" src="../resources/js/vendor/jquery.easing.1.3.js"></script>

yarn.lock

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2311,9 +2311,10 @@ git-tag-version@^1.3.1:
23112311
resolved "https://registry.yarnpkg.com/github-flavored-markdown/-/github-flavored-markdown-1.0.1.tgz#93361b87a31c25790d9c81a1b798214a737eab38"
23122312
integrity sha1-kzYbh6McJXkNnIGht5ghSnN+qzg=
23132313

2314-
"github-markdown-css@https://github.com/andi34/github-markdown-css":
2314+
github-markdown-css@^4.0.0:
23152315
version "4.0.0"
2316-
resolved "https://github.com/andi34/github-markdown-css#1485dd78f5e744ef36e946e5ae44838e3906f9d8"
2316+
resolved "https://registry.yarnpkg.com/github-markdown-css/-/github-markdown-css-4.0.0.tgz#be9f4caf7a389228d4c368336260ffc909061f35"
2317+
integrity sha512-mH0bcIKv4XAN0mQVokfTdKo2OD5K8WJE9+lbMdM32/q0Ie5tXgVN/2o+zvToRMxSTUuiTRcLg5hzkFfOyBYreg==
23172318

23182319
glob-parent@^3.1.0:
23192320
version "3.1.0"
@@ -3150,9 +3151,10 @@ map-visit@^1.0.0:
31503151
dependencies:
31513152
object-visit "^1.0.0"
31523153

3153-
"marvinj@https://github.com/gabrielarchanjo/marvinj":
3154-
version "0.0.0"
3155-
resolved "https://github.com/gabrielarchanjo/marvinj#b758c84e6a3c13b1dd8d13d052e42a2e6331b609"
3154+
marvinj@^1.0.0:
3155+
version "1.0.0"
3156+
resolved "https://registry.yarnpkg.com/marvinj/-/marvinj-1.0.0.tgz#5e1e0663f4e605a5966d3537c1a41fd22589c8b5"
3157+
integrity sha512-+afDa86Pml2BlDt2lEn+xZUZ6r4q+aQvxSmWq37M4lQ4SraBJcKlbm+wDamzXTvW7OmeK0mkWdjRB4R3PAPFjA==
31563158

31573159
matchdep@^2.0.0:
31583160
version "2.0.0"
@@ -3625,9 +3627,10 @@ performance-now@^2.1.0:
36253627
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
36263628
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
36273629

3628-
"photoswipe@https://github.com/andi34/PhotoSwipe":
3630+
photoswipe@^4.1.3:
36293631
version "4.1.3"
3630-
resolved "https://github.com/andi34/PhotoSwipe#59b81ae982674b92b05860e7c1549679030fd3ec"
3632+
resolved "https://registry.yarnpkg.com/photoswipe/-/photoswipe-4.1.3.tgz#59f49494eeb9ddab5888d03392926a19bc197550"
3633+
integrity sha512-89Z43IRUyw7ycTolo+AaiDn3W1EEIfox54hERmm9bI12IB9cvRfHSHez3XhAyU8XW2EAFrC+2sKMhh7SJwn0bA==
36313634

36323635
pify@^2.0.0:
36333636
version "2.3.0"
@@ -4765,6 +4768,11 @@ vinyl@^2.0.0:
47654768
remove-trailing-separator "^1.0.1"
47664769
replace-ext "^1.0.0"
47674770

4771+
whatwg-fetch@^3.2.0:
4772+
version "3.2.0"
4773+
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.2.0.tgz#8e134f701f0a4ab5fda82626f113e2b647fd16dc"
4774+
integrity sha512-SdGPoQMMnzVYThUbSrEvqTlkvC1Ux27NehaJ/GUHBfNrh5Mjg+1/uRyFMwVnxO2MrikMWvWAqUGgQOfVU4hT7w==
4775+
47684776
which-module@^1.0.0:
47694777
version "1.0.0"
47704778
resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"

0 commit comments

Comments
 (0)