Skip to content

Commit

Permalink
Version Packages (#659)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 21, 2022
1 parent aeb0fe0 commit ce09668
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .changeset/thick-bees-yell.md

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

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

12 changes: 11 additions & 1 deletion packages/wrangler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# wrangler

## 0.0.22

### Patch Changes

- [#656](https://github.com/cloudflare/wrangler2/pull/656) [`aeb0fe0`](https://github.com/cloudflare/wrangler2/commit/aeb0fe02dbc9b8ef2edc0e2a669315bd40bbdfb3) Thanks [@threepointone](https://github.com/threepointone)! - fix: resolve npm modules correctly

When implementing legacy module specifiers, we didn't throughly test the interaction when there weren't any other files next to the entry worker, and importing npm modules. It would create a Regex that matched _every_ import, and fail because a file of that name wasn't present in the source directory. This fix constructs a better regex, applies it only when there are more files next to the worker, and increases test coverage for that scenario.

Fixes https://github.com/cloudflare/wrangler2/issues/655

## 0.0.21

### Patch Changes
Expand Down Expand Up @@ -62,7 +72,7 @@

```jsx
import SomeDependency from "some-dependency.js";
addEventListener("fetch", (event) => {
addEventListener("fetch", event => {
// ...
});
```
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wrangler",
"version": "0.0.21",
"version": "0.0.22",
"author": "[email protected]",
"description": "Command-line interface for all things Cloudflare Workers",
"bin": {
Expand Down

0 comments on commit ce09668

Please sign in to comment.