From 471333ad030342b573df93b094f0829c02725d0b Mon Sep 17 00:00:00 2001 From: Bert Verhelst Date: Sun, 12 Sep 2021 18:56:39 +0200 Subject: [PATCH] fix(util-frontend): revert typescript conversion --- package-lock.json | 1 + src/{util-frontend.ts => util-frontend.js} | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) rename src/{util-frontend.ts => util-frontend.js} (90%) diff --git a/package-lock.json b/package-lock.json index 57d7b85a5..f5ca52fae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12478,6 +12478,7 @@ }, "sqlite3": { "version": "git+ssh://git@github.com/mapbox/node-sqlite3.git#593c9d498be2510d286349134537e3bf89401c4a", + "integrity": "sha512-jUoUHizVh+QCulAEPid3qxX+TunsNMDFDC3TdB/+33OEx8Ud3IhbfrXU+MNnhAR9p4Sk5X93LkoXure8VVGrQA==", "from": "sqlite3@github:mapbox/node-sqlite3#593c9d", "requires": { "@mapbox/node-pre-gyp": "^1.0.0", diff --git a/src/util-frontend.ts b/src/util-frontend.js similarity index 90% rename from src/util-frontend.ts rename to src/util-frontend.js index 83d1a3cfe..525a241a3 100644 --- a/src/util-frontend.ts +++ b/src/util-frontend.js @@ -1,6 +1,6 @@ -import * as dayjs from "dayjs"; -import * as timezone from "dayjs/plugin/timezone"; -import * as utc from "dayjs/plugin/utc"; +import dayjs from "dayjs"; +import timezone from "dayjs/plugin/timezone"; +import utc from "dayjs/plugin/utc"; import timezones from "timezones-list"; dayjs.extend(utc)