PackageTrack
Sign in Get early access

js_interpreter

A comprehensive, pure Dart JavaScript interpreter supporting ES6+ features. Perfect for embedding JavaScript execution in Dart/Flutter applications.

0.0.5 2.8K downloads/mo #4764 most downloaded on pub.dev kodjodevf/js_interpreter

What this package is like to depend on

Last release 3 months ago

15 May 2026

Ships fairly regularly

a new release about every 4 weeks

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

6 months old

5 releases · first in 2026

5 releases in the last 12 months

see the full history below

Release timeline

5 releases · Feb 2026 to May 2026
Release Pre-release

Releases

latest 5
  1. 0.0.5 15 May 2026
    Release notes
    • complete RegExp named groups support, including duplicate named groups, Unicode group names, and matchAll integration
    • improve RegExp built-in conformance for exec, Symbol.match, Symbol.replace, and Symbol.split
    • align RegExp match results and groups objects more closely with ECMAScript semantics
    Open source →
  2. 0.0.4 21 Apr 2026
    Release notes
    • add support for capturing destructuring references and validation for array/object destructuring
    • enhance destructuring assignment support and validation
    • enhance global eval bindings to support top-level lexical shadowing
    Open source →
  3. 0.0.3 14 Apr 2026
    Release notes
    • Migrate to bytecode and improvements
    Open source →
  4. 0.0.2 11 Feb 2026
    Release notes

    Features

    • ES2024 Support: Implemented Explicit Resource Management (using and await using declarations).
    • ES2015 Support: Added Tail Call Optimization (TCO).
    • Core Improvements:
      • Implemented proper with statement environment handling and Symbol.unscopables support.
      • Enhanced Promise microtask queue and async function execution logic.
      • Added support for dynamic imports.
      • Improved Function constructor to support return statements in dynamically created functions.

    Compliance & Bug Fixes

    • Parser & Syntax:
      • Added comprehensive "Early Errors" validation for functions, classes, and loops.
      • Fixed Automatic Semicolon Insertion (ASI) to correctly handle all Unicode line terminators (LF, CR, LS, PS).
      • Improved validation for break and continue labels.
      • Fixed strict mode inheritance in eval() and strict mode-specific validations.
    • Data Models:
      • Improved JSValue to Dart Map/List conversion with support for enumerable properties and recursive conversion.
      • Refined error object detection logic.
    • Execution:
      • Fixed completion values for control structures (blocks, loops, switch).
      • Improved lexical scoping for let and const in for loops and switch statements.
      • Fixed this binding in async functions and arrow functions.

    Testing

    • Significantly improved test262 test runner compatibility.
    • Fixed numerous bugs discovered through test262 compliance testing.
    Open source →
  5. 0.0.1 02 Feb 2026
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive