Skip to content

Commit

Permalink
Merge branch 'master' of github.com:parcel-bundler/lightningcss
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Aug 19, 2023
2 parents 1094590 + 690b022 commit 4417942
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions node/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface TransformOptions<C extends CustomAtRules> {
/** The filename being transformed. Used for error messages and source maps. */
filename: string,
/** The source code to transform. */
code: Buffer,
code: Uint8Array,
/** Whether to enable minification. */
minify?: boolean,
/** Whether to output a source map. */
Expand Down Expand Up @@ -280,9 +280,9 @@ export interface PseudoClasses {

export interface TransformResult {
/** The transformed code. */
code: Buffer,
code: Uint8Array,
/** The generated source map, if enabled. */
map: Buffer | void,
map: Uint8Array | void,
/** CSS module exports, if enabled. */
exports: CSSModuleExports | void,
/** CSS module references, if `dashedIdents` is enabled. */
Expand Down Expand Up @@ -404,7 +404,7 @@ export interface TransformAttributeOptions {
/** The filename in which the style attribute appeared. Used for error messages and dependencies. */
filename?: string,
/** The source code to transform. */
code: Buffer,
code: Uint8Array,
/** Whether to enable minification. */
minify?: boolean,
/** The browser targets for the generated code. */
Expand Down Expand Up @@ -433,7 +433,7 @@ export interface TransformAttributeOptions {

export interface TransformAttributeResult {
/** The transformed code. */
code: Buffer,
code: Uint8Array,
/** `@import` and `url()` dependencies, if enabled. */
dependencies: Dependency[] | void,
/** Warnings that occurred during compilation. */
Expand Down
2 changes: 1 addition & 1 deletion src/media_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ define_query_features! {
/// The [horizontal-viewport-segments](https://w3c.github.io/csswg-drafts/mediaqueries-5/#horizontal-viewport-segments) media feature.
"horizontal-viewport-segments": HorizontalViewportSegments = Integer,
/// The [vertical-viewport-segments](https://w3c.github.io/csswg-drafts/mediaqueries-5/#vertical-viewport-segments) media feature.
"vertical-viewport-segments": VertialViewportSegments = Integer,
"vertical-viewport-segments": VerticalViewportSegments = Integer,
/// The [display-mode](https://w3c.github.io/csswg-drafts/mediaqueries-5/#display-mode) media feature.
"display-mode": DisplayMode = Ident,
/// The [resolution](https://w3c.github.io/csswg-drafts/mediaqueries-5/#resolution) media feature.
Expand Down

0 comments on commit 4417942

Please sign in to comment.