保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 9bdb95c9e34cef640534e5e5a1e2225a80442000
PAMapp/node_modules/@nuxt/cli/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 '':