@less-is-more/less-js 1.4.8 → 1.4.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/db.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@less-is-more/less-js",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "Fast develop kit for nodejs",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/db.js CHANGED
@@ -105,7 +105,7 @@ module.exports = class Db {
105
105
  let needUpdate = false;
106
106
  if (compareColumn.length > 0) {
107
107
  for (let nColumn of compareColumn) {
108
- if (nOldData[nColumn] !== nNewData[nColumn]) {
108
+ if (nOldData[nColumn] != nNewData[nColumn]) {
109
109
  console.log("Diff", nOldData[nColumn], nNewData[nColumn]);
110
110
  needUpdate = true;
111
111
  break;