obsidian-typings 4.74.0 → 4.75.0

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.
package/README.md CHANGED
@@ -70,7 +70,7 @@ To make it easier to adapt to these differences, this package provides typings f
70
70
  Typings for each `Obsidian` version can be found in their own git branches: namely `release/obsidian-public/*` and `release/obsidian-catalyst/*`:
71
71
 
72
72
  - Latest `public` release: [`release/obsidian-public/1.10.6`](https://github.com/Fevol/obsidian-typings/tree/release/obsidian-public/1.10.6)
73
- - Latest `catalyst` release: [`release/obsidian-catalyst/1.11.0`](https://github.com/Fevol/obsidian-typings/tree/release/obsidian-catalyst/1.11.0)
73
+ - Latest `catalyst` release: [`release/obsidian-catalyst/1.11.1`](https://github.com/Fevol/obsidian-typings/tree/release/obsidian-catalyst/1.11.1)
74
74
 
75
75
  Older versions of the package are available, but support for them is limited.
76
76
  In most cases, we recommend to always use the latest release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-typings",
3
- "version": "4.74.0",
3
+ "version": "4.75.0",
4
4
  "description": "Extended type definitions for the Obsidian API (https://obsidian.md)",
5
5
  "main": "",
6
6
  "module": "",
@@ -78,7 +78,7 @@
78
78
  "pdfjs-dist": "5.3.31",
79
79
  "pixi.js": "7.2.4",
80
80
  "scrypt-js": "3.0.1",
81
- "style-mod": "4.1.2"
81
+ "style-mod": "^4.1.3"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@commitlint/cli": "^20.1.0",
@@ -96,7 +96,6 @@
96
96
  "esbuild": "^0.25.10",
97
97
  "husky": "^9.1.7",
98
98
  "npm-run-all": "^4.1.5",
99
- "obsidian-dev-utils": "^42.6.3",
100
99
  "patch-package": "^8.0.1",
101
100
  "semver": "^7.7.2",
102
101
  "ts-morph": "^27.0.0",
@@ -22,7 +22,7 @@ if (pkgDir.endsWith(relativePath)) {
22
22
  pkgDir = pkgDir.slice(0, -relativePath.length);
23
23
  }
24
24
 
25
- spawnSync('npx', ['patch-package', '--patch-dir', relative(pkgDir, patchDir)], {
25
+ spawnSync(`npx patch-package --patch-dir "${relative(pkgDir, patchDir)}"`, {
26
26
  shell: true,
27
27
  stdio: 'inherit',
28
28
  cwd: pkgDir
@@ -1,28 +0,0 @@
1
- diff --git a/node_modules/style-mod/package.json b/node_modules/style-mod/package.json
2
- index 24b2706..d8b1c78 100644
3
- --- a/node_modules/style-mod/package.json
4
- +++ b/node_modules/style-mod/package.json
5
- @@ -5,8 +5,14 @@
6
- "main": "dist/style-mod.cjs",
7
- "type": "module",
8
- "exports": {
9
- - "import": "./src/style-mod.js",
10
- - "require": "./dist/style-mod.cjs"
11
- + "import": {
12
- + "types": "./src/style-mod.d.ts",
13
- + "default": "./src/style-mod.js"
14
- + },
15
- + "require": {
16
- + "types": "./src/style-mod.d.cts",
17
- + "default": "./dist/style-mod.cjs"
18
- + }
19
- },
20
- "module": "src/style-mod.js",
21
- "types": "src/style-mod.d.ts",
22
- diff --git a/node_modules/style-mod/src/style-mod.d.cts b/node_modules/style-mod/src/style-mod.d.cts
23
- new file mode 100644
24
- index 0000000..6c79d85
25
- --- /dev/null
26
- +++ b/node_modules/style-mod/src/style-mod.d.cts
27
- @@ -0,0 +1 @@
28
- +export type * from './style-mod.js' with { 'resolution-mode': 'require' };