Skip to content

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

Merged
natemoo-re merged 3 commits intofix/js-sourcemapsfrom
fuzz-hoist-import
Dec 20, 2022
Merged

Add internal/js_scanner/js_scanner_test.go#FuzzHoistImport #675
natemoo-re merged 3 commits intofix/js-sourcemapsfrom
fuzz-hoist-import

Conversation

@jasikpark
Copy link
Copy Markdown
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
Copy Markdown

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