karma-html-reporter icon indicating copy to clipboard operation
karma-html-reporter copied to clipboard

deprecated write api

Open igordezky opened this issue 9 years ago • 9 comments

on node 0.12, latest karma i get this warning when using karma-html-reporter .write(string, encoding, offset, length) is deprecated. Use write(string[, offset[, length]][, encoding]) instead.

igordezky avatar May 20 '15 20:05 igordezky

In fact this message originates from the mu2 dependency.

An issue was already raised on their GitHub page and a PR was created to fix it. But unfortunately it looks like the project is no longer being maintained :(

RIAstar avatar Oct 04 '15 08:10 RIAstar

maybe we should remove the dependency and make it as internal? pretty much screwed if mu2 project no longer maintained and we just stuck here. :(

cheahkhing avatar Nov 23 '15 02:11 cheahkhing

Or use nunjucks. Pretty much the de facto standard for template compilation now.

RIAstar avatar Nov 23 '15 15:11 RIAstar

+1

OctavioBR avatar Jan 11 '16 19:01 OctavioBR

Hi everyone, just wondering, is this something that's planned to be fixed in the near future?

mattalco avatar Feb 22 '16 15:02 mattalco

+1 this is now broken with node 6.

stevehipwell avatar May 17 '16 13:05 stevehipwell

+1 Just upgraded to Node v6.2.0 and this makes my karma tests fail. I had to comment this plugin out for the time being.

EDIT: I see now this is a dependency, mu2, that is causing the issue.

agenaille avatar May 20 '16 01:05 agenaille

+1

StevenDevooght avatar May 25 '16 10:05 StevenDevooght

Looks like mu2 finally merged that PR. Guess this can be closed now.

RIAstar avatar Jun 28 '16 12:06 RIAstar