vue 3.3.3 → 3.3.4

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.
@@ -10,7 +10,7 @@ function initDev() {
10
10
  }
11
11
  }
12
12
 
13
- if (process.env.NODE_ENV !== "production") {
13
+ if (!!(process.env.NODE_ENV !== "production")) {
14
14
  initDev();
15
15
  }
16
16
  const compileCache = /* @__PURE__ */ Object.create(null);
@@ -19,7 +19,7 @@ function compileToFunction(template, options) {
19
19
  if (template.nodeType) {
20
20
  template = template.innerHTML;
21
21
  } else {
22
- process.env.NODE_ENV !== "production" && warn(`invalid template option: `, template);
22
+ !!(process.env.NODE_ENV !== "production") && warn(`invalid template option: `, template);
23
23
  return NOOP;
24
24
  }
25
25
  }
@@ -30,7 +30,7 @@ function compileToFunction(template, options) {
30
30
  }
31
31
  if (template[0] === "#") {
32
32
  const el = document.querySelector(template);
33
- if (process.env.NODE_ENV !== "production" && !el) {
33
+ if (!!(process.env.NODE_ENV !== "production") && !el) {
34
34
  warn(`Template element not found or is empty: ${template}`);
35
35
  }
36
36
  template = el ? el.innerHTML : ``;
@@ -38,8 +38,8 @@ function compileToFunction(template, options) {
38
38
  const opts = extend(
39
39
  {
40
40
  hoistStatic: true,
41
- onError: process.env.NODE_ENV !== "production" ? onError : void 0,
42
- onWarn: process.env.NODE_ENV !== "production" ? (e) => onError(e, true) : NOOP
41
+ onError: !!(process.env.NODE_ENV !== "production") ? onError : void 0,
42
+ onWarn: !!(process.env.NODE_ENV !== "production") ? (e) => onError(e, true) : NOOP
43
43
  },
44
44
  options
45
45
  );
@@ -9090,7 +9090,7 @@ Component that was made reactive: `,
9090
9090
  return true;
9091
9091
  }
9092
9092
 
9093
- const version = "3.3.3";
9093
+ const version = "3.3.4";
9094
9094
  const ssrUtils = null;
9095
9095
  const resolveFilter = null;
9096
9096
  const compatUtils = null;