├── styles.css ├── .auto-changelog ├── .gitignore ├── manifest.json ├── tsconfig.json ├── rollup.config.js ├── src ├── util.ts └── main.ts ├── README.md ├── package.json ├── pub.mjs ├── .github └── workflows │ └── releases.yml ├── HISTORY.md └── yarn.lock /styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.auto-changelog: -------------------------------------------------------------------------------- 1 | { 2 | "output": "HISTORY.md", 3 | "template": "keepachangelog", 4 | "unreleased": true, 5 | "commitLimit": false, 6 | "hideCredit":true 7 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Intellij 2 | *.iml 3 | .idea 4 | 5 | # npm 6 | node_modules 7 | package-lock.json 8 | 9 | # build 10 | main.js 11 | *.js.map 12 | dist 13 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "obsidian-pangu", 3 | "name": "盘古 PanGu", 4 | "version": "1.6.2", 5 | "minAppVersion": "0.9.12", 6 | "description": "自动为中英文之间插入空格,排版强迫者的福音。", 7 | "author": "Natumsol", 8 | "authorUrl": "https://github.com/natumsol", 9 | "isDesktopOnly": true 10 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "inlineSourceMap": true, 5 | "inlineSources": true, 6 | "module": "ESNext", 7 | "target": "es6", 8 | "allowJs": true, 9 | "noImplicitAny": true, 10 | "moduleResolution": "node", 11 | "importHelpers": true, 12 | "lib": ["dom", "es5", "scripthost", "es2015"] 13 | }, 14 | "include": ["**/*.ts"] 15 | } 16 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | import typescript from "@rollup/plugin-typescript"; 2 | import { nodeResolve } from "@rollup/plugin-node-resolve"; 3 | import commonjs from "@rollup/plugin-commonjs"; 4 | 5 | export default { 6 | input: "src/main.ts", 7 | output: { 8 | dir: "dist/", 9 | sourcemap: false, 10 | format: "cjs", 11 | exports: "default", 12 | }, 13 | external: ["obsidian"], 14 | plugins: [typescript(), nodeResolve({ browser: true }), commonjs()], 15 | }; 16 | -------------------------------------------------------------------------------- /src/util.ts: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import prettier from "prettier/esm/standalone"; 3 | // @ts-ignore 4 | import markdownParser from "prettier/esm/parser-markdown"; 5 | 6 | export interface IPanGuSetting { 7 | tabWidth: string; 8 | embeddedLanguageFormatting: boolean; 9 | } 10 | 11 | export const DEFAULT_SETTINGS: IPanGuSetting = { 12 | tabWidth: "2", 13 | embeddedLanguageFormatting: true, 14 | }; 15 | 16 | function parseOptions(options: IPanGuSetting): any { 17 | const { tabWidth, embeddedLanguageFormatting } = options; 18 | 19 | return { 20 | tabWidth: +tabWidth, 21 | embeddedLanguageFormatting: embeddedLanguageFormatting ? "auto" : "off", 22 | }; 23 | } 24 | export function format( 25 | content: string, 26 | options: IPanGuSetting = DEFAULT_SETTINGS 27 | ): string { 28 | return prettier.format(content, { 29 | parser: "markdown", 30 | plugins: [markdownParser], 31 | ...parseOptions(options), 32 | }); 33 | } 34 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Obsidian Pangu Plugin 2 | 3 | A small plugin aims to add space between Chinese Characters and English Alphabet, and it is a boon for typographically compulsive people. For Example: 4 | 5 | ```diff 6 | - 大多数人在20到30岁就已经过完自己的一生;一过了这个年龄段,他们就变成自己的影子。 7 | + 大多数人在 20 到 30 岁就已经过完自己的一生;一过了这个年龄段,他们就变成自己的影子。 8 | ``` 9 | 10 | ## Manual installation 11 | 12 | Download zip archive from [GitHub releases page](https://github.com/natumsol/obsidian-pangu/releases). 13 | Extract the archive into `/.obsidian/plugins`. 14 | 15 | Alternatively, using bash: 16 | 17 | ```bash 18 | OBSIDIAN_VAULT_DIR=/path/to/your/obsidian/vault 19 | mkdir -p $OBSIDIAN_VAULT_DIR/.obsidian/plugins 20 | unzip ~/Downloads/obsidian-pangu_v1.1.0.zip -d $OBSIDIAN_VAULT_DIR/.obsidian/plugins 21 | ``` 22 | 23 | ### Thanks 24 | 25 | Thanks to [pangu.vim](https://github.com/hotoo/pangu.vim), [writing4cn](https://marketplace.visualstudio.com/items?itemName=twocucao.writing4cn) and [pangu-markdown-vscode ](https://github.com/zhuyuanxiang/pangu-markdown-vscode) 26 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "obsidian-pangu", 3 | "version": "1.6.2", 4 | "description": "A small plugin aims to add space between Chinese Characters and English Alphabet, and it is a boon for typographically compulsive people. ", 5 | "main": "main.js", 6 | "scripts": { 7 | "dev": "rollup --config rollup.config.js -w", 8 | "build": "rollup --config rollup.config.js", 9 | "version": "auto-changelog -p && git add HISTORY.md", 10 | "pub": "./pub.mjs" 11 | }, 12 | "keywords": [], 13 | "author": "", 14 | "license": "MIT", 15 | "devDependencies": { 16 | "@rollup/plugin-commonjs": "^15.1.0", 17 | "@rollup/plugin-node-resolve": "^9.0.0", 18 | "@rollup/plugin-typescript": "^6.0.0", 19 | "@types/node": "^14.14.2", 20 | "@types/pangu": "^3.3.0", 21 | "auto-changelog": "^2.3.0", 22 | "obsidian": "https://github.com/obsidianmd/obsidian-api/tarball/master", 23 | "rollup": "^2.32.1", 24 | "semver": "^7.3.5", 25 | "tslib": "^2.0.3", 26 | "typescript": "^4.0.3", 27 | "@types/prettier": "^2.7.1" 28 | }, 29 | "dependencies": { 30 | "prettier": "^2.7.1" 31 | } 32 | } -------------------------------------------------------------------------------- /pub.mjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env zx 2 | const calcVersion = require("semver/functions/inc"); 3 | 4 | async function pub(version) { 5 | await $`npm run version`; 6 | await $`git add --all`; 7 | await $`git commit -m "chore: ${version}"`; 8 | 9 | try { 10 | await $`git tag --delete ${version}`; 11 | } catch (error) {} 12 | // 打标签前先删除 13 | 14 | await $`git tag -a ${version} -m "version ${version}"`; 15 | await $`git push --follow-tags`; 16 | } 17 | 18 | async function getVersion(type) { 19 | const pkg = JSON.parse(await fs.readFile("./package.json")); 20 | const versionTypeMap = { 21 | x: "major", 22 | y: "minor", 23 | z: "patch", 24 | }; 25 | const version = calcVersion(pkg.version, versionTypeMap[type]); 26 | return version; 27 | } 28 | 29 | async function updatePkgVersion(version) { 30 | let pkg = JSON.parse(await fs.readFile("./package.json")); 31 | pkg.version = version; 32 | await fs.writeFile("./package.json", JSON.stringify(pkg, null, 2)); 33 | let manifest = JSON.parse(await fs.readFile("./manifest.json")); 34 | manifest.version = version; 35 | await fs.writeFile("./manifest.json", JSON.stringify(manifest, null, 2)); 36 | } 37 | 38 | async function main() { 39 | let type = await question( 40 | "which version do you want to upgrade (`x` or `y` or `z`)?" 41 | ); 42 | type = type.toLowerCase(); 43 | if (["x", "y", "z"].indexOf(type) > -1) { 44 | const version = await getVersion(type); 45 | await updatePkgVersion(version); 46 | await pub(version); 47 | console.log(chalk.green("[Info]: publish successfully!")); 48 | } else { 49 | console.log( 50 | chalk.red("[Error]: you must enter one of `x` or `y` or `z`.\n") 51 | ); 52 | } 53 | } 54 | 55 | main(); 56 | -------------------------------------------------------------------------------- /.github/workflows/releases.yml: -------------------------------------------------------------------------------- 1 | name: Build obsidian plugin 2 | 3 | on: 4 | push: 5 | tags: 6 | - '*' 7 | 8 | env: 9 | PLUGIN_NAME: obsidian-pangu 10 | 11 | jobs: 12 | build: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@v2 16 | - name: Use Node.js 17 | uses: actions/setup-node@v1 18 | with: 19 | node-version: '14.x' 20 | - name: Build 21 | id: build 22 | run: | 23 | npm install 24 | npm run build --if-present 25 | mkdir ${{ env.PLUGIN_NAME }} 26 | cp dist/main.js manifest.json ${{ env.PLUGIN_NAME }} 27 | zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }} 28 | ls 29 | echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)" 30 | - name: Create Release 31 | id: create_release 32 | uses: actions/create-release@v1 33 | env: 34 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 35 | VERSION: ${{ github.ref }} 36 | with: 37 | tag_name: ${{ github.ref }} 38 | release_name: ${{ github.ref }} 39 | draft: false 40 | prerelease: false 41 | - name: Upload zip file 42 | id: upload-zip 43 | uses: actions/upload-release-asset@v1 44 | env: 45 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 46 | with: 47 | upload_url: ${{ steps.create_release.outputs.upload_url }} 48 | asset_path: ./${{ env.PLUGIN_NAME }}.zip 49 | asset_name: ${{ env.PLUGIN_NAME }}-${{ steps.build.outputs.tag_name }}.zip 50 | asset_content_type: application/zip 51 | - name: Upload main.js 52 | id: upload-main 53 | uses: actions/upload-release-asset@v1 54 | env: 55 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 56 | with: 57 | upload_url: ${{ steps.create_release.outputs.upload_url }} 58 | asset_path: ./dist/main.js 59 | asset_name: main.js 60 | asset_content_type: text/javascript 61 | - name: Upload manifest.json 62 | id: upload-manifest 63 | uses: actions/upload-release-asset@v1 64 | env: 65 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 66 | with: 67 | upload_url: ${{ steps.create_release.outputs.upload_url }} 68 | asset_path: ./manifest.json 69 | asset_name: manifest.json 70 | asset_content_type: application/json 71 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { App, MarkdownView, Plugin, PluginSettingTab, Setting } from "obsidian"; 2 | import { DEFAULT_SETTINGS, format, IPanGuSetting } from "./util"; 3 | 4 | export default class Pangu extends Plugin { 5 | settings: IPanGuSetting = DEFAULT_SETTINGS; 6 | 7 | format(cm: CodeMirror.Editor): void { 8 | let cursor = cm.getCursor(); 9 | let cursorContent = cm.getRange({ ...cursor, ch: 0 }, cursor); 10 | const { top } = cm.getScrollInfo(); 11 | 12 | cursorContent = format(cursorContent,this.settings); 13 | let content = cm.getValue().trim(); 14 | content = format(content, this.settings); 15 | 16 | cm.setValue(content); 17 | cm.scrollTo(null, top); 18 | 19 | // 保持光标格式化后不变 20 | const newDocLine = cm.getLine(cursor.line); 21 | try { 22 | cursor = { 23 | ...cursor, 24 | ch: newDocLine.indexOf(cursorContent) + cursorContent.length, 25 | }; 26 | } catch (error) {} 27 | 28 | cm.setCursor(cursor); 29 | } 30 | 31 | async onload() { 32 | this.addCommand({ 33 | id: "pangu-format", 34 | name: "为中英文字符间自动加入空格", 35 | callback: () => { 36 | const activeLeafView = 37 | this.app.workspace.getActiveViewOfType(MarkdownView); 38 | if (activeLeafView) { 39 | // @ts-ignore 40 | this.format(activeLeafView?.sourceMode?.cmEditor); 41 | } 42 | }, 43 | hotkeys: [ 44 | { 45 | modifiers: ["Mod", "Shift"], 46 | key: "s", 47 | }, 48 | { 49 | modifiers: ["Ctrl", "Shift"], 50 | key: "s", 51 | }, 52 | ], 53 | }); 54 | await this.loadSettings(); 55 | this.addSettingTab(new PanguSettingTab(this.app, this)); 56 | } 57 | 58 | onunload() { 59 | console.log("unloading plugin"); 60 | } 61 | 62 | async loadSettings() { 63 | this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); 64 | } 65 | 66 | async saveSettings() { 67 | await this.saveData(this.settings); 68 | } 69 | } 70 | 71 | class PanguSettingTab extends PluginSettingTab { 72 | plugin: Pangu; 73 | 74 | constructor(app: App, plugin: Pangu) { 75 | super(app, plugin); 76 | this.plugin = plugin; 77 | } 78 | 79 | display(): void { 80 | let { containerEl } = this; 81 | containerEl.empty(); 82 | containerEl.createEl("h2", { text: "Pangu 使用说明" }); 83 | new Setting(containerEl) 84 | .setName("快速开始") 85 | .setDesc( 86 | "默认快捷键为:Mac - Command + Shift + S,Windows - Shift + Ctrl + S。当然,您可以到「设置 - 快捷键」里进行更改。" 87 | ); 88 | 89 | new Setting(containerEl) 90 | .setName("缩进宽度") 91 | .setDesc("指定格式化时,缩进所占空格数") 92 | .addDropdown((dropdown) => { 93 | dropdown 94 | .addOption("2", "2个空格") 95 | .addOption("4", "4个空格") 96 | .setValue(this.plugin.settings.tabWidth) 97 | .onChange(async (value) => { 98 | this.plugin.settings.tabWidth = value; 99 | await this.plugin.saveSettings(); 100 | }); 101 | }); 102 | 103 | new Setting(containerEl) 104 | .setName("格式化内嵌代码") 105 | .setDesc("指定格式化时,是否格式化文档中的内嵌代码") 106 | .addToggle((toggle) => 107 | toggle 108 | .setValue(this.plugin.settings.embeddedLanguageFormatting) 109 | .onChange(async (value) => { 110 | this.plugin.settings.embeddedLanguageFormatting = value; 111 | await this.plugin.saveSettings(); 112 | }) 113 | ); 114 | } 115 | } 116 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 | 8 | ## [1.6.2](https://github.com/Natumsol/obsidian-pangu/compare/1.6.1...1.6.2) 9 | 10 | ### Merged 11 | 12 | - fix: plugin settings not saved [`#42`](https://github.com/Natumsol/obsidian-pangu/pull/42) 13 | 14 | ## [1.6.1](https://github.com/Natumsol/obsidian-pangu/compare/1.6.0...1.6.1) - 2022-11-17 15 | 16 | ### Commits 17 | 18 | - build(ci): fix ci [`9dbe98f`](https://github.com/Natumsol/obsidian-pangu/commit/9dbe98f4a5a4727ac77ceee762d618bf931bf181) 19 | - chore: 1.6.1 [`92f13d2`](https://github.com/Natumsol/obsidian-pangu/commit/92f13d2f88b71592a17e9cbbe79bb28b85a210bc) 20 | 21 | ## [1.6.0](https://github.com/Natumsol/obsidian-pangu/compare/1.5.1...1.6.0) - 2022-11-17 22 | 23 | ### Commits 24 | 25 | - feat(config): add config for formatter [`468ca2c`](https://github.com/Natumsol/obsidian-pangu/commit/468ca2c153cf48d0059e13989a3b52f5dc6b7379) 26 | - chore: 1.6.0 [`0c9bd1e`](https://github.com/Natumsol/obsidian-pangu/commit/0c9bd1ebbb2a53b331ee200cdd7de4815cd7426e) 27 | 28 | ## [1.5.1](https://github.com/Natumsol/obsidian-pangu/compare/1.5.0...1.5.1) - 2022-11-15 29 | 30 | ### Commits 31 | 32 | - refactor(*): remove redundant code [`0644655`](https://github.com/Natumsol/obsidian-pangu/commit/06446553a8e43338f7f2d29fdada9c5a55f596c7) 33 | - chore: 1.5.1 [`358b11e`](https://github.com/Natumsol/obsidian-pangu/commit/358b11e517dbfff51115509cfb7caa8021a5215a) 34 | 35 | ## [1.5.0](https://github.com/Natumsol/obsidian-pangu/compare/1.4.1...1.5.0) - 2022-11-15 36 | 37 | ### Commits 38 | 39 | - chore: 1.5.0 [`04b4225`](https://github.com/Natumsol/obsidian-pangu/commit/04b4225c210f3387820950b04408af987f8e04f7) 40 | - feat(*): add command completion for eng [`2c85463`](https://github.com/Natumsol/obsidian-pangu/commit/2c85463faec387e2be1626fe68492d347641bda0) 41 | 42 | ## [1.4.1](https://github.com/Natumsol/obsidian-pangu/compare/1.4.0...1.4.1) - 2022-11-14 43 | 44 | ### Commits 45 | 46 | - chore: 1.4.1 [`e500bbb`](https://github.com/Natumsol/obsidian-pangu/commit/e500bbbcdabf19117cbaea63f89c8df1b84273cb) 47 | - build(rollup): remove sourcemap [`0f3cf84`](https://github.com/Natumsol/obsidian-pangu/commit/0f3cf8499cce6277533bfbe478ff61c899e6b4f8) 48 | 49 | ## [1.4.0](https://github.com/Natumsol/obsidian-pangu/compare/1.3.5...1.4.0) - 2022-11-14 50 | 51 | ### Commits 52 | 53 | - refactor(*): use prettier refactor [`11e6b85`](https://github.com/Natumsol/obsidian-pangu/commit/11e6b8581fa829e4153d1781a8bc7df82c690ce3) 54 | - chore: 1.4.0 [`47d3ed3`](https://github.com/Natumsol/obsidian-pangu/commit/47d3ed326749a0beff55f27b0cc91651a2e9df8b) 55 | 56 | ## [1.3.5](https://github.com/Natumsol/obsidian-pangu/compare/1.3.4...1.3.5) - 2022-08-15 57 | 58 | ### Commits 59 | 60 | - fix: fix order list rule [`6b9238d`](https://github.com/Natumsol/obsidian-pangu/commit/6b9238dcb565c98e197219d843d967bca20fe113) 61 | - chore: 1.3.5 [`ea5bdda`](https://github.com/Natumsol/obsidian-pangu/commit/ea5bddad4d8251246020445b5681ceda107bc579) 62 | 63 | ## [1.3.4](https://github.com/Natumsol/obsidian-pangu/compare/1.3.3...1.3.4) - 2021-11-28 64 | 65 | ### Commits 66 | 67 | - chore: 1.3.4 [`b866b0b`](https://github.com/Natumsol/obsidian-pangu/commit/b866b0b35f27465a8609142086978df70a577643) 68 | - fix: fix: ignore link #11 [`42e91ef`](https://github.com/Natumsol/obsidian-pangu/commit/42e91eff27bca978994c4fcb39ae655c658647ea) 69 | 70 | ## [1.3.3](https://github.com/Natumsol/obsidian-pangu/compare/1.3.2...1.3.3) - 2021-11-28 71 | 72 | ### Commits 73 | 74 | - fix: fix: ignore link #11 [`5762158`](https://github.com/Natumsol/obsidian-pangu/commit/57621586441f746fce32e1cc7e73383574ceaf70) 75 | - chore: 1.3.3 [`433df72`](https://github.com/Natumsol/obsidian-pangu/commit/433df72c61cd3af15b313ef285aa20749591dd97) 76 | 77 | ## [1.3.2](https://github.com/Natumsol/obsidian-pangu/compare/1.3.1...1.3.2) - 2021-11-28 78 | 79 | ### Commits 80 | 81 | - chore: 1.3.2 [`1ade5c9`](https://github.com/Natumsol/obsidian-pangu/commit/1ade5c94c0b3540f955dd79c1086af29f507dbe3) 82 | - fix: ignore link #11 [`324dc73`](https://github.com/Natumsol/obsidian-pangu/commit/324dc7375bcda2549f7047a9a8588a3e814d1eda) 83 | 84 | ## [1.3.1](https://github.com/Natumsol/obsidian-pangu/compare/1.3.0...1.3.1) - 2021-11-28 85 | 86 | ### Commits 87 | 88 | - fix: ignore link #11 [`ace0e9a`](https://github.com/Natumsol/obsidian-pangu/commit/ace0e9a451e1962db2fc375427e3af44afaa0b96) 89 | - chore: 1.3.1 [`fa03965`](https://github.com/Natumsol/obsidian-pangu/commit/fa03965f0350b9f8084fc6a9c9a8090652747190) 90 | 91 | ## [1.3.0](https://github.com/Natumsol/obsidian-pangu/compare/1.2.10...1.3.0) - 2021-07-09 92 | 93 | ### Commits 94 | 95 | - feat: ignore code block [`637ca7c`](https://github.com/Natumsol/obsidian-pangu/commit/637ca7c45f2488f36673587afebfc537fa831dd6) 96 | - chore: 1.3.0 [`3449095`](https://github.com/Natumsol/obsidian-pangu/commit/34490952d2cb5fc8ca1a809ff301671001573686) 97 | 98 | ## [1.2.10](https://github.com/Natumsol/obsidian-pangu/compare/1.2.9...1.2.10) - 2021-06-16 99 | 100 | ### Commits 101 | 102 | - fix: fix version [`d783d13`](https://github.com/Natumsol/obsidian-pangu/commit/d783d137755b2004a9fd8a6bf2350d6fa8dc6f11) 103 | 104 | ## [1.2.9](https://github.com/Natumsol/obsidian-pangu/compare/1.2.8...1.2.9) - 2021-06-10 105 | 106 | ### Commits 107 | 108 | - fix: fix order/unorder list format, #6 [`b4b2c99`](https://github.com/Natumsol/obsidian-pangu/commit/b4b2c99c5645fede09a74985070458cf54091760) 109 | 110 | ## [1.2.8](https://github.com/Natumsol/obsidian-pangu/compare/1.2.7...1.2.8) - 2021-06-10 111 | 112 | ### Commits 113 | 114 | - fix: fix order/unorder list format, #6 [`1043cf1`](https://github.com/Natumsol/obsidian-pangu/commit/1043cf1f6768160f7b77dea1b2bb0f363070892f) 115 | 116 | ## [1.2.7](https://github.com/Natumsol/obsidian-pangu/compare/v1.2.5...1.2.7) - 2021-05-14 117 | 118 | ### Commits 119 | 120 | - fix: optimize string replacement func [`6d495d5`](https://github.com/Natumsol/obsidian-pangu/commit/6d495d5652bd776ce7eb0173fd56ce5647e25e2d) 121 | - fix: fix version [`c308f10`](https://github.com/Natumsol/obsidian-pangu/commit/c308f105064e4833d22f969c4472aa8e44cf6c4d) 122 | 123 | ## [v1.2.5](https://github.com/Natumsol/obsidian-pangu/compare/v1.2.4...v1.2.5) - 2021-05-11 124 | 125 | ### Commits 126 | 127 | - fix: fix MarkdownView check [`11fbf13`](https://github.com/Natumsol/obsidian-pangu/commit/11fbf130bab188f70878502dcdf572f44364e637) 128 | 129 | ## [v1.2.4](https://github.com/Natumsol/obsidian-pangu/compare/v1.2.3...v1.2.4) - 2021-05-11 130 | 131 | ### Commits 132 | 133 | - fix: make hotkey configurable [`6a4889e`](https://github.com/Natumsol/obsidian-pangu/commit/6a4889eb45cd4d3ba78e5b6a94ced2aa81fb6528) 134 | 135 | ## [v1.2.3](https://github.com/Natumsol/obsidian-pangu/compare/v1.2.2...v1.2.3) - 2021-04-28 136 | 137 | ### Commits 138 | 139 | - fix: fix manifest.json [`0f246e7`](https://github.com/Natumsol/obsidian-pangu/commit/0f246e70decca781288336e98b68e03861309280) 140 | - temp: remove debug code [`e361222`](https://github.com/Natumsol/obsidian-pangu/commit/e361222aed4b42b91690929a889373c8d69a384b) 141 | 142 | ## [v1.2.2](https://github.com/Natumsol/obsidian-pangu/compare/v1.2.1...v1.2.2) - 2021-04-22 143 | 144 | ### Commits 145 | 146 | - fix: fix hotkey & scroll, #2 #3 [`d30b7f9`](https://github.com/Natumsol/obsidian-pangu/commit/d30b7f9517179f7f74e12bad14d573942e48d35b) 147 | 148 | ## [v1.2.1](https://github.com/Natumsol/obsidian-pangu/compare/v1.2.0...v1.2.1) - 2021-04-12 149 | 150 | ### Commits 151 | 152 | - fix: fix cursor bug [`77a9459`](https://github.com/Natumsol/obsidian-pangu/commit/77a94591c54df6feb01d90d3f02e2c6d96271f61) 153 | 154 | ## [v1.2.0](https://github.com/Natumsol/obsidian-pangu/compare/v1.1.0...v1.2.0) - 2021-03-11 155 | 156 | ### Commits 157 | 158 | - fix: disable replacePunctuations [`1985e9e`](https://github.com/Natumsol/obsidian-pangu/commit/1985e9e9aae8585769b68249be4e49d397328952) 159 | 160 | ## [v1.1.0](https://github.com/Natumsol/obsidian-pangu/compare/v1.0.0...v1.1.0) - 2021-03-06 161 | 162 | ### Commits 163 | 164 | - feat: replace pangu.js to reg exp [`4fcb8be`](https://github.com/Natumsol/obsidian-pangu/commit/4fcb8beba22c4f786842a3d0a2dc6b0d596bcf5b) 165 | - chore: v1.1.0 [`37519df`](https://github.com/Natumsol/obsidian-pangu/commit/37519df28d34523ace44a94a6de3b736e4732520) 166 | 167 | ## v1.0.0 - 2021-03-06 168 | 169 | ### Commits 170 | 171 | - feat: init [`71df45c`](https://github.com/Natumsol/obsidian-pangu/commit/71df45c523cd3438577f04ad2ef3244d3ca44672) 172 | - Initial commit [`e9f42d5`](https://github.com/Natumsol/obsidian-pangu/commit/e9f42d5898b4fce6822be9307a32640fc8785ae2) 173 | - feat: add github action [`cbc580c`](https://github.com/Natumsol/obsidian-pangu/commit/cbc580c778938d5956fd9a11b311581e7c3974f2) 174 | - chore: v1.0.0 [`74d9be4`](https://github.com/Natumsol/obsidian-pangu/commit/74d9be45189bea0d017b14772d6e3d07c25ac011) 175 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@rollup/plugin-commonjs@^15.1.0": 6 | version "15.1.0" 7 | resolved "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-15.1.0.tgz#1e7d076c4f1b2abf7e65248570e555defc37c238" 8 | integrity sha512-xCQqz4z/o0h2syQ7d9LskIMvBSH4PX5PjYdpSSvgS+pQik3WahkQVNWg3D8XJeYjZoVWnIUQYDghuEMRGrmQYQ== 9 | dependencies: 10 | "@rollup/pluginutils" "^3.1.0" 11 | commondir "^1.0.1" 12 | estree-walker "^2.0.1" 13 | glob "^7.1.6" 14 | is-reference "^1.2.1" 15 | magic-string "^0.25.7" 16 | resolve "^1.17.0" 17 | 18 | "@rollup/plugin-node-resolve@^9.0.0": 19 | version "9.0.0" 20 | resolved "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz#39bd0034ce9126b39c1699695f440b4b7d2b62e6" 21 | integrity sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg== 22 | dependencies: 23 | "@rollup/pluginutils" "^3.1.0" 24 | "@types/resolve" "1.17.1" 25 | builtin-modules "^3.1.0" 26 | deepmerge "^4.2.2" 27 | is-module "^1.0.0" 28 | resolve "^1.17.0" 29 | 30 | "@rollup/plugin-typescript@^6.0.0": 31 | version "6.1.0" 32 | resolved "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-6.1.0.tgz#289e7f0ea12fd659bd13ad59dda73b9055538b83" 33 | integrity sha512-hJxaiE6WyNOsK+fZpbFh9CUijZYqPQuAOWO5khaGTUkM8DYNNyA2TDlgamecE+qLOG1G1+CwbWMAx3rbqpp6xQ== 34 | dependencies: 35 | "@rollup/pluginutils" "^3.1.0" 36 | resolve "^1.17.0" 37 | 38 | "@rollup/pluginutils@^3.1.0": 39 | version "3.1.0" 40 | resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" 41 | integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== 42 | dependencies: 43 | "@types/estree" "0.0.39" 44 | estree-walker "^1.0.1" 45 | picomatch "^2.2.2" 46 | 47 | "@types/codemirror@0.0.108": 48 | version "0.0.108" 49 | resolved "https://registry.npmjs.org/@types/codemirror/-/codemirror-0.0.108.tgz#e640422b666bf49251b384c390cdeb2362585bde" 50 | integrity sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw== 51 | dependencies: 52 | "@types/tern" "*" 53 | 54 | "@types/estree@*": 55 | version "1.0.0" 56 | resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" 57 | integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== 58 | 59 | "@types/estree@0.0.39": 60 | version "0.0.39" 61 | resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" 62 | integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== 63 | 64 | "@types/node@*": 65 | version "18.7.4" 66 | resolved "https://registry.npmjs.org/@types/node/-/node-18.7.4.tgz#95baa50846ae112a7376869d49fec23b2506c69d" 67 | integrity sha512-RzRcw8c0B8LzryWOR4Wj7YOTFXvdYKwvrb6xQQyuDfnlTxwYXGCV5RZ/TEbq5L5kn+w3rliHAUyRcG1RtbmTFg== 68 | 69 | "@types/node@^14.14.2": 70 | version "14.18.23" 71 | resolved "https://registry.npmjs.org/@types/node/-/node-14.18.23.tgz#70f5f20b0b1b38f696848c1d3647bb95694e615e" 72 | integrity sha512-MhbCWN18R4GhO8ewQWAFK4TGQdBpXWByukz7cWyJmXhvRuCIaM/oWytGPqVmDzgEnnaIc9ss6HbU5mUi+vyZPA== 73 | 74 | "@types/pangu@^3.3.0": 75 | version "3.3.0" 76 | resolved "https://registry.npmjs.org/@types/pangu/-/pangu-3.3.0.tgz#dceeaabd0ba64e1721b3ccd6b950ef6b7ecff3ef" 77 | integrity sha512-uD56QlIuQJvfO9sMJKTkJleWyMhZ//TPO0/WmVIwCTomCHZzllm/KZOaN4Og6R7EJXU5sIMunexTqyxy9bCT/g== 78 | 79 | "@types/prettier@^2.7.1": 80 | version "2.7.1" 81 | resolved "https://registry.npmmirror.com/@types/prettier/-/prettier-2.7.1.tgz#dfd20e2dc35f027cdd6c1908e80a5ddc7499670e" 82 | integrity sha512-ri0UmynRRvZiiUJdiz38MmIblKK+oH30MztdBVR95dv/Ubw6neWSb8u1XpRb72L4qsZOhz+L+z9JD40SJmfWow== 83 | 84 | "@types/resolve@1.17.1": 85 | version "1.17.1" 86 | resolved "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" 87 | integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== 88 | dependencies: 89 | "@types/node" "*" 90 | 91 | "@types/tern@*": 92 | version "0.23.4" 93 | resolved "https://registry.npmjs.org/@types/tern/-/tern-0.23.4.tgz#03926eb13dbeaf3ae0d390caf706b2643a0127fb" 94 | integrity sha512-JAUw1iXGO1qaWwEOzxTKJZ/5JxVeON9kvGZ/osgZaJImBnyjyn0cjovPsf6FNLmyGY8Vw9DoXZCMlfMkMwHRWg== 95 | dependencies: 96 | "@types/estree" "*" 97 | 98 | auto-changelog@^2.3.0: 99 | version "2.4.0" 100 | resolved "https://registry.npmjs.org/auto-changelog/-/auto-changelog-2.4.0.tgz#a2d57d49b70ada7ca2e7c6a20a71572561d19cd9" 101 | integrity sha512-vh17hko1c0ItsEcw6m7qPRf3m45u+XK5QyCrrBFViElZ8jnKrPC1roSznrd1fIB/0vR/zawdECCRJtTuqIXaJw== 102 | dependencies: 103 | commander "^7.2.0" 104 | handlebars "^4.7.7" 105 | node-fetch "^2.6.1" 106 | parse-github-url "^1.0.2" 107 | semver "^7.3.5" 108 | 109 | balanced-match@^1.0.0: 110 | version "1.0.2" 111 | resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 112 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 113 | 114 | brace-expansion@^1.1.7: 115 | version "1.1.11" 116 | resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 117 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 118 | dependencies: 119 | balanced-match "^1.0.0" 120 | concat-map "0.0.1" 121 | 122 | builtin-modules@^3.1.0: 123 | version "3.3.0" 124 | resolved "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" 125 | integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== 126 | 127 | commander@^7.2.0: 128 | version "7.2.0" 129 | resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" 130 | integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== 131 | 132 | commondir@^1.0.1: 133 | version "1.0.1" 134 | resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" 135 | integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== 136 | 137 | concat-map@0.0.1: 138 | version "0.0.1" 139 | resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 140 | integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== 141 | 142 | deepmerge@^4.2.2: 143 | version "4.2.2" 144 | resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" 145 | integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== 146 | 147 | estree-walker@^1.0.1: 148 | version "1.0.1" 149 | resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" 150 | integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== 151 | 152 | estree-walker@^2.0.1: 153 | version "2.0.2" 154 | resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" 155 | integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== 156 | 157 | fs.realpath@^1.0.0: 158 | version "1.0.0" 159 | resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 160 | integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== 161 | 162 | fsevents@~2.3.2: 163 | version "2.3.2" 164 | resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" 165 | integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== 166 | 167 | function-bind@^1.1.1: 168 | version "1.1.1" 169 | resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 170 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== 171 | 172 | glob@^7.1.6: 173 | version "7.2.3" 174 | resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" 175 | integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== 176 | dependencies: 177 | fs.realpath "^1.0.0" 178 | inflight "^1.0.4" 179 | inherits "2" 180 | minimatch "^3.1.1" 181 | once "^1.3.0" 182 | path-is-absolute "^1.0.0" 183 | 184 | handlebars@^4.7.7: 185 | version "4.7.7" 186 | resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" 187 | integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== 188 | dependencies: 189 | minimist "^1.2.5" 190 | neo-async "^2.6.0" 191 | source-map "^0.6.1" 192 | wordwrap "^1.0.0" 193 | optionalDependencies: 194 | uglify-js "^3.1.4" 195 | 196 | has@^1.0.3: 197 | version "1.0.3" 198 | resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" 199 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== 200 | dependencies: 201 | function-bind "^1.1.1" 202 | 203 | inflight@^1.0.4: 204 | version "1.0.6" 205 | resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 206 | integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== 207 | dependencies: 208 | once "^1.3.0" 209 | wrappy "1" 210 | 211 | inherits@2: 212 | version "2.0.4" 213 | resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 214 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 215 | 216 | is-core-module@^2.9.0: 217 | version "2.10.0" 218 | resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed" 219 | integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== 220 | dependencies: 221 | has "^1.0.3" 222 | 223 | is-module@^1.0.0: 224 | version "1.0.0" 225 | resolved "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" 226 | integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== 227 | 228 | is-reference@^1.2.1: 229 | version "1.2.1" 230 | resolved "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" 231 | integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== 232 | dependencies: 233 | "@types/estree" "*" 234 | 235 | lru-cache@^6.0.0: 236 | version "6.0.0" 237 | resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" 238 | integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== 239 | dependencies: 240 | yallist "^4.0.0" 241 | 242 | magic-string@^0.25.7: 243 | version "0.25.9" 244 | resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" 245 | integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== 246 | dependencies: 247 | sourcemap-codec "^1.4.8" 248 | 249 | minimatch@^3.1.1: 250 | version "3.1.2" 251 | resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" 252 | integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== 253 | dependencies: 254 | brace-expansion "^1.1.7" 255 | 256 | minimist@^1.2.5: 257 | version "1.2.6" 258 | resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" 259 | integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== 260 | 261 | moment@2.29.4: 262 | version "2.29.4" 263 | resolved "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" 264 | integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== 265 | 266 | neo-async@^2.6.0: 267 | version "2.6.2" 268 | resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" 269 | integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== 270 | 271 | node-fetch@^2.6.1: 272 | version "2.6.7" 273 | resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" 274 | integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== 275 | dependencies: 276 | whatwg-url "^5.0.0" 277 | 278 | "obsidian@https://github.com/obsidianmd/obsidian-api/tarball/master": 279 | version "0.15.9" 280 | resolved "https://github.com/obsidianmd/obsidian-api/tarball/master#7ce6741f71eeed437625c5a659b9650482fc2893" 281 | dependencies: 282 | "@types/codemirror" "0.0.108" 283 | moment "2.29.4" 284 | 285 | once@^1.3.0: 286 | version "1.4.0" 287 | resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 288 | integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== 289 | dependencies: 290 | wrappy "1" 291 | 292 | parse-github-url@^1.0.2: 293 | version "1.0.2" 294 | resolved "https://registry.npmjs.org/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" 295 | integrity sha512-kgBf6avCbO3Cn6+RnzRGLkUsv4ZVqv/VfAYkRsyBcgkshNvVBkRn1FEZcW0Jb+npXQWm2vHPnnOqFteZxRRGNw== 296 | 297 | path-is-absolute@^1.0.0: 298 | version "1.0.1" 299 | resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 300 | integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== 301 | 302 | path-parse@^1.0.7: 303 | version "1.0.7" 304 | resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" 305 | integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== 306 | 307 | picomatch@^2.2.2: 308 | version "2.3.1" 309 | resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" 310 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== 311 | 312 | prettier@^2.7.1: 313 | version "2.7.1" 314 | resolved "https://registry.npmmirror.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" 315 | integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== 316 | 317 | resolve@^1.17.0: 318 | version "1.22.1" 319 | resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" 320 | integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== 321 | dependencies: 322 | is-core-module "^2.9.0" 323 | path-parse "^1.0.7" 324 | supports-preserve-symlinks-flag "^1.0.0" 325 | 326 | rollup@^2.32.1: 327 | version "2.78.0" 328 | resolved "https://registry.npmjs.org/rollup/-/rollup-2.78.0.tgz#00995deae70c0f712ea79ad904d5f6b033209d9e" 329 | integrity sha512-4+YfbQC9QEVvKTanHhIAFVUFSRsezvQF8vFOJwtGfb9Bb+r014S+qryr9PSmw8x6sMnPkmFBGAvIFVQxvJxjtg== 330 | optionalDependencies: 331 | fsevents "~2.3.2" 332 | 333 | semver@^7.3.5: 334 | version "7.3.7" 335 | resolved "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" 336 | integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== 337 | dependencies: 338 | lru-cache "^6.0.0" 339 | 340 | source-map@^0.6.1: 341 | version "0.6.1" 342 | resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 343 | integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== 344 | 345 | sourcemap-codec@^1.4.8: 346 | version "1.4.8" 347 | resolved "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" 348 | integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== 349 | 350 | supports-preserve-symlinks-flag@^1.0.0: 351 | version "1.0.0" 352 | resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" 353 | integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== 354 | 355 | tr46@~0.0.3: 356 | version "0.0.3" 357 | resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" 358 | integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== 359 | 360 | tslib@^2.0.3: 361 | version "2.4.0" 362 | resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" 363 | integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== 364 | 365 | typescript@^4.0.3: 366 | version "4.7.4" 367 | resolved "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" 368 | integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== 369 | 370 | uglify-js@^3.1.4: 371 | version "3.16.3" 372 | resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.16.3.tgz#94c7a63337ee31227a18d03b8a3041c210fd1f1d" 373 | integrity sha512-uVbFqx9vvLhQg0iBaau9Z75AxWJ8tqM9AV890dIZCLApF4rTcyHwmAvLeEdYRs+BzYWu8Iw81F79ah0EfTXbaw== 374 | 375 | webidl-conversions@^3.0.0: 376 | version "3.0.1" 377 | resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" 378 | integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== 379 | 380 | whatwg-url@^5.0.0: 381 | version "5.0.0" 382 | resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" 383 | integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== 384 | dependencies: 385 | tr46 "~0.0.3" 386 | webidl-conversions "^3.0.0" 387 | 388 | wordwrap@^1.0.0: 389 | version "1.0.0" 390 | resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 391 | integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== 392 | 393 | wrappy@1: 394 | version "1.0.2" 395 | resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 396 | integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== 397 | 398 | yallist@^4.0.0: 399 | version "4.0.0" 400 | resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" 401 | integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== 402 | --------------------------------------------------------------------------------