obsidian-integration-testing 2.3.2 → 2.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obsidian-integration-testing",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Simplifies integration testing of Obsidian plugins.",
5
5
  "keywords": [
6
6
  "obsidian",
@@ -136,7 +136,6 @@
136
136
  "type-fest": "latest",
137
137
  "typescript": "latest",
138
138
  "typescript-eslint": "latest",
139
- "urlpattern-polyfill": "10.1.0",
140
139
  "vitest": "latest"
141
140
  },
142
141
  "peerDependencies": {
@@ -147,10 +146,11 @@
147
146
  "@antfu/utils": "9.2.0",
148
147
  "@sinonjs/fake-timers": "13.0.5",
149
148
  "eslint-plugin-import": "npm:eslint-plugin-import-x@latest",
150
- "type-fest": "latest"
149
+ "type-fest": "latest",
150
+ "urlpattern-polyfill": "npm:dry-uninstall"
151
151
  },
152
152
  "dependencies": {
153
153
  "puppeteer-core": "latest",
154
- "webdriverio": "latest"
154
+ "webdriverio": "9.27.0"
155
155
  }
156
156
  }
@@ -0,0 +1,38 @@
1
+ diff --git a/node_modules/webdriverio/build/index.js b/node_modules/webdriverio/build/index.js
2
+ index 49fdef4..518d80b 100644
3
+ --- a/node_modules/webdriverio/build/index.js
4
+ +++ b/node_modules/webdriverio/build/index.js
5
+ @@ -3763,7 +3763,7 @@ import { getBrowserObject as getBrowserObject6 } from "@wdio/utils";
6
+
7
+ // src/utils/interception/index.ts
8
+ import logger8 from "@wdio/logger";
9
+ -import { URLPattern } from "urlpattern-polyfill";
10
+ +import { URLPattern } from "node:url";
11
+
12
+ // src/utils/Timer.ts
13
+ var TIMEOUT_ERROR = "timeout";
14
+ diff --git a/node_modules/webdriverio/build/node.js b/node_modules/webdriverio/build/node.js
15
+ index ec3e2ae..6cd9a8e 100644
16
+ --- a/node_modules/webdriverio/build/node.js
17
+ +++ b/node_modules/webdriverio/build/node.js
18
+ @@ -3950,7 +3950,7 @@ import { getBrowserObject as getBrowserObject7 } from "@wdio/utils";
19
+
20
+ // src/utils/interception/index.ts
21
+ import logger9 from "@wdio/logger";
22
+ -import { URLPattern } from "urlpattern-polyfill";
23
+ +import { URLPattern } from "node:url";
24
+
25
+ // src/utils/Timer.ts
26
+ var TIMEOUT_ERROR = "timeout";
27
+ diff --git a/node_modules/webdriverio/build/utils/interception/index.d.ts b/node_modules/webdriverio/build/utils/interception/index.d.ts
28
+ index b757b23..78c79dd 100644
29
+ --- a/node_modules/webdriverio/build/utils/interception/index.d.ts
30
+ +++ b/node_modules/webdriverio/build/utils/interception/index.d.ts
31
+ @@ -1,6 +1,6 @@
32
+ import type { JsonCompatible } from '@wdio/types';
33
+ import { type local, type remote } from 'webdriver';
34
+ -import { URLPattern } from 'urlpattern-polyfill';
35
+ +import { URLPattern } from 'node:url';
36
+ import type { MockFilterOptions, RequestWithOptions, RespondWithOptions } from './types.js';
37
+ import type { WaitForOptions } from '../../types.js';
38
+ type RespondBody = string | JsonCompatible | Buffer;
@@ -1,13 +0,0 @@
1
- diff --git a/node_modules/urlpattern-polyfill/dist/index.d.ts b/node_modules/urlpattern-polyfill/dist/index.d.ts
2
- index 429e17c..534a0a1 100644
3
- --- a/node_modules/urlpattern-polyfill/dist/index.d.ts
4
- +++ b/node_modules/urlpattern-polyfill/dist/index.d.ts
5
- @@ -2,8 +2,5 @@ import type * as Types from "./types.js";
6
- export { URLPattern } from "./types.js";
7
-
8
- declare global {
9
- - class URLPattern extends Types.URLPattern {}
10
- - type URLPatternInit = Types.URLPatternInit;
11
- - type URLPatternResult = Types.URLPatternResult;
12
- type URLPatternComponentResult = Types.URLPatternComponentResult;
13
- }