Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion src/bundler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ bun_md.workspace = true
bun_options_types.workspace = true
bun_paths.workspace = true
bun_perf.workspace = true
bun_router.workspace = true
bun_sourcemap.workspace = true
bun_sys.workspace = true
bun_threading.workspace = true
Expand Down
3 changes: 0 additions & 3 deletions src/css/crate_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ pub enum Error {
InvalidCharacter,
#[error("UnsupportedCSSTarget")]
UnsupportedCSSTarget,
#[error("CSSPrintError")]
CSSPrintError,
}

impl Error {
Expand All @@ -17,7 +15,6 @@ impl Error {
Self::Overflow => "Overflow",
Self::InvalidCharacter => "InvalidCharacter",
Self::UnsupportedCSSTarget => "UnsupportedCSSTarget",
Self::CSSPrintError => "CSSPrintError",
}
}
}
Expand Down
21 changes: 0 additions & 21 deletions src/css/selectors/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1620,19 +1620,6 @@ impl<Impl: BunSelectorImpl> GenericSelectorList<Impl> {
unreachable!("use serializer::serialize_selector_list()");
}

pub fn parse_with_options(input: &mut CssParser, options: &ParserOptions) -> CResult<Self> {
let mut parser = SelectorParser {
options,
is_nesting_allowed: true,
};
Self::parse(
&mut parser,
input,
ParseErrorRecovery::DiscardList,
NestingRequirement::None,
)
}

pub fn parse(
parser: &mut SelectorParser,
input: &mut CssParser,
Expand Down Expand Up @@ -1927,14 +1914,6 @@ impl<Impl: BunSelectorImpl> GenericSelector<Impl> {
self.specificity_and_flags.specificity
}

pub fn parse_with_options(input: &mut CssParser, options: &ParserOptions) -> CResult<Self> {
let mut selector_parser = SelectorParser {
is_nesting_allowed: true,
options,
};
Self::parse(&mut selector_parser, input)
}

pub(crate) fn iter_raw_match_order(&self) -> RawMatchOrderIterator<'_, Impl> {
RawMatchOrderIterator {
slice: &self.components,
Expand Down
6 changes: 0 additions & 6 deletions src/glob/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ workspace = true
[dependencies]
strum.workspace = true
bstr.workspace = true
scopeguard.workspace = true
const_format.workspace = true
enum-map.workspace = true
enumset.workspace = true
libc.workspace = true
bitflags.workspace = true
bun_alloc.workspace = true
bun_core.workspace = true
bun_collections.workspace = true
Expand Down
5 changes: 0 additions & 5 deletions src/http_jsc/websocket_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2045,26 +2045,21 @@ pub enum ErrorCode {
Closed = 14,
FailedToWrite = 15,
FailedToConnect = 16,
HeadersTooLarge = 17,
Ended = 18,
FailedToAllocateMemory = 19,
ControlFrameIsFragmented = 20,
InvalidControlFrame = 21,
CompressionUnsupported = 22,
InvalidCompressedData = 23,
CompressionFailed = 24,
UnexpectedMaskFromServer = 25,
ExpectedControlFrame = 26,
UnsupportedControlFrame = 27,
UnexpectedOpcode = 28,
InvalidUtf8 = 29,
TlsHandshakeFailed = 30,
MessageTooBig = 31,
ProtocolError = 32,
// Proxy error codes
ProxyConnectFailed = 33,
ProxyAuthenticationRequired = 34,
Comment thread
robobun marked this conversation as resolved.
ProxyConnectionRefused = 35,
ProxyTunnelFailed = 36,
UnexpectedRsv1 = 37,
}
Expand Down
Loading