@antv/g6 4.4.0 → 4.5.2

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.
package/es/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import G6 from '@antv/g6-pc';
2
+ export * from '@antv/g6-pc';
3
+ export default G6;
4
+ export declare const version = "4.5.2";
package/es/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import G6 from '@antv/g6-pc';
2
+ G6.version = '4.5.2';
3
+ export * from '@antv/g6-pc';
4
+ export default G6;
5
+ export var version = '4.5.2';
package/lib/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import G6 from '@antv/g6-pc';
2
+ export * from '@antv/g6-pc';
3
+ export default G6;
4
+ export declare const version = "4.5.2";
package/lib/index.js ADDED
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ var _exportNames = {
9
+ version: true
10
+ };
11
+ exports.version = exports.default = void 0;
12
+
13
+ var _g6Pc = _interopRequireWildcard(require("@antv/g6-pc"));
14
+
15
+ Object.keys(_g6Pc).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
18
+ if (key in exports && exports[key] === _g6Pc[key]) return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _g6Pc[key];
23
+ }
24
+ });
25
+ });
26
+
27
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
28
+
29
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
30
+
31
+ _g6Pc.default.version = '4.5.2';
32
+ var _default = _g6Pc.default;
33
+ exports.default = _default;
34
+ var version = '4.5.2';
35
+ exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/g6",
3
- "version": "4.4.0",
3
+ "version": "4.5.2",
4
4
  "description": "A Graph Visualization Framework in JavaScript",
5
5
  "keywords": [
6
6
  "antv",
@@ -66,7 +66,7 @@
66
66
  ]
67
67
  },
68
68
  "dependencies": {
69
- "@antv/g6-pc": "0.4.0-beta.0"
69
+ "@antv/g6-pc": "0.5.2"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@babel/core": "^7.7.7",
@@ -90,4 +90,4 @@
90
90
  "webpack": "^4.41.4",
91
91
  "webpack-cli": "^3.3.10"
92
92
  }
93
- }
93
+ }