sveast 0.3.0 → 0.5.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 +73 -20
- package/core.d.ts +1757 -0
- package/core.js +1 -0
- package/entities.d.ts +10 -0
- package/entities.js +1 -0
- package/index.d.ts +1575 -1307
- package/index.js +1 -1
- package/is-valid-type.js +1 -1
- package/package.json +16 -1
- package/parse-module.js +1 -1
- package/parse.js +1 -2
- package/shared-3ca5cgq8.js +2 -0
- package/shared-7q7hyetp.js +3 -0
- package/shared-c2k7d7rg.js +2 -0
- package/shared-cx7c0gk3.js +10 -0
- package/shared-da2hc1fx.js +2 -0
- package/shared-kqcn291j.js +2 -0
- package/shared-p7c7qbej.js +2 -0
- package/shared-t6kshmn4.js +12 -0
- package/shared-xvd609sh.js +2 -0
- package/shared-xw9zc4rz.js +2 -0
- package/typescript.d.ts +9 -0
- package/typescript.js +1 -0
- package/walk.js +1 -0
- package/shared-rhdkc546.js +0 -12
- package/shared-xbh87rns.js +0 -10
package/core.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d}from"./shared-7q7hyetp.js";import"./shared-cx7c0gk3.js";import{e}from"./shared-t6kshmn4.js";import{Ee}from"./shared-c2k7d7rg.js";import{m}from"./shared-kqcn291j.js";import{_e,Pe}from"./shared-da2hc1fx.js";function u(p={}){let o=_e(p.typescript),s={typescript:o,entityNames:Pe(p.entities)??Ee};return{parse:(t,r)=>d(t,r,s),parseModule:(t,r={})=>m(t,r,o)}}export{e as ParseError,u as createParser};
|
package/entities.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HTML's named character references, such as ` ` and `©`, for
|
|
3
|
+
* `createParser` from `sveast/core`, so `Text.data` and attribute values
|
|
4
|
+
* decode them as svelte does.
|
|
5
|
+
*/
|
|
6
|
+
export declare const entities: EntitySupport;
|
|
7
|
+
|
|
8
|
+
interface EntitySupport {
|
|
9
|
+
readonly support: "entities";
|
|
10
|
+
}
|
package/entities.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./shared-c2k7d7rg.js";import{S}from"./shared-p7c7qbej.js";import{Ce}from"./shared-da2hc1fx.js";var p=Ce(S);export{p as entities};
|