From ea9b67a328cf5d4795fe8934208f296431d5f01a Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 12 Apr 2021 19:41:03 +0000 Subject: [PATCH] fix(core): update --- ts/smarturl.classes.smarturl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smarturl.classes.smarturl.ts b/ts/smarturl.classes.smarturl.ts index ba9d79e..52ad571 100644 --- a/ts/smarturl.classes.smarturl.ts +++ b/ts/smarturl.classes.smarturl.ts @@ -2,6 +2,6 @@ import * as plugins from './smarturl.plugins'; export class Smarturl { public parseUrl(urlArg: string) { - return plugins.url.parse(urlArg); + return new plugins.url.URL(urlArg); } }