Skip to content

Commit

Permalink
prevent loading date-fns 3
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Dec 2, 2023
1 parent ce945b9 commit ccef124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/date.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { assert, assertStrictEquals as equals } from "../deps/assert.ts";
import lume from "../mod.ts";
import date from "../plugins/date.ts";
import _gl from "npm:date-fns/locale/gl/index.js";
import _pt from "npm:date-fns/locale/pt/index.js";
import _gl from "npm:date-fns@2.30.0/locale/gl/index.js";
import _pt from "npm:date-fns@2.30.0/locale/pt/index.js";

// date-fns provides wrong types under node16 module resolution
const gl = _gl as Locale;
Expand Down

0 comments on commit ccef124

Please sign in to comment.