@ctrl/dom 0.1.10 → 0.1.12
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/dist/bridge/internal.js +1 -1
- package/dist/dom/_chunks/src-BlQ27FdQ.js +49 -0
- package/dist/dom/index.js +1 -1
- package/dist/dom/internal.js +1 -1
- package/dist/dom/types/css/CSSStyleDeclaration.d.ts +9 -6
- package/dist/dom/types/css/cascade.d.ts +70 -4
- package/dist/dom/types/css/cssom.d.ts +22 -3
- package/dist/dom/types/css/declarations.d.ts +50 -5
- package/dist/dom/types/css/shorthands.d.ts +2 -0
- package/dist/dom/types/css/values.d.ts +14 -0
- package/dist/dom/types/internal.d.ts +1 -1
- package/dist/dom/types/keys.d.ts +1 -0
- package/dist/dom/types/nodes/attributes.d.ts +5 -1
- package/dist/dom/types/nodes/constants.d.ts +9 -0
- package/dist/dom/types/observers/queue.d.ts +10 -0
- package/dist/dom/types/window/Window.d.ts +8 -2
- package/dist/dom/types/window/clock.d.ts +47 -5
- package/dist/react/_chunks/pure-D7Z4g4oF.js +1 -0
- package/dist/react/_chunks/pure-DOgNQrwu.cjs +1 -0
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/pure.cjs +1 -1
- package/dist/react/pure.js +1 -1
- package/dist/user-event/index.cjs +15 -15
- package/dist/user-event/index.js +15 -15
- package/dist/user-event/types/ctrl-dom.d.ts +6 -0
- package/dist/user-event/types/event/createEvent.d.ts +143 -2
- package/dist/user-event/types/utils/misc/wait.d.ts +1 -1
- package/dist/vitest-environment/index.js +1 -1
- package/dist/vitest-environment/plugin.js +1 -1
- package/dist/vitest-environment/types/index.d.ts +8 -0
- package/package.json +1 -1
- package/dist/dom/_chunks/src-BbkJRbbx.js +0 -49
- package/dist/react/_chunks/pure-C0WlxYhN.js +0 -1
- package/dist/react/_chunks/pure-DABEr3FU.cjs +0 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { Environment } from "vitest/runtime";
|
|
2
2
|
import type { CompatProfile, WindowOptions } from "@ctrl/dom";
|
|
3
|
+
/**
|
|
4
|
+
* @internal Node's compile cache in its default directory (NODE_COMPILE_CACHE, else
|
|
5
|
+
* `<tmpdir>/node-compile-cache`), or in a per-user `node-compile-cache-<uid>` beside it when Node
|
|
6
|
+
* cannot use that one: GitHub's Ubuntu 26.04 runner images ship a root-owned
|
|
7
|
+
* /tmp/node-compile-cache. The plugin's worker preload takes the same steps (COMPILE_CACHE_IMPORT
|
|
8
|
+
* in ./plugin.ts, which has the details).
|
|
9
|
+
*/
|
|
10
|
+
export declare function enableNodeCompileCache(): void;
|
|
3
11
|
export interface CtrlDomEnvironmentOptions extends Omit<WindowOptions, "shareStorageWith"> {
|
|
4
12
|
/**
|
|
5
13
|
* Skip idle time (default true): timers live on a virtual clock that jumps to the next timer
|
package/package.json
CHANGED