Skip to content

Bump jsnes from 1.2.1 to 2.0.0#7

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/jsnes-2.0.0
Open

Bump jsnes from 1.2.1 to 2.0.0#7
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/jsnes-2.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2026

Bumps jsnes from 1.2.1 to 2.0.0.

Release notes

Sourced from jsnes's releases.

2.0.0

Highlights

JSNES 2.0 is a major release focused on hardware accuracy, ease of use, and performance. The emulator now passes significantly more tests from the AccuracyCoin and nestest test suites, supports more games through six new mappers, adds Game Genie cheat code support, and ships a batteries-included Browser class for embedding in web pages with a single function call.

New: jsnes.Browser class

A new high-level Browser class makes it easy to embed JSNES in a web page without wiring up canvas rendering, audio, or input handling yourself:

<div id="nes" style="width: 512px; height: 480px"></div>
<script src="https://unpkg.com/jsnes/dist/jsnes.min.js"></script>
<script>
  var browser = new jsnes.Browser({
    container: document.getElementById("nes"),
  });
  jsnes.Browser.loadROMFromURL("my-rom.nes", function (err, data) {
    browser.loadROM(data);
  });
</script>

The Browser class handles:

  • Canvas rendering and scaling to fit its container
  • Audio output via AudioWorklet (see below)
  • Keyboard input with configurable key bindings (persisted to localStorage)
  • Gamepad input with configurable button mapping
  • Zapper (light gun) support via mouse
  • Frame timing at 60 fps
  • Error handling via onError callback
  • Screenshots via browser.screenshot()
  • Full cleanup via browser.destroy()

It also works well with React and other frameworks — see the README for examples.

Game Genie support

New nes.addGameGenieCode(code) and nes.removeGameGenieCode(code) methods let users apply Game Genie cheat codes at runtime. Standard 6-letter (compare-free) and 8-letter (compare) codes are both supported.

New mappers

Six new cartridge mappers expand game compatibility:

  • Mapper 9 (MMC2) — Mike Tyson's Punch-Out!!, Punch-Out!! (PAL). Tile-triggered CHR bank switching via latches.
  • Mapper 71 (Camerica/Codemasters) — Fire Hawk, Micro Machines, Bee 52, MiG 29. UxROM variant with optional single-screen mirroring.
  • Mapper 79 (NINA-03/NINA-06) — Tiles of Fate, Krazy Kreatures, Impossible Mission II. GxROM-like with register in expansion area.
  • Mapper 118 (TxSROM) — Armadillo, Pro Sport Hockey, Goal! Two. MMC3 variant with CHR-controlled nametable mirroring.
  • Mapper 119 (TQROM) — Pin-Bot, High Speed. MMC3 variant supporting simultaneous CHR ROM and CHR RAM.
  • Mapper 240 — Sheng Huo Lie Zhuan, Jing Ke Xin Zhuan. Simple PRG/CHR banking via writes to $4020-$40FF.

... (truncated)

Commits
  • 3ad35d7 Fix npm publish and merge into CI workflow
  • b6e769f Bump version to 2.0.0
  • aa1f040 Remove preferredFrameRate from README options table
  • 78ba52a Add CI workflow to publish to npm on new tags
  • 584a78b Fix eslint 10 compatibility
  • 0276ef9 Bump eslint from 9.39.2 to 10.0.2
  • 2df935c Use typed array .fill() instead of manual loops in PPU
  • c2fd907 Bump @​types/node from 25.2.3 to 25.3.0
  • c808528 Bump react-router-dom from 7.13.0 to 7.13.1 in /web
  • 753e5eb Bump tailwindcss from 4.1.18 to 4.2.1 in /web
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for jsnes since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 3, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/jsnes-2.0.0 branch from f89af17 to 4bff5c5 Compare March 7, 2026 12:02
Bumps [jsnes](https://github.com/bfirsh/jsnes) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/bfirsh/jsnes/releases)
- [Commits](bfirsh/jsnes@v1.2.1...v2.0.0)

---
updated-dependencies:
- dependency-name: jsnes
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/jsnes-2.0.0 branch from 4bff5c5 to 01a3b5a Compare March 7, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants