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

Add internal/js_scanner/js_scanner_test.go#FuzzHoistImport #675

Merged
merged 3 commits into from
Dec 20, 2022

Conversation

jasikpark
Copy link
Contributor

Changes

n/a

Testing

Docs

testing

Runnable via `go test ./internal/js_scanner -fuzz=FuzzHoistImports`
@jasikpark jasikpark requested a review from natemoo-re December 20, 2022 18:31
@changeset-bot
Copy link

changeset-bot bot commented Dec 20, 2022

⚠️ No Changeset found

Latest commit: 104e520

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@natemoo-re natemoo-re merged commit 86bd203 into fix/js-sourcemaps Dec 20, 2022
@natemoo-re natemoo-re deleted the fuzz-hoist-import branch December 20, 2022 20:52
natemoo-re added a commit that referenced this pull request Dec 20, 2022
* feat: better sourcemaps

* feat(js): improve JS sourcemaps

* test: fixup tests

* test: add JS sourcemap tests

* chore: add changeset

* Add internal/js_scanner/js_scanner_test.go#FuzzHoistImport  (#675)

* Add internal/js_scanner/js_scanner_test.go#FuzzHoistImport

Runnable via `go test ./internal/js_scanner -fuzz=FuzzHoistImports`

* Update internal/js_scanner/js_scanner_test.go

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* fix(js_scanner): assert that i < len(source) when scanning

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants