compiler_unsupported 1.22.0

  • readme.md
  • changelog.md
  • Installing
  • Versions
  • 73

compiler_unsupported

An unsupported copy of the dart2js compiler.

Build Status pub package

About

This is a copy of the dart2js source available as a package. The API of this package can and will change in unpredictable and incompatible ways.

Changelog

1.22.0 (2017-02-14)

  • upgraded to SDK 1.22.0

1.21.0 (2016-12-09)

  • upgraded to SDK 1.21.0

1.20.0 (2016-11-18)

  • upgraded to SDK 1.20.0

1.19.0 (2016-09-21)

  • upgraded to SDK 1.19.0

1.18.0 (2016-09-21)

  • upgraded to SDK 1.18.0

1.17.0 (2016-09-21)

  • upgraded to SDK 1.17.0

1.16.0-dev.5.0 (2016-04-16)

  • upgraded to SDK 1.16.0-dev.5.0

1.15.0 (2016-03-21)

  • upgraded to SDK 1.15.0

1.14.2 (2016-03-21)

  • upgraded to SDK 1.14.2

1.14.1 (2016-03-21)

  • upgraded to SDK 1.14.1

1.14.0 (2016-03-21)

  • upgraded to SDK 1.14.0

1.13.2 (2016-03-21)

  • upgraded to SDK 1.13.2

1.13.1 (2016-01-01)

  • upgraded to SDK 1.13.1

1.13.0 (2015-11-23)

  • upgraded to SDK 1.13.0

1.13.0-dev.7.9 (2015-11-04)

  • upgraded to SDK 1.13.0-dev.7.9

1.13.0-dev.7.6 (2015-11-03)

  • upgraded to SDK 1.13.0-dev.7.6

1.13.0-dev.7.0 (2015-10-14)

  • upgraded to SDK 1.13.0-dev.7.0

1.13.0-dev.6.0 (2015-10-14)

  • upgraded to SDK 1.13.0-dev.6.0

1.12.1 (2015-09-14)

  • upgraded to SDK 1.12.1

1.12.0-dev.5.2 (2015-08-11)

  • upgraded to SDK 1.12.0-dev.5.2

1.11.1 (2015-07-08)

  • upgraded to SDK 1.11.1

1.11.0-dev.5.7 (2015-06-24)

  • upgraded to SDK 1.11.0-dev.5.7

1.11.0-dev.5.4 (2015-06-18)

  • upgraded to SDK 1.11.0-dev.5.4

1.10.1 (2015-05-14)

  • upgraded to SDK 1.10.1

1.10.0 (2015-05-01)

  • upgraded to SDK 1.10.0

1.9.3 (2015-04-13)

  • upgraded to SDK 1.9.3

1.9.2 (2015-04-09)

  • upgraded to SDK 1.9.2

1.9.0-dev.10.4 (2015-03-09)

  • upgraded to SDK 1.9.0-dev.10.4

1.9.0-dev.3.0 (2015-01-08)

  • upgraded to SDK 1.9.0-dev.3.0

1.9.0-dev.2.2.1 (2014-12-29)

  • added the SDK sources to the package and added the sdk_io.dart library

1.9.0-dev.2.2 (2014-12-24)

  • upgraded to SDK 1.9.0-dev.2.2

0.7.3

  • upgraded to SDK 1.9.0

0.7.2

  • upgraded to SDK 1.6.0

0.7.1

  • upgraded to SDK 1.3.0-dev.3.2.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  compiler_unsupported: "^1.22.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:compiler_unsupported/compiler.dart';

import 'package:compiler_unsupported/compiler_new.dart';

import 'package:compiler_unsupported/libraries.dart';

import 'package:compiler_unsupported/sdk.dart';

import 'package:compiler_unsupported/sdk_io.dart';

import 'package:compiler_unsupported/version.dart';
        
Version Uploaded Documentation Archive
1.22.0 Feb 14, 2017 failed Download compiler_unsupported 1.22.0 archive
1.21.0 Dec 9, 2016 failed Download compiler_unsupported 1.21.0 archive
1.20.0 Nov 18, 2016 failed Download compiler_unsupported 1.20.0 archive
1.19.0 Sep 22, 2016 failed Download compiler_unsupported 1.19.0 archive
1.18.0 Sep 21, 2016 failed Download compiler_unsupported 1.18.0 archive
1.17.0 Sep 21, 2016 failed Download compiler_unsupported 1.17.0 archive
1.16.0 Apr 26, 2016 failed Download compiler_unsupported 1.16.0 archive
1.15.0 Mar 22, 2016 failed Download compiler_unsupported 1.15.0 archive
1.13.1 Jan 1, 2016 failed Download compiler_unsupported 1.13.1 archive
1.13.0 Nov 23, 2015 failed Download compiler_unsupported 1.13.0 archive

All 70 versions...

Analysis

We analyzed this package on Apr 25, 2018, and provided a score, details, and suggestions below. Analysis was completed with status tool failures using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
60 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
64 / 100
Overall score:
Weighted score of the above. [more]
73
Learn more about scoring.

Platforms

Detected platforms: unsure

Error(s) prevent platform classification:

Make sure dartanalyzer runs.

