dom-expressions 0.40.5 → 0.40.7
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 +3 -3
- package/src/server.d.ts +10 -0
- package/src/server.js +5 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dom-expressions",
|
|
3
3
|
"description": "A Fine-Grained Runtime for Performant DOM Rendering",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.7",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"seroval-plugins": "~1.5.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"babel-plugin-jsx-dom-expressions": "^0.40.
|
|
27
|
+
"babel-plugin-jsx-dom-expressions": "^0.40.7",
|
|
28
28
|
"csstype": "^3.1",
|
|
29
29
|
"seroval": "~1.5.0",
|
|
30
30
|
"seroval-plugins": "~1.5.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "3c01eb2ac61b193d4164319befe3f1b2634549cb"
|
|
33
33
|
}
|
package/src/server.d.ts
CHANGED
|
@@ -175,3 +175,13 @@ export function getNextElement(template?: HTMLTemplateElement): Element;
|
|
|
175
175
|
export function getNextMatch(start: Node, elementName: string): Element;
|
|
176
176
|
/** @deprecated not supported on the server side */
|
|
177
177
|
export function getNextMarker(start: Node): [Node, Array<Node>];
|
|
178
|
+
/** @deprecated not supported on the server side */
|
|
179
|
+
export function runHydrationEvents(): void;
|
|
180
|
+
/** @deprecated not supported on the server side */
|
|
181
|
+
export function use<Arg, Ret>(fn: (node: Element, arg: Arg) => Ret, node: Element, arg?: Arg): Ret;
|
|
182
|
+
/** @deprecated not supported on the server side */
|
|
183
|
+
export function setBoolAttribute(node: Element, name: string, value: any): void;
|
|
184
|
+
/** @deprecated not supported on the server side */
|
|
185
|
+
export function setStyleProperty(node: Element, name: string, value: any): void;
|
|
186
|
+
/** @deprecated not supported on the server side */
|
|
187
|
+
export function clearDelegatedEvents(d?: Document): void;
|
package/src/server.js
CHANGED
|
@@ -730,7 +730,11 @@ export {
|
|
|
730
730
|
notSup as getNextElement,
|
|
731
731
|
notSup as getNextMatch,
|
|
732
732
|
notSup as getNextMarker,
|
|
733
|
-
notSup as runHydrationEvents
|
|
733
|
+
notSup as runHydrationEvents,
|
|
734
|
+
notSup as use,
|
|
735
|
+
notSup as setBoolAttribute,
|
|
736
|
+
notSup as setStyleProperty,
|
|
737
|
+
notSup as clearDelegatedEvents
|
|
734
738
|
};
|
|
735
739
|
|
|
736
740
|
function notSup() {
|