Changed import of mustache module to match the import styles of other modules

This commit is contained in:
David Ingerslev 2025-03-30 12:22:25 +01:00
parent 5ac713098c
commit 4e9073e012
7 changed files with 210 additions and 23 deletions

View file

@ -1,4 +1,4 @@
Copyright (C) 2020-2025 by Dynalist Inc.
Copyright (C) 2025 David Ingerslev
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

View file

@ -1,7 +1,8 @@
import { App, displayTooltip, Editor, MarkdownView, Notice, Plugin, PluginSettingTab, Setting, moment, TooltipPlacement, EventRef } from 'obsidian';
import { App, displayTooltip, Editor, MarkdownView, Notice, Plugin, PluginSettingTab, Setting, TooltipPlacement, EventRef } from 'obsidian';
import MsgReader from '@kenjiuno/msgreader';
import proxyData from 'mustache-validator';
const Mustache = require('mustache');
import Mustache from 'mustache';
import moment from 'moment';
const OutlookMeetingNotesDefaultFilenamePattern =
'{{#helper_dateFormat}}{{apptStartWhole}}|YYYY-MM-DD HH.mm{{/helper_dateFormat}} {{subject}}';

View file

@ -2,7 +2,7 @@
"id": "outlook-meeting-notes",
"name": "Outlook Meeting Notes",
"version": "0.1.4",
"minAppVersion": "0.15.0",
"minAppVersion": "1.8.9",
"description": "Creates meeting notes for Outlook appointments and meetings.",
"author": "David Ingerslev",
"authorUrl": "https://github.com/davidingerslev",

217
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,6 +12,8 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@types/moment": "^2.11.29",
"@types/mustache": "^4.2.5",
"@types/node": "^22.13.10",
"@typescript-eslint/eslint-plugin": "8.26.1",
"@typescript-eslint/parser": "8.26.1",

View file

@ -8,6 +8,7 @@
"allowJs": true,
"noImplicitAny": true,
"moduleResolution": "node",
"esModuleInterop": true,
"importHelpers": true,
"isolatedModules": true,
"strictNullChecks": true,

View file

@ -2,5 +2,5 @@
"0.1.1": "0.15.0",
"0.1.2": "0.15.0",
"0.1.3": "0.15.0",
"0.1.4": "0.15.0"
"0.1.4": "1.8.9"
}