Browse Source

upgrade npm packages

dev-master
Simon Vieille 2 weeks ago
parent
commit
196da8cb45
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
3 changed files with 7 additions and 5 deletions
  1. 2
    0
      Makefile
  2. 4
    4
      package.json
  3. 1
    1
      src/Gist/Resources/views/base.html.twig

+ 2
- 0
Makefile View File

@@ -20,6 +20,7 @@ npm:
20 20
 	@echo
21 21
 
22 22
 	${NPM} install
23
+	${NPM} update
23 24
 
24 25
 update:
25 26
 	@echo "Updating application's dependencies"
@@ -31,6 +32,7 @@ update:
31 32
 	${MKDIR} -p data/cache
32 33
 	${COMPOSER} update
33 34
 	${NPM} install
35
+	${NPM} update
34 36
 
35 37
 clean-cache:
36 38
 	@echo "Removing cache"

+ 4
- 4
package.json View File

@@ -1,9 +1,9 @@
1 1
 {
2 2
   "dependencies": {
3
-    "bootstrap": "^3.3.4",
4
-    "diff": "^2.2.2",
3
+    "bootstrap": "^3.4.1",
4
+    "diff": "^2.2.3",
5 5
     "flag-icon-css": "^0.8.6",
6
-    "iframe-resizer": "^2.8.6",
7
-    "jquery": "^1.9.1"
6
+    "iframe-resizer": "^2.8.10",
7
+    "jquery": ">=3.4.0"
8 8
   }
9 9
 }

+ 1
- 1
src/Gist/Resources/views/base.html.twig View File

@@ -117,7 +117,7 @@
117 117
                     return key;
118 118
                 }
119 119
             </script>
120
-            <script src="{{ web_path }}components/jquery/jquery.min.js"></script>
120
+            <script src="{{ web_path }}components/jquery/dist/jquery.min.js"></script>
121 121
             <script src="{{ web_path }}components/bootstrap/dist/js/bootstrap.min.js"></script>
122 122
             <script src="{{ web_path }}app/js/cipher.js"></script>
123 123
             <script src="{{ web_path }}app/js/app.js"></script>

Loading…
Cancel
Save