Skip to content

source for xml-decorators version 1.0.8 - fix for linter errors #13

@bhofner

Description

@bhofner

Hi,

When I pull the package from npm, I get the version 1.0.8.
What I find here is the package 1.0.6.
Have you moved to a different repository?

The npm version 1.0.8 has some issues that could be fixed with the following patches (assuming native Promises are enough):

/node_modules/xml-decorators/lib/models/XMLChild.ts

71c71
<             let nsSchema = {};
---
>             let nsSchema: any = {};
169c169
<     let attributes = {};
---
>     let attributes: any = {};

/node_modules/xml-decorators/lib/models/XMLElement.ts

2c2
< import * as Promise from "bluebird";
---
> // import * as Promise from "bluebird";
19,20c19,20
<   private attributes: XMLAttribute[];
<   private children: XMLChild[];
---
>   private attributes?: XMLAttribute[];
>   private children?: XMLChild[];

Could you please publish a patched version in npm or provide me with the up-to-date source so that I can patch my local version of the package?

Best regards, Bernd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions