@astrojs/compiler 2.13.0 → 3.0.0-beta.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/dist/astro.wasm +0 -0
- package/dist/shared/types.cjs +1 -1
- package/dist/shared/types.d.ts +0 -7
- package/dist/shared/types.js +1 -1
- package/package.json +1 -1
package/dist/astro.wasm
CHANGED
|
Binary file
|
package/dist/shared/types.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(r,
|
|
1
|
+
"use strict";var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(r,e)=>{for(var n in e)o(r,n,{get:e[n],enumerable:!0})},g=(r,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of p(e))!c.call(r,t)&&t!==n&&o(r,t,{get:()=>e[t],enumerable:!(s=a(e,t))||s.enumerable});return r};var m=r=>g(o({},"__esModule",{value:!0}),r);var d={};l(d,{DiagnosticSeverity:()=>i});module.exports=m(d);var i=(t=>(t[t.Error=1]="Error",t[t.Warning=2]="Warning",t[t.Information=3]="Information",t[t.Hint=4]="Hint",t))(i||{});0&&(module.exports={DiagnosticSeverity});
|
package/dist/shared/types.d.ts
CHANGED
|
@@ -48,13 +48,6 @@ interface TransformOptions {
|
|
|
48
48
|
resolvePath?: (specifier: string) => Promise<string> | string;
|
|
49
49
|
preprocessStyle?: (content: string, attrs: Record<string, string>) => null | Promise<PreprocessorResult | PreprocessorError>;
|
|
50
50
|
annotateSourceFile?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Render script tags to be processed (e.g. script tags that have no attributes or only a `src` attribute)
|
|
53
|
-
* using a `renderScript` function from `internalURL`, instead of stripping the script entirely.
|
|
54
|
-
* @experimental
|
|
55
|
-
*/
|
|
56
|
-
renderScript?: boolean;
|
|
57
|
-
experimentalScriptOrder?: boolean;
|
|
58
51
|
}
|
|
59
52
|
type ConvertToTSXOptions = Pick<TransformOptions, 'filename' | 'normalizedFilename' | 'sourcemap'> & {
|
|
60
53
|
/** If set to true, script tags content will be included in the generated TSX
|
package/dist/shared/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var e=(t=>(t[t.Error=1]="Error",t[t.Warning=2]="Warning",t[t.Information=3]="Information",t[t.Hint=4]="Hint",t))(e||{});export{e as DiagnosticSeverity};
|
package/package.json
CHANGED