@sigil-dev/runtime 0.9.21 → 0.9.22
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 +140 -140
- package/index.ts +1388 -1289
- package/package.json +8 -1
- package/reactivity/map.ts +98 -98
- package/reactivity/set.ts +74 -74
- package/transition.ts +69 -69
- package/index.test.ts +0 -2089
- package/jsr.json +0 -8
- package/test-preload.ts +0 -11
- package/tsconfig.json +0 -30
package/jsr.json
DELETED
package/test-preload.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Window } from "happy-dom";
|
|
2
|
-
|
|
3
|
-
const window = new Window();
|
|
4
|
-
(globalThis as any).document = window.document;
|
|
5
|
-
(globalThis as any).Element = window.Element;
|
|
6
|
-
(globalThis as any).Text = window.Text;
|
|
7
|
-
(globalThis as any).Node = window.Node;
|
|
8
|
-
(globalThis as any).HTMLElement = window.HTMLElement;
|
|
9
|
-
(globalThis as any).Comment = window.Comment;
|
|
10
|
-
// events the tests dispatch must be the DOM's own: happy-dom refuses Bun's
|
|
11
|
-
(globalThis as any).Event = window.Event;
|
package/tsconfig.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext", "DOM"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "Preserve",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"types": ["bun"],
|
|
11
|
-
|
|
12
|
-
// Bundler mode
|
|
13
|
-
"moduleResolution": "bundler",
|
|
14
|
-
"allowImportingTsExtensions": true,
|
|
15
|
-
"verbatimModuleSyntax": true,
|
|
16
|
-
"noEmit": true,
|
|
17
|
-
|
|
18
|
-
// Best practices
|
|
19
|
-
"strict": true,
|
|
20
|
-
"skipLibCheck": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noUncheckedIndexedAccess": true,
|
|
23
|
-
"noImplicitOverride": true,
|
|
24
|
-
|
|
25
|
-
// Some stricter flags (disabled by default)
|
|
26
|
-
"noUnusedLocals": false,
|
|
27
|
-
"noUnusedParameters": false,
|
|
28
|
-
"noPropertyAccessFromIndexSignature": false
|
|
29
|
-
}
|
|
30
|
-
}
|