Browse Source

Issue#98: Upgrade jquery (#104)

* issue#98: Update dependencies

* issue#98: version 0.8.10
key-networks 2 years ago
parent
commit
794f846125
3 changed files with 4 additions and 4 deletions
  1. 1 1
      build/binding.gyp.patch
  2. 1 1
      build/build.sh
  3. 2 2
      src/package.json

+ 1 - 1
build/binding.gyp.patch

@@ -4,7 +4,7 @@
        ],
        "cflags+": ["-Wno-cast-function-type"],
        "include_dirs+": ["<!(node -e \"require('nan')\")"],
-+      "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a"],
++      "libraries": ["/usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a"],
        "dependencies": ["libargon2"],
        "configurations": {
          "Debug": {

+ 1 - 1
build/build.sh

@@ -26,7 +26,7 @@ BINDINGGYP='node_modules/argon2/binding.gyp'
 
 NODE_VER='v16'
 
-if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a ]; then
+if [ ! -f /usr/lib/gcc/x86_64-redhat-linux/11/libstdc++.a ]; then
   echo "You must install libstdc++-static"
   exit 1
 fi

+ 2 - 2
src/package.json

@@ -1,6 +1,6 @@
 {
   "name": "ztncui",
-  "version": "0.8.6",
+  "version": "0.8.10",
   "private": true,
   "scripts": {
     "start": "node ./bin/www",
@@ -19,7 +19,7 @@
     "got": "^7.1.0",
     "helmet": "^3.23.0",
     "ip-address": "^5.8.9",
-    "jquery": "~3.4.1",
+    "jquery": "^3.6.1",
     "morgan": "~1.9.1",
     "node-persist": "^2.1.0",
     "pug": "^3.0.2",