Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): remove assert-browserify #2389

Merged
merged 11 commits into from
Jul 26, 2023
Merged

feat(deps): remove assert-browserify #2389

merged 11 commits into from
Jul 26, 2023

Conversation

ckniffen
Copy link
Collaborator

@ckniffen ckniffen commented Jul 18, 2023

High Level Overview of Change

Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release

Future Tasks

Would be nice to have more descriptive error messages. Most of the assertions had no messages.

Use `if` statements and manually error throwing to save 21kb gzipped.
@ckniffen ckniffen added the 3.0 label Jul 18, 2023
Copy link
Collaborator

@mvadari mvadari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this isn't a breaking change and could go in 2.x

@ckniffen
Copy link
Collaborator Author

IMO this isn't a breaking change and could go in 2.x

Yeah I just wanted theses big dependencies changes to go with others so people can edit their bundler configs in one swoop.

@ckniffen ckniffen merged commit 12512d8 into 3.0 Jul 26, 2023
12 checks passed
@ckniffen ckniffen deleted the feature/remove-assert branch July 26, 2023 23:08
ckniffen added a commit that referenced this pull request Aug 12, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Aug 15, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Aug 28, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Aug 28, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Sep 1, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Oct 5, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Oct 18, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Oct 25, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Nov 1, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Nov 30, 2023
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
ckniffen added a commit that referenced this pull request Feb 1, 2024
Use if statements and manually error throwing to save 20kb gzipped.

BREAKING CHANGE: If you were catching AssertionError you need to change to Error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants