typings 0.0.6+3 copy "typings: ^0.0.6+3" to clipboard
typings: ^0.0.6+3 copied to clipboard

Use NPM packages in your projects through TypeScript interop

32
likes
120/ 160
pub points
62%
popularity

We analyzed this package 6 days ago, and awarded it 120 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting typings... Discovering libraries... Linking elements... Precaching local docs for 1232175 elements... Initialized dartdoc with 1478 libraries Generating docs for library core.dart from package:typings/core.dart... Generating docs for library annotations.dart from package:typings/annotations.dart... Generating docs for library tool/build.dart from package:typings/tool/build.dart... Generating docs for library typings.dart from package:typings/typings.dart... Generating docs for library d/ws.dart from package:typings/d/ws.dart... [16 more lines] ERR: warning: ambiguous reexport of typings.typescript.interop.alert, canonicalization candidates: (typescript, typings.core, typings.core) -> typings.core (confidence 0.000) from typings.typescript.interop.alert: (file:///tmp/pana_GDFUZO/lib/src/d/typescript/lib.dom.d.dart:172628:6) typescript: 0.1360 - (_Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1250), _Reason.locationPartStart (+0.001000)) typings.core: 1.146 - (_Reason.packageName (+1.000), _Reason.longName (+0.02000), _Reason.sharedNamePart (+0.1250), _Reason.locationPartStart (+0.001000)) typings.core: 1.146 - (_Reason.packageName (+1.000), _Reason.longName (+0.02000), _Reason.sharedNamePart (+0.1250), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor typings.typescript.interop.alert} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library [18953 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 268 issues. Showing the first 2:

WARNING: Doc directive 'linkcode' is unknown.

lib/src/d/deno/0lib.deno.deno.d.dart:546:7

    ╷
546 │ /// {@linkcode Deno.networkInterfaces}.
    │       ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/d/deno/0lib.deno.deno.d.dart

WARNING: Doc directive 'linkcode' is unknown.

lib/src/d/deno/0lib.deno.deno.d.dart:3277:7

     ╷
3277 │ /// {@linkcode Deno.openSync}.
     │       ^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/d/deno/0lib.deno.deno.d.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
analyzer ^6.3.0 6.8.0 6.11.0
build ^2.3.1 2.4.1 2.4.1
js ^0.6.7 0.6.7 0.7.1
source_gen ^1.2.7 1.5.0 1.5.0
ts2dart any 0.0.6+1 0.0.6+1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 76.0.0
_macros - 0.3.2 0.3.2
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
code_builder - 4.10.1 4.10.1
collection - 1.19.1 1.19.1
console - 4.1.0 4.1.0
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 2.3.7
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
matcher - 0.12.17 0.12.17
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
pub_semver - 2.1.4 2.1.4
recase - 4.1.0 4.1.0
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

32
likes
120
pub points
62%
popularity

Publisher

unverified uploader

Use NPM packages in your projects through TypeScript interop

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.paypal.com

License

Apache-2.0 (license)

Dependencies

analyzer, build, js, source_gen, ts2dart

More

Packages that depend on typings