@atlaspack/rust 3.11.0 → 3.13.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/index.d.ts +28 -2
- package/index.darwin-arm64.node +0 -0
- package/index.darwin-x64.node +0 -0
- package/index.linux-arm64-gnu.node +0 -0
- package/index.linux-x64-gnu.node +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -74,7 +74,8 @@ export interface InlineRequiresOptimizerResult {
|
|
|
74
74
|
export declare function runInlineRequiresOptimizer(input: InlineRequiresOptimizerInput): InlineRequiresOptimizerResult
|
|
75
75
|
/** Runs in the rayon thread pool */
|
|
76
76
|
export declare function runInlineRequiresOptimizerAsync(input: InlineRequiresOptimizerInput): object
|
|
77
|
-
export interface
|
|
77
|
+
export interface CompiledCssInJsConfig {
|
|
78
|
+
configPath?: string
|
|
78
79
|
importReact?: boolean
|
|
79
80
|
nonce?: string
|
|
80
81
|
importSources?: Array<string>
|
|
@@ -84,22 +85,47 @@ export interface CompiledCssInJsTransformConfig {
|
|
|
84
85
|
processXcss?: boolean
|
|
85
86
|
increaseSpecificity?: boolean
|
|
86
87
|
sortAtRules?: boolean
|
|
88
|
+
sortShorthand?: boolean
|
|
87
89
|
classHashPrefix?: string
|
|
88
90
|
flattenMultipleSelectors?: boolean
|
|
89
91
|
extract?: boolean
|
|
90
92
|
ssr?: boolean
|
|
93
|
+
unsafeReportSafeAssetsForMigration?: boolean
|
|
94
|
+
unsafeUseSafeAssets?: boolean
|
|
95
|
+
unsafeSkipPattern?: string
|
|
91
96
|
}
|
|
92
97
|
export interface CompiledCssInJsPluginInput {
|
|
93
98
|
filename: string
|
|
94
99
|
projectRoot: string
|
|
95
100
|
isSource: boolean
|
|
96
101
|
sourceMaps: boolean
|
|
97
|
-
config:
|
|
102
|
+
config: CompiledCssInJsConfig
|
|
98
103
|
}
|
|
99
104
|
export interface CompiledCssInJsPluginResult {
|
|
100
105
|
code: string
|
|
101
106
|
map?: string
|
|
102
107
|
styleRules: Array<string>
|
|
108
|
+
diagnostics: Array<JsDiagnostic>
|
|
109
|
+
bailOut: boolean
|
|
110
|
+
codeHash: string
|
|
111
|
+
}
|
|
112
|
+
export interface JsSourceLocation {
|
|
113
|
+
startLine: number
|
|
114
|
+
startCol: number
|
|
115
|
+
endLine: number
|
|
116
|
+
endCol: number
|
|
117
|
+
}
|
|
118
|
+
export interface JsCodeHighlight {
|
|
119
|
+
message?: string
|
|
120
|
+
loc: JsSourceLocation
|
|
121
|
+
}
|
|
122
|
+
export interface JsDiagnostic {
|
|
123
|
+
message: string
|
|
124
|
+
codeHighlights?: Array<JsCodeHighlight>
|
|
125
|
+
hints?: Array<string>
|
|
126
|
+
showEnvironment: boolean
|
|
127
|
+
severity: string
|
|
128
|
+
documentationUrl?: string
|
|
103
129
|
}
|
|
104
130
|
export declare function applyCompiledCssInJsPlugin(rawCode: Buffer, input: CompiledCssInJsPluginInput): object
|
|
105
131
|
export interface JsFileSystemOptions {
|
package/index.darwin-arm64.node
CHANGED
|
Binary file
|
package/index.darwin-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
package/index.linux-x64-gnu.node
CHANGED
|
Binary file
|