Skip to content

Commit

Permalink
fix: replace d3-* with @antv/vendor (#1894)
Browse files Browse the repository at this point in the history
Co-authored-by: 逍为 <xiaowei.wzw@antgroup.com>
  • Loading branch information
hustcc and 逍为 authored Jan 23, 2025
1 parent 9af3612 commit 2333ba3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/g-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"dependencies": {
"@antv/g-math": "workspace:*",
"@antv/util": "^3.3.5",
"@antv/vendor": "^1.0.3",
"@babel/runtime": "^7.25.6",
"d3-color": "^3.1.0",
"eventemitter3": "^5.0.1",
"gl-matrix": "^3.4.3",
"rbush": "^3.0.1",
Expand All @@ -62,4 +62,4 @@
"publishConfig": {
"access": "public"
}
}
}
2 changes: 1 addition & 1 deletion packages/g-lite/src/css/parser/color.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { clamp, isNil } from '@antv/util';
import * as d3 from 'd3-color';
import * as d3 from '@antv/vendor/d3-color';
import { Rect } from '../..';
import { memoize } from '../../utils/memoize';
import type { Tuple4Number } from '../../types';
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@
"dumi": "~2.2.1",
"workerize-loader": "^2.0.2"
}
}
}

0 comments on commit 2333ba3

Please sign in to comment.