@94ai/nf-confirm 100.1.2 → 100.1.6

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.
@@ -124,7 +124,8 @@ function merge(target) {
124
124
  }
125
125
  const ConfirmConstructor = vueDemi.Vue2.extend(NfConfirm);
126
126
  const Confirm = function(options) {
127
- if (vueDemi.Vue2.prototype.$isServer)
127
+ var _a;
128
+ if ((_a = vueDemi.Vue2.prototype) == null ? void 0 : _a.$isServer)
128
129
  return;
129
130
  options = merge({}, options);
130
131
  const instance = new ConfirmConstructor({
@@ -122,7 +122,8 @@ function merge(target) {
122
122
  }
123
123
  const ConfirmConstructor = Vue2.extend(NfConfirm);
124
124
  const Confirm = function(options) {
125
- if (Vue2.prototype.$isServer)
125
+ var _a;
126
+ if ((_a = Vue2.prototype) == null ? void 0 : _a.$isServer)
126
127
  return;
127
128
  options = merge({}, options);
128
129
  const instance = new ConfirmConstructor({
package/package/main.ts CHANGED
@@ -4,7 +4,7 @@ import merge from 'element-ui/src/utils/merge';
4
4
  const ConfirmConstructor = Vue2!.extend(Main);
5
5
 
6
6
  const Confirm = function(options) {
7
- if (Vue2!.prototype.$isServer) return;
7
+ if (Vue2!.prototype?.$isServer) return;
8
8
  options = merge({}, options);
9
9
  const instance = new ConfirmConstructor({
10
10
  data: options
@@ -15,4 +15,4 @@ const Confirm = function(options) {
15
15
  return instance;
16
16
  };
17
17
 
18
- export default Confirm
18
+ export default Confirm
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-confirm",
3
- "version": "100.1.2",
3
+ "version": "100.1.6",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zhongzhenjie <1476686104@qq.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^100.1.2",
17
+ "@94ai/nf-theme-chalk": "^100.1.6",
18
18
  "vue-demi": "^0.14.5"
19
19
  },
20
20
  "peerDependenciesMeta": {
@@ -28,7 +28,7 @@
28
28
  "vue": "^2.0.0 || >=3.0.0"
29
29
  },
30
30
  "types": "lib/index.d.ts",
31
- "main": "lib/nf-confirm.cjs.js",
32
- "module": "lib/nf-confirm.esm-bundler.js",
33
- "gitHead": "5b811c0e9d5ed95519222e3a9b744331734feeaf"
31
+ "main": "lib/nf-confirm.cjs.cjs",
32
+ "module": "lib/nf-confirm.esm-bundler.mjs",
33
+ "gitHead": "9026240baa75f1b459275f767f772997d626686f"
34
34
  }