Suggestions

  • Make sure dartanalyzer runs.

    Running dartanalyzer . failed with the following output:

    Invalid argument(s): Provided content does not align with expectations.
    `STDERR exceeded 100000 lines.`
    
  • Fix platform conflicts.

    Error(s) prevent platform classification:

    Make sure dartanalyzer runs.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 71 hints.

    Run dartfmt to format lib/_internal/dart_messages/shared_messages.dart.

    Run dartfmt to format lib/_internal/js_ast/src/builder.dart.

    Similar analysis of the following files failed:

    • lib/_internal/js_ast/src/characters.dart (hint)
    • lib/_internal/js_ast/src/nodes.dart (hint)
    • lib/_internal/js_ast/src/printer.dart (hint)
    • lib/_internal/js_ast/src/template.dart (hint)
    • lib/_internal/js_runtime/async_patch.dart (hint)
    • lib/_internal/js_runtime/collection_patch.dart (hint)
    • lib/_internal/js_runtime/constant_map.dart (hint)
    • lib/_internal/js_runtime/convert_patch.dart (hint)
    • lib/_internal/js_runtime/core_patch.dart (hint)
    • lib/_internal/js_runtime/developer_patch.dart (hint)
    • lib/_internal/js_runtime/foreign_helper.dart (hint)
    • lib/_internal/js_runtime/interceptors.dart (hint)
    • lib/_internal/js_runtime/internal_patch.dart (hint)
    • lib/_internal/js_runtime/io_patch.dart (hint)
    • lib/_internal/js_runtime/isolate_helper.dart (hint)
    • lib/_internal/js_runtime/isolate_patch.dart (hint)
    • lib/_internal/js_runtime/isolate_serialization.dart (hint)
    • lib/_internal/js_runtime/js_array.dart (hint)
    • lib/_internal/js_runtime/js_helper.dart (hint)
    • lib/_internal/js_runtime/js_names.dart (hint)
    • lib/_internal/js_runtime/js_number.dart (hint)
    • lib/_internal/js_runtime/js_primitives.dart (hint)
    • lib/_internal/js_runtime/js_rti.dart (hint)
    • lib/_internal/js_runtime/js_string.dart (hint)
    • lib/_internal/js_runtime/linked_hash_map.dart (hint)
    • lib/_internal/js_runtime/math_patch.dart (hint)
    • lib/_internal/js_runtime/mirrors_patch.dart (hint)
    • lib/_internal/js_runtime/native_helper.dart (hint)
    • lib/_internal/js_runtime/native_typed_data.dart (hint)
    • lib/_internal/js_runtime/regexp_helper.dart (hint)
    • lib/_internal/js_runtime/shared/embedded_names.dart (hint)
    • lib/_internal/js_runtime/string_helper.dart (hint)
    • lib/_internal/js_runtime/typed_data_patch.dart (hint)
    • lib/_internal/kernel/analyzer/ast_from_analyzer.dart (hint)
    • lib/_internal/kernel/analyzer/loader.dart (hint)
    • lib/_internal/kernel/binary/ast_from_binary.dart (hint)
    • lib/_internal/kernel/class_hierarchy.dart (hint)
    • lib/_internal/kernel/clone.dart (hint)
    • lib/_internal/kernel/frontend/accessors.dart (hint)
    • lib/_internal/kernel/transformations/closure/converter.dart (hint)
    • lib/_internal/kernel/transformations/closure/mock.dart (hint)
    • lib/_internal/kernel/transformations/continuation.dart (hint)
    • lib/_internal/kernel/transformations/mixin_full_resolution.dart (hint)
    • lib/_internal/sdk_library_metadata/libraries.dart (hint)
    • lib/libraries.dart (hint)
    • lib/sdk_io.dart (hint)
    • lib/src/diagnostics/generated/shared_messages.dart (hint)
    • lib/src/diagnostics/messages.dart (hint)
    • lib/src/js/rewrite_async.dart (hint)
    • lib/src/js_backend/backend.dart (hint)
    • lib/src/js_backend/namer.dart (hint)
    • lib/src/js_emitter/class_stub_generator.dart (hint)
    • lib/src/js_emitter/code_emitter_task.dart (hint)
    • lib/src/js_emitter/full_emitter/emitter.dart (hint)
    • lib/src/js_emitter/full_emitter/interceptor_emitter.dart (hint)
    • lib/src/js_emitter/full_emitter/nsm_emitter.dart (hint)
    • lib/src/js_emitter/interceptor_stub_generator.dart (hint)
    • lib/src/js_emitter/lazy_emitter/emitter.dart (hint)
    • lib/src/js_emitter/lazy_emitter/model_emitter.dart (hint)
    • lib/src/js_emitter/main_call_stub_generator.dart (hint)
    • lib/src/js_emitter/metadata_collector.dart (hint)
    • lib/src/js_emitter/native_generator.dart (hint)
    • lib/src/js_emitter/startup_emitter/fragment_emitter.dart (hint)
    • lib/src/kernel/accessors.dart (hint)
    • lib/src/kernel/kernel.dart (hint)
    • lib/src/ssa/builder.dart (hint)
    • lib/src/ssa/builder_kernel.dart (hint)
    • lib/src/ssa/optimize.dart (hint)
    • lib/src/ssa/type_builder.dart (hint)
  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use compiler_unsupported.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

  • Enable strong mode analysis.

    Strong mode helps you to detect bugs and potential issues earlier.Start your analysis_options.yaml file with the following:

    analyzer:
      strong-mode: true
    

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.11.0 <2.0.0
dart2js_info ^0.2.0 0.2.7+2 0.5.6+2
package_config ^1.0.0 1.0.3
pub_semver ^1.2.1 1.3.7
Transitive dependencies
args 0.13.7 1.4.3
async 1.13.3 2.0.6
charcode 1.1.1
collection 1.14.9
http_parser 3.1.1
matcher 0.12.2
quiver 0.22.0 0.29.0+1
shelf 0.6.8 0.7.2
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.5
string_scanner 1.0.2
typed_data 1.1.5
yaml 2.1.13
Dev dependencies
grinder ^0.8.0
path any 1.5.1
test ^0.12.0