@antv/g6 4.8.22 → 4.8.24

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 CHANGED
@@ -1,4 +1,4 @@
1
1
  import G6 from '@antv/g6-pc';
2
2
  export * from '@antv/g6-pc';
3
3
  export default G6;
4
- export declare const version = "4.8.22";
4
+ export declare const version = "4.8.23";
package/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import G6 from '@antv/g6-pc';
2
- G6.version = '4.8.22';
2
+ G6.version = '4.8.23';
3
3
  export * from '@antv/g6-pc';
4
4
  export default G6;
5
- export var version = '4.8.22';
5
+ export var version = '4.8.23';
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import G6 from '@antv/g6-pc';
2
2
  export * from '@antv/g6-pc';
3
3
  export default G6;
4
- export declare const version = "4.8.22";
4
+ export declare const version = "4.8.23";
package/lib/index.js CHANGED
@@ -20,10 +20,8 @@ Object.keys(_g6Pc).forEach(function (key) {
20
20
  }
21
21
  });
22
22
  });
23
- 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); }
24
- 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; }
25
- _g6Pc.default.version = '4.8.22';
26
- var _default = _g6Pc.default;
27
- exports.default = _default;
28
- var version = '4.8.22';
29
- exports.version = version;
23
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
25
+ _g6Pc.default.version = '4.8.23';
26
+ var _default = exports.default = _g6Pc.default;
27
+ var version = exports.version = '4.8.23';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/g6",
3
- "version": "4.8.22",
3
+ "version": "4.8.24",
4
4
  "description": "A Graph Visualization Framework in JavaScript",
5
5
  "keywords": [
6
6
  "antv",
@@ -33,24 +33,6 @@
33
33
  "module": "es/index.js",
34
34
  "unpkg": "dist/g6.min.js",
35
35
  "types": "lib/index.d.ts",
36
- "scripts": {
37
- "start": "father build --watch",
38
- "build": "npm run clean && father build && npm run build:umd",
39
- "build:umd": "webpack --config webpack.config.js --mode production",
40
- "ci": "npm run build && npm run coverage",
41
- "clean": "rimraf es esm lib dist",
42
- "coverage": "jest --coverage",
43
- "demos": "start-storybook -p 8080 -c .storybook",
44
- "doc": "rimraf apis && typedoc",
45
- "lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
46
- "lint:src": "eslint --ext .ts --format=pretty \"./src\"",
47
- "prettier": "prettier -c --write \"**/*\"",
48
- "test": "jest --passWithNoTests",
49
- "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/graph/graph-watermarker-spec.ts",
50
- "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
51
- "watch": "father build -w",
52
- "cdn": "antv-bin upload -n @antv/g6"
53
- },
54
36
  "husky": {
55
37
  "hooks": {
56
38
  "pre-commit": "lint-staged"
@@ -66,14 +48,16 @@
66
48
  ]
67
49
  },
68
50
  "dependencies": {
69
- "@antv/g6-pc": "0.8.22"
51
+ "@antv/g6-pc": "0.8.24"
70
52
  },
71
53
  "devDependencies": {
72
54
  "@babel/core": "^7.7.7",
73
55
  "@babel/plugin-proposal-class-properties": "^7.1.0",
56
+ "@babel/preset-env": "^7.23.3",
57
+ "@babel/preset-react": "^7.7.4",
74
58
  "@turf/turf": "^5.1.6",
75
59
  "@types/jest": "^25.2.1",
76
- "@types/node": "13.11.1",
60
+ "@types/node": "20.10.0",
77
61
  "@typescript-eslint/eslint-plugin": "^4.11.1",
78
62
  "@umijs/fabric": "^2.0.0",
79
63
  "babel-loader": "^8.0.6",
@@ -86,8 +70,25 @@
86
70
  "prettier": "^2.0.5",
87
71
  "rimraf": "^3.0.0",
88
72
  "ts-loader": "^7.0.3",
89
- "typescript": "^4.6.3",
73
+ "typescript": "^5.3.2",
90
74
  "webpack": "^4.41.4",
91
75
  "webpack-cli": "^3.3.10"
76
+ },
77
+ "scripts": {
78
+ "start": "father build --watch",
79
+ "build": "npm run clean && father build && npm run build:umd",
80
+ "build:umd": "webpack --config webpack.config.js --mode production",
81
+ "ci": "npm run build && npm run coverage",
82
+ "clean": "rimraf es esm lib dist",
83
+ "coverage": "jest --coverage",
84
+ "doc": "rimraf apis && typedoc",
85
+ "lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
86
+ "lint:src": "eslint --ext .ts --format=pretty \"./src\"",
87
+ "prettier": "prettier -c --write \"**/*\"",
88
+ "test": "jest --passWithNoTests",
89
+ "test-live": "DEBUG_MODE=1 jest --watch ./tests/unit/graph/graph-watermarker-spec.ts",
90
+ "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
91
+ "watch": "father build -w",
92
+ "cdn": "antv-bin upload -n @antv/g6"
92
93
  }
93
- }
94
+ }