Skip to content

Commit

Permalink
Version Packages (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 6, 2024
1 parent d820449 commit 9c38e4f
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 58 deletions.
5 changes: 0 additions & 5 deletions .changeset/angry-suits-itch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/beige-mice-sleep.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bright-carrots-drop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curly-rings-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/khaki-lizards-roll.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-trees-buy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-dolphins-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silent-hats-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-cameras-cough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stale-bikes-leave.md

This file was deleted.

41 changes: 35 additions & 6 deletions packages/sonda/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,51 @@
# Changelog

## 0.2.0

Besides the new features listed below, this release changes some default behaviors. Now, sonda will not read external source maps or calculate file sizes after compression with GZIP and Brotli. If you want to use these features, use the following new configuration options:

```json
{
"detailed": true,
"gzip": true,
"brotli": true
}
```

Please refer to README.md for more information.

### Minor Changes

- Add switch to toggle between uncompressed, GZIP, and Brotli treemap diagrams.
- Do not read dependency source maps by default. Use the `detailed` configuration option to read them.
- Update modal for assets to display how much code comes from ESM, CJS, or unknown sources.
- Improve GZIP and Brotli compression size estimations instead of showing worst-case sizes.
- Add modal for assets that displays the bundled, GZIP, and Brotli sizes.
- Update modal for assets to list external dependencies.
- Do not calculate GZIP and Brotli sizes by default. Use the `gzip` and `brotli` configuration options to calculate them.

### Patch Changes

- Correctly load source maps when `sourceMappingURL` contains URL params.
- Remove unnecessary `#__PURE__` comments.

## 0.1.4

* Show "No data to display" with a helpful message when there is no data to display in the report.
* Prevent black boxes in tree maps with large `[unassigned]` tiles.
- Show "No data to display" with a helpful message when there is no data to display in the report.
- Prevent black boxes in tree maps with large `[unassigned]` tiles.

## 0.1.3

* Show the approximate file and folder size after GZIP and Brotli compression
- Show the approximate file and folder size after GZIP and Brotli compression

## 0.1.2

* Use the `open` package to open the generated reports.
- Use the `open` package to open the generated reports.

## 0.1.1

* Use `execFileSync` instead of `exec` to prevent potential shell injection when the path contains characters that the shell interprets in a special way, for instance quotes and spaces.
- Use `execFileSync` instead of `exec` to prevent potential shell injection when the path contains characters that the shell interprets in a special way, for instance quotes and spaces.

## 0.1.0

* Initial release of sonda that allowed generating an `'html'` and `'json'` report for bundles generated by Vite, Rollup, Webpack, and esbuild.
- Initial release of sonda that allowed generating an `'html'` and `'json'` report for bundles generated by Vite, Rollup, Webpack, and esbuild.
2 changes: 1 addition & 1 deletion packages/sonda/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sonda",
"version": "0.1.4",
"version": "0.2.0",
"description": "Universal visualizer and analyzer for JavaScript and CSS bundles. Works with Vite, Rollup, webpack, and esbuild",
"keywords": [
"bundle analyzer",
Expand Down
7 changes: 7 additions & 0 deletions packages/unplugin-sourcemaps/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# unplugin-sourcemaps

## 0.1.1

### Patch Changes

- Correctly load source maps when `sourceMappingURL` contains URL params.
2 changes: 1 addition & 1 deletion packages/unplugin-sourcemaps/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unplugin-sourcemaps",
"version": "0.1.0",
"version": "0.1.1",
"description": "Universal plugin for loading existing source maps from imported modules. Works with Vite, Rollup, webpack, and esbuild.",
"keywords": [
"sourcemap",
Expand Down

0 comments on commit 9c38e4f

Please sign in to comment.