Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Jshrink Laravel Package

tedivm/jshrink

Native PHP JavaScript minifier for shrinking JS on the fly (cache recommended). Simple API: JShrink\Minifier::minify($js), with options like disabling flagged comment preservation. BSD licensed.

View on GitHub
Deep Wiki
Context7
v1.8.1

What's Changed

Full Changelog: https://github.com/tedious/JShrink/compare/v1.8.0...v1.8.1

v1.8.0

What's Changed

New Contributors

Full Changelog: https://github.com/tedious/JShrink/compare/v1.7.0...v1.8.0

v1.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/tedious/JShrink/compare/v1.6.8...v1.7.0

v1.6.8

What's Changed

Full Changelog: https://github.com/tedious/JShrink/compare/v1.6.7...v1.6.8

v1.6.7

What's Changed

New Contributors

Full Changelog: https://github.com/tedious/JShrink/compare/v1.6.6...v1.6.7

v1.6.6
v1.6.4

What's Changed

Full Changelog: https://github.com/tedious/JShrink/compare/v1.6.3...v1.6.4

v1.6.3
v1.6.2
v1.6.1
v1.6.0

This is the largest release in JShrink in almost a decade.

  • Regular Expression handling is significantly more robust, with multiple previous issues removed.
  • Output Buffering is removed in favor of traditional string handling. This was originally there for performance reasons that are no longer relevant.
  • Newline normalization now happens inline, which improves performance considerable.
  • In addition the test suite has been expanded to cover additional cases.

What's Changed

Full Changelog: https://github.com/tedious/JShrink/compare/v1.5.0...v1.6.0

v1.5.0

What's Changed

Full Changelog: https://github.com/tedious/JShrink/compare/v1.4.0...v1.5.0

v1.4.0
v1.3.3

This release fixes a regression that was introduced in 1.3.2.

v1.3.2

This release corrects a bug with regular expressions breaking after arithmetic operations.

v1.3.1
v1.3.0
  • Support for Template Literals
  • Update dev dependencies to latest versions
  • Drop testing support for HHVM and PHP5.6
  • Add testing support to PHP7.2
v1.2.0

This release has a few bug fixes and upgrades to the testing suite.

v1.1.0

This release incorporates a number of performance optimizations and improved UTF character detection.

v1.0.1

This release fixes a bug where completely empty comments could be misinterpreted as just the opening or closing comment tag, rather than the whole thing, causing runtime errors or missing javascript code.

Example comment:

/**/
v1.0.0

This release, besides being the first v1.0 release and thus having a stable API, includes:

  • Formatting updates for PSR-1 and PSR-2
  • Increased code coverage significantly.
  • Increased testing of Comments, Strings and Regex.
  • Added tests for error conditions to ensure proper exceptions are thrown.
  • Added additional test groups for feature requests and in development test cases.
  • Cleaned up stray lines that were being outputted around comments.
  • Reduced size of multiline strings even further!
  • Revamped "minify" static function to for efficiency.
  • Made code more portable by removing some old PHP 5.2 code.
  • Normalized Exception methods and made them more clear.
  • Added and updated a lot of the comments.
  • Removed a few bugs around edge cases in javascript (like "i + ++j").
  • Refactored code for improved clarity and development

As always, thank you for the support! I hope JShrink makes all of your projects faster for all of your users.

v0.5.2

This release is primarily a refactoring of the Test Suite (to make it actually functional) and a clean up of the secondary files themselves.

The JShrink code itself is unchanged, and you should be able to update without issue.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation