cerialize icon indicating copy to clipboard operation
cerialize copied to clipboard

Version 2 is here!

Open weichx opened this issue 7 years ago • 11 comments

weichx avatar Feb 05 '18 15:02 weichx

Is there any ETA on when this version will be published to npm?

TheBinaryFox avatar Feb 26 '18 20:02 TheBinaryFox

I can publish it as a beta, I have a few more things I want to look into before officially releasing it but haven't had time with chaos at work recently.

weichx avatar Feb 27 '18 08:02 weichx

Published, you can pull it with npm install cerialize@next

weichx avatar Feb 27 '18 08:02 weichx

Thanks! If it's not too much trouble, could you also build it for commonjs modules?

I end up with this error when using it in Node 9.5.0:

node_modules/cerialize/dist/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { MetaData } from "./meta_data";
                                                                                             ^^^^^^

SyntaxError: Unexpected token import

TheBinaryFox avatar Feb 28 '18 18:02 TheBinaryFox

run into same error like TheBinaryFox

joey-he8x avatar Mar 02 '18 02:03 joey-he8x

@TheBinaryFox @joey-he8x changed the module type to commonjs, hope it fixes your issues

weichx avatar Mar 02 '18 09:03 weichx

@weichx cerialize looks great! :) are you still going to work on v2?

marcelh-gh avatar Jul 10 '18 08:07 marcelh-gh

To be honest not really, as is it should be pretty well tested and functional but I don't work on the web anymore and can't dedicate time to the project right now.

weichx avatar Jul 10 '18 14:07 weichx

@weichx Thanks for the reply :-) if it's ok with you I could have a look at the PR and then finally merge it...

marcelh-gh avatar Jul 10 '18 14:07 marcelh-gh

@weichx I have reviewed about a dozen of similar libs for serialization in detail recently and even the most popular one (class-transformer) is not really maintained anymore but has lots of open issues and PRs. I do like the simple and straight-forward approach of cerialize. Since I want to use this in a large production app, I'd rather try to push forward development on this one than bet on class-transformer or serializr.

marcelh-gh avatar Jul 10 '18 15:07 marcelh-gh

@marcelh-gh sure, happy to have another set of eyes on it

weichx avatar Jul 11 '18 08:07 weichx