Skip to content

Commit

Permalink
fix import order and package version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafalasco committed Mar 2, 2020
1 parent b6d372a commit b44374f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"date-fns": "2.8.1",
"lodash-es": "4.17.15",
"resize-observer-polyfill": "1.5.0",
"text-width": "^1.2.0"
"text-width": "1.2.0"
},
"peerDependencies": {
"d3": ">=5.0.0 <=5.14.2"
Expand Down
12 changes: 6 additions & 6 deletions packages/core/src/components/axes/ruler.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Internal Imports
import { Component } from "../component";
import { DOMUtils } from "../../services";
import textWidth from "text-width";
import { scaleLinear } from "d3-scale";
import { Selection, BaseType } from "d3-selection";
import { isEqual } from "lodash-es";
import { TooltipTypes } from "../../interfaces";

// D3 Imports
import { mouse } from "d3-selection";
import { TooltipTypes } from "../../interfaces";
import { mouse, Selection } from "d3-selection";
import { scaleLinear } from "d3-scale";

import textWidth from "text-width";
import { isEqual } from "lodash-es";

type GraphicsSymbolsSelection = Selection<SVGElement, any, SVGElement, any>;

Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20125,7 +20125,7 @@ [email protected], text-table@^0.2.0:
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=

text-width@^1.2.0:
[email protected]:
version "1.2.0"
resolved "https://registry.yarnpkg.com/text-width/-/text-width-1.2.0.tgz#7421680c48bf862765ce2480f7de61e3f02da102"
integrity sha1-dCFoDEi/hidlziSA995h4/AtoQI=
Expand Down

0 comments on commit b44374f

Please sign in to comment.