Skip to content

js package is discontinued #4008

Open
Open
@Panosfunk

Description

@Panosfunk

Thank you for taking the time to file an issue! In order to route, prioritize,
and act on this as soon as possible please include:

  • The Dart SDK Version (dart --version)
    Dart SDK version: 3.7.2 (stable) (Tue Mar 11 04:27:50 2025 -0700) on "macos_arm64"
  • What package(s) from this repo you are using, and the version (i.e. build_runner 0.7.12)
    build_runner 2.4.15

When I run flutter pub outdated on my flutter app, I see this line:

js                                         *0.6.7               *0.6.7               *0.6.7               0.7.2               (discontinued)  

and after running flutter pub deps I see that the js package is a transitive dependency coming from the build_runner package.

On the js package in pub.dev there is a suggestion to use

This package is discontinued. Prefer using [dart:js_interop](https://api.dart.dev/dart-js_interop/dart-js_interop-library.html) for JS interop. See the [JS interop documentation](https://dart.dev/interop/js-interop) for more details.

instead.

Metadata

Metadata

Assignees

Labels

type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions