保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5
PAMapp/node_modules/ts-jest/node_modules/semver/functions/cmp.js
@@ -8,17 +8,21 @@
const cmp = (a, op, b, loose) => {
  switch (op) {
    case '===':
      if (typeof a === 'object')
      if (typeof a === 'object') {
        a = a.version
      if (typeof b === 'object')
      }
      if (typeof b === 'object') {
        b = b.version
      }
      return a === b
    case '!==':
      if (typeof a === 'object')
      if (typeof a === 'object') {
        a = a.version
      if (typeof b === 'object')
      }
      if (typeof b === 'object') {
        b = b.version
      }
      return a !== b
    case '':