Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: parcel-bundler/lightningcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.23.0
Choose a base ref
...
head repository: parcel-bundler/lightningcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.24.0
Choose a head ref

Commits on Jan 14, 2024

  1. pin docker images

    devongovett committed Jan 14, 2024

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    DrFaust92 Ilia Lazebnik
    Copy the full SHA
    b47f496 View commit details
  2. Try fixing freebsd build

    devongovett authored Jan 14, 2024
    Copy the full SHA
    0c05ba8 View commit details

Commits on Jan 29, 2024

  1. Copy the full SHA
    1c3af71 View commit details

Commits on Feb 10, 2024

  1. Copy the full SHA
    97d9e82 View commit details
  2. Bump browserslist-rs (#674)

    mischnic authored Feb 10, 2024
    Copy the full SHA
    fa795e1 View commit details
  3. v1.23.1

    devongovett committed Feb 10, 2024
    Copy the full SHA
    c090193 View commit details
  4. bump rustc

    devongovett committed Feb 10, 2024
    Copy the full SHA
    4f5a44c View commit details

Commits on Feb 13, 2024

  1. Copy the full SHA
    808ce79 View commit details
  2. Copy the full SHA
    981175b View commit details
  3. Copy the full SHA
    6b5ac8b View commit details
  4. cargo fmt

    devongovett committed Feb 13, 2024
    Copy the full SHA
    5503ecd View commit details
  5. Deduplicate custom properties

    Fixes #466
    devongovett committed Feb 13, 2024
    Copy the full SHA
    7a34df2 View commit details

Commits on Feb 14, 2024

  1. Copy the full SHA
    a08f31b View commit details
  2. Copy the full SHA
    2f18ed9 View commit details

Commits on Feb 15, 2024

  1. Parse a TokenList instead of only a single Token in @Property rules

    devongovett committed Feb 15, 2024
    Copy the full SHA
    949eb13 View commit details
  2. Merge @Keyframes with same name and prefixes

    devongovett committed Feb 15, 2024
    Copy the full SHA
    96ea996 View commit details

Commits on Feb 23, 2024

  1. Parse CSS system colors

    devongovett committed Feb 23, 2024
    1
    Copy the full SHA
    2983614 View commit details
  2. cargo fmt

    devongovett committed Feb 23, 2024
    Copy the full SHA
    1589f68 View commit details
  3. update freebsd action

    devongovett committed Feb 23, 2024
    Copy the full SHA
    05e60ca View commit details
  4. v1.24.0

    devongovett committed Feb 23, 2024
    Copy the full SHA
    30b9d79 View commit details
  5. docs for light-dark() function

    devongovett committed Feb 23, 2024
    Copy the full SHA
    4eaed5c View commit details
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -108,12 +108,12 @@ jobs:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
- target: armv7-unknown-linux-gnueabihf
strip: llvm-strip
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-zig
image: ghcr.io/napi-rs/napi-rs/nodejs-rust@sha256:c22284b2d79092d3e885f64ede00f6afdeb2ccef7e2b6e78be52e7909091cd57
- target: aarch64-unknown-linux-musl
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
image: ghcr.io/napi-rs/napi-rs/nodejs-rust@sha256:78c9ab1f117f8c535b93c4b91a2f19063dda6e4dba48a6187df49810625992c1
strip: aarch64-linux-musl-strip
- target: x86_64-unknown-linux-musl
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
image: ghcr.io/napi-rs/napi-rs/nodejs-rust@sha256:78c9ab1f117f8c535b93c4b91a2f19063dda6e4dba48a6187df49810625992c1
strip: strip

name: build-${{ matrix.target }}
@@ -158,11 +158,11 @@ jobs:
lightningcss
build-freebsd:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build FreeBSD
uses: cross-platform-actions/action@v0.19.0
uses: cross-platform-actions/action@v0.23.0
env:
DEBUG: napi:*
RUSTUP_HOME: /usr/local/rustup
@@ -171,6 +171,9 @@ jobs:
with:
operating_system: freebsd
version: '13.2'
memory: 13G
cpu_count: 3
environment_variables: 'DEBUG RUSTUP_IO_THREADS'
shell: bash
run: |
sudo pkg install -y -f curl node libnghttp2 npm yarn
79 changes: 44 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ members = [
[package]
authors = ["Devon Govett <devongovett@gmail.com>"]
name = "lightningcss"
version = "1.0.0-alpha.52"
version = "1.0.0-alpha.54"
description = "A CSS parser, transformer, and minifier"
license = "MPL-2.0"
edition = "2021"
@@ -59,12 +59,12 @@ data-encoding = "2.3.2"
lazy_static = "1.4.0"
const-str = "0.3.1"
pathdiff = "0.2.1"
ahash = "0.7.6"
ahash = "0.8.7"
paste = "1.0.12"
# CLI deps
atty = { version = "0.2", optional = true }
clap = { version = "3.0.6", features = ["derive"], optional = true }
browserslist-rs = { version = "0.12.3", optional = true }
browserslist-rs = { version = "0.15.0", optional = true }
rayon = { version = "1.5.1", optional = true }
dashmap = { version = "5.0.0", optional = true }
serde_json = { version = "1.0.78", optional = true }
@@ -75,6 +75,9 @@ static-self = { version = "0.1.0", path = "static-self", optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"], optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["custom"], default-features = false }

[dev-dependencies]
indoc = "1.0.3"
assert_cmd = "2.0"
2 changes: 1 addition & 1 deletion c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
[dependencies]
lightningcss = { path = "../", features = ["browserslist"] }
parcel_sourcemap = { version = "2.1.1", features = ["json"] }
browserslist-rs = { version = "0.12.3" }
browserslist-rs = { version = "0.15.0" }

[build-dependencies]
cbindgen = "0.24.3"
2 changes: 2 additions & 0 deletions c/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::not_unsafe_ptr_arg_deref)]

use std::collections::HashSet;
use std::ffi::{CStr, CString};
use std::mem::ManuallyDrop;
Loading