Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Dec 4, 2021
1 parent b8cdc5e commit 190a2c2
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 314 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"./src/defaultLocale.js"
],
"devDependencies": {
"eslint": "7",
"mocha": "8",
"eslint": "8",
"mocha": "9",
"rollup": "2",
"rollup-plugin-terser": "7"
},
Expand Down
4 changes: 2 additions & 2 deletions test/format-type-s-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ it("format(\"[.precision]s\") outputs SI-prefix notation with precision signific
assert.strictEqual(f1(1000), "1.00k");
assert.strictEqual(f1(1500.5), "1.50k");
assert.strictEqual(f1(145500000), "146M");
assert.strictEqual(f1(145999999.999999347), "146M");
assert.strictEqual(f1(145999999.99999347), "146M");
assert.strictEqual(f1(1e26), "100Y");
assert.strictEqual(f1(.000001), "1.00µ");
assert.strictEqual(f1(.009995), "10.0m");
Expand Down Expand Up @@ -102,7 +102,7 @@ it("format(\"$s\") outputs SI-prefix notation with a currency symbol", () => {
assert.strictEqual(f2(1000), "$1.00k");
assert.strictEqual(f2(1500.5), "$1.50k");
assert.strictEqual(f2(145500000), "$146M");
assert.strictEqual(f2(145999999.999999347), "$146M");
assert.strictEqual(f2(145999999.9999347), "$146M");
assert.strictEqual(f2(1e26), "$100Y");
assert.strictEqual(f2(.000001), "$1.00µ");
assert.strictEqual(f2(.009995), "$10.0m");
Expand Down
Loading

0 comments on commit 190a2c2

Please sign in to comment.