Skip to content

Error when import in angular project #120

@mengyu-dev

Description

@mengyu-dev

When imported in an Angular project, it prevents Angular application from starting because of the deprecated dependency d3-collection which redefines some collection classes in the global score, like Map, Set. These old incomplete implementations cause problems.

in the core.js of Angular, it uses Map and Set of the new language specification

// like this:
       this.source = source;
        var records = this._records = new Map();
// like this: 
       var componentDefPendingResolution = new Set();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions