@polyipseity/obsidian-plugin-library 1.18.0 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,10 +24,10 @@
24
24
  export let results = "";
25
25
 
26
26
  let inputElement: HTMLElement | null = null;
27
- export function focus() {
27
+ export function focus(): void {
28
28
  inputElement?.focus();
29
29
  }
30
- export function blur() {
30
+ export function blur(): void {
31
31
  inputElement?.blur();
32
32
  }
33
33
 
@@ -1,4 +1,4 @@
1
- export declare const FUNCTION_CONSTRUCTOR_OFFSET_SCRIPT = "LoremIpsum", MAX_LOCK_PENDING = 1000, SAVE_SETTINGS_WAIT = 2;
1
+ export declare const FUNCTION_CONSTRUCTOR_OFFSET_SCRIPT = "LoremIpsum", MAX_LOCK_PENDING: number, SAVE_SETTINGS_WAIT = 2;
2
2
  export declare namespace InternalDOMClasses {
3
3
  const AWAIT_CSS = "obsidian-plugin-library:await-css", HIDE_STATUS_BAR = "obsidian-plugin-library:hide-status-bar", ICON = "obsidian-plugin-library:icon";
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"magic.d.ts","sourceRoot":"","sources":["../../../sources/internals/magic.ts"],"names":[],"mappings":"AAAA,eAAO,MACN,kCAAkC,eAAe,EACjD,gBAAgB,OAAO,EACvB,kBAAkB,IAAI,CAAA;AAEvB,yBAAiB,kBAAkB,CAAC;IAE5B,MACN,SAAS,sCAA2B,EACpC,eAAe,4CAAiC,EAChD,IAAI,iCAAsB,CAAA;CAC3B"}
1
+ {"version":3,"file":"magic.d.ts","sourceRoot":"","sources":["../../../sources/internals/magic.ts"],"names":[],"mappings":"AAAA,eAAO,MACN,kCAAkC,eAAe,EACjD,gBAAgB,QAAW,EAC3B,kBAAkB,IAAI,CAAA;AAEvB,yBAAiB,kBAAkB,CAAC;IAE5B,MACN,SAAS,sCAA2B,EACpC,eAAe,4CAAiC,EAChD,IAAI,iCAAsB,CAAA;CAC3B"}
@@ -1 +1 @@
1
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AAO,GACV,MAAM,IAAI;IAcG,MAAM,IAAI,IAAI;cAYL,KAAK,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;CAgB1D;AACD,yBAAiB,eAAe,CAAC;IAChC,KAAY,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACvD,UAAiB,IAAI;QACpB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAA;KAC3B;CACD;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CA2HrE"}
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../sources/icons.css", "../sources/obsidian.css", "../sources/status-bar.css"],
4
4
  "sourcesContent": [".obsidian-plugin-library\\:icon {\r\n\tfill: none;\r\n\tstroke: currentColor;\r\n}", ".obsidian-plugin-library\\:await-css {\r\n\tdisplay: unset !important;\r\n}", ".obsidian-plugin-library\\:hide-status-bar {\r\n\tdisplay: none;\r\n}"],
5
- "mappings": "AAAA,+BACC,UACA,oBCFD,oCACC,wBCDD,0CACC",
5
+ "mappings": "AAAA,CAAC,8BACA,KAAM,KACN,OAAQ,YACT,CCHA,CAAC,mCACA,QAAS,eACV,CCFA,CAAC,yCACA,QAAS,IACV",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -11,11 +11,11 @@
11
11
  "convert-source-map": "^2.0.0",
12
12
  "deep-equal": "^2.2.2",
13
13
  "file-saver": "^2.0.5",
14
- "i18next": "^23.4.6",
14
+ "i18next": "^23.5.1",
15
15
  "i18next-resources-to-backend": "^1.1.4",
16
16
  "import-meta-resolve": "^3.0.0",
17
17
  "lodash-es": "^4.17.21",
18
- "lucide": "^0.269.0",
18
+ "lucide": "^0.276.0",
19
19
  "lz-string": "^1.5.0",
20
20
  "monkey-around": "^2.3.0",
21
21
  "obsidian": "^1.2.8",
@@ -24,42 +24,41 @@
24
24
  "source-map": "^0.7.4",
25
25
  "svelte": "^3.59.2",
26
26
  "ts-deepmerge": "^6.2.0",
27
- "ts-essentials": "^9.3.2"
27
+ "ts-essentials": "^9.4.0"
28
28
  },
29
29
  "description": "Library for Obsidian plugins.",
30
30
  "devDependencies": {
31
31
  "@changesets/cli": "^2.26.2",
32
32
  "@polyipseity/obsidian": "^1.2.8",
33
- "@tsconfig/esm": "^1.0.4",
34
33
  "@tsconfig/node16": "^16.1.1",
35
34
  "@tsconfig/recommended": "^1.0.2",
36
- "@tsconfig/strictest": "^2.0.1",
35
+ "@tsconfig/strictest": "^2.0.2",
37
36
  "@tsconfig/svelte": "^5.0.2",
38
37
  "@types/async-lock": "^1.4.0",
39
38
  "@types/browser-util-inspect": "^0.2.1",
40
- "@types/convert-source-map": "^2.0.0",
39
+ "@types/convert-source-map": "^2.0.1",
41
40
  "@types/deep-equal": "^1.0.1",
42
41
  "@types/file-saver": "^2.0.5",
43
- "@types/lodash-es": "^4.17.8",
44
- "@types/node": "^20.5.6",
45
- "@types/semver": "^7.5.0",
46
- "@typescript-eslint/eslint-plugin": "^6.4.1",
47
- "@typescript-eslint/parser": "^6.4.1",
48
- "esbuild": "^0.17.19",
42
+ "@types/lodash-es": "^4.17.9",
43
+ "@types/node": "^20.6.0",
44
+ "@types/semver": "^7.5.1",
45
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
46
+ "@typescript-eslint/parser": "^6.7.0",
47
+ "esbuild": "^0.19.2",
49
48
  "esbuild-compress": "^2.0.0",
50
- "esbuild-node-externals": "^1.8.0",
49
+ "esbuild-node-externals": "^1.9.0",
51
50
  "esbuild-plugin-copy": "^2.1.1",
52
- "esbuild-svelte": "^0.7.4",
53
- "eslint": "^8.48.0",
51
+ "esbuild-svelte": "^0.8.0",
52
+ "eslint": "^8.49.0",
54
53
  "eslint-import-resolver-typescript": "^3.6.0",
55
54
  "eslint-plugin-import": "^2.28.1",
56
- "eslint-plugin-svelte3": "^4.0.0",
55
+ "eslint-plugin-svelte": "^2.33.1",
57
56
  "moment": "^2.29.4",
58
57
  "svelte-preprocess": "^5.0.4",
59
58
  "tslib": "^2.6.2",
60
59
  "typescript": "^5.2.2",
61
- "typescript-svelte-plugin": "^0.3.30",
62
- "which": "^3.0.1"
60
+ "typescript-svelte-plugin": "^0.3.31",
61
+ "which": "^4.0.0"
63
62
  },
64
63
  "exports": {
65
64
  ".": {
@@ -131,7 +130,7 @@
131
130
  "style": "dist/style.css",
132
131
  "type": "module",
133
132
  "types": "dist/sources/index.d.ts",
134
- "version": "1.18.0",
133
+ "version": "1.18.1",
135
134
  "workspaces": [
136
135
  ".",
137
136
  "build/*"
@@ -139,9 +138,9 @@
139
138
  "scripts": {
140
139
  "build": "npm run check && npm run build:force",
141
140
  "build:force": "node build/build.mjs",
142
- "check": "tsc --noEmit && eslint --cache --ignore-pattern \"*.svelte\" .",
141
+ "check": "tsc --noEmit && eslint --cache .",
143
142
  "dev": "npm run build:force -- dev",
144
- "fix": "eslint --fix --cache --ignore-pattern \"*.svelte\" .",
143
+ "fix": "eslint --cache --fix .",
145
144
  "postversion": "node build/version-post.mjs"
146
145
  }
147
146
  }