jquery.dgtable 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jquery.dgtable",
3
3
  "description": "High-performance table View for jQuery",
4
- "version": "0.6.8",
4
+ "version": "0.6.9",
5
5
  "main": "dist/jquery.dgtable.cjs.min.js",
6
6
  "module": "dist/jquery.dgtable.es6.min.js",
7
7
  "broswer": "dist/jquery.dgtable.umd.min.js",
@@ -38,19 +38,19 @@
38
38
  "@danielgindi/virtual-list-helper": "^1.0.8"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "^7.20.5",
41
+ "@babel/core": "^7.20.7",
42
42
  "@babel/preset-env": "^7.20.2",
43
- "@babel/runtime": "^7.20.6",
43
+ "@babel/runtime": "^7.20.7",
44
44
  "@rollup/plugin-babel": "^6.0.3",
45
- "@rollup/plugin-commonjs": "^23.0.3",
45
+ "@rollup/plugin-commonjs": "^24.0.0",
46
46
  "@rollup/plugin-node-resolve": "^15.0.1",
47
+ "@rollup/plugin-terser": "^0.2.1",
47
48
  "core-js": "^3.26.1",
48
- "eslint": "^8.29.0",
49
+ "eslint": "^8.30.0",
49
50
  "eslint-formatter-codeframe": "^7.32.1",
50
51
  "fs-extra": "^11.1.0",
51
52
  "husky": "^8.0.2",
52
53
  "pinst": "^3.0.0",
53
- "rollup": "^3.5.1",
54
- "rollup-plugin-terser": "^7.0.2"
54
+ "rollup": "^3.8.1"
55
55
  }
56
56
  }
package/src/index.js CHANGED
@@ -1299,7 +1299,8 @@ DGTable.prototype.sort = function (column, descending, add) {
1299
1299
  }
1300
1300
  }
1301
1301
 
1302
- p.virtualListHelper.invalidate().render();
1302
+ if (p.virtualListHelper)
1303
+ p.virtualListHelper.invalidate().render();
1303
1304
 
1304
1305
  // Build output for event, with option names that will survive compilers
1305
1306
  let sorts = [];